From 3070942afee60fa66ef5eba90ed87874d375e0a2 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Tue, 2 Apr 2024 20:11:01 +0200 Subject: [PATCH 01/25] update files --- SConstruct | 422 ++++++++++++++++++++++++++++++++++++++++++ playback_stats.h | 4 +- register_types.cpp | 2 +- speech.cpp | 4 +- speech.h | 15 +- speech_decoder.h | 4 +- speech_processor.h | 29 ++- tests/test_speech.h | 2 +- thirdparty/jitter.cpp | 2 +- thirdparty/jitter.h | 8 +- 10 files changed, 466 insertions(+), 26 deletions(-) create mode 100644 SConstruct diff --git a/SConstruct b/SConstruct new file mode 100644 index 0000000..3e04335 --- /dev/null +++ b/SConstruct @@ -0,0 +1,422 @@ +#!/usr/bin/env python +import os +import sys + +env = SConscript("thirdparty/godot-cpp/SConstruct") + +if env["platform"] != "windows": + env.Append(CCFLAGS=["-Wno-error=non-virtual-dtor"]) + env.Append(CCFLAGS=["-Wno-error=ctor-dtor-privacy"]) + +env.Append( + CPPDEFINES=[ + "HAVE_CONFIG_H", + "PACKAGE=", + "VERSION=", + "CPU_CLIPS_POSITIVE=0", + "CPU_CLIPS_NEGATIVE=0", + "WEBRTC_APM_DEBUG_DUMP=0", + ] +) + +enable_webrtc_logging = env["target"] == "debug" + +if not enable_webrtc_logging: + env.Append(CPPDEFINES=["RTC_DISABLE_LOGGING", "RTC_DISABLE_METRICS"]) + +if env["platform"] == "windows" or env["platform"] == "uwp": + env.Append(CPPDEFINES=["WEBRTC_WIN"]) +elif env["platform"] == "ios": + env.Append(CPPDEFINES=["WEBRTC_POSIX", "WEBRTC_IOS"]) +elif env["platform"] == "macos": + env.Append(CPPDEFINES=["WEBRTC_POSIX", "WEBRTC_MAC"]) +elif env["platform"] == "linuxbsd": + env.Append(CPPDEFINES=["WEBRTC_POSIX", "WEBRTC_LINUX"]) +elif env["platform"] == "android": + env.Append(CPPDEFINES=["WEBRTC_POSIX", "WEBRTC_ANDROID"]) +else: # including if env["platform"] == "javascript": + env.Append(CPPDEFINES=["WEBRTC_POSIX"]) + +env.Prepend(CPPPATH=["thirdparty/libsamplerate/src"]) +env.Prepend(CPPPATH=["thirdparty/opus"]) +env.Prepend(CPPPATH=["thirdparty/opus/opus"]) +env.Prepend(CPPPATH=["include"]) +env.Prepend(CPPPATH=["include"]) +env.Prepend(CPPPATH=["thirdparty/AEC3"]) +env.Prepend(CPPPATH=["thirdparty/AEC3/base"]) +env.Prepend(CPPPATH=["thirdparty/AEC3/base/abseil"]) +env.Prepend(CPPPATH=["thirdparty/AEC3/audio_processing"]) +env.Prepend(CPPPATH=["thirdparty/AEC3/audio_processing/aec3"]) +env.Prepend(CPPPATH=["thirdparty/AEC3/audio_processing/include"]) +env.Prepend(CPPPATH=["thirdparty/AEC3/audio_processing/logging"]) +env.Prepend(CPPPATH=["thirdparty/AEC3/audio_processing/resampler"]) +env.Prepend(CPPPATH=["thirdparty/AEC3/audio_processing/utility"]) +env.Prepend(CPPPATH=["thirdparty/AEC3/base/jsoncpp/include"]) + +#env.disable_warnings() +thirdparty_dir = "thirdparty/opus/" +thirdparty_sources = [ + # Sync with opus_sources.mk + "opus.c", + "opus_decoder.c", + "opus_encoder.c", + "opus_multistream.c", + "opus_multistream_encoder.c", + "opus_multistream_decoder.c", + "repacketizer.c", + "analysis.c", + "mlp.c", + "mlp_data.c", + # Sync with libopusfile Makefile.am + "info.c", + "internal.c", + "opusfile.c", + "stream.c", + # Sync with celt_sources.mk + "celt/bands.c", + "celt/celt.c", + "celt/celt_encoder.c", + "celt/celt_decoder.c", + "celt/cwrs.c", + "celt/entcode.c", + "celt/entdec.c", + "celt/entenc.c", + "celt/kiss_fft.c", + "celt/laplace.c", + "celt/mathops.c", + "celt/mdct.c", + "celt/modes.c", + "celt/pitch.c", + "celt/celt_lpc.c", + "celt/quant_bands.c", + "celt/rate.c", + "celt/vq.c", + # "celt/arm/arm_celt_map.c", + # "celt/arm/armcpu.c", + # "celt/arm/celt_ne10_fft.c", + # "celt/arm/celt_ne10_mdct.c", + # "celt/arm/celt_neon_intr.c", + # Sync with silk_sources.mk + "silk/CNG.c", + "silk/code_signs.c", + "silk/init_decoder.c", + "silk/decode_core.c", + "silk/decode_frame.c", + "silk/decode_parameters.c", + "silk/decode_indices.c", + "silk/decode_pulses.c", + "silk/decoder_set_fs.c", + "silk/dec_API.c", + "silk/enc_API.c", + "silk/encode_indices.c", + "silk/encode_pulses.c", + "silk/gain_quant.c", + "silk/interpolate.c", + "silk/LP_variable_cutoff.c", + "silk/NLSF_decode.c", + "silk/NSQ.c", + "silk/NSQ_del_dec.c", + "silk/PLC.c", + "silk/shell_coder.c", + "silk/tables_gain.c", + "silk/tables_LTP.c", + "silk/tables_NLSF_CB_NB_MB.c", + "silk/tables_NLSF_CB_WB.c", + "silk/tables_other.c", + "silk/tables_pitch_lag.c", + "silk/tables_pulses_per_block.c", + "silk/VAD.c", + "silk/control_audio_bandwidth.c", + "silk/quant_LTP_gains.c", + "silk/VQ_WMat_EC.c", + "silk/HP_variable_cutoff.c", + "silk/NLSF_encode.c", + "silk/NLSF_VQ.c", + "silk/NLSF_unpack.c", + "silk/NLSF_del_dec_quant.c", + "silk/process_NLSFs.c", + "silk/stereo_LR_to_MS.c", + "silk/stereo_MS_to_LR.c", + "silk/check_control_input.c", + "silk/control_SNR.c", + "silk/init_encoder.c", + "silk/control_codec.c", + "silk/A2NLSF.c", + "silk/ana_filt_bank_1.c", + "silk/biquad_alt.c", + "silk/bwexpander_32.c", + "silk/bwexpander.c", + "silk/debug.c", + "silk/decode_pitch.c", + "silk/inner_prod_aligned.c", + "silk/lin2log.c", + "silk/log2lin.c", + "silk/LPC_analysis_filter.c", + "silk/LPC_inv_pred_gain.c", + "silk/table_LSF_cos.c", + "silk/NLSF2A.c", + "silk/NLSF_stabilize.c", + "silk/NLSF_VQ_weights_laroia.c", + "silk/pitch_est_tables.c", + "silk/resampler.c", + "silk/resampler_down2_3.c", + "silk/resampler_down2.c", + "silk/resampler_private_AR2.c", + "silk/resampler_private_down_FIR.c", + "silk/resampler_private_IIR_FIR.c", + "silk/resampler_private_up2_HQ.c", + "silk/resampler_rom.c", + "silk/sigm_Q15.c", + "silk/sort.c", + "silk/sum_sqr_shift.c", + "silk/stereo_decode_pred.c", + "silk/stereo_encode_pred.c", + "silk/stereo_find_predictor.c", + "silk/stereo_quant_pred.c", +] + +opus_sources_silk = [] + +if env["platform"] in ["android", "iphone", "javascript"]: + env.Append(CPPDEFINES=["FIXED_POINT"]) + opus_sources_silk = [ + "silk/fixed/LTP_analysis_filter_FIX.c", + "silk/fixed/LTP_scale_ctrl_FIX.c", + "silk/fixed/corrMatrix_FIX.c", + "silk/fixed/encode_frame_FIX.c", + "silk/fixed/find_LPC_FIX.c", + "silk/fixed/find_LTP_FIX.c", + "silk/fixed/find_pitch_lags_FIX.c", + "silk/fixed/find_pred_coefs_FIX.c", + "silk/fixed/noise_shape_analysis_FIX.c", + "silk/fixed/prefilter_FIX.c", + "silk/fixed/process_gains_FIX.c", + "silk/fixed/regularize_correlations_FIX.c", + "silk/fixed/residual_energy16_FIX.c", + "silk/fixed/residual_energy_FIX.c", + "silk/fixed/solve_LS_FIX.c", + "silk/fixed/warped_autocorrelation_FIX.c", + "silk/fixed/apply_sine_window_FIX.c", + "silk/fixed/autocorr_FIX.c", + "silk/fixed/burg_modified_FIX.c", + "silk/fixed/k2a_FIX.c", + "silk/fixed/k2a_Q16_FIX.c", + "silk/fixed/pitch_analysis_core_FIX.c", + "silk/fixed/vector_ops_FIX.c", + "silk/fixed/schur64_FIX.c", + "silk/fixed/schur_FIX.c", + ] +else: + opus_sources_silk = [ + "silk/float/apply_sine_window_FLP.c", + "silk/float/corrMatrix_FLP.c", + "silk/float/encode_frame_FLP.c", + "silk/float/find_LPC_FLP.c", + "silk/float/find_LTP_FLP.c", + "silk/float/find_pitch_lags_FLP.c", + "silk/float/find_pred_coefs_FLP.c", + "silk/float/LPC_analysis_filter_FLP.c", + "silk/float/LTP_analysis_filter_FLP.c", + "silk/float/LTP_scale_ctrl_FLP.c", + "silk/float/noise_shape_analysis_FLP.c", + "silk/float/prefilter_FLP.c", + "silk/float/process_gains_FLP.c", + "silk/float/regularize_correlations_FLP.c", + "silk/float/residual_energy_FLP.c", + "silk/float/solve_LS_FLP.c", + "silk/float/warped_autocorrelation_FLP.c", + "silk/float/wrappers_FLP.c", + "silk/float/autocorrelation_FLP.c", + "silk/float/burg_modified_FLP.c", + "silk/float/bwexpander_FLP.c", + "silk/float/energy_FLP.c", + "silk/float/inner_product_FLP.c", + "silk/float/k2a_FLP.c", + "silk/float/levinsondurbin_FLP.c", + "silk/float/LPC_inv_pred_gain_FLP.c", + "silk/float/pitch_analysis_core_FLP.c", + "silk/float/scale_copy_vector_FLP.c", + "silk/float/scale_vector_FLP.c", + "silk/float/schur_FLP.c", + "silk/float/sort_FLP.c", + ] +aec3_sources = [ + "AEC3/audio_processing/aec3/adaptive_fir_filter.cc", + "AEC3/audio_processing/aec3/adaptive_fir_filter_erl.cc", + "AEC3/audio_processing/aec3/aec3_common.cc", + "AEC3/audio_processing/aec3/aec3_fft.cc", + "AEC3/audio_processing/aec3/aec_state.cc", + "AEC3/audio_processing/aec3/alignment_mixer.cc", + "AEC3/audio_processing/aec3/api_call_jitter_metrics.cc", + "AEC3/audio_processing/aec3/block_buffer.cc", + "AEC3/audio_processing/aec3/block_delay_buffer.cc", + "AEC3/audio_processing/aec3/block_framer.cc", + "AEC3/audio_processing/aec3/block_processor.cc", + "AEC3/audio_processing/aec3/block_processor_metrics.cc", + "AEC3/audio_processing/aec3/clockdrift_detector.cc", + "AEC3/audio_processing/aec3/comfort_noise_generator.cc", + "AEC3/audio_processing/aec3/decimator.cc", + "AEC3/audio_processing/aec3/dominant_nearend_detector.cc", + "AEC3/audio_processing/aec3/downsampled_render_buffer.cc", + "AEC3/audio_processing/aec3/echo_audibility.cc", + "AEC3/audio_processing/aec3/echo_canceller3.cc", + "AEC3/audio_processing/aec3/echo_path_delay_estimator.cc", + "AEC3/audio_processing/aec3/echo_path_variability.cc", + "AEC3/audio_processing/aec3/echo_remover.cc", + "AEC3/audio_processing/aec3/echo_remover_metrics.cc", + "AEC3/audio_processing/aec3/erle_estimator.cc", + "AEC3/audio_processing/aec3/erl_estimator.cc", + "AEC3/audio_processing/aec3/fft_buffer.cc", + "AEC3/audio_processing/aec3/filter_analyzer.cc", + "AEC3/audio_processing/aec3/frame_blocker.cc", + "AEC3/audio_processing/aec3/fullband_erle_estimator.cc", + "AEC3/audio_processing/aec3/main_filter_update_gain.cc", + "AEC3/audio_processing/aec3/matched_filter.cc", + "AEC3/audio_processing/aec3/matched_filter_lag_aggregator.cc", + "AEC3/audio_processing/aec3/moving_average.cc", + "AEC3/audio_processing/aec3/render_buffer.cc", + "AEC3/audio_processing/aec3/render_delay_buffer.cc", + "AEC3/audio_processing/aec3/render_delay_controller.cc", + "AEC3/audio_processing/aec3/render_delay_controller_metrics.cc", + "AEC3/audio_processing/aec3/render_signal_analyzer.cc", + "AEC3/audio_processing/aec3/residual_echo_estimator.cc", + "AEC3/audio_processing/aec3/reverb_decay_estimator.cc", + "AEC3/audio_processing/aec3/reverb_frequency_response.cc", + "AEC3/audio_processing/aec3/reverb_model.cc", + "AEC3/audio_processing/aec3/reverb_model_estimator.cc", + "AEC3/audio_processing/aec3/shadow_filter_update_gain.cc", + "AEC3/audio_processing/aec3/signal_dependent_erle_estimator.cc", + "AEC3/audio_processing/aec3/spectrum_buffer.cc", + "AEC3/audio_processing/aec3/stationarity_estimator.cc", + "AEC3/audio_processing/aec3/subband_erle_estimator.cc", + "AEC3/audio_processing/aec3/subband_nearend_detector.cc", + "AEC3/audio_processing/aec3/subtractor.cc", + "AEC3/audio_processing/aec3/subtractor_output.cc", + "AEC3/audio_processing/aec3/subtractor_output_analyzer.cc", + "AEC3/audio_processing/aec3/suppression_filter.cc", + "AEC3/audio_processing/aec3/suppression_gain.cc", + "AEC3/audio_processing/audio_buffer.cc", + "AEC3/audio_processing/audio_frame.cc", + "AEC3/audio_processing/channel_buffer.cc", + "AEC3/audio_processing/channel_layout.cc", + "AEC3/audio_processing/high_pass_filter.cc", + "AEC3/audio_processing/logging/apm_data_dumper.cc", + "AEC3/audio_processing/logging/wav_file.cc", + "AEC3/audio_processing/logging/wav_header.cc", + "AEC3/audio_processing/resampler/push_sinc_resampler.cc", + "AEC3/audio_processing/resampler/sinc_resampler.cc", + "AEC3/audio_processing/sparse_fir_filter.cc", + "AEC3/audio_processing/splitting_filter_c.c", + "AEC3/audio_processing/splitting_filter.cc", + "AEC3/audio_processing/three_band_filter_bank.cc", + "AEC3/audio_processing/utility/cascaded_biquad_filter.cc", + "AEC3/audio_processing/utility/ooura_fft.cc", + "AEC3/api/echo_canceller3_config.cc", + "AEC3/api/echo_canceller3_config_json.cc", + "AEC3/api/echo_canceller3_factory.cc", + "AEC3/base/system_wrappers/source/cpu_features.cc", + "AEC3/base/system_wrappers/source/field_trial.cc", + "AEC3/base/abseil/absl/base/internal/throw_delegate.cc", + "AEC3/base/abseil/absl/strings/ascii.cc", + "AEC3/base/abseil/absl/strings/charconv.cc", + "AEC3/base/abseil/absl/strings/escaping.cc", + "AEC3/base/abseil/absl/strings/internal/charconv_bigint.cc", + "AEC3/base/abseil/absl/strings/internal/charconv_parse.cc", + "AEC3/base/abseil/absl/strings/internal/memutil.cc", + "AEC3/base/abseil/absl/strings/match.cc", + "AEC3/base/abseil/absl/strings/numbers.cc", + "AEC3/base/abseil/absl/strings/string_view.cc", + "AEC3/base/abseil/absl/strings/str_cat.cc", + "AEC3/base/abseil/absl/strings/str_replace.cc", + "AEC3/base/abseil/absl/strings/str_split.cc", + "AEC3/base/abseil/absl/strings/substitute.cc", + "AEC3/base/abseil/absl/types/bad_optional_access.cc", + # "AEC3/base/jsoncpp/src/lib_json/json_reader.cpp", + # "AEC3/base/jsoncpp/src/lib_json/json_value.cpp", + # "AEC3/base/jsoncpp/src/lib_json/json_writer.cpp", + "AEC3/base/rtc_base/checks.cc", + "AEC3/base/rtc_base/memory/aligned_malloc.cc", + "AEC3/base/rtc_base/platform_thread_types.cc", + "AEC3/base/rtc_base/race_checker.cc", + "AEC3/base/rtc_base/strings/json.cc", + "AEC3/base/rtc_base/strings/string_builder.cc", + "AEC3/base/rtc_base/string_encode.cc", + "AEC3/base/rtc_base/string_to_number.cc", + "AEC3/base/rtc_base/string_utils.cc", + "AEC3/base/rtc_base/system/file_wrapper.cc", + "AEC3/base/rtc_base/time_utils.cc", +] +if enable_webrtc_logging: + aec3_sources += [ + "AEC3/base/system_wrappers/source/metrics.cc", + "AEC3/base/rtc_base/critical_section.cc", + "AEC3/base/rtc_base/logging.cc", + ] +if env["arch"] == "arm64": + aec3_sources += [ + "AEC3/audio_processing/utility/ooura_fft_neon.cc", + "AEC3/audio_processing/resampler/sinc_resampler_neon.cc", + ] +elif env["arch"] == "mips64": # Check if supported. + aec3_sources += ["AEC3/audio_processing/resampler/ooura_fft_mips.cc"] +elif env["arch"] == "x86_64" and env["platform"] != "ios": + aec3_sources += [ + "AEC3/audio_processing/utility/ooura_fft_sse2.cc", + "AEC3/audio_processing/resampler/sinc_resampler_sse.cc", + ] + +thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources + opus_sources_silk] + [ + "thirdparty/" + file for file in aec3_sources +] + +env.Prepend(CPPPATH=["#thirdparty/libogg"]) +env.Append(CPPDEFINES=["HAVE_CONFIG_H"]) +thirdparty_include_paths = [ + "", + "celt", + "opus", + "silk", + "silk/fixed", + "silk/float", +] +env.Prepend(CPPPATH=[thirdparty_dir + "/" + dir for dir in thirdparty_include_paths]) + +if env["platform"] == "android": + if "android_arch" in env and env["android_arch"] == "armv7": + env.Append(CPPDEFINES=["OPUS_ARM_OPT"]) + elif "android_arch" in env and env["android_arch"] == "arm64v8": + env.Append(CPPDEFINES=["OPUS_ARM64_OPT"]) +elif env["platform"] == "iphone": + if "arch" in env and env["arch"] == "arm": + env.Append(CPPDEFINES=["OPUS_ARM_OPT"]) + elif "arch" in env and env["arch"] == "arm64": + env.Append(CPPDEFINES=["OPUS_ARM64_OPT"]) +elif env["platform"] == "osx": + if "arch" in env and env["arch"] == "arm64": + env.Append(CPPDEFINES=["OPUS_ARM64_OPT"]) + +sources = [Glob("src/*.cpp")] +sources.extend(Glob("thirdparty/libsamplerate/src/*.c")) +sources.extend(thirdparty_sources) +sources.extend("thirdparty/*.cpp") + +if env["platform"] == "macos": + library = env.SharedLibrary( + "bin/addons/godot_speech/bin/libgodot_speech{}.framework/libgodot_speech{}".format( + env["suffix"], env["suffix"] + ), + source=sources, + ) +elif env["platform"] == "ios": + library = env.SharedLibrary( + "bin/addons/godot_speech/bin/libgodot_speech{}.framework/libgodot_speech{}".format( + env["suffix"], env["suffix"] + ), + source=sources, + ) +else: + library = env.SharedLibrary( + "bin/addons/godot_speech/bin/libgodot_speech{}{}".format(env["suffix"], env["SHLIBSUFFIX"]), + source=sources, + ) +Default(library) diff --git a/playback_stats.h b/playback_stats.h index 886f2c5..08d3db2 100644 --- a/playback_stats.h +++ b/playback_stats.h @@ -1,5 +1,7 @@ #pragma once -#include "core/object/ref_counted.h" +#include +#include +#include class PlaybackStats : public RefCounted { GDCLASS(PlaybackStats, RefCounted); diff --git a/register_types.cpp b/register_types.cpp index aa138ef..9a84e47 100644 --- a/register_types.cpp +++ b/register_types.cpp @@ -30,7 +30,7 @@ #include "register_types.h" -#include "core/object/class_db.h" +#include #include "speech.h" #include "speech_decoder.h" diff --git a/speech.cpp b/speech.cpp index 1ec8c71..3dcc614 100644 --- a/speech.cpp +++ b/speech.cpp @@ -29,8 +29,8 @@ /**************************************************************************/ #include "modules/speech/thirdparty/jitter.h" -#include "scene/2d/audio_stream_player_2d.h" -#include "scene/3d/audio_stream_player_3d.h" +#include +#include #include "speech.h" #include "speech_processor.h" diff --git a/speech.h b/speech.h index d974cfc..c3a7972 100644 --- a/speech.h +++ b/speech.h @@ -31,14 +31,17 @@ #ifndef SPEECH_H #define SPEECH_H -#include "core/error/error_macros.h" -#include "core/os/mutex.h" -#include "core/variant/array.h" -#include "core/variant/dictionary.h" +#include +#include +#include +#include #include "modules/speech/thirdparty/jitter.h" #include "playback_stats.h" -#include "scene/main/node.h" -#include "servers/audio/effects/audio_stream_generator.h" +#include +#include +#include +#include +#include #include "speech_decoder.h" #include "speech_processor.h" diff --git a/speech_decoder.h b/speech_decoder.h index 0a31a5f..ee7fa21 100644 --- a/speech_decoder.h +++ b/speech_decoder.h @@ -31,7 +31,9 @@ #ifndef SPEECH_DECODER_H #define SPEECH_DECODER_H -#include "core/object/ref_counted.h" +#include +#include +#include #include "thirdparty/opus/opus/opus.h" diff --git a/speech_processor.h b/speech_processor.h index bbc8a64..f1275b3 100644 --- a/speech_processor.h +++ b/speech_processor.h @@ -31,16 +31,25 @@ #ifndef SPEECH_PROCESSOR_H #define SPEECH_PROCESSOR_H -#include "core/config/engine.h" -#include "core/config/project_settings.h" -#include "core/object/class_db.h" -#include "core/object/ref_counted.h" -#include "core/os/mutex.h" -#include "scene/audio/audio_stream_player.h" -#include "scene/main/node.h" -#include "servers/audio/audio_stream.h" -#include "servers/audio/effects/audio_effect_capture.h" -#include "servers/audio_server.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/tests/test_speech.h b/tests/test_speech.h index 7ddb661..8c3f583 100644 --- a/tests/test_speech.h +++ b/tests/test_speech.h @@ -31,7 +31,7 @@ #ifndef TEST_SPEECH_H #define TEST_SPEECH_H -#include "core/variant/variant.h" +#include #include "tests/test_macros.h" #include "modules/speech/thirdparty/jitter.h" diff --git a/thirdparty/jitter.cpp b/thirdparty/jitter.cpp index 018b1d8..c77bba7 100644 --- a/thirdparty/jitter.cpp +++ b/thirdparty/jitter.cpp @@ -81,7 +81,7 @@ */ #include "jitter.h" -#include "core/error/error_macros.h" +#include void VoipJitterBuffer::jitter_buffer_reset(Ref jitter) { if (jitter.is_null()) { diff --git a/thirdparty/jitter.h b/thirdparty/jitter.h index 8b487b4..f855dbb 100644 --- a/thirdparty/jitter.h +++ b/thirdparty/jitter.h @@ -93,8 +93,10 @@ #include #include -#include "core/object/ref_counted.h" -#include "core/variant/variant.h" +#include +#include +#include +#include #define speex_assert(cond) \ { \ @@ -118,7 +120,7 @@ #define MAX_BUFFERS 3 #define TOP_DELAY 40 -#include "core/variant/variant.h" +#include /** Definition of an incoming packet */ class JitterBufferPacket : public RefCounted { From 105ac5ca7bbb7a55f3214e74352a7acaf76b4796 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Sat, 6 Apr 2024 15:36:00 +0200 Subject: [PATCH 02/25] add actions.upd --- .github/workflows/build_android.yml | 52 + .github/workflows/build_ios.yml | 41 + .github/workflows/build_linux.yml | 40 + .github/workflows/build_macos.yml | 64 + .github/workflows/build_web.yml | 39 + .github/workflows/build_windows.yml | 50 + .github/workflows/lint.yml | 20 + .github/workflows/release.yml | 36 + .github/workflows/runner.yml | 44 + SConstruct | 11 +- build_godot-cpp.sh | 7 + godot_compat_helper.h | 26 + output_header_mapping_godot.json | 24753 ++++++++++++++++++++++++++ playback_stats.h | 4 + speech.cpp | 20 +- speech.h | 7 +- speech_decoder.h | 7 + speech_processor.cpp | 28 +- speech_processor.h | 4 + tests/test_speech.h | 2 +- thirdparty/jitter.h | 6 +- 21 files changed, 25236 insertions(+), 25 deletions(-) create mode 100644 .github/workflows/build_android.yml create mode 100644 .github/workflows/build_ios.yml create mode 100644 .github/workflows/build_linux.yml create mode 100644 .github/workflows/build_macos.yml create mode 100644 .github/workflows/build_web.yml create mode 100644 .github/workflows/build_windows.yml create mode 100644 .github/workflows/lint.yml create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/runner.yml create mode 100755 build_godot-cpp.sh create mode 100644 godot_compat_helper.h create mode 100644 output_header_mapping_godot.json diff --git a/.github/workflows/build_android.yml b/.github/workflows/build_android.yml new file mode 100644 index 0000000..802e1a3 --- /dev/null +++ b/.github/workflows/build_android.yml @@ -0,0 +1,52 @@ +name: Build Android +on: + workflow_dispatch: + workflow_call: + +jobs: + build: + strategy: + fail-fast: false + matrix: + include: + - precision: single + arch: arm64 + - precision: single + arch: arm32 + - precision: single + arch: x86_64 + - precision: single + arch: x86_32 + + - precision: double + arch: arm64 + - precision: double + arch: arm32 + - precision: double + arch: x86_64 + - precision: double + arch: x86_32 + runs-on: ubuntu-20.04 + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 0 + + - name: 🔗 GDExtension Build + uses: godot/godot-cpp-template/.github/actions/build + with: + platform: android + arch: ${{ matrix.arch }} + godot-cpp-location: godot-cpp + float-precision: ${{ matrix.precision }} + build-target-type: template_release + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: Godot_Speech + path: | + ${{ github.workspace }}/bin/**/*.so + if-no-files-found: error diff --git a/.github/workflows/build_ios.yml b/.github/workflows/build_ios.yml new file mode 100644 index 0000000..852a22c --- /dev/null +++ b/.github/workflows/build_ios.yml @@ -0,0 +1,41 @@ +name: Build iOS +on: + workflow_dispatch: + workflow_call: + +jobs: + build: + strategy: + fail-fast: false + matrix: + include: + - precision: single + arch: arm64 + ios_precision_extension: + - precision: double + arch: arm64 + ios_precision_extension: .double + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 0 + + - name: 🔗 GDExtension Build + uses: godot/godot-cpp-template/.github/actions/build + with: + platform: ios + arch: ${{ matrix.arch }} + godot-cpp-location: godot-cpp + float-precision: ${{ matrix.precision }} + build-target-type: template_release + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: Godot_Speech + path: | + ${{ github.workspace }}/bin/**/libgodot_speech.ios.template_release${{ matrix.ios_precision_extension }}.arm64.framework/** + if-no-files-found: error diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml new file mode 100644 index 0000000..b17b5e9 --- /dev/null +++ b/.github/workflows/build_linux.yml @@ -0,0 +1,40 @@ +name: Build Linux +on: + workflow_dispatch: + workflow_call: + +jobs: + build: + strategy: + fail-fast: false + matrix: + include: + - precision: single + arch: x86_64 + - precision: double + arch: x86_64 + + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 0 + + - name: 🔗 GDExtension Build + uses: godot/godot-cpp-template/.github/actions/build + with: + platform: linux + arch: ${{ matrix.arch }} + godot-cpp-location: godot-cpp + float-precision: ${{ matrix.precision }} + build-target-type: template_release + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: Godot_Speech + path: | + ${{ github.workspace }}/bin/**/*.so + if-no-files-found: error diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml new file mode 100644 index 0000000..c8c50e0 --- /dev/null +++ b/.github/workflows/build_macos.yml @@ -0,0 +1,64 @@ +name: Build MacOS +on: + workflow_dispatch: + workflow_call: + secrets: + APPLE_CERT_BASE64: + required: true + APPLE_CERT_PASSWORD: + required: true + APPLE_DEV_PASSWORD: + required: true + APPLE_DEV_ID: + required: true + APPLE_DEV_TEAM_ID: + required: true + APPLE_DEV_APP_ID: + required: true + +jobs: + build: + strategy: + fail-fast: false + matrix: + include: + - precision: single + mac_precision_extension: + arch: universal + - precision: double + mac_precision_extension: .double + arch: universal + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 0 + - name: 🔗 GDExtension Build + uses: godot/godot-cpp-template/.github/actions/build + with: + platform: macos + arch: ${{ matrix.arch }} + godot-cpp-location: godot-cpp + float-precision: ${{ matrix.precision }} + build-target-type: template_release + + - name: Mac Sign + uses: godot/godot-cpp-template/.github/actions/sign + with: + FRAMEWORK_PATH: bin/addons/godot_speech/bin/libgodot_speech.macos.template_release${{ matrix.mac_precision_extension }}.universal.framework + SIGN_FLAGS: "--deep" + APPLE_CERT_BASE64: ${{ secrets.APPLE_CERT_BASE64 }} + APPLE_CERT_PASSWORD: ${{ secrets.APPLE_CERT_PASSWORD }} + APPLE_DEV_PASSWORD: ${{ secrets.APPLE_DEV_PASSWORD }} + APPLE_DEV_ID: ${{ secrets.APPLE_DEV_ID }} + APPLE_DEV_TEAM_ID: ${{ secrets.APPLE_DEV_TEAM_ID }} + APPLE_DEV_APP_ID: ${{ secrets.APPLE_DEV_APP_ID }} + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: Godot_Speech + path: | + ${{ github.workspace }}/bin/**/libgodot_speech.macos.template_release${{ matrix.mac_precision_extension }}.universal.framework/** + if-no-files-found: error diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml new file mode 100644 index 0000000..95308d1 --- /dev/null +++ b/.github/workflows/build_web.yml @@ -0,0 +1,39 @@ +name: Build Web +on: + workflow_dispatch: + workflow_call: + +jobs: + build: + strategy: + fail-fast: false + matrix: + include: + - precision: single + arch: wasm32 + - precision: double + arch: wasm32 + runs-on: ubuntu-20.04 + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 0 + + - name: 🔗 GDExtension Build + uses: godot/godot-cpp-template/.github/actions/build + with: + platform: web + arch: ${{ matrix.arch }} + godot-cpp-location: godot-cpp + float-precision: ${{ matrix.precision }} + build-target-type: template_release + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: Godot_Speech + path: | + ${{ github.workspace }}/bin/**/*.wasm + if-no-files-found: error diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml new file mode 100644 index 0000000..1479f8f --- /dev/null +++ b/.github/workflows/build_windows.yml @@ -0,0 +1,50 @@ +name: Build Windows +on: + workflow_dispatch: + workflow_call: + +jobs: + build: + strategy: + fail-fast: false + matrix: + include: + - precision: single + arch: x86_32 + opencl_arch: Win32 + - precision: single + arch: x86_64 + opencl_arch: x64 + - precision: double + arch: x86_32 + opencl_arch: Win32 + - precision: double + arch: x86_64 + opencl_arch: x64 + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 0 + + - name: 🔗 GDExtension Build + uses: godot/godot-cpp-template/.github/actions/build + with: + platform: windows + arch: ${{ matrix.arch }} + godot-cpp-location: godot-cpp + float-precision: ${{ matrix.precision }} + build-target-type: template_release + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: Godot_Speech + path: | + ${{ github.workspace }}/bin/**/*.dll + ${{ github.workspace }}/bin/samples/** + ${{ github.workspace }}/bin/addons/godot_speech/godot_speech.gdextension + if-no-files-found: error + compression-level: 9 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..60fe37b --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,20 @@ +name: Lint +on: + workflow_dispatch: + workflow_call: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@v2 + - name: Setup clang-format + shell: bash + run: | + python -m pip install clang-format + - name: Run clang-format + shell: bash + run: | + clang-format --style=file:.clang-format src/** --dry-run --Werror diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c8107c8 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,36 @@ +name: Release +on: + workflow_call: + +jobs: + release: + runs-on: ubuntu-20.04 + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + submodules: true + fetch-depth: 0 + - name: Download artifacts + uses: actions/download-artifact@v3 + with: + name: Godot_Speech + path: godot-speech + - name: Delete draft release(s) + uses: hugo19941994/delete-draft-releases@v1.0.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Archive + shell: sh + run: zip -r "Godot_Speech.zip" godot-speech + - name: Release + uses: softprops/action-gh-release@v1 + with: + name: Godot Speech + files: Godot_Speech.zip + generate_release_notes: true + draft: true + prerelease: true + fail_on_unmatched_files: true diff --git a/.github/workflows/runner.yml b/.github/workflows/runner.yml new file mode 100644 index 0000000..d49c9aa --- /dev/null +++ b/.github/workflows/runner.yml @@ -0,0 +1,44 @@ +name: Builds + +on: + workflow_dispatch: + pull_request: + push: + branches: + - "main" + +jobs: + lint: + uses: ./.github/workflows/lint.yml + build_android: + needs: [lint] + uses: ./.github/workflows/build_android.yml + build_ios: + needs: [lint] + uses: ./.github/workflows/build_ios.yml + build_linux: + needs: [lint] + uses: ./.github/workflows/build_linux.yml + build_macos: + needs: [lint] + uses: ./.github/workflows/build_macos.yml + secrets: + APPLE_CERT_BASE64: ${{ secrets.APPLE_CERT_BASE64 }} + APPLE_CERT_PASSWORD: ${{ secrets.APPLE_CERT_PASSWORD }} + APPLE_DEV_PASSWORD: ${{ secrets.APPLE_DEV_PASSWORD }} + APPLE_DEV_ID: ${{ secrets.APPLE_DEV_ID }} + APPLE_DEV_TEAM_ID: ${{ secrets.APPLE_DEV_TEAM_ID }} + APPLE_DEV_APP_ID: ${{ secrets.APPLE_DEV_APP_ID }} + build_windows: + needs: [lint] + uses: ./.github/workflows/build_windows.yml + build_web: + needs: [lint] + uses: ./.github/workflows/build_web.yml + + release: + name: Create Release + permissions: + contents: write + needs: [build_android, build_ios, build_linux, build_macos, build_windows, build_web] + uses: ./.github/workflows/release.yml diff --git a/SConstruct b/SConstruct index 3e04335..7426e94 100644 --- a/SConstruct +++ b/SConstruct @@ -37,11 +37,11 @@ elif env["platform"] == "android": else: # including if env["platform"] == "javascript": env.Append(CPPDEFINES=["WEBRTC_POSIX"]) +env.Prepend(CPPPATH=["thirdparty"]) env.Prepend(CPPPATH=["thirdparty/libsamplerate/src"]) env.Prepend(CPPPATH=["thirdparty/opus"]) env.Prepend(CPPPATH=["thirdparty/opus/opus"]) env.Prepend(CPPPATH=["include"]) -env.Prepend(CPPPATH=["include"]) env.Prepend(CPPPATH=["thirdparty/AEC3"]) env.Prepend(CPPPATH=["thirdparty/AEC3/base"]) env.Prepend(CPPPATH=["thirdparty/AEC3/base/abseil"]) @@ -53,7 +53,6 @@ env.Prepend(CPPPATH=["thirdparty/AEC3/audio_processing/resampler"]) env.Prepend(CPPPATH=["thirdparty/AEC3/audio_processing/utility"]) env.Prepend(CPPPATH=["thirdparty/AEC3/base/jsoncpp/include"]) -#env.disable_warnings() thirdparty_dir = "thirdparty/opus/" thirdparty_sources = [ # Sync with opus_sources.mk @@ -372,7 +371,7 @@ thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources + opu env.Prepend(CPPPATH=["#thirdparty/libogg"]) env.Append(CPPDEFINES=["HAVE_CONFIG_H"]) thirdparty_include_paths = [ - "", + #"", "celt", "opus", "silk", @@ -395,11 +394,11 @@ elif env["platform"] == "osx": if "arch" in env and env["arch"] == "arm64": env.Append(CPPDEFINES=["OPUS_ARM64_OPT"]) -sources = [Glob("src/*.cpp")] +sources = [Glob("*.cpp")] sources.extend(Glob("thirdparty/libsamplerate/src/*.c")) sources.extend(thirdparty_sources) -sources.extend("thirdparty/*.cpp") - +sources.extend(Glob("thirdparty/*.cpp")) +print(sources) if env["platform"] == "macos": library = env.SharedLibrary( "bin/addons/godot_speech/bin/libgodot_speech{}.framework/libgodot_speech{}".format( diff --git a/build_godot-cpp.sh b/build_godot-cpp.sh new file mode 100755 index 0000000..130c34c --- /dev/null +++ b/build_godot-cpp.sh @@ -0,0 +1,7 @@ +cd ../godot +# Create output_header_mapping.json file +python ../godot-speech/thirdparty/godot-cpp/compat_generator.py +cp output_header_mapping.json ../godot-speech/thirdparty/godot-cpp/output_header_mapping_godot.json +cd ../godot-speech/thirdparty/godot-cpp +scons +cd ../.. diff --git a/godot_compat_helper.h b/godot_compat_helper.h new file mode 100644 index 0000000..a1ed0ed --- /dev/null +++ b/godot_compat_helper.h @@ -0,0 +1,26 @@ +#pragma once + +#include +#include + +#ifndef GODOT_MODULE_COMPAT +#include +#endif + +using namespace godot; + +inline void compat_print_line(const Variant &v) { + #ifdef GODOT_MODULE_COMPAT + print_line(v); + #else + UtilityFunctions::print(v); + #endif +} + +inline void compat_print_error(const Variant &v) { + #ifdef GODOT_MODULE_COMPAT + print_error(v); + #else + ERR_PRINT(v); + #endif +} diff --git a/output_header_mapping_godot.json b/output_header_mapping_godot.json new file mode 100644 index 0000000..103934c --- /dev/null +++ b/output_header_mapping_godot.json @@ -0,0 +1,24753 @@ +{ + "drivers/register_driver_types.h": { + "classes": [], + "structs": [], + "defines": [ + "REGISTER_DRIVER_TYPES_H" + ] + }, + "drivers/gles3/rasterizer_gles3.h": { + "classes": [ + "RasterizerGLES3" + ], + "structs": [], + "defines": [ + "RASTERIZER_GLES3_H" + ] + }, + "drivers/gles3/shader_gles3.h": { + "classes": [ + "ShaderGLES3" + ], + "structs": [ + "TextureUniformData", + "TexUnitPair", + "UBOPair", + "Specialization", + "Feedback", + "Version", + "Specialization", + "StageTemplate", + "Chunk" + ], + "defines": [ + "SHADER_GLES3_H" + ] + }, + "drivers/gles3/rasterizer_scene_gles3.h": { + "classes": [ + "RasterizerSceneGLES3", + "GeometryInstanceGLES3" + ], + "structs": [ + "RenderDataGLES3", + "InstanceSort", + "SceneGlobals", + "LightData", + "DirectionalLightData", + "ShadowData", + "DirectionalShadowData", + "GeometryInstanceSurface", + "GeometryInstanceLightmapSH", + "LightPass", + "SceneState", + "UBO", + "MultiviewUBO", + "TonemapUBO", + "RenderListParameters", + "RenderList", + "SortByKey", + "SortByDepth", + "SortByReverseDepthAndPriority", + "CameraAttributes", + "SkyGlobals", + "Sky" + ], + "defines": [ + "RASTERIZER_SCENE_GLES3_H" + ] + }, + "drivers/gles3/rasterizer_canvas_gles3.h": { + "classes": [ + "RasterizerCanvasGLES3" + ], + "structs": [ + "CanvasLight", + "OccluderPolygon", + "LightUniform", + "StateBuffer", + "PolygonBuffers", + "InstanceData", + "Data", + "Batch", + "DataBuffer", + "State" + ], + "defines": [ + "RASTERIZER_CANVAS_GLES3_H" + ] + }, + "drivers/gles3/storage/particles_storage.h": { + "classes": [ + "ParticlesStorage" + ], + "structs": [ + "ParticleInstanceData3D", + "ParticleInstanceData2D", + "ParticlesViewSort", + "ParticlesFrameParams", + "Attractor", + "Collider", + "Particles", + "ParticlesShader", + "ParticlesCollision", + "ParticlesCollisionInstance" + ], + "defines": [ + "PARTICLES_STORAGE_GLES3_H" + ] + }, + "drivers/gles3/storage/light_storage.h": { + "classes": [ + "LightStorage" + ], + "structs": [ + "Light", + "LightInstance", + "ShadowTransform", + "ReflectionProbe", + "Lightmap", + "BSP", + "LightmapInstance", + "ShadowAtlas", + "Quadrant", + "Shadow", + "DirectionalShadow" + ], + "defines": [ + "LIGHT_STORAGE_GLES3_H" + ] + }, + "drivers/gles3/storage/material_storage.h": { + "classes": [ + "MaterialStorage" + ], + "structs": [ + "ShaderData", + "Shader", + "MaterialData", + "Material", + "CanvasShaderData", + "CanvasMaterialData", + "SkyShaderData", + "SkyMaterialData", + "SceneShaderData", + "SceneMaterialData", + "ParticlesShaderData", + "ParticleProcessMaterialData", + "GlobalShaderUniforms", + "Variable", + "Value", + "ValueInt", + "ValueUInt", + "ValueUsage", + "Shaders" + ], + "defines": [ + "MATERIAL_STORAGE_GLES3_H" + ] + }, + "drivers/gles3/storage/config.h": { + "classes": [ + "Config" + ], + "structs": [], + "defines": [ + "CONFIG_GLES3_H" + ] + }, + "drivers/gles3/storage/utilities.h": { + "classes": [ + "Utilities" + ], + "structs": [ + "VisibilityNotifier", + "ResourceAllocation", + "Frame" + ], + "defines": [ + "UTILITIES_GLES3_H", + "MAX_QUERIES", + "FRAME_COUNT" + ] + }, + "drivers/gles3/storage/texture_storage.h": { + "classes": [ + "TextureStorage" + ], + "structs": [ + "CanvasTexture", + "Texture", + "RenderTarget", + "RTOverridden", + "FBOCacheEntry", + "TextureAtlas", + "Texture", + "SortItem", + "RenderTargetSDF" + ], + "defines": [ + "TEXTURE_STORAGE_GLES3_H", + "_GL_TEXTURE_MAX_ANISOTROPY_EXT", + "_GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT", + "_EXT_COMPRESSED_RGBA_S3TC_DXT1_EXT", + "_EXT_COMPRESSED_RGBA_S3TC_DXT3_EXT", + "_EXT_COMPRESSED_RGBA_S3TC_DXT5_EXT", + "_EXT_COMPRESSED_RED_RGTC1_EXT", + "_EXT_COMPRESSED_RED_RGTC1", + "_EXT_COMPRESSED_SIGNED_RED_RGTC1", + "_EXT_COMPRESSED_RG_RGTC2", + "_EXT_COMPRESSED_SIGNED_RG_RGTC2", + "_EXT_COMPRESSED_SIGNED_RED_RGTC1_EXT", + "_EXT_COMPRESSED_RED_GREEN_RGTC2_EXT", + "_EXT_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT", + "_EXT_ETC1_RGB8_OES", + "_EXT_COMPRESSED_RGBA_BPTC_UNORM", + "_EXT_COMPRESSED_SRGB_ALPHA_BPTC_UNORM", + "_EXT_COMPRESSED_RGB_BPTC_SIGNED_FLOAT", + "_EXT_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT", + "_EXT_COMPRESSED_R11_EAC", + "_EXT_COMPRESSED_SIGNED_R11_EAC", + "_EXT_COMPRESSED_RG11_EAC", + "_EXT_COMPRESSED_SIGNED_RG11_EAC", + "_EXT_COMPRESSED_RGB8_ETC2", + "_EXT_COMPRESSED_SRGB8_ETC2", + "_EXT_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2", + "_EXT_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2", + "_EXT_COMPRESSED_RGBA8_ETC2_EAC", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC", + "_EXT_COMPRESSED_RGBA_ASTC_4x4_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_5x4_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_5x5_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_6x5_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_6x6_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_8x5_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_8x6_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_8x8_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_10x5_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_10x6_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_10x8_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_10x10_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_12x10_KHR", + "_EXT_COMPRESSED_RGBA_ASTC_12x12_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR", + "_EXT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR", + "_GL_TEXTURE_EXTERNAL_OES", + "_EXT_TEXTURE_CUBE_MAP_SEAMLESS" + ] + }, + "drivers/gles3/storage/mesh_storage.h": { + "classes": [ + "MeshStorage" + ], + "structs": [ + "Mesh", + "Surface", + "Attrib", + "Version", + "Wireframe", + "LOD", + "BlendShape", + "MeshInstance", + "Surface", + "MultiMesh", + "Skeleton" + ], + "defines": [ + "MESH_STORAGE_GLES3_H" + ] + }, + "drivers/gles3/storage/render_scene_buffers_gles3.h": { + "classes": [ + "RenderSceneBuffersGLES3" + ], + "structs": [ + "FBDEF", + "RTMSAA3D", + "GLOW" + ], + "defines": [ + "RENDER_SCENE_BUFFERS_GLES3_H" + ] + }, + "drivers/gles3/shaders/skeleton.glsl.gen.h": { + "classes": [ + "SkeletonShaderGLES3" + ], + "structs": [], + "defines": [ + "SKELETON_GLSL_GEN_HGLES3_GLES3", + "_FU", + "MODE_BLEND_PASS" + ] + }, + "drivers/gles3/shaders/cubemap_filter.glsl.gen.h": { + "classes": [ + "CubemapFilterShaderGLES3" + ], + "structs": [], + "defines": [ + "CUBEMAP_FILTER_GLSL_GEN_HGLES3_GLES3", + "_FU", + "MODE_DIRECT_WRITE" + ] + }, + "drivers/gles3/shaders/sky.glsl.gen.h": { + "classes": [ + "SkyShaderGLES3" + ], + "structs": [], + "defines": [ + "SKY_GLSL_GEN_HGLES3_GLES3", + "_FU", + "USE_HALF_RES_PASS", + "USE_QUARTER_RES_PASS", + "USE_CUBEMAP_PASS", + "USE_CUBEMAP_PASS", + "USE_HALF_RES_PASS", + "USE_CUBEMAP_PASS", + "USE_QUARTER_RES_PASS" + ] + }, + "drivers/gles3/shaders/canvas.glsl.gen.h": { + "classes": [ + "CanvasShaderGLES3" + ], + "structs": [], + "defines": [ + "CANVAS_GLSL_GEN_HGLES3_GLES3", + "_FU", + "USE_NINEPATCH", + "USE_PRIMITIVE", + "USE_ATTRIBUTES", + "USE_ATTRIBUTES", + "USE_INSTANCING" + ] + }, + "drivers/gles3/shaders/canvas_sdf.glsl.gen.h": { + "classes": [ + "CanvasSdfShaderGLES3" + ], + "structs": [], + "defines": [ + "CANVAS_SDF_GLSL_GEN_HGLES3_GLES3", + "_FU", + "MODE_LOAD", + "MODE_LOAD_SHRINK", + "MODE_PROCESS", + "MODE_STORE", + "MODE_STORE_SHRINK" + ] + }, + "drivers/gles3/shaders/canvas_occlusion.glsl.gen.h": { + "classes": [ + "CanvasOcclusionShaderGLES3" + ], + "structs": [], + "defines": [ + "CANVAS_OCCLUSION_GLSL_GEN_HGLES3_GLES3", + "_FU", + "MODE_SHADOW", + "MODE_SHADOW", + "USE_RGBA_SHADOWS" + ] + }, + "drivers/gles3/shaders/scene.glsl.gen.h": { + "classes": [ + "SceneShaderGLES3" + ], + "structs": [], + "defines": [ + "SCENE_GLSL_GEN_HGLES3_GLES3", + "_FU", + "USE_INSTANCING", + "MODE_RENDER_DEPTH", + "MODE_RENDER_DEPTH", + "USE_INSTANCING" + ] + }, + "drivers/gles3/shaders/copy.glsl.gen.h": { + "classes": [ + "CopyShaderGLES3" + ], + "structs": [], + "defines": [ + "COPY_GLSL_GEN_HGLES3_GLES3", + "_FU", + "MODE_SIMPLE_COPY", + "USE_COPY_SECTION", + "MODE_SIMPLE_COPY", + "MODE_GAUSSIAN_BLUR", + "MODE_MIPMAP", + "MODE_SIMPLE_COLOR", + "USE_COPY_SECTION", + "CUBE_TO_OCTAHEDRAL", + "USE_COPY_SECTION" + ] + }, + "drivers/gles3/shaders/particles.glsl.gen.h": { + "classes": [ + "ParticlesShaderGLES3" + ], + "structs": [], + "defines": [ + "PARTICLES_GLSL_GEN_HGLES3_GLES3", + "_FU" + ] + }, + "drivers/gles3/shaders/particles_copy.glsl.gen.h": { + "classes": [ + "ParticlesCopyShaderGLES3" + ], + "structs": [], + "defines": [ + "PARTICLES_COPY_GLSL_GEN_HGLES3_GLES3", + "_FU" + ] + }, + "drivers/gles3/shaders/effects/post.glsl.gen.h": { + "classes": [ + "PostShaderGLES3" + ], + "structs": [], + "defines": [ + "POST_GLSL_GEN_HGLES3_GLES3", + "_FU", + "MODE_DEFAULT", + "MODE_GLOW" + ] + }, + "drivers/gles3/shaders/effects/glow.glsl.gen.h": { + "classes": [ + "GlowShaderGLES3" + ], + "structs": [], + "defines": [ + "GLOW_GLSL_GEN_HGLES3_GLES3", + "_FU", + "MODE_FILTER", + "MODE_DOWNSAMPLE", + "MODE_UPSAMPLE" + ] + }, + "drivers/gles3/shaders/effects/copy.glsl.gen.h": { + "classes": [ + "CopyShaderGLES3" + ], + "structs": [], + "defines": [ + "COPY_GLSL_GEN_HGLES3_GLES3", + "_FU", + "MODE_SIMPLE_COPY", + "USE_COPY_SECTION", + "MODE_SIMPLE_COPY", + "USE_COPY_SECTION", + "MODE_SIMPLE_COPY", + "MODE_COPY_FROM", + "USE_COPY_SECTION", + "MODE_SIMPLE_COPY", + "USE_TEXTURE_3D", + "USE_COPY_SECTION", + "MODE_SIMPLE_COPY", + "USE_TEXTURE_2D_ARRAY", + "MODE_SIMPLE_COPY", + "MODE_MULTIPLY", + "MODE_GAUSSIAN_BLUR", + "MODE_MIPMAP", + "MODE_SIMPLE_COLOR", + "USE_COPY_SECTION", + "CUBE_TO_OCTAHEDRAL", + "USE_COPY_SECTION", + "CUBE_TO_PANORAMA" + ] + }, + "drivers/gles3/environment/fog.h": { + "classes": [ + "Fog" + ], + "structs": [], + "defines": [ + "FOG_GLES3_H" + ] + }, + "drivers/gles3/environment/gi.h": { + "classes": [ + "GI" + ], + "structs": [], + "defines": [ + "GI_GLES3_H" + ] + }, + "drivers/gles3/effects/copy_effects.h": { + "classes": [ + "CopyEffects" + ], + "structs": [ + "Copy" + ], + "defines": [ + "COPY_EFFECTS_GLES3_H" + ] + }, + "drivers/gles3/effects/post_effects.h": { + "classes": [ + "PostEffects" + ], + "structs": [ + "Post" + ], + "defines": [ + "POST_EFFECTS_GLES3_H" + ] + }, + "drivers/gles3/effects/glow.h": { + "classes": [ + "Glow" + ], + "structs": [ + "GLOW", + "GLOWLEVEL" + ], + "defines": [ + "GLOW_GLES3_H" + ] + }, + "drivers/pulseaudio/audio_driver_pulseaudio.h": { + "classes": [ + "AudioDriverPulseAudio" + ], + "structs": [], + "defines": [ + "AUDIO_DRIVER_PULSEAUDIO_H" + ] + }, + "drivers/pulseaudio/pulse-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_PULSE", + "pa_get_library_version", + "pa_bytes_per_second", + "pa_frame_size", + "pa_sample_size", + "pa_sample_size_of_format", + "pa_bytes_to_usec", + "pa_usec_to_bytes", + "pa_sample_spec_init", + "pa_sample_format_valid", + "pa_sample_rate_valid", + "pa_channels_valid", + "pa_sample_spec_valid", + "pa_sample_spec_equal", + "pa_sample_format_to_string", + "pa_parse_sample_format", + "pa_sample_spec_snprint", + "pa_bytes_snprint", + "pa_sample_format_is_le", + "pa_sample_format_is_be", + "pa_direction_valid", + "pa_direction_to_string", + "pa_mainloop_api_once", + "pa_proplist_new", + "pa_proplist_free", + "pa_proplist_key_valid", + "pa_proplist_sets", + "pa_proplist_setp", + "pa_proplist_setf", + "pa_proplist_set", + "pa_proplist_gets", + "pa_proplist_get", + "pa_proplist_update", + "pa_proplist_unset", + "pa_proplist_unset_many", + "pa_proplist_iterate", + "pa_proplist_to_string", + "pa_proplist_to_string_sep", + "pa_proplist_from_string", + "pa_proplist_contains", + "pa_proplist_clear", + "pa_proplist_copy", + "pa_proplist_size", + "pa_proplist_isempty", + "pa_proplist_equal", + "pa_channel_map_init", + "pa_channel_map_init_mono", + "pa_channel_map_init_stereo", + "pa_channel_map_init_auto", + "pa_channel_map_init_extend", + "pa_channel_position_to_string", + "pa_channel_position_from_string", + "pa_channel_position_to_pretty_string", + "pa_channel_map_snprint", + "pa_channel_map_parse", + "pa_channel_map_equal", + "pa_channel_map_valid", + "pa_channel_map_compatible", + "pa_channel_map_superset", + "pa_channel_map_can_balance", + "pa_channel_map_can_fade", + "pa_channel_map_can_lfe_balance", + "pa_channel_map_to_name", + "pa_channel_map_to_pretty_name", + "pa_channel_map_has_position", + "pa_channel_map_mask", + "pa_encoding_to_string", + "pa_encoding_from_string", + "pa_format_info_new", + "pa_format_info_copy", + "pa_format_info_free", + "pa_format_info_valid", + "pa_format_info_is_pcm", + "pa_format_info_is_compatible", + "pa_format_info_snprint", + "pa_format_info_from_string", + "pa_format_info_from_sample_spec", + "pa_format_info_to_sample_spec", + "pa_format_info_get_prop_type", + "pa_format_info_get_prop_int", + "pa_format_info_get_prop_int_range", + "pa_format_info_get_prop_int_array", + "pa_format_info_get_prop_string", + "pa_format_info_get_prop_string_array", + "pa_format_info_free_string_array", + "pa_format_info_set_prop_int", + "pa_format_info_set_prop_int_array", + "pa_format_info_set_prop_int_range", + "pa_format_info_set_prop_string", + "pa_format_info_set_prop_string_array", + "pa_format_info_set_sample_format", + "pa_format_info_set_rate", + "pa_format_info_set_channels", + "pa_format_info_set_channel_map", + "pa_operation_ref", + "pa_operation_unref", + "pa_operation_cancel", + "pa_operation_get_state", + "pa_operation_set_state_callback", + "pa_context_new", + "pa_context_new_with_proplist", + "pa_context_unref", + "pa_context_ref", + "pa_context_set_state_callback", + "pa_context_set_event_callback", + "pa_context_errno", + "pa_context_is_pending", + "pa_context_get_state", + "pa_context_connect", + "pa_context_disconnect", + "pa_context_drain", + "pa_context_exit_daemon", + "pa_context_set_default_sink", + "pa_context_set_default_source", + "pa_context_is_local", + "pa_context_set_name", + "pa_context_get_server", + "pa_context_get_protocol_version", + "pa_context_get_server_protocol_version", + "pa_context_proplist_update", + "pa_context_proplist_remove", + "pa_context_get_index", + "pa_context_rttime_new", + "pa_context_rttime_restart", + "pa_context_get_tile_size", + "pa_context_load_cookie_from_file", + "pa_cvolume_equal", + "pa_cvolume_init", + "pa_cvolume_set", + "pa_cvolume_snprint", + "pa_sw_cvolume_snprint_dB", + "pa_cvolume_snprint_verbose", + "pa_volume_snprint", + "pa_sw_volume_snprint_dB", + "pa_volume_snprint_verbose", + "pa_cvolume_avg", + "pa_cvolume_avg_mask", + "pa_cvolume_max", + "pa_cvolume_max_mask", + "pa_cvolume_min", + "pa_cvolume_min_mask", + "pa_cvolume_valid", + "pa_cvolume_channels_equal_to", + "pa_sw_volume_multiply", + "pa_sw_cvolume_multiply", + "pa_sw_cvolume_multiply_scalar", + "pa_sw_volume_divide", + "pa_sw_cvolume_divide", + "pa_sw_cvolume_divide_scalar", + "pa_sw_volume_from_dB", + "pa_sw_volume_to_dB", + "pa_sw_volume_from_linear", + "pa_sw_volume_to_linear", + "pa_cvolume_remap", + "pa_cvolume_compatible", + "pa_cvolume_compatible_with_channel_map", + "pa_cvolume_get_balance", + "pa_cvolume_set_balance", + "pa_cvolume_get_fade", + "pa_cvolume_set_fade", + "pa_cvolume_get_lfe_balance", + "pa_cvolume_set_lfe_balance", + "pa_cvolume_scale", + "pa_cvolume_scale_mask", + "pa_cvolume_set_position", + "pa_cvolume_get_position", + "pa_cvolume_merge", + "pa_cvolume_inc_clamp", + "pa_cvolume_inc", + "pa_cvolume_dec", + "pa_stream_new", + "pa_stream_new_with_proplist", + "pa_stream_new_extended", + "pa_stream_unref", + "pa_stream_ref", + "pa_stream_get_state", + "pa_stream_get_context", + "pa_stream_get_index", + "pa_stream_get_device_index", + "pa_stream_get_device_name", + "pa_stream_is_suspended", + "pa_stream_is_corked", + "pa_stream_connect_playback", + "pa_stream_connect_record", + "pa_stream_disconnect", + "pa_stream_begin_write", + "pa_stream_cancel_write", + "pa_stream_write", + "pa_stream_write_ext_free", + "pa_stream_peek", + "pa_stream_drop", + "pa_stream_writable_size", + "pa_stream_readable_size", + "pa_stream_drain", + "pa_stream_update_timing_info", + "pa_stream_set_state_callback", + "pa_stream_set_write_callback", + "pa_stream_set_read_callback", + "pa_stream_set_overflow_callback", + "pa_stream_get_underflow_index", + "pa_stream_set_underflow_callback", + "pa_stream_set_started_callback", + "pa_stream_set_latency_update_callback", + "pa_stream_set_moved_callback", + "pa_stream_set_suspended_callback", + "pa_stream_set_event_callback", + "pa_stream_set_buffer_attr_callback", + "pa_stream_cork", + "pa_stream_flush", + "pa_stream_prebuf", + "pa_stream_trigger", + "pa_stream_set_name", + "pa_stream_get_time", + "pa_stream_get_latency", + "pa_stream_get_timing_info", + "pa_stream_get_sample_spec", + "pa_stream_get_channel_map", + "pa_stream_get_format_info", + "pa_stream_get_buffer_attr", + "pa_stream_set_buffer_attr", + "pa_stream_update_sample_rate", + "pa_stream_proplist_update", + "pa_stream_proplist_remove", + "pa_stream_set_monitor_stream", + "pa_stream_get_monitor_stream", + "pa_context_get_sink_info_by_name", + "pa_context_get_sink_info_by_index", + "pa_context_get_sink_info_list", + "pa_context_set_sink_volume_by_index", + "pa_context_set_sink_volume_by_name", + "pa_context_set_sink_mute_by_index", + "pa_context_set_sink_mute_by_name", + "pa_context_suspend_sink_by_name", + "pa_context_suspend_sink_by_index", + "pa_context_set_sink_port_by_index", + "pa_context_set_sink_port_by_name", + "pa_context_get_source_info_by_name", + "pa_context_get_source_info_by_index", + "pa_context_get_source_info_list", + "pa_context_set_source_volume_by_index", + "pa_context_set_source_volume_by_name", + "pa_context_set_source_mute_by_index", + "pa_context_set_source_mute_by_name", + "pa_context_suspend_source_by_name", + "pa_context_suspend_source_by_index", + "pa_context_set_source_port_by_index", + "pa_context_set_source_port_by_name", + "pa_context_get_server_info", + "pa_context_get_module_info", + "pa_context_get_module_info_list", + "pa_context_load_module", + "pa_context_unload_module", + "pa_context_get_client_info", + "pa_context_get_client_info_list", + "pa_context_kill_client", + "pa_context_get_card_info_by_index", + "pa_context_get_card_info_by_name", + "pa_context_get_card_info_list", + "pa_context_set_card_profile_by_index", + "pa_context_set_card_profile_by_name", + "pa_context_set_port_latency_offset", + "pa_context_get_sink_input_info", + "pa_context_get_sink_input_info_list", + "pa_context_move_sink_input_by_name", + "pa_context_move_sink_input_by_index", + "pa_context_set_sink_input_volume", + "pa_context_set_sink_input_mute", + "pa_context_kill_sink_input", + "pa_context_get_source_output_info", + "pa_context_get_source_output_info_list", + "pa_context_move_source_output_by_name", + "pa_context_move_source_output_by_index", + "pa_context_set_source_output_volume", + "pa_context_set_source_output_mute", + "pa_context_kill_source_output", + "pa_context_stat", + "pa_context_get_sample_info_by_name", + "pa_context_get_sample_info_by_index", + "pa_context_get_sample_info_list", + "pa_context_get_autoload_info_by_name", + "pa_context_get_autoload_info_by_index", + "pa_context_get_autoload_info_list", + "pa_context_add_autoload", + "pa_context_remove_autoload_by_name", + "pa_context_remove_autoload_by_index", + "pa_context_subscribe", + "pa_context_set_subscribe_callback", + "pa_stream_connect_upload", + "pa_stream_finish_upload", + "pa_context_remove_sample", + "pa_context_play_sample", + "pa_context_play_sample_with_proplist", + "pa_strerror", + "pa_xmalloc", + "pa_xmalloc0", + "pa_xrealloc", + "pa_xfree", + "pa_xstrdup", + "pa_xstrndup", + "pa_xmemdup", + "pa_utf8_valid", + "pa_ascii_valid", + "pa_utf8_filter", + "pa_ascii_filter", + "pa_utf8_to_locale", + "pa_locale_to_utf8", + "pa_threaded_mainloop_new", + "pa_threaded_mainloop_free", + "pa_threaded_mainloop_start", + "pa_threaded_mainloop_stop", + "pa_threaded_mainloop_lock", + "pa_threaded_mainloop_unlock", + "pa_threaded_mainloop_wait", + "pa_threaded_mainloop_signal", + "pa_threaded_mainloop_accept", + "pa_threaded_mainloop_get_retval", + "pa_threaded_mainloop_get_api", + "pa_threaded_mainloop_in_thread", + "pa_threaded_mainloop_set_name", + "pa_mainloop_new", + "pa_mainloop_free", + "pa_mainloop_prepare", + "pa_mainloop_poll", + "pa_mainloop_dispatch", + "pa_mainloop_get_retval", + "pa_mainloop_iterate", + "pa_mainloop_run", + "pa_mainloop_get_api", + "pa_mainloop_quit", + "pa_mainloop_wakeup", + "pa_mainloop_set_poll_func", + "pa_signal_init", + "pa_signal_done", + "pa_signal_new", + "pa_signal_free", + "pa_signal_set_destroy", + "pa_get_user_name", + "pa_get_host_name", + "pa_get_fqdn", + "pa_get_home_dir", + "pa_get_binary_name", + "pa_path_get_filename", + "pa_msleep", + "pa_gettimeofday", + "pa_timeval_diff", + "pa_timeval_cmp", + "pa_timeval_age", + "pa_timeval_add", + "pa_timeval_sub", + "pa_timeval_store", + "pa_timeval_load", + "pa_rtclock_now", + "pa_get_library_version", + "pa_bytes_per_second", + "pa_frame_size", + "pa_sample_size", + "pa_sample_size_of_format", + "pa_bytes_to_usec", + "pa_usec_to_bytes", + "pa_sample_spec_init", + "pa_sample_format_valid", + "pa_sample_rate_valid", + "pa_channels_valid", + "pa_sample_spec_valid", + "pa_sample_spec_equal", + "pa_sample_format_to_string", + "pa_parse_sample_format", + "pa_sample_spec_snprint", + "pa_bytes_snprint", + "pa_sample_format_is_le", + "pa_sample_format_is_be", + "pa_direction_valid", + "pa_direction_to_string", + "pa_mainloop_api_once", + "pa_proplist_new", + "pa_proplist_free", + "pa_proplist_key_valid", + "pa_proplist_sets", + "pa_proplist_setp", + "pa_proplist_setf", + "pa_proplist_set", + "pa_proplist_gets", + "pa_proplist_get", + "pa_proplist_update", + "pa_proplist_unset", + "pa_proplist_unset_many", + "pa_proplist_iterate", + "pa_proplist_to_string", + "pa_proplist_to_string_sep", + "pa_proplist_from_string", + "pa_proplist_contains", + "pa_proplist_clear", + "pa_proplist_copy", + "pa_proplist_size", + "pa_proplist_isempty", + "pa_proplist_equal", + "pa_channel_map_init", + "pa_channel_map_init_mono", + "pa_channel_map_init_stereo", + "pa_channel_map_init_auto", + "pa_channel_map_init_extend", + "pa_channel_position_to_string", + "pa_channel_position_from_string", + "pa_channel_position_to_pretty_string", + "pa_channel_map_snprint", + "pa_channel_map_parse", + "pa_channel_map_equal", + "pa_channel_map_valid", + "pa_channel_map_compatible", + "pa_channel_map_superset", + "pa_channel_map_can_balance", + "pa_channel_map_can_fade", + "pa_channel_map_can_lfe_balance", + "pa_channel_map_to_name", + "pa_channel_map_to_pretty_name", + "pa_channel_map_has_position", + "pa_channel_map_mask", + "pa_encoding_to_string", + "pa_encoding_from_string", + "pa_format_info_new", + "pa_format_info_copy", + "pa_format_info_free", + "pa_format_info_valid", + "pa_format_info_is_pcm", + "pa_format_info_is_compatible", + "pa_format_info_snprint", + "pa_format_info_from_string", + "pa_format_info_from_sample_spec", + "pa_format_info_to_sample_spec", + "pa_format_info_get_prop_type", + "pa_format_info_get_prop_int", + "pa_format_info_get_prop_int_range", + "pa_format_info_get_prop_int_array", + "pa_format_info_get_prop_string", + "pa_format_info_get_prop_string_array", + "pa_format_info_free_string_array", + "pa_format_info_set_prop_int", + "pa_format_info_set_prop_int_array", + "pa_format_info_set_prop_int_range", + "pa_format_info_set_prop_string", + "pa_format_info_set_prop_string_array", + "pa_format_info_set_sample_format", + "pa_format_info_set_rate", + "pa_format_info_set_channels", + "pa_format_info_set_channel_map", + "pa_operation_ref", + "pa_operation_unref", + "pa_operation_cancel", + "pa_operation_get_state", + "pa_operation_set_state_callback", + "pa_context_new", + "pa_context_new_with_proplist", + "pa_context_unref", + "pa_context_ref", + "pa_context_set_state_callback", + "pa_context_set_event_callback", + "pa_context_errno", + "pa_context_is_pending", + "pa_context_get_state", + "pa_context_connect", + "pa_context_disconnect", + "pa_context_drain", + "pa_context_exit_daemon", + "pa_context_set_default_sink", + "pa_context_set_default_source", + "pa_context_is_local", + "pa_context_set_name", + "pa_context_get_server", + "pa_context_get_protocol_version", + "pa_context_get_server_protocol_version", + "pa_context_proplist_update", + "pa_context_proplist_remove", + "pa_context_get_index", + "pa_context_rttime_new", + "pa_context_rttime_restart", + "pa_context_get_tile_size", + "pa_context_load_cookie_from_file", + "pa_cvolume_equal", + "pa_cvolume_init", + "pa_cvolume_set", + "pa_cvolume_snprint", + "pa_sw_cvolume_snprint_dB", + "pa_cvolume_snprint_verbose", + "pa_volume_snprint", + "pa_sw_volume_snprint_dB", + "pa_volume_snprint_verbose", + "pa_cvolume_avg", + "pa_cvolume_avg_mask", + "pa_cvolume_max", + "pa_cvolume_max_mask", + "pa_cvolume_min", + "pa_cvolume_min_mask", + "pa_cvolume_valid", + "pa_cvolume_channels_equal_to", + "pa_sw_volume_multiply", + "pa_sw_cvolume_multiply", + "pa_sw_cvolume_multiply_scalar", + "pa_sw_volume_divide", + "pa_sw_cvolume_divide", + "pa_sw_cvolume_divide_scalar", + "pa_sw_volume_from_dB", + "pa_sw_volume_to_dB", + "pa_sw_volume_from_linear", + "pa_sw_volume_to_linear", + "pa_cvolume_remap", + "pa_cvolume_compatible", + "pa_cvolume_compatible_with_channel_map", + "pa_cvolume_get_balance", + "pa_cvolume_set_balance", + "pa_cvolume_get_fade", + "pa_cvolume_set_fade", + "pa_cvolume_get_lfe_balance", + "pa_cvolume_set_lfe_balance", + "pa_cvolume_scale", + "pa_cvolume_scale_mask", + "pa_cvolume_set_position", + "pa_cvolume_get_position", + "pa_cvolume_merge", + "pa_cvolume_inc_clamp", + "pa_cvolume_inc", + "pa_cvolume_dec", + "pa_stream_new", + "pa_stream_new_with_proplist", + "pa_stream_new_extended", + "pa_stream_unref", + "pa_stream_ref", + "pa_stream_get_state", + "pa_stream_get_context", + "pa_stream_get_index", + "pa_stream_get_device_index", + "pa_stream_get_device_name", + "pa_stream_is_suspended", + "pa_stream_is_corked", + "pa_stream_connect_playback", + "pa_stream_connect_record", + "pa_stream_disconnect", + "pa_stream_begin_write", + "pa_stream_cancel_write", + "pa_stream_write", + "pa_stream_write_ext_free", + "pa_stream_peek", + "pa_stream_drop", + "pa_stream_writable_size", + "pa_stream_readable_size", + "pa_stream_drain", + "pa_stream_update_timing_info", + "pa_stream_set_state_callback", + "pa_stream_set_write_callback", + "pa_stream_set_read_callback", + "pa_stream_set_overflow_callback", + "pa_stream_get_underflow_index", + "pa_stream_set_underflow_callback", + "pa_stream_set_started_callback", + "pa_stream_set_latency_update_callback", + "pa_stream_set_moved_callback", + "pa_stream_set_suspended_callback", + "pa_stream_set_event_callback", + "pa_stream_set_buffer_attr_callback", + "pa_stream_cork", + "pa_stream_flush", + "pa_stream_prebuf", + "pa_stream_trigger", + "pa_stream_set_name", + "pa_stream_get_time", + "pa_stream_get_latency", + "pa_stream_get_timing_info", + "pa_stream_get_sample_spec", + "pa_stream_get_channel_map", + "pa_stream_get_format_info", + "pa_stream_get_buffer_attr", + "pa_stream_set_buffer_attr", + "pa_stream_update_sample_rate", + "pa_stream_proplist_update", + "pa_stream_proplist_remove", + "pa_stream_set_monitor_stream", + "pa_stream_get_monitor_stream", + "pa_context_get_sink_info_by_name", + "pa_context_get_sink_info_by_index", + "pa_context_get_sink_info_list", + "pa_context_set_sink_volume_by_index", + "pa_context_set_sink_volume_by_name", + "pa_context_set_sink_mute_by_index", + "pa_context_set_sink_mute_by_name", + "pa_context_suspend_sink_by_name", + "pa_context_suspend_sink_by_index", + "pa_context_set_sink_port_by_index", + "pa_context_set_sink_port_by_name", + "pa_context_get_source_info_by_name", + "pa_context_get_source_info_by_index", + "pa_context_get_source_info_list", + "pa_context_set_source_volume_by_index", + "pa_context_set_source_volume_by_name", + "pa_context_set_source_mute_by_index", + "pa_context_set_source_mute_by_name", + "pa_context_suspend_source_by_name", + "pa_context_suspend_source_by_index", + "pa_context_set_source_port_by_index", + "pa_context_set_source_port_by_name", + "pa_context_get_server_info", + "pa_context_get_module_info", + "pa_context_get_module_info_list", + "pa_context_load_module", + "pa_context_unload_module", + "pa_context_get_client_info", + "pa_context_get_client_info_list", + "pa_context_kill_client", + "pa_context_get_card_info_by_index", + "pa_context_get_card_info_by_name", + "pa_context_get_card_info_list", + "pa_context_set_card_profile_by_index", + "pa_context_set_card_profile_by_name", + "pa_context_set_port_latency_offset", + "pa_context_get_sink_input_info", + "pa_context_get_sink_input_info_list", + "pa_context_move_sink_input_by_name", + "pa_context_move_sink_input_by_index", + "pa_context_set_sink_input_volume", + "pa_context_set_sink_input_mute", + "pa_context_kill_sink_input", + "pa_context_get_source_output_info", + "pa_context_get_source_output_info_list", + "pa_context_move_source_output_by_name", + "pa_context_move_source_output_by_index", + "pa_context_set_source_output_volume", + "pa_context_set_source_output_mute", + "pa_context_kill_source_output", + "pa_context_stat", + "pa_context_get_sample_info_by_name", + "pa_context_get_sample_info_by_index", + "pa_context_get_sample_info_list", + "pa_context_get_autoload_info_by_name", + "pa_context_get_autoload_info_by_index", + "pa_context_get_autoload_info_list", + "pa_context_add_autoload", + "pa_context_remove_autoload_by_name", + "pa_context_remove_autoload_by_index", + "pa_context_subscribe", + "pa_context_set_subscribe_callback", + "pa_stream_connect_upload", + "pa_stream_finish_upload", + "pa_context_remove_sample", + "pa_context_play_sample", + "pa_context_play_sample_with_proplist", + "pa_strerror", + "pa_xmalloc", + "pa_xmalloc0", + "pa_xrealloc", + "pa_xfree", + "pa_xstrdup", + "pa_xstrndup", + "pa_xmemdup", + "pa_utf8_valid", + "pa_ascii_valid", + "pa_utf8_filter", + "pa_ascii_filter", + "pa_utf8_to_locale", + "pa_locale_to_utf8", + "pa_threaded_mainloop_new", + "pa_threaded_mainloop_free", + "pa_threaded_mainloop_start", + "pa_threaded_mainloop_stop", + "pa_threaded_mainloop_lock", + "pa_threaded_mainloop_unlock", + "pa_threaded_mainloop_wait", + "pa_threaded_mainloop_signal", + "pa_threaded_mainloop_accept", + "pa_threaded_mainloop_get_retval", + "pa_threaded_mainloop_get_api", + "pa_threaded_mainloop_in_thread", + "pa_threaded_mainloop_set_name", + "pa_mainloop_new", + "pa_mainloop_free", + "pa_mainloop_prepare", + "pa_mainloop_poll", + "pa_mainloop_dispatch", + "pa_mainloop_get_retval", + "pa_mainloop_iterate", + "pa_mainloop_run", + "pa_mainloop_get_api", + "pa_mainloop_quit", + "pa_mainloop_wakeup", + "pa_mainloop_set_poll_func", + "pa_signal_init", + "pa_signal_done", + "pa_signal_new", + "pa_signal_free", + "pa_signal_set_destroy", + "pa_get_user_name", + "pa_get_host_name", + "pa_get_fqdn", + "pa_get_home_dir", + "pa_get_binary_name", + "pa_path_get_filename", + "pa_msleep", + "pa_gettimeofday", + "pa_timeval_diff", + "pa_timeval_cmp", + "pa_timeval_age", + "pa_timeval_add", + "pa_timeval_sub", + "pa_timeval_store", + "pa_timeval_load", + "pa_rtclock_now" + ] + }, + "drivers/xaudio2/audio_driver_xaudio2.h": { + "classes": [ + "AudioDriverXAudio2" + ], + "structs": [ + "XAudio2DriverVoiceCallback" + ], + "defines": [ + "AUDIO_DRIVER_XAUDIO2_H", + "WIN32_LEAN_AND_MEAN" + ] + }, + "drivers/winmidi/midi_driver_winmidi.h": { + "classes": [ + "MIDIDriverWinMidi" + ], + "structs": [], + "defines": [ + "MIDI_DRIVER_WINMIDI_H", + "WIN32_LEAN_AND_MEAN" + ] + }, + "drivers/wasapi/audio_driver_wasapi.h": { + "classes": [ + "AudioDriverWASAPI", + "AudioDeviceWASAPI" + ], + "structs": [], + "defines": [ + "AUDIO_DRIVER_WASAPI_H", + "WIN32_LEAN_AND_MEAN" + ] + }, + "drivers/png/png_driver_common.h": { + "classes": [], + "structs": [], + "defines": [ + "PNG_DRIVER_COMMON_H" + ] + }, + "drivers/png/image_loader_png.h": { + "classes": [ + "ImageLoaderPNG" + ], + "structs": [], + "defines": [ + "IMAGE_LOADER_PNG_H" + ] + }, + "drivers/png/resource_saver_png.h": { + "classes": [ + "ResourceSaverPNG" + ], + "structs": [], + "defines": [ + "RESOURCE_SAVER_PNG_H" + ] + }, + "drivers/egl/egl_manager.h": { + "classes": [ + "EGLManager" + ], + "structs": [ + "GLDisplay", + "GLWindow" + ], + "defines": [ + "EGL_MANAGER_H" + ] + }, + "drivers/coremidi/midi_driver_coremidi.h": { + "classes": [ + "MIDIDriverCoreMidi" + ], + "structs": [], + "defines": [ + "MIDI_DRIVER_COREMIDI_H" + ] + }, + "drivers/unix/thread_posix.h": { + "classes": [], + "structs": [], + "defines": [ + "THREAD_POSIX_H" + ] + }, + "drivers/unix/syslog_logger.h": { + "classes": [ + "SyslogLogger" + ], + "structs": [], + "defines": [ + "SYSLOG_LOGGER_H" + ] + }, + "drivers/unix/net_socket_posix.h": { + "classes": [ + "NetSocketPosix" + ], + "structs": [], + "defines": [ + "NET_SOCKET_POSIX_H", + "SOCKET_TYPE", + "SOCKET_TYPE" + ] + }, + "drivers/unix/dir_access_unix.h": { + "classes": [ + "DirAccessUnix" + ], + "structs": [], + "defines": [ + "DIR_ACCESS_UNIX_H" + ] + }, + "drivers/unix/os_unix.h": { + "classes": [ + "OS_Unix", + "UnixTerminalLogger" + ], + "structs": [], + "defines": [ + "OS_UNIX_H" + ] + }, + "drivers/unix/ip_unix.h": { + "classes": [ + "IPUnix" + ], + "structs": [], + "defines": [ + "IP_UNIX_H" + ] + }, + "drivers/unix/file_access_unix.h": { + "classes": [ + "FileAccessUnix" + ], + "structs": [], + "defines": [ + "FILE_ACCESS_UNIX_H" + ] + }, + "drivers/vulkan/rendering_device_driver_vulkan.h": { + "classes": [ + "RenderingDeviceDriverVulkan" + ], + "structs": [ + "Queue", + "SubgroupCapabilities", + "VRSCapabilities", + "ShaderCapabilities", + "StorageBufferCapabilities", + "DeviceFunctions", + "BufferInfo", + "TextureInfo", + "VertexFormatInfo", + "Fence", + "CommandQueue", + "CommandPool", + "SwapChain", + "ShaderBinary", + "DataBinding", + "SpecializationConstant", + "Data", + "ShaderInfo", + "DescriptorSetPoolKey", + "UniformSetInfo", + "PipelineCacheHeader", + "PipelineCache" + ], + "defines": [ + "RENDERING_DEVICE_DRIVER_VULKAN_H", + "_DEBUG" + ] + }, + "drivers/vulkan/vulkan_hooks.h": { + "classes": [ + "VulkanHooks" + ], + "structs": [], + "defines": [ + "VULKAN_HOOKS_H" + ] + }, + "drivers/vulkan/rendering_context_driver_vulkan.h": { + "classes": [ + "RenderingContextDriverVulkan" + ], + "structs": [ + "Functions", + "DeviceQueueFamilies", + "Surface" + ], + "defines": [ + "RENDERING_CONTEXT_DRIVER_VULKAN_H" + ] + }, + "drivers/d3d12/rendering_context_driver_d3d12.h": { + "classes": [ + "RenderingContextDriverD3D12" + ], + "structs": [ + "WindowPlatformData", + "Surface" + ], + "defines": [ + "RENDERING_CONTEXT_DRIVER_D3D12_H", + "ARRAY_SIZE" + ] + }, + "drivers/d3d12/d3d12_godot_nir_bridge.h": { + "classes": [], + "structs": [ + "GodotNirCallbacks" + ], + "defines": [ + "D3D12_GODOT_NIR_BRIDGE_H" + ] + }, + "drivers/d3d12/rendering_device_driver_d3d12.h": { + "classes": [ + "RenderingDeviceDriverD3D12", + "DescriptorsHeap", + "Walker" + ], + "structs": [ + "D3D12Format", + "DeviceLimits", + "SubgroupCapabilities", + "VRSCapabilities", + "ShaderCapabilities", + "StorageBufferCapabilities", + "FormatCapabilities", + "ResourceInfo", + "States", + "CrossFamillyFallback", + "BarrierRequest", + "Group", + "BufferInfo", + "TextureInfo", + "VertexFormatInfo", + "FenceInfo", + "SemaphoreInfo", + "CommandQueueInfo", + "CommandPoolInfo", + "RenderPassState", + "CommandBufferInfo", + "FamilyFallbackCopy", + "SwapChain", + "FramebufferInfo", + "ShaderBinary", + "DataBinding", + "RootSignatureLocation", + "SpecializationConstant", + "Data", + "ShaderInfo", + "UniformBindingInfo", + "RootSignatureLocation", + "UniformSet", + "SpecializationConstant", + "RootDescriptorTable", + "UniformSetInfo", + "StateRequirement", + "RecentBind", + "ResourceDescInfo", + "RenderPassInfo", + "RenderPipelineExtraInfo", + "TimestampQueryPoolInfo", + "FrameInfo" + ], + "defines": [ + "RENDERING_DEVICE_DRIVER_D3D12_H", + "D3D12MA_D3D12_HEADERS_ALREADY_INCLUDED", + "D3D12_BITCODE_OFFSETS_NUM_STAGES", + "USE_SMALL_ALLOCS_POOL" + ] + }, + "drivers/alsa/asound-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_ASOUND", + "snd_asoundlib_version", + "snd_dlopen", + "snd_dlsym", + "snd_dlclose", + "snd_async_add_handler", + "snd_async_del_handler", + "snd_async_handler_get_fd", + "snd_async_handler_get_signo", + "snd_async_handler_get_callback_private", + "snd_shm_area_create", + "snd_shm_area_share", + "snd_shm_area_destroy", + "snd_user_file", + "snd_input_stdio_open", + "snd_input_stdio_attach", + "snd_input_buffer_open", + "snd_input_close", + "snd_input_scanf", + "snd_input_gets", + "snd_input_getc", + "snd_input_ungetc", + "snd_output_stdio_open", + "snd_output_stdio_attach", + "snd_output_buffer_open", + "snd_output_buffer_string", + "snd_output_close", + "snd_output_printf", + "snd_output_vprintf", + "snd_output_puts", + "snd_output_putc", + "snd_output_flush", + "snd_strerror", + "snd_lib_error_set_handler", + "snd_lib_error_set_local", + "snd_config_top", + "snd_config_load", + "snd_config_load_override", + "snd_config_save", + "snd_config_update", + "snd_config_update_r", + "snd_config_update_free", + "snd_config_update_free_global", + "snd_config_update_ref", + "snd_config_ref", + "snd_config_unref", + "snd_config_search", + "snd_config_searchv", + "snd_config_search_definition", + "snd_config_expand", + "snd_config_evaluate", + "snd_config_add", + "snd_config_delete", + "snd_config_delete_compound_members", + "snd_config_copy", + "snd_config_make", + "snd_config_make_integer", + "snd_config_make_integer64", + "snd_config_make_real", + "snd_config_make_string", + "snd_config_make_pointer", + "snd_config_make_compound", + "snd_config_imake_integer", + "snd_config_imake_integer64", + "snd_config_imake_real", + "snd_config_imake_string", + "snd_config_imake_safe_string", + "snd_config_imake_pointer", + "snd_config_get_type", + "snd_config_set_id", + "snd_config_set_integer", + "snd_config_set_integer64", + "snd_config_set_real", + "snd_config_set_string", + "snd_config_set_ascii", + "snd_config_set_pointer", + "snd_config_get_id", + "snd_config_get_integer", + "snd_config_get_integer64", + "snd_config_get_real", + "snd_config_get_ireal", + "snd_config_get_string", + "snd_config_get_ascii", + "snd_config_get_pointer", + "snd_config_test_id", + "snd_config_iterator_first", + "snd_config_iterator_next", + "snd_config_iterator_end", + "snd_config_iterator_entry", + "snd_config_get_bool_ascii", + "snd_config_get_bool", + "snd_config_get_ctl_iface_ascii", + "snd_config_get_ctl_iface", + "snd_names_list", + "snd_names_list_free", + "snd_pcm_open", + "snd_pcm_open_lconf", + "snd_pcm_open_fallback", + "snd_pcm_close", + "snd_pcm_name", + "snd_pcm_type", + "snd_pcm_stream", + "snd_pcm_poll_descriptors_count", + "snd_pcm_poll_descriptors", + "snd_pcm_poll_descriptors_revents", + "snd_pcm_nonblock", + "snd_async_add_pcm_handler", + "snd_async_handler_get_pcm", + "snd_pcm_info", + "snd_pcm_hw_params_current", + "snd_pcm_hw_params", + "snd_pcm_hw_free", + "snd_pcm_sw_params_current", + "snd_pcm_sw_params", + "snd_pcm_prepare", + "snd_pcm_reset", + "snd_pcm_status", + "snd_pcm_start", + "snd_pcm_drop", + "snd_pcm_drain", + "snd_pcm_pause", + "snd_pcm_state", + "snd_pcm_hwsync", + "snd_pcm_delay", + "snd_pcm_resume", + "snd_pcm_htimestamp", + "snd_pcm_avail", + "snd_pcm_avail_update", + "snd_pcm_avail_delay", + "snd_pcm_rewindable", + "snd_pcm_rewind", + "snd_pcm_forwardable", + "snd_pcm_forward", + "snd_pcm_writei", + "snd_pcm_readi", + "snd_pcm_writen", + "snd_pcm_readn", + "snd_pcm_wait", + "snd_pcm_link", + "snd_pcm_unlink", + "snd_pcm_query_chmaps", + "snd_pcm_query_chmaps_from_hw", + "snd_pcm_free_chmaps", + "snd_pcm_get_chmap", + "snd_pcm_set_chmap", + "snd_pcm_chmap_type_name", + "snd_pcm_chmap_name", + "snd_pcm_chmap_long_name", + "snd_pcm_chmap_print", + "snd_pcm_chmap_from_string", + "snd_pcm_chmap_parse_string", + "snd_pcm_recover", + "snd_pcm_set_params", + "snd_pcm_get_params", + "snd_pcm_info_sizeof", + "snd_pcm_info_malloc", + "snd_pcm_info_free", + "snd_pcm_info_copy", + "snd_pcm_info_get_device", + "snd_pcm_info_get_subdevice", + "snd_pcm_info_get_stream", + "snd_pcm_info_get_card", + "snd_pcm_info_get_id", + "snd_pcm_info_get_name", + "snd_pcm_info_get_subdevice_name", + "snd_pcm_info_get_class", + "snd_pcm_info_get_subclass", + "snd_pcm_info_get_subdevices_count", + "snd_pcm_info_get_subdevices_avail", + "snd_pcm_info_get_sync", + "snd_pcm_info_set_device", + "snd_pcm_info_set_subdevice", + "snd_pcm_info_set_stream", + "snd_pcm_hw_params_any", + "snd_pcm_hw_params_can_mmap_sample_resolution", + "snd_pcm_hw_params_is_double", + "snd_pcm_hw_params_is_batch", + "snd_pcm_hw_params_is_block_transfer", + "snd_pcm_hw_params_is_monotonic", + "snd_pcm_hw_params_can_overrange", + "snd_pcm_hw_params_can_pause", + "snd_pcm_hw_params_can_resume", + "snd_pcm_hw_params_is_half_duplex", + "snd_pcm_hw_params_is_joint_duplex", + "snd_pcm_hw_params_can_sync_start", + "snd_pcm_hw_params_can_disable_period_wakeup", + "snd_pcm_hw_params_supports_audio_wallclock_ts", + "snd_pcm_hw_params_supports_audio_ts_type", + "snd_pcm_hw_params_get_rate_numden", + "snd_pcm_hw_params_get_sbits", + "snd_pcm_hw_params_get_fifo_size", + "snd_pcm_hw_params_sizeof", + "snd_pcm_hw_params_malloc", + "snd_pcm_hw_params_free", + "snd_pcm_hw_params_copy", + "snd_pcm_hw_params_get_access", + "snd_pcm_hw_params_test_access", + "snd_pcm_hw_params_set_access", + "snd_pcm_hw_params_set_access_first", + "snd_pcm_hw_params_set_access_last", + "snd_pcm_hw_params_set_access_mask", + "snd_pcm_hw_params_get_access_mask", + "snd_pcm_hw_params_get_format", + "snd_pcm_hw_params_test_format", + "snd_pcm_hw_params_set_format", + "snd_pcm_hw_params_set_format_first", + "snd_pcm_hw_params_set_format_last", + "snd_pcm_hw_params_set_format_mask", + "snd_pcm_hw_params_get_format_mask", + "snd_pcm_hw_params_get_subformat", + "snd_pcm_hw_params_test_subformat", + "snd_pcm_hw_params_set_subformat", + "snd_pcm_hw_params_set_subformat_first", + "snd_pcm_hw_params_set_subformat_last", + "snd_pcm_hw_params_set_subformat_mask", + "snd_pcm_hw_params_get_subformat_mask", + "snd_pcm_hw_params_get_channels", + "snd_pcm_hw_params_get_channels_min", + "snd_pcm_hw_params_get_channels_max", + "snd_pcm_hw_params_test_channels", + "snd_pcm_hw_params_set_channels", + "snd_pcm_hw_params_set_channels_min", + "snd_pcm_hw_params_set_channels_max", + "snd_pcm_hw_params_set_channels_minmax", + "snd_pcm_hw_params_set_channels_near", + "snd_pcm_hw_params_set_channels_first", + "snd_pcm_hw_params_set_channels_last", + "snd_pcm_hw_params_get_rate", + "snd_pcm_hw_params_get_rate_min", + "snd_pcm_hw_params_get_rate_max", + "snd_pcm_hw_params_test_rate", + "snd_pcm_hw_params_set_rate", + "snd_pcm_hw_params_set_rate_min", + "snd_pcm_hw_params_set_rate_max", + "snd_pcm_hw_params_set_rate_minmax", + "snd_pcm_hw_params_set_rate_near", + "snd_pcm_hw_params_set_rate_first", + "snd_pcm_hw_params_set_rate_last", + "snd_pcm_hw_params_set_rate_resample", + "snd_pcm_hw_params_get_rate_resample", + "snd_pcm_hw_params_set_export_buffer", + "snd_pcm_hw_params_get_export_buffer", + "snd_pcm_hw_params_set_period_wakeup", + "snd_pcm_hw_params_get_period_wakeup", + "snd_pcm_hw_params_get_period_time", + "snd_pcm_hw_params_get_period_time_min", + "snd_pcm_hw_params_get_period_time_max", + "snd_pcm_hw_params_test_period_time", + "snd_pcm_hw_params_set_period_time", + "snd_pcm_hw_params_set_period_time_min", + "snd_pcm_hw_params_set_period_time_max", + "snd_pcm_hw_params_set_period_time_minmax", + "snd_pcm_hw_params_set_period_time_near", + "snd_pcm_hw_params_set_period_time_first", + "snd_pcm_hw_params_set_period_time_last", + "snd_pcm_hw_params_get_period_size", + "snd_pcm_hw_params_get_period_size_min", + "snd_pcm_hw_params_get_period_size_max", + "snd_pcm_hw_params_test_period_size", + "snd_pcm_hw_params_set_period_size", + "snd_pcm_hw_params_set_period_size_min", + "snd_pcm_hw_params_set_period_size_max", + "snd_pcm_hw_params_set_period_size_minmax", + "snd_pcm_hw_params_set_period_size_near", + "snd_pcm_hw_params_set_period_size_first", + "snd_pcm_hw_params_set_period_size_last", + "snd_pcm_hw_params_set_period_size_integer", + "snd_pcm_hw_params_get_periods", + "snd_pcm_hw_params_get_periods_min", + "snd_pcm_hw_params_get_periods_max", + "snd_pcm_hw_params_test_periods", + "snd_pcm_hw_params_set_periods", + "snd_pcm_hw_params_set_periods_min", + "snd_pcm_hw_params_set_periods_max", + "snd_pcm_hw_params_set_periods_minmax", + "snd_pcm_hw_params_set_periods_near", + "snd_pcm_hw_params_set_periods_first", + "snd_pcm_hw_params_set_periods_last", + "snd_pcm_hw_params_set_periods_integer", + "snd_pcm_hw_params_get_buffer_time", + "snd_pcm_hw_params_get_buffer_time_min", + "snd_pcm_hw_params_get_buffer_time_max", + "snd_pcm_hw_params_test_buffer_time", + "snd_pcm_hw_params_set_buffer_time", + "snd_pcm_hw_params_set_buffer_time_min", + "snd_pcm_hw_params_set_buffer_time_max", + "snd_pcm_hw_params_set_buffer_time_minmax", + "snd_pcm_hw_params_set_buffer_time_near", + "snd_pcm_hw_params_set_buffer_time_first", + "snd_pcm_hw_params_set_buffer_time_last", + "snd_pcm_hw_params_get_buffer_size", + "snd_pcm_hw_params_get_buffer_size_min", + "snd_pcm_hw_params_get_buffer_size_max", + "snd_pcm_hw_params_test_buffer_size", + "snd_pcm_hw_params_set_buffer_size", + "snd_pcm_hw_params_set_buffer_size_min", + "snd_pcm_hw_params_set_buffer_size_max", + "snd_pcm_hw_params_set_buffer_size_minmax", + "snd_pcm_hw_params_set_buffer_size_near", + "snd_pcm_hw_params_set_buffer_size_first", + "snd_pcm_hw_params_set_buffer_size_last", + "snd_pcm_hw_params_get_min_align", + "snd_pcm_sw_params_sizeof", + "snd_pcm_sw_params_malloc", + "snd_pcm_sw_params_free", + "snd_pcm_sw_params_copy", + "snd_pcm_sw_params_get_boundary", + "snd_pcm_sw_params_set_tstamp_mode", + "snd_pcm_sw_params_get_tstamp_mode", + "snd_pcm_sw_params_set_avail_min", + "snd_pcm_sw_params_get_avail_min", + "snd_pcm_sw_params_set_period_event", + "snd_pcm_sw_params_get_period_event", + "snd_pcm_sw_params_set_start_threshold", + "snd_pcm_sw_params_get_start_threshold", + "snd_pcm_sw_params_set_stop_threshold", + "snd_pcm_sw_params_get_stop_threshold", + "snd_pcm_sw_params_set_silence_threshold", + "snd_pcm_sw_params_get_silence_threshold", + "snd_pcm_sw_params_set_silence_size", + "snd_pcm_sw_params_get_silence_size", + "snd_pcm_access_mask_sizeof", + "snd_pcm_access_mask_malloc", + "snd_pcm_access_mask_free", + "snd_pcm_access_mask_copy", + "snd_pcm_access_mask_none", + "snd_pcm_access_mask_any", + "snd_pcm_access_mask_test", + "snd_pcm_access_mask_empty", + "snd_pcm_access_mask_set", + "snd_pcm_access_mask_reset", + "snd_pcm_format_mask_sizeof", + "snd_pcm_format_mask_malloc", + "snd_pcm_format_mask_free", + "snd_pcm_format_mask_copy", + "snd_pcm_format_mask_none", + "snd_pcm_format_mask_any", + "snd_pcm_format_mask_test", + "snd_pcm_format_mask_empty", + "snd_pcm_format_mask_set", + "snd_pcm_format_mask_reset", + "snd_pcm_subformat_mask_sizeof", + "snd_pcm_subformat_mask_malloc", + "snd_pcm_subformat_mask_free", + "snd_pcm_subformat_mask_copy", + "snd_pcm_subformat_mask_none", + "snd_pcm_subformat_mask_any", + "snd_pcm_subformat_mask_test", + "snd_pcm_subformat_mask_empty", + "snd_pcm_subformat_mask_set", + "snd_pcm_subformat_mask_reset", + "snd_pcm_status_sizeof", + "snd_pcm_status_malloc", + "snd_pcm_status_free", + "snd_pcm_status_copy", + "snd_pcm_status_get_state", + "snd_pcm_status_get_trigger_tstamp", + "snd_pcm_status_get_trigger_htstamp", + "snd_pcm_status_get_tstamp", + "snd_pcm_status_get_htstamp", + "snd_pcm_status_get_audio_htstamp", + "snd_pcm_status_get_driver_htstamp", + "snd_pcm_status_get_delay", + "snd_pcm_status_get_avail", + "snd_pcm_status_get_avail_max", + "snd_pcm_status_get_overrange", + "snd_pcm_type_name", + "snd_pcm_stream_name", + "snd_pcm_access_name", + "snd_pcm_format_name", + "snd_pcm_format_description", + "snd_pcm_subformat_name", + "snd_pcm_subformat_description", + "snd_pcm_format_value", + "snd_pcm_tstamp_mode_name", + "snd_pcm_state_name", + "snd_pcm_dump", + "snd_pcm_dump_hw_setup", + "snd_pcm_dump_sw_setup", + "snd_pcm_dump_setup", + "snd_pcm_hw_params_dump", + "snd_pcm_sw_params_dump", + "snd_pcm_status_dump", + "snd_pcm_mmap_begin", + "snd_pcm_mmap_commit", + "snd_pcm_mmap_writei", + "snd_pcm_mmap_readi", + "snd_pcm_mmap_writen", + "snd_pcm_mmap_readn", + "snd_pcm_format_signed", + "snd_pcm_format_unsigned", + "snd_pcm_format_linear", + "snd_pcm_format_float", + "snd_pcm_format_little_endian", + "snd_pcm_format_big_endian", + "snd_pcm_format_cpu_endian", + "snd_pcm_format_width", + "snd_pcm_format_physical_width", + "snd_pcm_build_linear_format", + "snd_pcm_format_size", + "snd_pcm_format_silence", + "snd_pcm_format_silence_16", + "snd_pcm_format_silence_32", + "snd_pcm_format_silence_64", + "snd_pcm_format_set_silence", + "snd_pcm_bytes_to_frames", + "snd_pcm_frames_to_bytes", + "snd_pcm_bytes_to_samples", + "snd_pcm_samples_to_bytes", + "snd_pcm_area_silence", + "snd_pcm_areas_silence", + "snd_pcm_area_copy", + "snd_pcm_areas_copy", + "snd_pcm_hook_get_pcm", + "snd_pcm_hook_get_private", + "snd_pcm_hook_set_private", + "snd_pcm_hook_add", + "snd_pcm_hook_remove", + "snd_pcm_meter_get_bufsize", + "snd_pcm_meter_get_channels", + "snd_pcm_meter_get_rate", + "snd_pcm_meter_get_now", + "snd_pcm_meter_get_boundary", + "snd_pcm_meter_add_scope", + "snd_pcm_meter_search_scope", + "snd_pcm_scope_malloc", + "snd_pcm_scope_set_ops", + "snd_pcm_scope_set_name", + "snd_pcm_scope_get_name", + "snd_pcm_scope_get_callback_private", + "snd_pcm_scope_set_callback_private", + "snd_pcm_scope_s16_open", + "snd_pcm_scope_s16_get_channel_buffer", + "snd_spcm_init", + "snd_spcm_init_duplex", + "snd_spcm_init_get_params", + "snd_pcm_start_mode_name", + "snd_pcm_xrun_mode_name", + "snd_pcm_sw_params_set_start_mode", + "snd_pcm_sw_params_get_start_mode", + "snd_pcm_sw_params_set_xrun_mode", + "snd_pcm_sw_params_get_xrun_mode", + "snd_pcm_sw_params_set_xfer_align", + "snd_pcm_sw_params_get_xfer_align", + "snd_pcm_sw_params_set_sleep_min", + "snd_pcm_sw_params_get_sleep_min", + "snd_pcm_hw_params_get_tick_time", + "snd_pcm_hw_params_get_tick_time_min", + "snd_pcm_hw_params_get_tick_time_max", + "snd_pcm_hw_params_test_tick_time", + "snd_pcm_hw_params_set_tick_time", + "snd_pcm_hw_params_set_tick_time_min", + "snd_pcm_hw_params_set_tick_time_max", + "snd_pcm_hw_params_set_tick_time_minmax", + "snd_pcm_hw_params_set_tick_time_near", + "snd_pcm_hw_params_set_tick_time_first", + "snd_pcm_hw_params_set_tick_time_last", + "snd_rawmidi_open", + "snd_rawmidi_open_lconf", + "snd_rawmidi_close", + "snd_rawmidi_poll_descriptors_count", + "snd_rawmidi_poll_descriptors", + "snd_rawmidi_poll_descriptors_revents", + "snd_rawmidi_nonblock", + "snd_rawmidi_info_sizeof", + "snd_rawmidi_info_malloc", + "snd_rawmidi_info_free", + "snd_rawmidi_info_copy", + "snd_rawmidi_info_get_device", + "snd_rawmidi_info_get_subdevice", + "snd_rawmidi_info_get_stream", + "snd_rawmidi_info_get_card", + "snd_rawmidi_info_get_flags", + "snd_rawmidi_info_get_id", + "snd_rawmidi_info_get_name", + "snd_rawmidi_info_get_subdevice_name", + "snd_rawmidi_info_get_subdevices_count", + "snd_rawmidi_info_get_subdevices_avail", + "snd_rawmidi_info_set_device", + "snd_rawmidi_info_set_subdevice", + "snd_rawmidi_info_set_stream", + "snd_rawmidi_info", + "snd_rawmidi_params_sizeof", + "snd_rawmidi_params_malloc", + "snd_rawmidi_params_free", + "snd_rawmidi_params_copy", + "snd_rawmidi_params_set_buffer_size", + "snd_rawmidi_params_get_buffer_size", + "snd_rawmidi_params_set_avail_min", + "snd_rawmidi_params_get_avail_min", + "snd_rawmidi_params_set_no_active_sensing", + "snd_rawmidi_params_get_no_active_sensing", + "snd_rawmidi_params", + "snd_rawmidi_params_current", + "snd_rawmidi_status_sizeof", + "snd_rawmidi_status_malloc", + "snd_rawmidi_status_free", + "snd_rawmidi_status_copy", + "snd_rawmidi_status_get_tstamp", + "snd_rawmidi_status_get_avail", + "snd_rawmidi_status_get_xruns", + "snd_rawmidi_status", + "snd_rawmidi_drain", + "snd_rawmidi_drop", + "snd_rawmidi_write", + "snd_rawmidi_read", + "snd_rawmidi_name", + "snd_rawmidi_type", + "snd_rawmidi_stream", + "snd_timer_query_open", + "snd_timer_query_open_lconf", + "snd_timer_query_close", + "snd_timer_query_next_device", + "snd_timer_query_info", + "snd_timer_query_params", + "snd_timer_query_status", + "snd_timer_open", + "snd_timer_open_lconf", + "snd_timer_close", + "snd_async_add_timer_handler", + "snd_async_handler_get_timer", + "snd_timer_poll_descriptors_count", + "snd_timer_poll_descriptors", + "snd_timer_poll_descriptors_revents", + "snd_timer_info", + "snd_timer_params", + "snd_timer_status", + "snd_timer_start", + "snd_timer_stop", + "snd_timer_continue", + "snd_timer_read", + "snd_timer_id_sizeof", + "snd_timer_id_malloc", + "snd_timer_id_free", + "snd_timer_id_copy", + "snd_timer_id_set_class", + "snd_timer_id_get_class", + "snd_timer_id_set_sclass", + "snd_timer_id_get_sclass", + "snd_timer_id_set_card", + "snd_timer_id_get_card", + "snd_timer_id_set_device", + "snd_timer_id_get_device", + "snd_timer_id_set_subdevice", + "snd_timer_id_get_subdevice", + "snd_timer_ginfo_sizeof", + "snd_timer_ginfo_malloc", + "snd_timer_ginfo_free", + "snd_timer_ginfo_copy", + "snd_timer_ginfo_set_tid", + "snd_timer_ginfo_get_tid", + "snd_timer_ginfo_get_flags", + "snd_timer_ginfo_get_card", + "snd_timer_ginfo_get_id", + "snd_timer_ginfo_get_name", + "snd_timer_ginfo_get_resolution", + "snd_timer_ginfo_get_resolution_min", + "snd_timer_ginfo_get_resolution_max", + "snd_timer_ginfo_get_clients", + "snd_timer_info_sizeof", + "snd_timer_info_malloc", + "snd_timer_info_free", + "snd_timer_info_copy", + "snd_timer_info_is_slave", + "snd_timer_info_get_card", + "snd_timer_info_get_id", + "snd_timer_info_get_name", + "snd_timer_info_get_resolution", + "snd_timer_params_sizeof", + "snd_timer_params_malloc", + "snd_timer_params_free", + "snd_timer_params_copy", + "snd_timer_params_set_auto_start", + "snd_timer_params_get_auto_start", + "snd_timer_params_set_exclusive", + "snd_timer_params_get_exclusive", + "snd_timer_params_set_early_event", + "snd_timer_params_get_early_event", + "snd_timer_params_set_ticks", + "snd_timer_params_get_ticks", + "snd_timer_params_set_queue_size", + "snd_timer_params_get_queue_size", + "snd_timer_params_set_filter", + "snd_timer_params_get_filter", + "snd_timer_status_sizeof", + "snd_timer_status_malloc", + "snd_timer_status_free", + "snd_timer_status_copy", + "snd_timer_status_get_timestamp", + "snd_timer_status_get_resolution", + "snd_timer_status_get_lost", + "snd_timer_status_get_overrun", + "snd_timer_status_get_queue", + "snd_timer_info_get_ticks", + "snd_hwdep_open", + "snd_hwdep_close", + "snd_hwdep_poll_descriptors", + "snd_hwdep_poll_descriptors_count", + "snd_hwdep_poll_descriptors_revents", + "snd_hwdep_nonblock", + "snd_hwdep_info", + "snd_hwdep_dsp_status", + "snd_hwdep_dsp_load", + "snd_hwdep_ioctl", + "snd_hwdep_write", + "snd_hwdep_read", + "snd_hwdep_info_sizeof", + "snd_hwdep_info_malloc", + "snd_hwdep_info_free", + "snd_hwdep_info_copy", + "snd_hwdep_info_get_device", + "snd_hwdep_info_get_card", + "snd_hwdep_info_get_id", + "snd_hwdep_info_get_name", + "snd_hwdep_info_get_iface", + "snd_hwdep_info_set_device", + "snd_hwdep_dsp_status_sizeof", + "snd_hwdep_dsp_status_malloc", + "snd_hwdep_dsp_status_free", + "snd_hwdep_dsp_status_copy", + "snd_hwdep_dsp_status_get_version", + "snd_hwdep_dsp_status_get_id", + "snd_hwdep_dsp_status_get_num_dsps", + "snd_hwdep_dsp_status_get_dsp_loaded", + "snd_hwdep_dsp_status_get_chip_ready", + "snd_hwdep_dsp_image_sizeof", + "snd_hwdep_dsp_image_malloc", + "snd_hwdep_dsp_image_free", + "snd_hwdep_dsp_image_copy", + "snd_hwdep_dsp_image_get_index", + "snd_hwdep_dsp_image_get_name", + "snd_hwdep_dsp_image_get_image", + "snd_hwdep_dsp_image_get_length", + "snd_hwdep_dsp_image_set_index", + "snd_hwdep_dsp_image_set_name", + "snd_hwdep_dsp_image_set_image", + "snd_hwdep_dsp_image_set_length", + "snd_card_load", + "snd_card_next", + "snd_card_get_index", + "snd_card_get_name", + "snd_card_get_longname", + "snd_device_name_hint", + "snd_device_name_free_hint", + "snd_device_name_get_hint", + "snd_ctl_open", + "snd_ctl_open_lconf", + "snd_ctl_open_fallback", + "snd_ctl_close", + "snd_ctl_nonblock", + "snd_async_add_ctl_handler", + "snd_async_handler_get_ctl", + "snd_ctl_poll_descriptors_count", + "snd_ctl_poll_descriptors", + "snd_ctl_poll_descriptors_revents", + "snd_ctl_subscribe_events", + "snd_ctl_card_info", + "snd_ctl_elem_list", + "snd_ctl_elem_info", + "snd_ctl_elem_read", + "snd_ctl_elem_write", + "snd_ctl_elem_lock", + "snd_ctl_elem_unlock", + "snd_ctl_elem_tlv_read", + "snd_ctl_elem_tlv_write", + "snd_ctl_elem_tlv_command", + "snd_ctl_hwdep_next_device", + "snd_ctl_hwdep_info", + "snd_ctl_pcm_next_device", + "snd_ctl_pcm_info", + "snd_ctl_pcm_prefer_subdevice", + "snd_ctl_rawmidi_next_device", + "snd_ctl_rawmidi_info", + "snd_ctl_rawmidi_prefer_subdevice", + "snd_ctl_set_power_state", + "snd_ctl_get_power_state", + "snd_ctl_read", + "snd_ctl_wait", + "snd_ctl_name", + "snd_ctl_type", + "snd_ctl_elem_type_name", + "snd_ctl_elem_iface_name", + "snd_ctl_event_type_name", + "snd_ctl_event_elem_get_mask", + "snd_ctl_event_elem_get_numid", + "snd_ctl_event_elem_get_id", + "snd_ctl_event_elem_get_interface", + "snd_ctl_event_elem_get_device", + "snd_ctl_event_elem_get_subdevice", + "snd_ctl_event_elem_get_name", + "snd_ctl_event_elem_get_index", + "snd_ctl_elem_list_alloc_space", + "snd_ctl_elem_list_free_space", + "snd_ctl_ascii_elem_id_get", + "snd_ctl_ascii_elem_id_parse", + "snd_ctl_ascii_value_parse", + "snd_ctl_elem_id_sizeof", + "snd_ctl_elem_id_malloc", + "snd_ctl_elem_id_free", + "snd_ctl_elem_id_clear", + "snd_ctl_elem_id_copy", + "snd_ctl_elem_id_get_numid", + "snd_ctl_elem_id_get_interface", + "snd_ctl_elem_id_get_device", + "snd_ctl_elem_id_get_subdevice", + "snd_ctl_elem_id_get_name", + "snd_ctl_elem_id_get_index", + "snd_ctl_elem_id_set_numid", + "snd_ctl_elem_id_set_interface", + "snd_ctl_elem_id_set_device", + "snd_ctl_elem_id_set_subdevice", + "snd_ctl_elem_id_set_name", + "snd_ctl_elem_id_set_index", + "snd_ctl_card_info_sizeof", + "snd_ctl_card_info_malloc", + "snd_ctl_card_info_free", + "snd_ctl_card_info_clear", + "snd_ctl_card_info_copy", + "snd_ctl_card_info_get_card", + "snd_ctl_card_info_get_id", + "snd_ctl_card_info_get_driver", + "snd_ctl_card_info_get_name", + "snd_ctl_card_info_get_longname", + "snd_ctl_card_info_get_mixername", + "snd_ctl_card_info_get_components", + "snd_ctl_event_sizeof", + "snd_ctl_event_malloc", + "snd_ctl_event_free", + "snd_ctl_event_clear", + "snd_ctl_event_copy", + "snd_ctl_event_get_type", + "snd_ctl_elem_list_sizeof", + "snd_ctl_elem_list_malloc", + "snd_ctl_elem_list_free", + "snd_ctl_elem_list_clear", + "snd_ctl_elem_list_copy", + "snd_ctl_elem_list_set_offset", + "snd_ctl_elem_list_get_used", + "snd_ctl_elem_list_get_count", + "snd_ctl_elem_list_get_id", + "snd_ctl_elem_list_get_numid", + "snd_ctl_elem_list_get_interface", + "snd_ctl_elem_list_get_device", + "snd_ctl_elem_list_get_subdevice", + "snd_ctl_elem_list_get_name", + "snd_ctl_elem_list_get_index", + "snd_ctl_elem_info_sizeof", + "snd_ctl_elem_info_malloc", + "snd_ctl_elem_info_free", + "snd_ctl_elem_info_clear", + "snd_ctl_elem_info_copy", + "snd_ctl_elem_info_get_type", + "snd_ctl_elem_info_is_readable", + "snd_ctl_elem_info_is_writable", + "snd_ctl_elem_info_is_volatile", + "snd_ctl_elem_info_is_inactive", + "snd_ctl_elem_info_is_locked", + "snd_ctl_elem_info_is_tlv_readable", + "snd_ctl_elem_info_is_tlv_writable", + "snd_ctl_elem_info_is_tlv_commandable", + "snd_ctl_elem_info_is_owner", + "snd_ctl_elem_info_is_user", + "snd_ctl_elem_info_get_owner", + "snd_ctl_elem_info_get_count", + "snd_ctl_elem_info_get_min", + "snd_ctl_elem_info_get_max", + "snd_ctl_elem_info_get_step", + "snd_ctl_elem_info_get_min64", + "snd_ctl_elem_info_get_max64", + "snd_ctl_elem_info_get_step64", + "snd_ctl_elem_info_get_items", + "snd_ctl_elem_info_set_item", + "snd_ctl_elem_info_get_item_name", + "snd_ctl_elem_info_get_dimensions", + "snd_ctl_elem_info_get_dimension", + "snd_ctl_elem_info_set_dimension", + "snd_ctl_elem_info_get_id", + "snd_ctl_elem_info_get_numid", + "snd_ctl_elem_info_get_interface", + "snd_ctl_elem_info_get_device", + "snd_ctl_elem_info_get_subdevice", + "snd_ctl_elem_info_get_name", + "snd_ctl_elem_info_get_index", + "snd_ctl_elem_info_set_id", + "snd_ctl_elem_info_set_numid", + "snd_ctl_elem_info_set_interface", + "snd_ctl_elem_info_set_device", + "snd_ctl_elem_info_set_subdevice", + "snd_ctl_elem_info_set_name", + "snd_ctl_elem_info_set_index", + "snd_ctl_add_integer_elem_set", + "snd_ctl_add_integer64_elem_set", + "snd_ctl_add_boolean_elem_set", + "snd_ctl_add_enumerated_elem_set", + "snd_ctl_add_bytes_elem_set", + "snd_ctl_elem_add_integer", + "snd_ctl_elem_add_integer64", + "snd_ctl_elem_add_boolean", + "snd_ctl_elem_add_enumerated", + "snd_ctl_elem_add_iec958", + "snd_ctl_elem_remove", + "snd_ctl_elem_value_sizeof", + "snd_ctl_elem_value_malloc", + "snd_ctl_elem_value_free", + "snd_ctl_elem_value_clear", + "snd_ctl_elem_value_copy", + "snd_ctl_elem_value_compare", + "snd_ctl_elem_value_get_id", + "snd_ctl_elem_value_get_numid", + "snd_ctl_elem_value_get_interface", + "snd_ctl_elem_value_get_device", + "snd_ctl_elem_value_get_subdevice", + "snd_ctl_elem_value_get_name", + "snd_ctl_elem_value_get_index", + "snd_ctl_elem_value_set_id", + "snd_ctl_elem_value_set_numid", + "snd_ctl_elem_value_set_interface", + "snd_ctl_elem_value_set_device", + "snd_ctl_elem_value_set_subdevice", + "snd_ctl_elem_value_set_name", + "snd_ctl_elem_value_set_index", + "snd_ctl_elem_value_get_boolean", + "snd_ctl_elem_value_get_integer", + "snd_ctl_elem_value_get_integer64", + "snd_ctl_elem_value_get_enumerated", + "snd_ctl_elem_value_get_byte", + "snd_ctl_elem_value_set_boolean", + "snd_ctl_elem_value_set_integer", + "snd_ctl_elem_value_set_integer64", + "snd_ctl_elem_value_set_enumerated", + "snd_ctl_elem_value_set_byte", + "snd_ctl_elem_set_bytes", + "snd_ctl_elem_value_get_bytes", + "snd_ctl_elem_value_get_iec958", + "snd_ctl_elem_value_set_iec958", + "snd_tlv_parse_dB_info", + "snd_tlv_get_dB_range", + "snd_tlv_convert_to_dB", + "snd_tlv_convert_from_dB", + "snd_ctl_get_dB_range", + "snd_ctl_convert_to_dB", + "snd_ctl_convert_from_dB", + "snd_hctl_compare_fast", + "snd_hctl_open", + "snd_hctl_open_ctl", + "snd_hctl_close", + "snd_hctl_nonblock", + "snd_hctl_poll_descriptors_count", + "snd_hctl_poll_descriptors", + "snd_hctl_poll_descriptors_revents", + "snd_hctl_get_count", + "snd_hctl_set_compare", + "snd_hctl_first_elem", + "snd_hctl_last_elem", + "snd_hctl_find_elem", + "snd_hctl_set_callback", + "snd_hctl_set_callback_private", + "snd_hctl_get_callback_private", + "snd_hctl_load", + "snd_hctl_free", + "snd_hctl_handle_events", + "snd_hctl_name", + "snd_hctl_wait", + "snd_hctl_ctl", + "snd_hctl_elem_next", + "snd_hctl_elem_prev", + "snd_hctl_elem_info", + "snd_hctl_elem_read", + "snd_hctl_elem_write", + "snd_hctl_elem_tlv_read", + "snd_hctl_elem_tlv_write", + "snd_hctl_elem_tlv_command", + "snd_hctl_elem_get_hctl", + "snd_hctl_elem_get_id", + "snd_hctl_elem_get_numid", + "snd_hctl_elem_get_interface", + "snd_hctl_elem_get_device", + "snd_hctl_elem_get_subdevice", + "snd_hctl_elem_get_name", + "snd_hctl_elem_get_index", + "snd_hctl_elem_set_callback", + "snd_hctl_elem_get_callback_private", + "snd_hctl_elem_set_callback_private", + "snd_sctl_build", + "snd_sctl_free", + "snd_sctl_install", + "snd_sctl_remove", + "snd_mixer_open", + "snd_mixer_close", + "snd_mixer_first_elem", + "snd_mixer_last_elem", + "snd_mixer_handle_events", + "snd_mixer_attach", + "snd_mixer_attach_hctl", + "snd_mixer_detach", + "snd_mixer_detach_hctl", + "snd_mixer_get_hctl", + "snd_mixer_poll_descriptors_count", + "snd_mixer_poll_descriptors", + "snd_mixer_poll_descriptors_revents", + "snd_mixer_load", + "snd_mixer_free", + "snd_mixer_wait", + "snd_mixer_set_compare", + "snd_mixer_set_callback", + "snd_mixer_get_callback_private", + "snd_mixer_set_callback_private", + "snd_mixer_get_count", + "snd_mixer_class_unregister", + "snd_mixer_elem_next", + "snd_mixer_elem_prev", + "snd_mixer_elem_set_callback", + "snd_mixer_elem_get_callback_private", + "snd_mixer_elem_set_callback_private", + "snd_mixer_elem_get_type", + "snd_mixer_class_register", + "snd_mixer_elem_new", + "snd_mixer_elem_add", + "snd_mixer_elem_remove", + "snd_mixer_elem_free", + "snd_mixer_elem_info", + "snd_mixer_elem_value", + "snd_mixer_elem_attach", + "snd_mixer_elem_detach", + "snd_mixer_elem_empty", + "snd_mixer_elem_get_private", + "snd_mixer_class_sizeof", + "snd_mixer_class_malloc", + "snd_mixer_class_free", + "snd_mixer_class_copy", + "snd_mixer_class_get_mixer", + "snd_mixer_class_get_event", + "snd_mixer_class_get_private", + "snd_mixer_class_get_compare", + "snd_mixer_class_set_event", + "snd_mixer_class_set_private", + "snd_mixer_class_set_private_free", + "snd_mixer_class_set_compare", + "snd_mixer_selem_channel_name", + "snd_mixer_selem_register", + "snd_mixer_selem_get_id", + "snd_mixer_selem_get_name", + "snd_mixer_selem_get_index", + "snd_mixer_find_selem", + "snd_mixer_selem_is_active", + "snd_mixer_selem_is_playback_mono", + "snd_mixer_selem_has_playback_channel", + "snd_mixer_selem_is_capture_mono", + "snd_mixer_selem_has_capture_channel", + "snd_mixer_selem_get_capture_group", + "snd_mixer_selem_has_common_volume", + "snd_mixer_selem_has_playback_volume", + "snd_mixer_selem_has_playback_volume_joined", + "snd_mixer_selem_has_capture_volume", + "snd_mixer_selem_has_capture_volume_joined", + "snd_mixer_selem_has_common_switch", + "snd_mixer_selem_has_playback_switch", + "snd_mixer_selem_has_playback_switch_joined", + "snd_mixer_selem_has_capture_switch", + "snd_mixer_selem_has_capture_switch_joined", + "snd_mixer_selem_has_capture_switch_exclusive", + "snd_mixer_selem_ask_playback_vol_dB", + "snd_mixer_selem_ask_capture_vol_dB", + "snd_mixer_selem_ask_playback_dB_vol", + "snd_mixer_selem_ask_capture_dB_vol", + "snd_mixer_selem_get_playback_volume", + "snd_mixer_selem_get_capture_volume", + "snd_mixer_selem_get_playback_dB", + "snd_mixer_selem_get_capture_dB", + "snd_mixer_selem_get_playback_switch", + "snd_mixer_selem_get_capture_switch", + "snd_mixer_selem_set_playback_volume", + "snd_mixer_selem_set_capture_volume", + "snd_mixer_selem_set_playback_dB", + "snd_mixer_selem_set_capture_dB", + "snd_mixer_selem_set_playback_volume_all", + "snd_mixer_selem_set_capture_volume_all", + "snd_mixer_selem_set_playback_dB_all", + "snd_mixer_selem_set_capture_dB_all", + "snd_mixer_selem_set_playback_switch", + "snd_mixer_selem_set_capture_switch", + "snd_mixer_selem_set_playback_switch_all", + "snd_mixer_selem_set_capture_switch_all", + "snd_mixer_selem_get_playback_volume_range", + "snd_mixer_selem_get_playback_dB_range", + "snd_mixer_selem_set_playback_volume_range", + "snd_mixer_selem_get_capture_volume_range", + "snd_mixer_selem_get_capture_dB_range", + "snd_mixer_selem_set_capture_volume_range", + "snd_mixer_selem_is_enumerated", + "snd_mixer_selem_is_enum_playback", + "snd_mixer_selem_is_enum_capture", + "snd_mixer_selem_get_enum_items", + "snd_mixer_selem_get_enum_item_name", + "snd_mixer_selem_get_enum_item", + "snd_mixer_selem_set_enum_item", + "snd_mixer_selem_id_sizeof", + "snd_mixer_selem_id_malloc", + "snd_mixer_selem_id_free", + "snd_mixer_selem_id_copy", + "snd_mixer_selem_id_get_name", + "snd_mixer_selem_id_get_index", + "snd_mixer_selem_id_set_name", + "snd_mixer_selem_id_set_index", + "snd_seq_open", + "snd_seq_open_lconf", + "snd_seq_name", + "snd_seq_type", + "snd_seq_close", + "snd_seq_poll_descriptors_count", + "snd_seq_poll_descriptors", + "snd_seq_poll_descriptors_revents", + "snd_seq_nonblock", + "snd_seq_client_id", + "snd_seq_get_output_buffer_size", + "snd_seq_get_input_buffer_size", + "snd_seq_set_output_buffer_size", + "snd_seq_set_input_buffer_size", + "snd_seq_system_info_sizeof", + "snd_seq_system_info_malloc", + "snd_seq_system_info_free", + "snd_seq_system_info_copy", + "snd_seq_system_info_get_queues", + "snd_seq_system_info_get_clients", + "snd_seq_system_info_get_ports", + "snd_seq_system_info_get_channels", + "snd_seq_system_info_get_cur_clients", + "snd_seq_system_info_get_cur_queues", + "snd_seq_system_info", + "snd_seq_client_info_sizeof", + "snd_seq_client_info_malloc", + "snd_seq_client_info_free", + "snd_seq_client_info_copy", + "snd_seq_client_info_get_client", + "snd_seq_client_info_get_type", + "snd_seq_client_info_get_name", + "snd_seq_client_info_get_broadcast_filter", + "snd_seq_client_info_get_error_bounce", + "snd_seq_client_info_get_card", + "snd_seq_client_info_get_pid", + "snd_seq_client_info_get_event_filter", + "snd_seq_client_info_get_num_ports", + "snd_seq_client_info_get_event_lost", + "snd_seq_client_info_set_client", + "snd_seq_client_info_set_name", + "snd_seq_client_info_set_broadcast_filter", + "snd_seq_client_info_set_error_bounce", + "snd_seq_client_info_set_event_filter", + "snd_seq_client_info_event_filter_clear", + "snd_seq_client_info_event_filter_add", + "snd_seq_client_info_event_filter_del", + "snd_seq_client_info_event_filter_check", + "snd_seq_get_client_info", + "snd_seq_get_any_client_info", + "snd_seq_set_client_info", + "snd_seq_query_next_client", + "snd_seq_client_pool_sizeof", + "snd_seq_client_pool_malloc", + "snd_seq_client_pool_free", + "snd_seq_client_pool_copy", + "snd_seq_client_pool_get_client", + "snd_seq_client_pool_get_output_pool", + "snd_seq_client_pool_get_input_pool", + "snd_seq_client_pool_get_output_room", + "snd_seq_client_pool_get_output_free", + "snd_seq_client_pool_get_input_free", + "snd_seq_client_pool_set_output_pool", + "snd_seq_client_pool_set_input_pool", + "snd_seq_client_pool_set_output_room", + "snd_seq_get_client_pool", + "snd_seq_set_client_pool", + "snd_seq_port_info_sizeof", + "snd_seq_port_info_malloc", + "snd_seq_port_info_free", + "snd_seq_port_info_copy", + "snd_seq_port_info_get_client", + "snd_seq_port_info_get_port", + "snd_seq_port_info_get_addr", + "snd_seq_port_info_get_name", + "snd_seq_port_info_get_capability", + "snd_seq_port_info_get_type", + "snd_seq_port_info_get_midi_channels", + "snd_seq_port_info_get_midi_voices", + "snd_seq_port_info_get_synth_voices", + "snd_seq_port_info_get_read_use", + "snd_seq_port_info_get_write_use", + "snd_seq_port_info_get_port_specified", + "snd_seq_port_info_get_timestamping", + "snd_seq_port_info_get_timestamp_real", + "snd_seq_port_info_get_timestamp_queue", + "snd_seq_port_info_set_client", + "snd_seq_port_info_set_port", + "snd_seq_port_info_set_addr", + "snd_seq_port_info_set_name", + "snd_seq_port_info_set_capability", + "snd_seq_port_info_set_type", + "snd_seq_port_info_set_midi_channels", + "snd_seq_port_info_set_midi_voices", + "snd_seq_port_info_set_synth_voices", + "snd_seq_port_info_set_port_specified", + "snd_seq_port_info_set_timestamping", + "snd_seq_port_info_set_timestamp_real", + "snd_seq_port_info_set_timestamp_queue", + "snd_seq_create_port", + "snd_seq_delete_port", + "snd_seq_get_port_info", + "snd_seq_get_any_port_info", + "snd_seq_set_port_info", + "snd_seq_query_next_port", + "snd_seq_port_subscribe_sizeof", + "snd_seq_port_subscribe_malloc", + "snd_seq_port_subscribe_free", + "snd_seq_port_subscribe_copy", + "snd_seq_port_subscribe_get_sender", + "snd_seq_port_subscribe_get_dest", + "snd_seq_port_subscribe_get_queue", + "snd_seq_port_subscribe_get_exclusive", + "snd_seq_port_subscribe_get_time_update", + "snd_seq_port_subscribe_get_time_real", + "snd_seq_port_subscribe_set_sender", + "snd_seq_port_subscribe_set_dest", + "snd_seq_port_subscribe_set_queue", + "snd_seq_port_subscribe_set_exclusive", + "snd_seq_port_subscribe_set_time_update", + "snd_seq_port_subscribe_set_time_real", + "snd_seq_get_port_subscription", + "snd_seq_subscribe_port", + "snd_seq_unsubscribe_port", + "snd_seq_query_subscribe_sizeof", + "snd_seq_query_subscribe_malloc", + "snd_seq_query_subscribe_free", + "snd_seq_query_subscribe_copy", + "snd_seq_query_subscribe_get_client", + "snd_seq_query_subscribe_get_port", + "snd_seq_query_subscribe_get_root", + "snd_seq_query_subscribe_get_type", + "snd_seq_query_subscribe_get_index", + "snd_seq_query_subscribe_get_num_subs", + "snd_seq_query_subscribe_get_addr", + "snd_seq_query_subscribe_get_queue", + "snd_seq_query_subscribe_get_exclusive", + "snd_seq_query_subscribe_get_time_update", + "snd_seq_query_subscribe_get_time_real", + "snd_seq_query_subscribe_set_client", + "snd_seq_query_subscribe_set_port", + "snd_seq_query_subscribe_set_root", + "snd_seq_query_subscribe_set_type", + "snd_seq_query_subscribe_set_index", + "snd_seq_query_port_subscribers", + "snd_seq_queue_info_sizeof", + "snd_seq_queue_info_malloc", + "snd_seq_queue_info_free", + "snd_seq_queue_info_copy", + "snd_seq_queue_info_get_queue", + "snd_seq_queue_info_get_name", + "snd_seq_queue_info_get_owner", + "snd_seq_queue_info_get_locked", + "snd_seq_queue_info_get_flags", + "snd_seq_queue_info_set_name", + "snd_seq_queue_info_set_owner", + "snd_seq_queue_info_set_locked", + "snd_seq_queue_info_set_flags", + "snd_seq_create_queue", + "snd_seq_alloc_named_queue", + "snd_seq_alloc_queue", + "snd_seq_free_queue", + "snd_seq_get_queue_info", + "snd_seq_set_queue_info", + "snd_seq_query_named_queue", + "snd_seq_get_queue_usage", + "snd_seq_set_queue_usage", + "snd_seq_queue_status_sizeof", + "snd_seq_queue_status_malloc", + "snd_seq_queue_status_free", + "snd_seq_queue_status_copy", + "snd_seq_queue_status_get_queue", + "snd_seq_queue_status_get_events", + "snd_seq_queue_status_get_tick_time", + "snd_seq_queue_status_get_real_time", + "snd_seq_queue_status_get_status", + "snd_seq_get_queue_status", + "snd_seq_queue_tempo_sizeof", + "snd_seq_queue_tempo_malloc", + "snd_seq_queue_tempo_free", + "snd_seq_queue_tempo_copy", + "snd_seq_queue_tempo_get_queue", + "snd_seq_queue_tempo_get_tempo", + "snd_seq_queue_tempo_get_ppq", + "snd_seq_queue_tempo_get_skew", + "snd_seq_queue_tempo_get_skew_base", + "snd_seq_queue_tempo_set_tempo", + "snd_seq_queue_tempo_set_ppq", + "snd_seq_queue_tempo_set_skew", + "snd_seq_queue_tempo_set_skew_base", + "snd_seq_get_queue_tempo", + "snd_seq_set_queue_tempo", + "snd_seq_queue_timer_sizeof", + "snd_seq_queue_timer_malloc", + "snd_seq_queue_timer_free", + "snd_seq_queue_timer_copy", + "snd_seq_queue_timer_get_queue", + "snd_seq_queue_timer_get_type", + "snd_seq_queue_timer_get_id", + "snd_seq_queue_timer_get_resolution", + "snd_seq_queue_timer_set_type", + "snd_seq_queue_timer_set_id", + "snd_seq_queue_timer_set_resolution", + "snd_seq_get_queue_timer", + "snd_seq_set_queue_timer", + "snd_seq_free_event", + "snd_seq_event_length", + "snd_seq_event_output", + "snd_seq_event_output_buffer", + "snd_seq_event_output_direct", + "snd_seq_event_input", + "snd_seq_event_input_pending", + "snd_seq_drain_output", + "snd_seq_event_output_pending", + "snd_seq_extract_output", + "snd_seq_drop_output", + "snd_seq_drop_output_buffer", + "snd_seq_drop_input", + "snd_seq_drop_input_buffer", + "snd_seq_remove_events_sizeof", + "snd_seq_remove_events_malloc", + "snd_seq_remove_events_free", + "snd_seq_remove_events_copy", + "snd_seq_remove_events_get_condition", + "snd_seq_remove_events_get_queue", + "snd_seq_remove_events_get_time", + "snd_seq_remove_events_get_dest", + "snd_seq_remove_events_get_channel", + "snd_seq_remove_events_get_event_type", + "snd_seq_remove_events_get_tag", + "snd_seq_remove_events_set_condition", + "snd_seq_remove_events_set_queue", + "snd_seq_remove_events_set_time", + "snd_seq_remove_events_set_dest", + "snd_seq_remove_events_set_channel", + "snd_seq_remove_events_set_event_type", + "snd_seq_remove_events_set_tag", + "snd_seq_remove_events", + "snd_seq_set_bit", + "snd_seq_unset_bit", + "snd_seq_change_bit", + "snd_seq_get_bit", + "snd_seq_control_queue", + "snd_seq_create_simple_port", + "snd_seq_delete_simple_port", + "snd_seq_connect_from", + "snd_seq_connect_to", + "snd_seq_disconnect_from", + "snd_seq_disconnect_to", + "snd_seq_set_client_name", + "snd_seq_set_client_event_filter", + "snd_seq_set_client_pool_output", + "snd_seq_set_client_pool_output_room", + "snd_seq_set_client_pool_input", + "snd_seq_sync_output_queue", + "snd_seq_parse_address", + "snd_seq_reset_pool_output", + "snd_seq_reset_pool_input", + "snd_midi_event_new", + "snd_midi_event_resize_buffer", + "snd_midi_event_free", + "snd_midi_event_init", + "snd_midi_event_reset_encode", + "snd_midi_event_reset_decode", + "snd_midi_event_no_status", + "snd_midi_event_encode", + "snd_midi_event_encode_byte", + "snd_midi_event_decode", + "snd_asoundlib_version", + "snd_dlopen", + "snd_dlsym", + "snd_dlclose", + "snd_async_add_handler", + "snd_async_del_handler", + "snd_async_handler_get_fd", + "snd_async_handler_get_signo", + "snd_async_handler_get_callback_private", + "snd_shm_area_create", + "snd_shm_area_share", + "snd_shm_area_destroy", + "snd_user_file", + "snd_input_stdio_open", + "snd_input_stdio_attach", + "snd_input_buffer_open", + "snd_input_close", + "snd_input_scanf", + "snd_input_gets", + "snd_input_getc", + "snd_input_ungetc", + "snd_output_stdio_open", + "snd_output_stdio_attach", + "snd_output_buffer_open", + "snd_output_buffer_string", + "snd_output_close", + "snd_output_printf", + "snd_output_vprintf", + "snd_output_puts", + "snd_output_putc", + "snd_output_flush", + "snd_strerror", + "snd_lib_error_set_handler", + "snd_lib_error_set_local", + "snd_config_top", + "snd_config_load", + "snd_config_load_override", + "snd_config_save", + "snd_config_update", + "snd_config_update_r", + "snd_config_update_free", + "snd_config_update_free_global", + "snd_config_update_ref", + "snd_config_ref", + "snd_config_unref", + "snd_config_search", + "snd_config_searchv", + "snd_config_search_definition", + "snd_config_expand", + "snd_config_evaluate", + "snd_config_add", + "snd_config_delete", + "snd_config_delete_compound_members", + "snd_config_copy", + "snd_config_make", + "snd_config_make_integer", + "snd_config_make_integer64", + "snd_config_make_real", + "snd_config_make_string", + "snd_config_make_pointer", + "snd_config_make_compound", + "snd_config_imake_integer", + "snd_config_imake_integer64", + "snd_config_imake_real", + "snd_config_imake_string", + "snd_config_imake_safe_string", + "snd_config_imake_pointer", + "snd_config_get_type", + "snd_config_set_id", + "snd_config_set_integer", + "snd_config_set_integer64", + "snd_config_set_real", + "snd_config_set_string", + "snd_config_set_ascii", + "snd_config_set_pointer", + "snd_config_get_id", + "snd_config_get_integer", + "snd_config_get_integer64", + "snd_config_get_real", + "snd_config_get_ireal", + "snd_config_get_string", + "snd_config_get_ascii", + "snd_config_get_pointer", + "snd_config_test_id", + "snd_config_iterator_first", + "snd_config_iterator_next", + "snd_config_iterator_end", + "snd_config_iterator_entry", + "snd_config_get_bool_ascii", + "snd_config_get_bool", + "snd_config_get_ctl_iface_ascii", + "snd_config_get_ctl_iface", + "snd_names_list", + "snd_names_list_free", + "snd_pcm_open", + "snd_pcm_open_lconf", + "snd_pcm_open_fallback", + "snd_pcm_close", + "snd_pcm_name", + "snd_pcm_type", + "snd_pcm_stream", + "snd_pcm_poll_descriptors_count", + "snd_pcm_poll_descriptors", + "snd_pcm_poll_descriptors_revents", + "snd_pcm_nonblock", + "snd_async_add_pcm_handler", + "snd_async_handler_get_pcm", + "snd_pcm_info", + "snd_pcm_hw_params_current", + "snd_pcm_hw_params", + "snd_pcm_hw_free", + "snd_pcm_sw_params_current", + "snd_pcm_sw_params", + "snd_pcm_prepare", + "snd_pcm_reset", + "snd_pcm_status", + "snd_pcm_start", + "snd_pcm_drop", + "snd_pcm_drain", + "snd_pcm_pause", + "snd_pcm_state", + "snd_pcm_hwsync", + "snd_pcm_delay", + "snd_pcm_resume", + "snd_pcm_htimestamp", + "snd_pcm_avail", + "snd_pcm_avail_update", + "snd_pcm_avail_delay", + "snd_pcm_rewindable", + "snd_pcm_rewind", + "snd_pcm_forwardable", + "snd_pcm_forward", + "snd_pcm_writei", + "snd_pcm_readi", + "snd_pcm_writen", + "snd_pcm_readn", + "snd_pcm_wait", + "snd_pcm_link", + "snd_pcm_unlink", + "snd_pcm_query_chmaps", + "snd_pcm_query_chmaps_from_hw", + "snd_pcm_free_chmaps", + "snd_pcm_get_chmap", + "snd_pcm_set_chmap", + "snd_pcm_chmap_type_name", + "snd_pcm_chmap_name", + "snd_pcm_chmap_long_name", + "snd_pcm_chmap_print", + "snd_pcm_chmap_from_string", + "snd_pcm_chmap_parse_string", + "snd_pcm_recover", + "snd_pcm_set_params", + "snd_pcm_get_params", + "snd_pcm_info_sizeof", + "snd_pcm_info_malloc", + "snd_pcm_info_free", + "snd_pcm_info_copy", + "snd_pcm_info_get_device", + "snd_pcm_info_get_subdevice", + "snd_pcm_info_get_stream", + "snd_pcm_info_get_card", + "snd_pcm_info_get_id", + "snd_pcm_info_get_name", + "snd_pcm_info_get_subdevice_name", + "snd_pcm_info_get_class", + "snd_pcm_info_get_subclass", + "snd_pcm_info_get_subdevices_count", + "snd_pcm_info_get_subdevices_avail", + "snd_pcm_info_get_sync", + "snd_pcm_info_set_device", + "snd_pcm_info_set_subdevice", + "snd_pcm_info_set_stream", + "snd_pcm_hw_params_any", + "snd_pcm_hw_params_can_mmap_sample_resolution", + "snd_pcm_hw_params_is_double", + "snd_pcm_hw_params_is_batch", + "snd_pcm_hw_params_is_block_transfer", + "snd_pcm_hw_params_is_monotonic", + "snd_pcm_hw_params_can_overrange", + "snd_pcm_hw_params_can_pause", + "snd_pcm_hw_params_can_resume", + "snd_pcm_hw_params_is_half_duplex", + "snd_pcm_hw_params_is_joint_duplex", + "snd_pcm_hw_params_can_sync_start", + "snd_pcm_hw_params_can_disable_period_wakeup", + "snd_pcm_hw_params_supports_audio_wallclock_ts", + "snd_pcm_hw_params_supports_audio_ts_type", + "snd_pcm_hw_params_get_rate_numden", + "snd_pcm_hw_params_get_sbits", + "snd_pcm_hw_params_get_fifo_size", + "snd_pcm_hw_params_sizeof", + "snd_pcm_hw_params_malloc", + "snd_pcm_hw_params_free", + "snd_pcm_hw_params_copy", + "snd_pcm_hw_params_get_access", + "snd_pcm_hw_params_test_access", + "snd_pcm_hw_params_set_access", + "snd_pcm_hw_params_set_access_first", + "snd_pcm_hw_params_set_access_last", + "snd_pcm_hw_params_set_access_mask", + "snd_pcm_hw_params_get_access_mask", + "snd_pcm_hw_params_get_format", + "snd_pcm_hw_params_test_format", + "snd_pcm_hw_params_set_format", + "snd_pcm_hw_params_set_format_first", + "snd_pcm_hw_params_set_format_last", + "snd_pcm_hw_params_set_format_mask", + "snd_pcm_hw_params_get_format_mask", + "snd_pcm_hw_params_get_subformat", + "snd_pcm_hw_params_test_subformat", + "snd_pcm_hw_params_set_subformat", + "snd_pcm_hw_params_set_subformat_first", + "snd_pcm_hw_params_set_subformat_last", + "snd_pcm_hw_params_set_subformat_mask", + "snd_pcm_hw_params_get_subformat_mask", + "snd_pcm_hw_params_get_channels", + "snd_pcm_hw_params_get_channels_min", + "snd_pcm_hw_params_get_channels_max", + "snd_pcm_hw_params_test_channels", + "snd_pcm_hw_params_set_channels", + "snd_pcm_hw_params_set_channels_min", + "snd_pcm_hw_params_set_channels_max", + "snd_pcm_hw_params_set_channels_minmax", + "snd_pcm_hw_params_set_channels_near", + "snd_pcm_hw_params_set_channels_first", + "snd_pcm_hw_params_set_channels_last", + "snd_pcm_hw_params_get_rate", + "snd_pcm_hw_params_get_rate_min", + "snd_pcm_hw_params_get_rate_max", + "snd_pcm_hw_params_test_rate", + "snd_pcm_hw_params_set_rate", + "snd_pcm_hw_params_set_rate_min", + "snd_pcm_hw_params_set_rate_max", + "snd_pcm_hw_params_set_rate_minmax", + "snd_pcm_hw_params_set_rate_near", + "snd_pcm_hw_params_set_rate_first", + "snd_pcm_hw_params_set_rate_last", + "snd_pcm_hw_params_set_rate_resample", + "snd_pcm_hw_params_get_rate_resample", + "snd_pcm_hw_params_set_export_buffer", + "snd_pcm_hw_params_get_export_buffer", + "snd_pcm_hw_params_set_period_wakeup", + "snd_pcm_hw_params_get_period_wakeup", + "snd_pcm_hw_params_get_period_time", + "snd_pcm_hw_params_get_period_time_min", + "snd_pcm_hw_params_get_period_time_max", + "snd_pcm_hw_params_test_period_time", + "snd_pcm_hw_params_set_period_time", + "snd_pcm_hw_params_set_period_time_min", + "snd_pcm_hw_params_set_period_time_max", + "snd_pcm_hw_params_set_period_time_minmax", + "snd_pcm_hw_params_set_period_time_near", + "snd_pcm_hw_params_set_period_time_first", + "snd_pcm_hw_params_set_period_time_last", + "snd_pcm_hw_params_get_period_size", + "snd_pcm_hw_params_get_period_size_min", + "snd_pcm_hw_params_get_period_size_max", + "snd_pcm_hw_params_test_period_size", + "snd_pcm_hw_params_set_period_size", + "snd_pcm_hw_params_set_period_size_min", + "snd_pcm_hw_params_set_period_size_max", + "snd_pcm_hw_params_set_period_size_minmax", + "snd_pcm_hw_params_set_period_size_near", + "snd_pcm_hw_params_set_period_size_first", + "snd_pcm_hw_params_set_period_size_last", + "snd_pcm_hw_params_set_period_size_integer", + "snd_pcm_hw_params_get_periods", + "snd_pcm_hw_params_get_periods_min", + "snd_pcm_hw_params_get_periods_max", + "snd_pcm_hw_params_test_periods", + "snd_pcm_hw_params_set_periods", + "snd_pcm_hw_params_set_periods_min", + "snd_pcm_hw_params_set_periods_max", + "snd_pcm_hw_params_set_periods_minmax", + "snd_pcm_hw_params_set_periods_near", + "snd_pcm_hw_params_set_periods_first", + "snd_pcm_hw_params_set_periods_last", + "snd_pcm_hw_params_set_periods_integer", + "snd_pcm_hw_params_get_buffer_time", + "snd_pcm_hw_params_get_buffer_time_min", + "snd_pcm_hw_params_get_buffer_time_max", + "snd_pcm_hw_params_test_buffer_time", + "snd_pcm_hw_params_set_buffer_time", + "snd_pcm_hw_params_set_buffer_time_min", + "snd_pcm_hw_params_set_buffer_time_max", + "snd_pcm_hw_params_set_buffer_time_minmax", + "snd_pcm_hw_params_set_buffer_time_near", + "snd_pcm_hw_params_set_buffer_time_first", + "snd_pcm_hw_params_set_buffer_time_last", + "snd_pcm_hw_params_get_buffer_size", + "snd_pcm_hw_params_get_buffer_size_min", + "snd_pcm_hw_params_get_buffer_size_max", + "snd_pcm_hw_params_test_buffer_size", + "snd_pcm_hw_params_set_buffer_size", + "snd_pcm_hw_params_set_buffer_size_min", + "snd_pcm_hw_params_set_buffer_size_max", + "snd_pcm_hw_params_set_buffer_size_minmax", + "snd_pcm_hw_params_set_buffer_size_near", + "snd_pcm_hw_params_set_buffer_size_first", + "snd_pcm_hw_params_set_buffer_size_last", + "snd_pcm_hw_params_get_min_align", + "snd_pcm_sw_params_sizeof", + "snd_pcm_sw_params_malloc", + "snd_pcm_sw_params_free", + "snd_pcm_sw_params_copy", + "snd_pcm_sw_params_get_boundary", + "snd_pcm_sw_params_set_tstamp_mode", + "snd_pcm_sw_params_get_tstamp_mode", + "snd_pcm_sw_params_set_avail_min", + "snd_pcm_sw_params_get_avail_min", + "snd_pcm_sw_params_set_period_event", + "snd_pcm_sw_params_get_period_event", + "snd_pcm_sw_params_set_start_threshold", + "snd_pcm_sw_params_get_start_threshold", + "snd_pcm_sw_params_set_stop_threshold", + "snd_pcm_sw_params_get_stop_threshold", + "snd_pcm_sw_params_set_silence_threshold", + "snd_pcm_sw_params_get_silence_threshold", + "snd_pcm_sw_params_set_silence_size", + "snd_pcm_sw_params_get_silence_size", + "snd_pcm_access_mask_sizeof", + "snd_pcm_access_mask_malloc", + "snd_pcm_access_mask_free", + "snd_pcm_access_mask_copy", + "snd_pcm_access_mask_none", + "snd_pcm_access_mask_any", + "snd_pcm_access_mask_test", + "snd_pcm_access_mask_empty", + "snd_pcm_access_mask_set", + "snd_pcm_access_mask_reset", + "snd_pcm_format_mask_sizeof", + "snd_pcm_format_mask_malloc", + "snd_pcm_format_mask_free", + "snd_pcm_format_mask_copy", + "snd_pcm_format_mask_none", + "snd_pcm_format_mask_any", + "snd_pcm_format_mask_test", + "snd_pcm_format_mask_empty", + "snd_pcm_format_mask_set", + "snd_pcm_format_mask_reset", + "snd_pcm_subformat_mask_sizeof", + "snd_pcm_subformat_mask_malloc", + "snd_pcm_subformat_mask_free", + "snd_pcm_subformat_mask_copy", + "snd_pcm_subformat_mask_none", + "snd_pcm_subformat_mask_any", + "snd_pcm_subformat_mask_test", + "snd_pcm_subformat_mask_empty", + "snd_pcm_subformat_mask_set", + "snd_pcm_subformat_mask_reset", + "snd_pcm_status_sizeof", + "snd_pcm_status_malloc", + "snd_pcm_status_free", + "snd_pcm_status_copy", + "snd_pcm_status_get_state", + "snd_pcm_status_get_trigger_tstamp", + "snd_pcm_status_get_trigger_htstamp", + "snd_pcm_status_get_tstamp", + "snd_pcm_status_get_htstamp", + "snd_pcm_status_get_audio_htstamp", + "snd_pcm_status_get_driver_htstamp", + "snd_pcm_status_get_delay", + "snd_pcm_status_get_avail", + "snd_pcm_status_get_avail_max", + "snd_pcm_status_get_overrange", + "snd_pcm_type_name", + "snd_pcm_stream_name", + "snd_pcm_access_name", + "snd_pcm_format_name", + "snd_pcm_format_description", + "snd_pcm_subformat_name", + "snd_pcm_subformat_description", + "snd_pcm_format_value", + "snd_pcm_tstamp_mode_name", + "snd_pcm_state_name", + "snd_pcm_dump", + "snd_pcm_dump_hw_setup", + "snd_pcm_dump_sw_setup", + "snd_pcm_dump_setup", + "snd_pcm_hw_params_dump", + "snd_pcm_sw_params_dump", + "snd_pcm_status_dump", + "snd_pcm_mmap_begin", + "snd_pcm_mmap_commit", + "snd_pcm_mmap_writei", + "snd_pcm_mmap_readi", + "snd_pcm_mmap_writen", + "snd_pcm_mmap_readn", + "snd_pcm_format_signed", + "snd_pcm_format_unsigned", + "snd_pcm_format_linear", + "snd_pcm_format_float", + "snd_pcm_format_little_endian", + "snd_pcm_format_big_endian", + "snd_pcm_format_cpu_endian", + "snd_pcm_format_width", + "snd_pcm_format_physical_width", + "snd_pcm_build_linear_format", + "snd_pcm_format_size", + "snd_pcm_format_silence", + "snd_pcm_format_silence_16", + "snd_pcm_format_silence_32", + "snd_pcm_format_silence_64", + "snd_pcm_format_set_silence", + "snd_pcm_bytes_to_frames", + "snd_pcm_frames_to_bytes", + "snd_pcm_bytes_to_samples", + "snd_pcm_samples_to_bytes", + "snd_pcm_area_silence", + "snd_pcm_areas_silence", + "snd_pcm_area_copy", + "snd_pcm_areas_copy", + "snd_pcm_hook_get_pcm", + "snd_pcm_hook_get_private", + "snd_pcm_hook_set_private", + "snd_pcm_hook_add", + "snd_pcm_hook_remove", + "snd_pcm_meter_get_bufsize", + "snd_pcm_meter_get_channels", + "snd_pcm_meter_get_rate", + "snd_pcm_meter_get_now", + "snd_pcm_meter_get_boundary", + "snd_pcm_meter_add_scope", + "snd_pcm_meter_search_scope", + "snd_pcm_scope_malloc", + "snd_pcm_scope_set_ops", + "snd_pcm_scope_set_name", + "snd_pcm_scope_get_name", + "snd_pcm_scope_get_callback_private", + "snd_pcm_scope_set_callback_private", + "snd_pcm_scope_s16_open", + "snd_pcm_scope_s16_get_channel_buffer", + "snd_spcm_init", + "snd_spcm_init_duplex", + "snd_spcm_init_get_params", + "snd_pcm_start_mode_name", + "snd_pcm_xrun_mode_name", + "snd_pcm_sw_params_set_start_mode", + "snd_pcm_sw_params_get_start_mode", + "snd_pcm_sw_params_set_xrun_mode", + "snd_pcm_sw_params_get_xrun_mode", + "snd_pcm_sw_params_set_xfer_align", + "snd_pcm_sw_params_get_xfer_align", + "snd_pcm_sw_params_set_sleep_min", + "snd_pcm_sw_params_get_sleep_min", + "snd_pcm_hw_params_get_tick_time", + "snd_pcm_hw_params_get_tick_time_min", + "snd_pcm_hw_params_get_tick_time_max", + "snd_pcm_hw_params_test_tick_time", + "snd_pcm_hw_params_set_tick_time", + "snd_pcm_hw_params_set_tick_time_min", + "snd_pcm_hw_params_set_tick_time_max", + "snd_pcm_hw_params_set_tick_time_minmax", + "snd_pcm_hw_params_set_tick_time_near", + "snd_pcm_hw_params_set_tick_time_first", + "snd_pcm_hw_params_set_tick_time_last", + "snd_rawmidi_open", + "snd_rawmidi_open_lconf", + "snd_rawmidi_close", + "snd_rawmidi_poll_descriptors_count", + "snd_rawmidi_poll_descriptors", + "snd_rawmidi_poll_descriptors_revents", + "snd_rawmidi_nonblock", + "snd_rawmidi_info_sizeof", + "snd_rawmidi_info_malloc", + "snd_rawmidi_info_free", + "snd_rawmidi_info_copy", + "snd_rawmidi_info_get_device", + "snd_rawmidi_info_get_subdevice", + "snd_rawmidi_info_get_stream", + "snd_rawmidi_info_get_card", + "snd_rawmidi_info_get_flags", + "snd_rawmidi_info_get_id", + "snd_rawmidi_info_get_name", + "snd_rawmidi_info_get_subdevice_name", + "snd_rawmidi_info_get_subdevices_count", + "snd_rawmidi_info_get_subdevices_avail", + "snd_rawmidi_info_set_device", + "snd_rawmidi_info_set_subdevice", + "snd_rawmidi_info_set_stream", + "snd_rawmidi_info", + "snd_rawmidi_params_sizeof", + "snd_rawmidi_params_malloc", + "snd_rawmidi_params_free", + "snd_rawmidi_params_copy", + "snd_rawmidi_params_set_buffer_size", + "snd_rawmidi_params_get_buffer_size", + "snd_rawmidi_params_set_avail_min", + "snd_rawmidi_params_get_avail_min", + "snd_rawmidi_params_set_no_active_sensing", + "snd_rawmidi_params_get_no_active_sensing", + "snd_rawmidi_params", + "snd_rawmidi_params_current", + "snd_rawmidi_status_sizeof", + "snd_rawmidi_status_malloc", + "snd_rawmidi_status_free", + "snd_rawmidi_status_copy", + "snd_rawmidi_status_get_tstamp", + "snd_rawmidi_status_get_avail", + "snd_rawmidi_status_get_xruns", + "snd_rawmidi_status", + "snd_rawmidi_drain", + "snd_rawmidi_drop", + "snd_rawmidi_write", + "snd_rawmidi_read", + "snd_rawmidi_name", + "snd_rawmidi_type", + "snd_rawmidi_stream", + "snd_timer_query_open", + "snd_timer_query_open_lconf", + "snd_timer_query_close", + "snd_timer_query_next_device", + "snd_timer_query_info", + "snd_timer_query_params", + "snd_timer_query_status", + "snd_timer_open", + "snd_timer_open_lconf", + "snd_timer_close", + "snd_async_add_timer_handler", + "snd_async_handler_get_timer", + "snd_timer_poll_descriptors_count", + "snd_timer_poll_descriptors", + "snd_timer_poll_descriptors_revents", + "snd_timer_info", + "snd_timer_params", + "snd_timer_status", + "snd_timer_start", + "snd_timer_stop", + "snd_timer_continue", + "snd_timer_read", + "snd_timer_id_sizeof", + "snd_timer_id_malloc", + "snd_timer_id_free", + "snd_timer_id_copy", + "snd_timer_id_set_class", + "snd_timer_id_get_class", + "snd_timer_id_set_sclass", + "snd_timer_id_get_sclass", + "snd_timer_id_set_card", + "snd_timer_id_get_card", + "snd_timer_id_set_device", + "snd_timer_id_get_device", + "snd_timer_id_set_subdevice", + "snd_timer_id_get_subdevice", + "snd_timer_ginfo_sizeof", + "snd_timer_ginfo_malloc", + "snd_timer_ginfo_free", + "snd_timer_ginfo_copy", + "snd_timer_ginfo_set_tid", + "snd_timer_ginfo_get_tid", + "snd_timer_ginfo_get_flags", + "snd_timer_ginfo_get_card", + "snd_timer_ginfo_get_id", + "snd_timer_ginfo_get_name", + "snd_timer_ginfo_get_resolution", + "snd_timer_ginfo_get_resolution_min", + "snd_timer_ginfo_get_resolution_max", + "snd_timer_ginfo_get_clients", + "snd_timer_info_sizeof", + "snd_timer_info_malloc", + "snd_timer_info_free", + "snd_timer_info_copy", + "snd_timer_info_is_slave", + "snd_timer_info_get_card", + "snd_timer_info_get_id", + "snd_timer_info_get_name", + "snd_timer_info_get_resolution", + "snd_timer_params_sizeof", + "snd_timer_params_malloc", + "snd_timer_params_free", + "snd_timer_params_copy", + "snd_timer_params_set_auto_start", + "snd_timer_params_get_auto_start", + "snd_timer_params_set_exclusive", + "snd_timer_params_get_exclusive", + "snd_timer_params_set_early_event", + "snd_timer_params_get_early_event", + "snd_timer_params_set_ticks", + "snd_timer_params_get_ticks", + "snd_timer_params_set_queue_size", + "snd_timer_params_get_queue_size", + "snd_timer_params_set_filter", + "snd_timer_params_get_filter", + "snd_timer_status_sizeof", + "snd_timer_status_malloc", + "snd_timer_status_free", + "snd_timer_status_copy", + "snd_timer_status_get_timestamp", + "snd_timer_status_get_resolution", + "snd_timer_status_get_lost", + "snd_timer_status_get_overrun", + "snd_timer_status_get_queue", + "snd_timer_info_get_ticks", + "snd_hwdep_open", + "snd_hwdep_close", + "snd_hwdep_poll_descriptors", + "snd_hwdep_poll_descriptors_count", + "snd_hwdep_poll_descriptors_revents", + "snd_hwdep_nonblock", + "snd_hwdep_info", + "snd_hwdep_dsp_status", + "snd_hwdep_dsp_load", + "snd_hwdep_ioctl", + "snd_hwdep_write", + "snd_hwdep_read", + "snd_hwdep_info_sizeof", + "snd_hwdep_info_malloc", + "snd_hwdep_info_free", + "snd_hwdep_info_copy", + "snd_hwdep_info_get_device", + "snd_hwdep_info_get_card", + "snd_hwdep_info_get_id", + "snd_hwdep_info_get_name", + "snd_hwdep_info_get_iface", + "snd_hwdep_info_set_device", + "snd_hwdep_dsp_status_sizeof", + "snd_hwdep_dsp_status_malloc", + "snd_hwdep_dsp_status_free", + "snd_hwdep_dsp_status_copy", + "snd_hwdep_dsp_status_get_version", + "snd_hwdep_dsp_status_get_id", + "snd_hwdep_dsp_status_get_num_dsps", + "snd_hwdep_dsp_status_get_dsp_loaded", + "snd_hwdep_dsp_status_get_chip_ready", + "snd_hwdep_dsp_image_sizeof", + "snd_hwdep_dsp_image_malloc", + "snd_hwdep_dsp_image_free", + "snd_hwdep_dsp_image_copy", + "snd_hwdep_dsp_image_get_index", + "snd_hwdep_dsp_image_get_name", + "snd_hwdep_dsp_image_get_image", + "snd_hwdep_dsp_image_get_length", + "snd_hwdep_dsp_image_set_index", + "snd_hwdep_dsp_image_set_name", + "snd_hwdep_dsp_image_set_image", + "snd_hwdep_dsp_image_set_length", + "snd_card_load", + "snd_card_next", + "snd_card_get_index", + "snd_card_get_name", + "snd_card_get_longname", + "snd_device_name_hint", + "snd_device_name_free_hint", + "snd_device_name_get_hint", + "snd_ctl_open", + "snd_ctl_open_lconf", + "snd_ctl_open_fallback", + "snd_ctl_close", + "snd_ctl_nonblock", + "snd_async_add_ctl_handler", + "snd_async_handler_get_ctl", + "snd_ctl_poll_descriptors_count", + "snd_ctl_poll_descriptors", + "snd_ctl_poll_descriptors_revents", + "snd_ctl_subscribe_events", + "snd_ctl_card_info", + "snd_ctl_elem_list", + "snd_ctl_elem_info", + "snd_ctl_elem_read", + "snd_ctl_elem_write", + "snd_ctl_elem_lock", + "snd_ctl_elem_unlock", + "snd_ctl_elem_tlv_read", + "snd_ctl_elem_tlv_write", + "snd_ctl_elem_tlv_command", + "snd_ctl_hwdep_next_device", + "snd_ctl_hwdep_info", + "snd_ctl_pcm_next_device", + "snd_ctl_pcm_info", + "snd_ctl_pcm_prefer_subdevice", + "snd_ctl_rawmidi_next_device", + "snd_ctl_rawmidi_info", + "snd_ctl_rawmidi_prefer_subdevice", + "snd_ctl_set_power_state", + "snd_ctl_get_power_state", + "snd_ctl_read", + "snd_ctl_wait", + "snd_ctl_name", + "snd_ctl_type", + "snd_ctl_elem_type_name", + "snd_ctl_elem_iface_name", + "snd_ctl_event_type_name", + "snd_ctl_event_elem_get_mask", + "snd_ctl_event_elem_get_numid", + "snd_ctl_event_elem_get_id", + "snd_ctl_event_elem_get_interface", + "snd_ctl_event_elem_get_device", + "snd_ctl_event_elem_get_subdevice", + "snd_ctl_event_elem_get_name", + "snd_ctl_event_elem_get_index", + "snd_ctl_elem_list_alloc_space", + "snd_ctl_elem_list_free_space", + "snd_ctl_ascii_elem_id_get", + "snd_ctl_ascii_elem_id_parse", + "snd_ctl_ascii_value_parse", + "snd_ctl_elem_id_sizeof", + "snd_ctl_elem_id_malloc", + "snd_ctl_elem_id_free", + "snd_ctl_elem_id_clear", + "snd_ctl_elem_id_copy", + "snd_ctl_elem_id_get_numid", + "snd_ctl_elem_id_get_interface", + "snd_ctl_elem_id_get_device", + "snd_ctl_elem_id_get_subdevice", + "snd_ctl_elem_id_get_name", + "snd_ctl_elem_id_get_index", + "snd_ctl_elem_id_set_numid", + "snd_ctl_elem_id_set_interface", + "snd_ctl_elem_id_set_device", + "snd_ctl_elem_id_set_subdevice", + "snd_ctl_elem_id_set_name", + "snd_ctl_elem_id_set_index", + "snd_ctl_card_info_sizeof", + "snd_ctl_card_info_malloc", + "snd_ctl_card_info_free", + "snd_ctl_card_info_clear", + "snd_ctl_card_info_copy", + "snd_ctl_card_info_get_card", + "snd_ctl_card_info_get_id", + "snd_ctl_card_info_get_driver", + "snd_ctl_card_info_get_name", + "snd_ctl_card_info_get_longname", + "snd_ctl_card_info_get_mixername", + "snd_ctl_card_info_get_components", + "snd_ctl_event_sizeof", + "snd_ctl_event_malloc", + "snd_ctl_event_free", + "snd_ctl_event_clear", + "snd_ctl_event_copy", + "snd_ctl_event_get_type", + "snd_ctl_elem_list_sizeof", + "snd_ctl_elem_list_malloc", + "snd_ctl_elem_list_free", + "snd_ctl_elem_list_clear", + "snd_ctl_elem_list_copy", + "snd_ctl_elem_list_set_offset", + "snd_ctl_elem_list_get_used", + "snd_ctl_elem_list_get_count", + "snd_ctl_elem_list_get_id", + "snd_ctl_elem_list_get_numid", + "snd_ctl_elem_list_get_interface", + "snd_ctl_elem_list_get_device", + "snd_ctl_elem_list_get_subdevice", + "snd_ctl_elem_list_get_name", + "snd_ctl_elem_list_get_index", + "snd_ctl_elem_info_sizeof", + "snd_ctl_elem_info_malloc", + "snd_ctl_elem_info_free", + "snd_ctl_elem_info_clear", + "snd_ctl_elem_info_copy", + "snd_ctl_elem_info_get_type", + "snd_ctl_elem_info_is_readable", + "snd_ctl_elem_info_is_writable", + "snd_ctl_elem_info_is_volatile", + "snd_ctl_elem_info_is_inactive", + "snd_ctl_elem_info_is_locked", + "snd_ctl_elem_info_is_tlv_readable", + "snd_ctl_elem_info_is_tlv_writable", + "snd_ctl_elem_info_is_tlv_commandable", + "snd_ctl_elem_info_is_owner", + "snd_ctl_elem_info_is_user", + "snd_ctl_elem_info_get_owner", + "snd_ctl_elem_info_get_count", + "snd_ctl_elem_info_get_min", + "snd_ctl_elem_info_get_max", + "snd_ctl_elem_info_get_step", + "snd_ctl_elem_info_get_min64", + "snd_ctl_elem_info_get_max64", + "snd_ctl_elem_info_get_step64", + "snd_ctl_elem_info_get_items", + "snd_ctl_elem_info_set_item", + "snd_ctl_elem_info_get_item_name", + "snd_ctl_elem_info_get_dimensions", + "snd_ctl_elem_info_get_dimension", + "snd_ctl_elem_info_set_dimension", + "snd_ctl_elem_info_get_id", + "snd_ctl_elem_info_get_numid", + "snd_ctl_elem_info_get_interface", + "snd_ctl_elem_info_get_device", + "snd_ctl_elem_info_get_subdevice", + "snd_ctl_elem_info_get_name", + "snd_ctl_elem_info_get_index", + "snd_ctl_elem_info_set_id", + "snd_ctl_elem_info_set_numid", + "snd_ctl_elem_info_set_interface", + "snd_ctl_elem_info_set_device", + "snd_ctl_elem_info_set_subdevice", + "snd_ctl_elem_info_set_name", + "snd_ctl_elem_info_set_index", + "snd_ctl_add_integer_elem_set", + "snd_ctl_add_integer64_elem_set", + "snd_ctl_add_boolean_elem_set", + "snd_ctl_add_enumerated_elem_set", + "snd_ctl_add_bytes_elem_set", + "snd_ctl_elem_add_integer", + "snd_ctl_elem_add_integer64", + "snd_ctl_elem_add_boolean", + "snd_ctl_elem_add_enumerated", + "snd_ctl_elem_add_iec958", + "snd_ctl_elem_remove", + "snd_ctl_elem_value_sizeof", + "snd_ctl_elem_value_malloc", + "snd_ctl_elem_value_free", + "snd_ctl_elem_value_clear", + "snd_ctl_elem_value_copy", + "snd_ctl_elem_value_compare", + "snd_ctl_elem_value_get_id", + "snd_ctl_elem_value_get_numid", + "snd_ctl_elem_value_get_interface", + "snd_ctl_elem_value_get_device", + "snd_ctl_elem_value_get_subdevice", + "snd_ctl_elem_value_get_name", + "snd_ctl_elem_value_get_index", + "snd_ctl_elem_value_set_id", + "snd_ctl_elem_value_set_numid", + "snd_ctl_elem_value_set_interface", + "snd_ctl_elem_value_set_device", + "snd_ctl_elem_value_set_subdevice", + "snd_ctl_elem_value_set_name", + "snd_ctl_elem_value_set_index", + "snd_ctl_elem_value_get_boolean", + "snd_ctl_elem_value_get_integer", + "snd_ctl_elem_value_get_integer64", + "snd_ctl_elem_value_get_enumerated", + "snd_ctl_elem_value_get_byte", + "snd_ctl_elem_value_set_boolean", + "snd_ctl_elem_value_set_integer", + "snd_ctl_elem_value_set_integer64", + "snd_ctl_elem_value_set_enumerated", + "snd_ctl_elem_value_set_byte", + "snd_ctl_elem_set_bytes", + "snd_ctl_elem_value_get_bytes", + "snd_ctl_elem_value_get_iec958", + "snd_ctl_elem_value_set_iec958", + "snd_tlv_parse_dB_info", + "snd_tlv_get_dB_range", + "snd_tlv_convert_to_dB", + "snd_tlv_convert_from_dB", + "snd_ctl_get_dB_range", + "snd_ctl_convert_to_dB", + "snd_ctl_convert_from_dB", + "snd_hctl_compare_fast", + "snd_hctl_open", + "snd_hctl_open_ctl", + "snd_hctl_close", + "snd_hctl_nonblock", + "snd_hctl_poll_descriptors_count", + "snd_hctl_poll_descriptors", + "snd_hctl_poll_descriptors_revents", + "snd_hctl_get_count", + "snd_hctl_set_compare", + "snd_hctl_first_elem", + "snd_hctl_last_elem", + "snd_hctl_find_elem", + "snd_hctl_set_callback", + "snd_hctl_set_callback_private", + "snd_hctl_get_callback_private", + "snd_hctl_load", + "snd_hctl_free", + "snd_hctl_handle_events", + "snd_hctl_name", + "snd_hctl_wait", + "snd_hctl_ctl", + "snd_hctl_elem_next", + "snd_hctl_elem_prev", + "snd_hctl_elem_info", + "snd_hctl_elem_read", + "snd_hctl_elem_write", + "snd_hctl_elem_tlv_read", + "snd_hctl_elem_tlv_write", + "snd_hctl_elem_tlv_command", + "snd_hctl_elem_get_hctl", + "snd_hctl_elem_get_id", + "snd_hctl_elem_get_numid", + "snd_hctl_elem_get_interface", + "snd_hctl_elem_get_device", + "snd_hctl_elem_get_subdevice", + "snd_hctl_elem_get_name", + "snd_hctl_elem_get_index", + "snd_hctl_elem_set_callback", + "snd_hctl_elem_get_callback_private", + "snd_hctl_elem_set_callback_private", + "snd_sctl_build", + "snd_sctl_free", + "snd_sctl_install", + "snd_sctl_remove", + "snd_mixer_open", + "snd_mixer_close", + "snd_mixer_first_elem", + "snd_mixer_last_elem", + "snd_mixer_handle_events", + "snd_mixer_attach", + "snd_mixer_attach_hctl", + "snd_mixer_detach", + "snd_mixer_detach_hctl", + "snd_mixer_get_hctl", + "snd_mixer_poll_descriptors_count", + "snd_mixer_poll_descriptors", + "snd_mixer_poll_descriptors_revents", + "snd_mixer_load", + "snd_mixer_free", + "snd_mixer_wait", + "snd_mixer_set_compare", + "snd_mixer_set_callback", + "snd_mixer_get_callback_private", + "snd_mixer_set_callback_private", + "snd_mixer_get_count", + "snd_mixer_class_unregister", + "snd_mixer_elem_next", + "snd_mixer_elem_prev", + "snd_mixer_elem_set_callback", + "snd_mixer_elem_get_callback_private", + "snd_mixer_elem_set_callback_private", + "snd_mixer_elem_get_type", + "snd_mixer_class_register", + "snd_mixer_elem_new", + "snd_mixer_elem_add", + "snd_mixer_elem_remove", + "snd_mixer_elem_free", + "snd_mixer_elem_info", + "snd_mixer_elem_value", + "snd_mixer_elem_attach", + "snd_mixer_elem_detach", + "snd_mixer_elem_empty", + "snd_mixer_elem_get_private", + "snd_mixer_class_sizeof", + "snd_mixer_class_malloc", + "snd_mixer_class_free", + "snd_mixer_class_copy", + "snd_mixer_class_get_mixer", + "snd_mixer_class_get_event", + "snd_mixer_class_get_private", + "snd_mixer_class_get_compare", + "snd_mixer_class_set_event", + "snd_mixer_class_set_private", + "snd_mixer_class_set_private_free", + "snd_mixer_class_set_compare", + "snd_mixer_selem_channel_name", + "snd_mixer_selem_register", + "snd_mixer_selem_get_id", + "snd_mixer_selem_get_name", + "snd_mixer_selem_get_index", + "snd_mixer_find_selem", + "snd_mixer_selem_is_active", + "snd_mixer_selem_is_playback_mono", + "snd_mixer_selem_has_playback_channel", + "snd_mixer_selem_is_capture_mono", + "snd_mixer_selem_has_capture_channel", + "snd_mixer_selem_get_capture_group", + "snd_mixer_selem_has_common_volume", + "snd_mixer_selem_has_playback_volume", + "snd_mixer_selem_has_playback_volume_joined", + "snd_mixer_selem_has_capture_volume", + "snd_mixer_selem_has_capture_volume_joined", + "snd_mixer_selem_has_common_switch", + "snd_mixer_selem_has_playback_switch", + "snd_mixer_selem_has_playback_switch_joined", + "snd_mixer_selem_has_capture_switch", + "snd_mixer_selem_has_capture_switch_joined", + "snd_mixer_selem_has_capture_switch_exclusive", + "snd_mixer_selem_ask_playback_vol_dB", + "snd_mixer_selem_ask_capture_vol_dB", + "snd_mixer_selem_ask_playback_dB_vol", + "snd_mixer_selem_ask_capture_dB_vol", + "snd_mixer_selem_get_playback_volume", + "snd_mixer_selem_get_capture_volume", + "snd_mixer_selem_get_playback_dB", + "snd_mixer_selem_get_capture_dB", + "snd_mixer_selem_get_playback_switch", + "snd_mixer_selem_get_capture_switch", + "snd_mixer_selem_set_playback_volume", + "snd_mixer_selem_set_capture_volume", + "snd_mixer_selem_set_playback_dB", + "snd_mixer_selem_set_capture_dB", + "snd_mixer_selem_set_playback_volume_all", + "snd_mixer_selem_set_capture_volume_all", + "snd_mixer_selem_set_playback_dB_all", + "snd_mixer_selem_set_capture_dB_all", + "snd_mixer_selem_set_playback_switch", + "snd_mixer_selem_set_capture_switch", + "snd_mixer_selem_set_playback_switch_all", + "snd_mixer_selem_set_capture_switch_all", + "snd_mixer_selem_get_playback_volume_range", + "snd_mixer_selem_get_playback_dB_range", + "snd_mixer_selem_set_playback_volume_range", + "snd_mixer_selem_get_capture_volume_range", + "snd_mixer_selem_get_capture_dB_range", + "snd_mixer_selem_set_capture_volume_range", + "snd_mixer_selem_is_enumerated", + "snd_mixer_selem_is_enum_playback", + "snd_mixer_selem_is_enum_capture", + "snd_mixer_selem_get_enum_items", + "snd_mixer_selem_get_enum_item_name", + "snd_mixer_selem_get_enum_item", + "snd_mixer_selem_set_enum_item", + "snd_mixer_selem_id_sizeof", + "snd_mixer_selem_id_malloc", + "snd_mixer_selem_id_free", + "snd_mixer_selem_id_copy", + "snd_mixer_selem_id_get_name", + "snd_mixer_selem_id_get_index", + "snd_mixer_selem_id_set_name", + "snd_mixer_selem_id_set_index", + "snd_seq_open", + "snd_seq_open_lconf", + "snd_seq_name", + "snd_seq_type", + "snd_seq_close", + "snd_seq_poll_descriptors_count", + "snd_seq_poll_descriptors", + "snd_seq_poll_descriptors_revents", + "snd_seq_nonblock", + "snd_seq_client_id", + "snd_seq_get_output_buffer_size", + "snd_seq_get_input_buffer_size", + "snd_seq_set_output_buffer_size", + "snd_seq_set_input_buffer_size", + "snd_seq_system_info_sizeof", + "snd_seq_system_info_malloc", + "snd_seq_system_info_free", + "snd_seq_system_info_copy", + "snd_seq_system_info_get_queues", + "snd_seq_system_info_get_clients", + "snd_seq_system_info_get_ports", + "snd_seq_system_info_get_channels", + "snd_seq_system_info_get_cur_clients", + "snd_seq_system_info_get_cur_queues", + "snd_seq_system_info", + "snd_seq_client_info_sizeof", + "snd_seq_client_info_malloc", + "snd_seq_client_info_free", + "snd_seq_client_info_copy", + "snd_seq_client_info_get_client", + "snd_seq_client_info_get_type", + "snd_seq_client_info_get_name", + "snd_seq_client_info_get_broadcast_filter", + "snd_seq_client_info_get_error_bounce", + "snd_seq_client_info_get_card", + "snd_seq_client_info_get_pid", + "snd_seq_client_info_get_event_filter", + "snd_seq_client_info_get_num_ports", + "snd_seq_client_info_get_event_lost", + "snd_seq_client_info_set_client", + "snd_seq_client_info_set_name", + "snd_seq_client_info_set_broadcast_filter", + "snd_seq_client_info_set_error_bounce", + "snd_seq_client_info_set_event_filter", + "snd_seq_client_info_event_filter_clear", + "snd_seq_client_info_event_filter_add", + "snd_seq_client_info_event_filter_del", + "snd_seq_client_info_event_filter_check", + "snd_seq_get_client_info", + "snd_seq_get_any_client_info", + "snd_seq_set_client_info", + "snd_seq_query_next_client", + "snd_seq_client_pool_sizeof", + "snd_seq_client_pool_malloc", + "snd_seq_client_pool_free", + "snd_seq_client_pool_copy", + "snd_seq_client_pool_get_client", + "snd_seq_client_pool_get_output_pool", + "snd_seq_client_pool_get_input_pool", + "snd_seq_client_pool_get_output_room", + "snd_seq_client_pool_get_output_free", + "snd_seq_client_pool_get_input_free", + "snd_seq_client_pool_set_output_pool", + "snd_seq_client_pool_set_input_pool", + "snd_seq_client_pool_set_output_room", + "snd_seq_get_client_pool", + "snd_seq_set_client_pool", + "snd_seq_port_info_sizeof", + "snd_seq_port_info_malloc", + "snd_seq_port_info_free", + "snd_seq_port_info_copy", + "snd_seq_port_info_get_client", + "snd_seq_port_info_get_port", + "snd_seq_port_info_get_addr", + "snd_seq_port_info_get_name", + "snd_seq_port_info_get_capability", + "snd_seq_port_info_get_type", + "snd_seq_port_info_get_midi_channels", + "snd_seq_port_info_get_midi_voices", + "snd_seq_port_info_get_synth_voices", + "snd_seq_port_info_get_read_use", + "snd_seq_port_info_get_write_use", + "snd_seq_port_info_get_port_specified", + "snd_seq_port_info_get_timestamping", + "snd_seq_port_info_get_timestamp_real", + "snd_seq_port_info_get_timestamp_queue", + "snd_seq_port_info_set_client", + "snd_seq_port_info_set_port", + "snd_seq_port_info_set_addr", + "snd_seq_port_info_set_name", + "snd_seq_port_info_set_capability", + "snd_seq_port_info_set_type", + "snd_seq_port_info_set_midi_channels", + "snd_seq_port_info_set_midi_voices", + "snd_seq_port_info_set_synth_voices", + "snd_seq_port_info_set_port_specified", + "snd_seq_port_info_set_timestamping", + "snd_seq_port_info_set_timestamp_real", + "snd_seq_port_info_set_timestamp_queue", + "snd_seq_create_port", + "snd_seq_delete_port", + "snd_seq_get_port_info", + "snd_seq_get_any_port_info", + "snd_seq_set_port_info", + "snd_seq_query_next_port", + "snd_seq_port_subscribe_sizeof", + "snd_seq_port_subscribe_malloc", + "snd_seq_port_subscribe_free", + "snd_seq_port_subscribe_copy", + "snd_seq_port_subscribe_get_sender", + "snd_seq_port_subscribe_get_dest", + "snd_seq_port_subscribe_get_queue", + "snd_seq_port_subscribe_get_exclusive", + "snd_seq_port_subscribe_get_time_update", + "snd_seq_port_subscribe_get_time_real", + "snd_seq_port_subscribe_set_sender", + "snd_seq_port_subscribe_set_dest", + "snd_seq_port_subscribe_set_queue", + "snd_seq_port_subscribe_set_exclusive", + "snd_seq_port_subscribe_set_time_update", + "snd_seq_port_subscribe_set_time_real", + "snd_seq_get_port_subscription", + "snd_seq_subscribe_port", + "snd_seq_unsubscribe_port", + "snd_seq_query_subscribe_sizeof", + "snd_seq_query_subscribe_malloc", + "snd_seq_query_subscribe_free", + "snd_seq_query_subscribe_copy", + "snd_seq_query_subscribe_get_client", + "snd_seq_query_subscribe_get_port", + "snd_seq_query_subscribe_get_root", + "snd_seq_query_subscribe_get_type", + "snd_seq_query_subscribe_get_index", + "snd_seq_query_subscribe_get_num_subs", + "snd_seq_query_subscribe_get_addr", + "snd_seq_query_subscribe_get_queue", + "snd_seq_query_subscribe_get_exclusive", + "snd_seq_query_subscribe_get_time_update", + "snd_seq_query_subscribe_get_time_real", + "snd_seq_query_subscribe_set_client", + "snd_seq_query_subscribe_set_port", + "snd_seq_query_subscribe_set_root", + "snd_seq_query_subscribe_set_type", + "snd_seq_query_subscribe_set_index", + "snd_seq_query_port_subscribers", + "snd_seq_queue_info_sizeof", + "snd_seq_queue_info_malloc", + "snd_seq_queue_info_free", + "snd_seq_queue_info_copy", + "snd_seq_queue_info_get_queue", + "snd_seq_queue_info_get_name", + "snd_seq_queue_info_get_owner", + "snd_seq_queue_info_get_locked", + "snd_seq_queue_info_get_flags", + "snd_seq_queue_info_set_name", + "snd_seq_queue_info_set_owner", + "snd_seq_queue_info_set_locked", + "snd_seq_queue_info_set_flags", + "snd_seq_create_queue", + "snd_seq_alloc_named_queue", + "snd_seq_alloc_queue", + "snd_seq_free_queue", + "snd_seq_get_queue_info", + "snd_seq_set_queue_info", + "snd_seq_query_named_queue", + "snd_seq_get_queue_usage", + "snd_seq_set_queue_usage", + "snd_seq_queue_status_sizeof", + "snd_seq_queue_status_malloc", + "snd_seq_queue_status_free", + "snd_seq_queue_status_copy", + "snd_seq_queue_status_get_queue", + "snd_seq_queue_status_get_events", + "snd_seq_queue_status_get_tick_time", + "snd_seq_queue_status_get_real_time", + "snd_seq_queue_status_get_status", + "snd_seq_get_queue_status", + "snd_seq_queue_tempo_sizeof", + "snd_seq_queue_tempo_malloc", + "snd_seq_queue_tempo_free", + "snd_seq_queue_tempo_copy", + "snd_seq_queue_tempo_get_queue", + "snd_seq_queue_tempo_get_tempo", + "snd_seq_queue_tempo_get_ppq", + "snd_seq_queue_tempo_get_skew", + "snd_seq_queue_tempo_get_skew_base", + "snd_seq_queue_tempo_set_tempo", + "snd_seq_queue_tempo_set_ppq", + "snd_seq_queue_tempo_set_skew", + "snd_seq_queue_tempo_set_skew_base", + "snd_seq_get_queue_tempo", + "snd_seq_set_queue_tempo", + "snd_seq_queue_timer_sizeof", + "snd_seq_queue_timer_malloc", + "snd_seq_queue_timer_free", + "snd_seq_queue_timer_copy", + "snd_seq_queue_timer_get_queue", + "snd_seq_queue_timer_get_type", + "snd_seq_queue_timer_get_id", + "snd_seq_queue_timer_get_resolution", + "snd_seq_queue_timer_set_type", + "snd_seq_queue_timer_set_id", + "snd_seq_queue_timer_set_resolution", + "snd_seq_get_queue_timer", + "snd_seq_set_queue_timer", + "snd_seq_free_event", + "snd_seq_event_length", + "snd_seq_event_output", + "snd_seq_event_output_buffer", + "snd_seq_event_output_direct", + "snd_seq_event_input", + "snd_seq_event_input_pending", + "snd_seq_drain_output", + "snd_seq_event_output_pending", + "snd_seq_extract_output", + "snd_seq_drop_output", + "snd_seq_drop_output_buffer", + "snd_seq_drop_input", + "snd_seq_drop_input_buffer", + "snd_seq_remove_events_sizeof", + "snd_seq_remove_events_malloc", + "snd_seq_remove_events_free", + "snd_seq_remove_events_copy", + "snd_seq_remove_events_get_condition", + "snd_seq_remove_events_get_queue", + "snd_seq_remove_events_get_time", + "snd_seq_remove_events_get_dest", + "snd_seq_remove_events_get_channel", + "snd_seq_remove_events_get_event_type", + "snd_seq_remove_events_get_tag", + "snd_seq_remove_events_set_condition", + "snd_seq_remove_events_set_queue", + "snd_seq_remove_events_set_time", + "snd_seq_remove_events_set_dest", + "snd_seq_remove_events_set_channel", + "snd_seq_remove_events_set_event_type", + "snd_seq_remove_events_set_tag", + "snd_seq_remove_events", + "snd_seq_set_bit", + "snd_seq_unset_bit", + "snd_seq_change_bit", + "snd_seq_get_bit", + "snd_seq_control_queue", + "snd_seq_create_simple_port", + "snd_seq_delete_simple_port", + "snd_seq_connect_from", + "snd_seq_connect_to", + "snd_seq_disconnect_from", + "snd_seq_disconnect_to", + "snd_seq_set_client_name", + "snd_seq_set_client_event_filter", + "snd_seq_set_client_pool_output", + "snd_seq_set_client_pool_output_room", + "snd_seq_set_client_pool_input", + "snd_seq_sync_output_queue", + "snd_seq_parse_address", + "snd_seq_reset_pool_output", + "snd_seq_reset_pool_input", + "snd_midi_event_new", + "snd_midi_event_resize_buffer", + "snd_midi_event_free", + "snd_midi_event_init", + "snd_midi_event_reset_encode", + "snd_midi_event_reset_decode", + "snd_midi_event_no_status", + "snd_midi_event_encode", + "snd_midi_event_encode_byte", + "snd_midi_event_decode" + ] + }, + "drivers/alsa/audio_driver_alsa.h": { + "classes": [ + "AudioDriverALSA" + ], + "structs": [], + "defines": [ + "AUDIO_DRIVER_ALSA_H" + ] + }, + "drivers/windows/file_access_windows.h": { + "classes": [ + "FileAccessWindows" + ], + "structs": [], + "defines": [ + "FILE_ACCESS_WINDOWS_H" + ] + }, + "drivers/windows/dir_access_windows.h": { + "classes": [ + "DirAccessWindows" + ], + "structs": [], + "defines": [ + "DIR_ACCESS_WINDOWS_H" + ] + }, + "drivers/coreaudio/audio_driver_coreaudio.h": { + "classes": [ + "AudioDriverCoreAudio" + ], + "structs": [], + "defines": [ + "AUDIO_DRIVER_COREAUDIO_H" + ] + }, + "drivers/alsamidi/midi_driver_alsamidi.h": { + "classes": [ + "MIDIDriverALSAMidi", + "InputConnection", + "MessageCategory" + ], + "structs": [], + "defines": [ + "MIDI_DRIVER_ALSAMIDI_H" + ] + }, + "core/core_globals.h": { + "classes": [ + "CoreGlobals" + ], + "structs": [], + "defines": [ + "CORE_GLOBALS_H" + ] + }, + "core/version.h": { + "classes": [], + "structs": [], + "defines": [ + "VERSION_H", + "_STR", + "_MKSTR", + "VERSION_BRANCH", + "VERSION_NUMBER", + "VERSION_NUMBER", + "VERSION_HEX", + "VERSION_FULL_CONFIG", + "VERSION_FULL_BUILD", + "VERSION_FULL_NAME" + ] + }, + "core/typedefs.h": { + "classes": [], + "structs": [ + "Comparator", + "_GlobalLock", + "IndexSequence", + "BuildIndexSequence" + ], + "defines": [ + "TYPEDEFS_H", + "_STR", + "_MKSTR", + "_ALWAYS_INLINE_", + "_ALWAYS_INLINE_", + "_ALWAYS_INLINE_", + "_FORCE_INLINE_", + "_FORCE_INLINE_", + "_NO_DISCARD_", + "_ALLOW_DISCARD_", + "SWAP", + "BSWAP16", + "BSWAP32", + "BSWAP64", + "BSWAP16", + "BSWAP32", + "BSWAP64", + "GLOBAL_LOCK_FUNCTION", + "likely", + "unlikely", + "likely", + "unlikely", + "_PRINTF_FORMAT_ATTRIBUTE_2_0", + "_PRINTF_FORMAT_ATTRIBUTE_2_3", + "_PRINTF_FORMAT_ATTRIBUTE_2_0", + "_PRINTF_FORMAT_ATTRIBUTE_2_3", + "CAST_INT_TO_UCHAR_PTR", + "MAX_RECURSION", + "DEBUG_METHODS_ENABLED", + "__GDARG_PLACEHOLDER_1", + "__gd_take_second_arg", + "____gd_is_defined", + "___gd_is_defined", + "GD_IS_DEFINED" + ] + }, + "core/doc_data.h": { + "classes": [ + "DocData" + ], + "structs": [ + "ScriptMemberInfo", + "ArgumentDoc", + "MethodDoc", + "ConstantDoc", + "PropertyDoc", + "ThemeItemDoc", + "TutorialDoc", + "EnumDoc", + "ClassDoc" + ], + "defines": [ + "DOC_DATA_H" + ] + }, + "core/authors.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "AUTHORS_GEN_H" + ] + }, + "core/version_generated.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "VERSION_GENERATED_GEN_H", + "VERSION_SHORT_NAME", + "VERSION_NAME", + "VERSION_MAJOR", + "VERSION_MINOR", + "VERSION_PATCH", + "VERSION_STATUS", + "VERSION_BUILD", + "VERSION_MODULE_CONFIG", + "VERSION_WEBSITE", + "VERSION_DOCS_BRANCH", + "VERSION_DOCS_URL" + ] + }, + "core/license.gen.h": { + "classes": [], + "structs": [ + "ComponentCopyrightPart", + "ComponentCopyright" + ], + "defines": [ + "LICENSE_GEN_H" + ] + }, + "core/disabled_classes.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "DISABLED_CLASSES_GEN_H" + ] + }, + "core/core_string_names.h": { + "classes": [ + "CoreStringNames" + ], + "structs": [], + "defines": [ + "CORE_STRING_NAMES_H" + ] + }, + "core/core_constants.h": { + "classes": [ + "CoreConstants" + ], + "structs": [], + "defines": [ + "CORE_CONSTANTS_H" + ] + }, + "core/core_bind.h": { + "classes": [ + "ResourceLoader", + "ResourceSaver", + "OS", + "Geometry2D", + "Geometry3D", + "Marshalls", + "Mutex", + "Semaphore", + "Thread", + "ClassDB", + "Engine", + "EngineDebugger" + ], + "structs": [], + "defines": [ + "CORE_BIND_H" + ] + }, + "core/donors.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "DONORS_GEN_H" + ] + }, + "core/register_core_types.h": { + "classes": [], + "structs": [], + "defines": [ + "REGISTER_CORE_TYPES_H" + ] + }, + "core/crypto/crypto.h": { + "classes": [ + "CryptoKey", + "X509Certificate", + "TLSOptions", + "HMACContext", + "Crypto", + "ResourceFormatLoaderCrypto", + "ResourceFormatSaverCrypto" + ], + "structs": [], + "defines": [ + "CRYPTO_H" + ] + }, + "core/crypto/hashing_context.h": { + "classes": [ + "HashingContext" + ], + "structs": [], + "defines": [ + "HASHING_CONTEXT_H" + ] + }, + "core/crypto/aes_context.h": { + "classes": [ + "AESContext" + ], + "structs": [], + "defines": [ + "AES_CONTEXT_H" + ] + }, + "core/crypto/crypto_core.h": { + "classes": [ + "CryptoCore", + "RandomGenerator", + "MD5Context", + "SHA1Context", + "SHA256Context", + "AESContext" + ], + "structs": [], + "defines": [ + "CRYPTO_CORE_H" + ] + }, + "core/extension/extension_api_dump.h": { + "classes": [ + "GDExtensionAPIDump" + ], + "structs": [], + "defines": [ + "EXTENSION_API_DUMP_H" + ] + }, + "core/extension/gdnative_interface_dump.gen.h": { + "classes": [ + "GDNativeInterfaceDump" + ], + "structs": [], + "defines": [ + "GDNATIVE_INTERFACE_DUMP_H", + "GDNATIVE_INTERFACE_H" + ] + }, + "core/extension/gdextension_interface.h": { + "classes": [], + "structs": [], + "defines": [ + "GDEXTENSION_INTERFACE_H" + ] + }, + "core/extension/gdextension_interface_dump.gen.h": { + "classes": [ + "GDExtensionInterfaceDump" + ], + "structs": [], + "defines": [ + "GDEXTENSION_INTERFACE_DUMP_H" + ] + }, + "core/extension/gdextension_compat_hashes.h": { + "classes": [ + "GDExtensionCompatHashes" + ], + "structs": [ + "Mapping" + ], + "defines": [ + "GDEXTENSION_COMPAT_HASHES_H" + ] + }, + "core/extension/gdextension_manager.h": { + "classes": [ + "GDExtensionManager" + ], + "structs": [], + "defines": [ + "GDEXTENSION_MANAGER_H" + ] + }, + "core/extension/gdextension.h": { + "classes": [ + "GDExtension", + "GDExtensionResourceLoader", + "GDExtensionEditorPlugins", + "GDExtensionEditorHelp" + ], + "structs": [ + "Extension", + "InstanceState", + "ClassCreationDeprecatedInfo" + ], + "defines": [ + "GDEXTENSION_H" + ] + }, + "core/config/project_settings.h": { + "classes": [ + "ProjectSettings" + ], + "structs": [ + "AutoloadInfo", + "VariantContainer" + ], + "defines": [ + "PROJECT_SETTINGS_H", + "GLOBAL_DEF", + "GLOBAL_DEF_RST", + "GLOBAL_DEF_NOVAL", + "GLOBAL_DEF_RST_NOVAL", + "GLOBAL_GET", + "GLOBAL_DEF_BASIC", + "GLOBAL_DEF_RST_BASIC", + "GLOBAL_DEF_NOVAL_BASIC", + "GLOBAL_DEF_RST_NOVAL_BASIC", + "GLOBAL_DEF_INTERNAL" + ] + }, + "core/config/engine.h": { + "classes": [ + "Engine" + ], + "structs": [ + "Singleton" + ], + "defines": [ + "ENGINE_H" + ] + }, + "core/input/shortcut.h": { + "classes": [ + "Shortcut" + ], + "structs": [], + "defines": [ + "SHORTCUT_H" + ] + }, + "core/input/input_event.h": { + "classes": [ + "InputEvent", + "InputEventFromWindow", + "InputEventWithModifiers", + "InputEventKey", + "InputEventMouse", + "InputEventMouseButton", + "InputEventMouseMotion", + "InputEventJoypadMotion", + "InputEventJoypadButton", + "InputEventScreenTouch", + "InputEventScreenDrag", + "InputEventAction", + "InputEventGesture", + "InputEventMagnifyGesture", + "InputEventPanGesture", + "InputEventMIDI", + "InputEventShortcut" + ], + "structs": [], + "defines": [ + "INPUT_EVENT_H" + ] + }, + "core/input/input.h": { + "classes": [ + "Input" + ], + "structs": [ + "ActionState", + "DeviceState", + "ActionStateCache", + "VibrationInfo", + "VelocityTrack", + "Joypad", + "JoyEvent", + "JoyBinding", + "JoyDeviceMapping" + ], + "defines": [ + "INPUT_H" + ] + }, + "core/input/input_map.h": { + "classes": [ + "InputMap" + ], + "structs": [ + "Action" + ], + "defines": [ + "INPUT_MAP_H" + ] + }, + "core/input/default_controller_mappings.h": { + "classes": [ + "DefaultControllerMappings" + ], + "structs": [], + "defines": [ + "DEFAULT_CONTROLLER_MAPPINGS_H" + ] + }, + "core/input/input_enums.h": { + "classes": [ + "HatDir", + "HatMask", + "JoyAxis", + "JoyButton", + "MIDIMessage", + "MouseButton", + "MouseButtonMask" + ], + "structs": [], + "defines": [ + "INPUT_ENUMS_H" + ] + }, + "core/io/http_client_tcp.h": { + "classes": [ + "HTTPClientTCP" + ], + "structs": [], + "defines": [ + "HTTP_CLIENT_TCP_H" + ] + }, + "core/io/file_access_compressed.h": { + "classes": [ + "FileAccessCompressed" + ], + "structs": [ + "ReadBlock" + ], + "defines": [ + "FILE_ACCESS_COMPRESSED_H" + ] + }, + "core/io/http_client.h": { + "classes": [ + "HTTPClient" + ], + "structs": [], + "defines": [ + "HTTP_CLIENT_H" + ] + }, + "core/io/stream_peer.h": { + "classes": [ + "StreamPeer", + "StreamPeerExtension", + "StreamPeerBuffer" + ], + "structs": [], + "defines": [ + "STREAM_PEER_H" + ] + }, + "core/io/image_loader.h": { + "classes": [ + "ImageFormatLoader", + "ImageFormatLoaderExtension", + "ImageLoader", + "ResourceFormatLoaderImage" + ], + "structs": [], + "defines": [ + "IMAGE_LOADER_H" + ] + }, + "core/io/file_access_pack.h": { + "classes": [ + "PackedData", + "PackSource", + "PackedSourcePCK", + "FileAccessPack", + "DirAccessPack" + ], + "structs": [ + "PackedFile", + "PackedDir", + "PathMD5" + ], + "defines": [ + "FILE_ACCESS_PACK_H", + "PACK_HEADER_MAGIC", + "PACK_FORMAT_VERSION" + ] + }, + "core/io/tcp_server.h": { + "classes": [ + "TCPServer" + ], + "structs": [], + "defines": [ + "TCP_SERVER_H" + ] + }, + "core/io/resource_importer.h": { + "classes": [ + "ResourceFormatImporter", + "ResourceImporter", + "ResourceFormatImporterSaver" + ], + "structs": [ + "PathAndType", + "SortImporterByName", + "ImportOption" + ], + "defines": [ + "RESOURCE_IMPORTER_H" + ] + }, + "core/io/stream_peer_tls.h": { + "classes": [ + "StreamPeerTLS" + ], + "structs": [], + "defines": [ + "STREAM_PEER_TLS_H" + ] + }, + "core/io/net_socket.h": { + "classes": [ + "NetSocket" + ], + "structs": [], + "defines": [ + "NET_SOCKET_H" + ] + }, + "core/io/config_file.h": { + "classes": [ + "ConfigFile" + ], + "structs": [], + "defines": [ + "CONFIG_FILE_H" + ] + }, + "core/io/resource_loader.h": { + "classes": [ + "ResourceFormatLoader", + "ResourceLoader" + ], + "structs": [ + "LoadToken", + "ThreadLoadTask" + ], + "defines": [ + "RESOURCE_LOADER_H" + ] + }, + "core/io/dir_access.h": { + "classes": [ + "DirAccess" + ], + "structs": [], + "defines": [ + "DIR_ACCESS_H" + ] + }, + "core/io/stream_peer_tcp.h": { + "classes": [ + "StreamPeerTCP" + ], + "structs": [], + "defines": [ + "STREAM_PEER_TCP_H" + ] + }, + "core/io/xml_parser.h": { + "classes": [ + "XMLParser" + ], + "structs": [ + "Attribute" + ], + "defines": [ + "XML_PARSER_H" + ] + }, + "core/io/packet_peer_dtls.h": { + "classes": [ + "PacketPeerDTLS" + ], + "structs": [], + "defines": [ + "PACKET_PEER_DTLS_H" + ] + }, + "core/io/file_access_zip.h": { + "classes": [ + "ZipArchive", + "FileAccessZip" + ], + "structs": [ + "File", + "Package" + ], + "defines": [ + "FILE_ACCESS_ZIP_H" + ] + }, + "core/io/file_access_memory.h": { + "classes": [ + "FileAccessMemory" + ], + "structs": [], + "defines": [ + "FILE_ACCESS_MEMORY_H" + ] + }, + "core/io/compression.h": { + "classes": [ + "Compression" + ], + "structs": [], + "defines": [ + "COMPRESSION_H" + ] + }, + "core/io/resource_saver.h": { + "classes": [ + "ResourceFormatSaver", + "ResourceSaver" + ], + "structs": [], + "defines": [ + "RESOURCE_SAVER_H" + ] + }, + "core/io/certs_compressed.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "CERTS_COMPRESSED_GEN_H", + "_SYSTEM_CERTS_PATH", + "BUILTIN_CERTS_ENABLED" + ] + }, + "core/io/dtls_server.h": { + "classes": [ + "DTLSServer" + ], + "structs": [], + "defines": [ + "DTLS_SERVER_H" + ] + }, + "core/io/file_access.h": { + "classes": [ + "FileAccess" + ], + "structs": [], + "defines": [ + "FILE_ACCESS_H" + ] + }, + "core/io/remote_filesystem_client.h": { + "classes": [ + "RemoteFilesystemClient" + ], + "structs": [ + "FileCache" + ], + "defines": [ + "REMOTE_FILESYSTEM_CLIENT_H" + ] + }, + "core/io/resource_uid.h": { + "classes": [ + "ResourceUID" + ], + "structs": [ + "Cache" + ], + "defines": [ + "RESOURCE_UID_H" + ] + }, + "core/io/pck_packer.h": { + "classes": [ + "PCKPacker" + ], + "structs": [ + "File" + ], + "defines": [ + "PCK_PACKER_H" + ] + }, + "core/io/packet_peer.h": { + "classes": [ + "PacketPeer", + "PacketPeerExtension", + "PacketPeerStream" + ], + "structs": [], + "defines": [ + "PACKET_PEER_H" + ] + }, + "core/io/json.h": { + "classes": [ + "JSON", + "ResourceFormatLoaderJSON", + "ResourceFormatSaverJSON" + ], + "structs": [ + "Token" + ], + "defines": [ + "JSON_H" + ] + }, + "core/io/stream_peer_gzip.h": { + "classes": [ + "StreamPeerGZIP" + ], + "structs": [], + "defines": [ + "STREAM_PEER_GZIP_H" + ] + }, + "core/io/packet_peer_udp.h": { + "classes": [ + "PacketPeerUDP" + ], + "structs": [], + "defines": [ + "PACKET_PEER_UDP_H" + ] + }, + "core/io/translation_loader_po.h": { + "classes": [ + "TranslationLoaderPO" + ], + "structs": [], + "defines": [ + "TRANSLATION_LOADER_PO_H" + ] + }, + "core/io/resource_format_binary.h": { + "classes": [ + "ResourceLoaderBinary", + "ResourceFormatLoaderBinary", + "ResourceFormatSaverBinaryInstance", + "ResourceFormatSaverBinary" + ], + "structs": [ + "ExtResource", + "IntResource", + "NonPersistentKey", + "Property", + "ResourceData" + ], + "defines": [ + "RESOURCE_FORMAT_BINARY_H" + ] + }, + "core/io/resource.h": { + "classes": [ + "Resource", + "ResourceCache" + ], + "structs": [], + "defines": [ + "RESOURCE_H", + "RES_BASE_EXTENSION" + ] + }, + "core/io/ip_address.h": { + "classes": [], + "structs": [ + "IPAddress" + ], + "defines": [ + "IP_ADDRESS_H" + ] + }, + "core/io/zip_io.h": { + "classes": [], + "structs": [], + "defines": [ + "ZIP_IO_H" + ] + }, + "core/io/logger.h": { + "classes": [ + "Logger", + "StdLogger", + "RotatedFileLogger", + "CompositeLogger" + ], + "structs": [], + "defines": [ + "LOGGER_H" + ] + }, + "core/io/ip.h": { + "classes": [ + "IP" + ], + "structs": [ + "Interface_Info" + ], + "defines": [ + "IP_H" + ] + }, + "core/io/marshalls.h": { + "classes": [ + "EncodedObjectAsID" + ], + "structs": [], + "defines": [ + "MARSHALLS_H" + ] + }, + "core/io/plist.h": { + "classes": [ + "PList", + "PListNode" + ], + "structs": [ + "PListTrailer" + ], + "defines": [ + "PLIST_H" + ] + }, + "core/io/udp_server.h": { + "classes": [ + "UDPServer" + ], + "structs": [ + "Peer" + ], + "defines": [ + "UDP_SERVER_H" + ] + }, + "core/io/packed_data_container.h": { + "classes": [ + "PackedDataContainer", + "PackedDataContainerRef" + ], + "structs": [ + "DictKey" + ], + "defines": [ + "PACKED_DATA_CONTAINER_H" + ] + }, + "core/io/image.h": { + "classes": [ + "Image" + ], + "structs": [], + "defines": [ + "IMAGE_H" + ] + }, + "core/io/missing_resource.h": { + "classes": [ + "MissingResource" + ], + "structs": [], + "defines": [ + "MISSING_RESOURCE_H", + "META_PROPERTY_MISSING_RESOURCES", + "META_MISSING_RESOURCES" + ] + }, + "core/io/file_access_encrypted.h": { + "classes": [ + "FileAccessEncrypted" + ], + "structs": [], + "defines": [ + "FILE_ACCESS_ENCRYPTED_H", + "ENCRYPTED_HEADER_MAGIC" + ] + }, + "core/math/geometry_2d.h": { + "classes": [ + "Geometry2D" + ], + "structs": [], + "defines": [ + "GEOMETRY_2D_H" + ] + }, + "core/math/a_star_grid_2d.h": { + "classes": [ + "AStarGrid2D" + ], + "structs": [ + "Point", + "SortPoints" + ], + "defines": [ + "A_STAR_GRID_2D_H" + ] + }, + "core/math/basis.h": { + "classes": [], + "structs": [], + "defines": [ + "BASIS_H" + ] + }, + "core/math/math_funcs.h": { + "classes": [ + "Math" + ], + "structs": [], + "defines": [ + "MATH_FUNCS_H" + ] + }, + "core/math/math_defs.h": { + "classes": [ + "EulerOrder" + ], + "structs": [], + "defines": [ + "MATH_DEFS_H", + "CMP_EPSILON", + "CMP_EPSILON2", + "CMP_NORMALIZE_TOLERANCE", + "CMP_POINT_IN_PLANE_EPSILON", + "Math_SQRT12", + "Math_SQRT2", + "Math_LN2", + "Math_TAU", + "Math_PI", + "Math_E", + "MATH_CHECKS", + "UNIT_EPSILON", + "UNIT_EPSILON", + "USEC_TO_SEC" + ] + }, + "core/math/bvh_tree.h": { + "classes": [ + "BVH_IterativeInfo", + "BVH_DummyPairTestFunction", + "BVH_DummyCullTestFunction", + "BVH_Tree" + ], + "structs": [ + "BVHCommon", + "BVHHandle" + ], + "defines": [ + "BVH_TREE_H", + "BVHABB_CLASS", + "BVH_EXPAND_LEAF_AABBS", + "BVH_VERBOSE", + "BVH_VERBOSE_TREE", + "BVH_VERBOSE_PAIRING", + "BVH_VERBOSE_MOVES", + "BVH_VERBOSE_FRAME", + "BVH_CHECKS", + "BVH_INTEGRITY_CHECKS", + "BVH_ASSERT", + "BVH_ASSERT", + "VERBOSE_PRINT", + "VERBOSE_PRINT" + ] + }, + "core/math/projection.h": { + "classes": [], + "structs": [], + "defines": [ + "PROJECTION_H" + ] + }, + "core/math/face3.h": { + "classes": [], + "structs": [], + "defines": [ + "FACE3_H", + "TEST_AXIS" + ] + }, + "core/math/geometry_3d.h": { + "classes": [ + "Geometry3D" + ], + "structs": [ + "MeshData", + "Face", + "Edge" + ], + "defines": [ + "GEOMETRY_3D_H", + "FINDMINMAX", + "AXISTEST_X01", + "AXISTEST_X2", + "AXISTEST_Y02", + "AXISTEST_Y1", + "AXISTEST_Z12", + "AXISTEST_Z0", + "STP" + ] + }, + "core/math/vector2.h": { + "classes": [], + "structs": [], + "defines": [ + "VECTOR2_H" + ] + }, + "core/math/static_raycaster.h": { + "classes": [ + "StaticRaycaster" + ], + "structs": [], + "defines": [ + "STATIC_RAYCASTER_H", + "__aligned", + "__aligned" + ] + }, + "core/math/random_number_generator.h": { + "classes": [ + "RandomNumberGenerator" + ], + "structs": [], + "defines": [ + "RANDOM_NUMBER_GENERATOR_H" + ] + }, + "core/math/quaternion.h": { + "classes": [], + "structs": [], + "defines": [ + "QUATERNION_H" + ] + }, + "core/math/color.h": { + "classes": [], + "structs": [], + "defines": [ + "COLOR_H" + ] + }, + "core/math/plane.h": { + "classes": [], + "structs": [], + "defines": [ + "PLANE_H" + ] + }, + "core/math/rect2.h": { + "classes": [], + "structs": [], + "defines": [ + "RECT2_H" + ] + }, + "core/math/vector4i.h": { + "classes": [], + "structs": [], + "defines": [ + "VECTOR4I_H" + ] + }, + "core/math/math_fieldwise.h": { + "classes": [], + "structs": [], + "defines": [ + "MATH_FIELDWISE_H" + ] + }, + "core/math/vector3i.h": { + "classes": [], + "structs": [], + "defines": [ + "VECTOR3I_H" + ] + }, + "core/math/bvh.h": { + "classes": [ + "BVH_Manager", + "BVHLockedFunction" + ], + "structs": [], + "defines": [ + "BVH_H", + "BVHTREE_CLASS", + "BVH_LOCKED_FUNCTION" + ] + }, + "core/math/expression.h": { + "classes": [ + "Expression" + ], + "structs": [ + "Input", + "Token", + "ENode", + "ExpressionNode", + "InputNode", + "ConstantNode", + "OperatorNode", + "SelfNode", + "IndexNode", + "NamedIndexNode", + "ConstructorNode", + "CallNode", + "ArrayNode", + "DictionaryNode", + "BuiltinFuncNode" + ], + "defines": [ + "EXPRESSION_H" + ] + }, + "core/math/rect2i.h": { + "classes": [], + "structs": [], + "defines": [ + "RECT2I_H" + ] + }, + "core/math/bvh_abb.h": { + "classes": [], + "structs": [ + "BVH_ABB", + "ConvexHull", + "Segment" + ], + "defines": [ + "BVH_ABB_H" + ] + }, + "core/math/audio_frame.h": { + "classes": [], + "structs": [ + "AudioFrame" + ], + "defines": [ + "AUDIO_FRAME_H" + ] + }, + "core/math/vector4.h": { + "classes": [], + "structs": [], + "defines": [ + "VECTOR4_H" + ] + }, + "core/math/vector2i.h": { + "classes": [], + "structs": [], + "defines": [ + "VECTOR2I_H" + ] + }, + "core/math/convex_hull.h": { + "classes": [ + "ConvexHullComputer", + "Edge" + ], + "structs": [], + "defines": [ + "CONVEX_HULL_H" + ] + }, + "core/math/quick_hull.h": { + "classes": [ + "QuickHull" + ], + "structs": [ + "Edge", + "Face", + "FaceConnect", + "RetFaceConnect" + ], + "defines": [ + "QUICK_HULL_H" + ] + }, + "core/math/random_pcg.h": { + "classes": [ + "RandomPCG" + ], + "structs": [], + "defines": [ + "RANDOM_PCG_H", + "CLZ32", + "CLZ32", + "LDEXP", + "LDEXPF", + "LDEXP", + "LDEXPF" + ] + }, + "core/math/triangulate.h": { + "classes": [ + "Triangulate" + ], + "structs": [], + "defines": [ + "TRIANGULATE_H" + ] + }, + "core/math/delaunay_2d.h": { + "classes": [ + "Delaunay2D" + ], + "structs": [ + "Triangle", + "Edge" + ], + "defines": [ + "DELAUNAY_2D_H" + ] + }, + "core/math/disjoint_set.h": { + "classes": [ + "DisjointSet" + ], + "structs": [ + "Element" + ], + "defines": [ + "DISJOINT_SET_H" + ] + }, + "core/math/a_star.h": { + "classes": [ + "AStar3D", + "AStar2D" + ], + "structs": [ + "Point", + "SortPoints", + "Segment" + ], + "defines": [ + "A_STAR_H" + ] + }, + "core/math/dynamic_bvh.h": { + "classes": [ + "DynamicBVH" + ], + "structs": [ + "ID", + "Volume", + "Node", + "DefaultQueryResult" + ], + "defines": [ + "DYNAMIC_BVH_H" + ] + }, + "core/math/transform_2d.h": { + "classes": [], + "structs": [], + "defines": [ + "TRANSFORM_2D_H" + ] + }, + "core/math/transform_3d.h": { + "classes": [], + "structs": [], + "defines": [ + "TRANSFORM_3D_H" + ] + }, + "core/math/triangle_mesh.h": { + "classes": [ + "TriangleMesh" + ], + "structs": [ + "Triangle", + "BVH", + "BVHCmpX", + "BVHCmpY", + "BVHCmpZ" + ], + "defines": [ + "TRIANGLE_MESH_H" + ] + }, + "core/math/aabb.h": { + "classes": [], + "structs": [], + "defines": [ + "AABB_H" + ] + }, + "core/math/vector3.h": { + "classes": [], + "structs": [], + "defines": [ + "VECTOR3_H" + ] + }, + "core/math/delaunay_3d.h": { + "classes": [ + "Delaunay3D" + ], + "structs": [ + "GridPos", + "Simplex", + "Triangle", + "TriangleHasher", + "OutputSimplex" + ], + "defines": [ + "DELAUNAY_3D_H" + ] + }, + "core/object/method_bind.h": { + "classes": [ + "MethodBind", + "MethodBindVarArgBase", + "MethodBindVarArgT", + "MethodBindVarArgTR", + "MethodBindT", + "MethodBindTC", + "MethodBindTR", + "MethodBindTRC", + "MethodBindTS", + "MethodBindTRS" + ], + "structs": [], + "defines": [ + "METHOD_BIND_H", + "MB_T", + "MB_T" + ] + }, + "core/object/object_id.h": { + "classes": [ + "ObjectID" + ], + "structs": [], + "defines": [ + "OBJECT_ID_H" + ] + }, + "core/object/callable_method_pointer.h": { + "classes": [ + "CallableCustomMethodPointerBase", + "CallableCustomMethodPointer", + "CallableCustomMethodPointerRet", + "CallableCustomMethodPointerRetC", + "CallableCustomStaticMethodPointer", + "CallableCustomStaticMethodPointerRet" + ], + "structs": [ + "Data", + "Data", + "Data", + "Data", + "Data" + ], + "defines": [ + "CALLABLE_METHOD_POINTER_H", + "callable_mp", + "callable_mp", + "callable_mp_static", + "callable_mp_static" + ] + }, + "core/object/script_language_extension.h": { + "classes": [ + "ScriptExtension", + "ScriptLanguageExtension", + "ScriptInstanceExtension" + ], + "structs": [ + "DeprecatedNativeInfo" + ], + "defines": [ + "SCRIPT_LANGUAGE_EXTENSION_H" + ] + }, + "core/object/class_db.h": { + "classes": [ + "ClassDB" + ], + "structs": [ + "MethodDefinition", + "PropertySetGet", + "ClassInfo", + "EnumInfo", + "NativeStruct" + ], + "defines": [ + "CLASS_DB_H", + "DEFVAL", + "D_METHOD", + "BIND_ENUM_CONSTANT", + "BIND_BITFIELD_FLAG", + "BIND_CONSTANT", + "BIND_METHOD_ERR_RETURN_DOC", + "BIND_METHOD_ERR_RETURN_DOC", + "GDREGISTER_CLASS", + "GDREGISTER_VIRTUAL_CLASS", + "GDREGISTER_ABSTRACT_CLASS", + "GDREGISTER_INTERNAL_CLASS", + "GDREGISTER_RUNTIME_CLASS", + "GDREGISTER_NATIVE_STRUCT" + ] + }, + "core/object/script_instance.h": { + "classes": [ + "ScriptInstance" + ], + "structs": [], + "defines": [ + "SCRIPT_INSTANCE_H" + ] + }, + "core/object/script_language.h": { + "classes": [ + "ScriptServer", + "Script", + "ScriptCodeCompletionCache", + "ScriptLanguage", + "PlaceHolderScriptInstance" + ], + "structs": [ + "GlobalScriptClass", + "Warning", + "ScriptError", + "ScriptTemplate", + "CodeCompletionOption", + "LookupResult", + "StackInfo", + "ProfilingInfo" + ], + "defines": [ + "SCRIPT_LANGUAGE_H" + ] + }, + "core/object/object.h": { + "classes": [ + "Object", + "ObjectDB" + ], + "structs": [ + "PropertyInfo", + "MethodInfo", + "ObjectGDExtension", + "Connection", + "SignalData", + "Slot", + "InstanceBinding", + "VirtualMethodTracker", + "ObjectSlot" + ], + "defines": [ + "OBJECT_H", + "ADD_SIGNAL", + "ADD_PROPERTY", + "ADD_PROPERTYI", + "ADD_PROPERTY_DEFAULT", + "ADD_GROUP", + "ADD_GROUP_INDENT", + "ADD_SUBGROUP", + "ADD_SUBGROUP_INDENT", + "ADD_LINKED_PROPERTY", + "ADD_ARRAY_COUNT", + "ADD_ARRAY_COUNT_WITH_USAGE_FLAGS", + "ADD_ARRAY", + "MAKE_RESOURCE_TYPE_HINT", + "GDVIRTUAL_CALL", + "GDVIRTUAL_CALL_PTR", + "GDVIRTUAL_REQUIRED_CALL", + "GDVIRTUAL_REQUIRED_CALL_PTR", + "GDVIRTUAL_BIND", + "GDVIRTUAL_BIND", + "GDVIRTUAL_IS_OVERRIDDEN", + "GDVIRTUAL_IS_OVERRIDDEN_PTR", + "REVERSE_GET_PROPERTY_LIST", + "UNREVERSE_GET_PROPERTY_LIST", + "GDCLASS", + "OBJ_SAVE_TYPE", + "MTVIRTUAL", + "MTVIRTUAL", + "OBJECTDB_VALIDATOR_BITS", + "OBJECTDB_VALIDATOR_MASK", + "OBJECTDB_SLOT_MAX_COUNT_BITS", + "OBJECTDB_SLOT_MAX_COUNT_MASK", + "OBJECTDB_REFERENCE_BIT" + ] + }, + "core/object/message_queue.h": { + "classes": [ + "CallQueue", + "MessageQueue" + ], + "structs": [ + "Page", + "Message" + ], + "defines": [ + "MESSAGE_QUEUE_H" + ] + }, + "core/object/undo_redo.h": { + "classes": [ + "UndoRedo" + ], + "structs": [ + "Operation", + "Action" + ], + "defines": [ + "UNDO_REDO_H" + ] + }, + "core/object/worker_thread_pool.h": { + "classes": [ + "WorkerThreadPool" + ], + "structs": [ + "BaseTemplateUserdata", + "Group", + "Task", + "ThreadData", + "TaskUserData", + "GroupUserData" + ], + "defines": [ + "WORKER_THREAD_POOL_H" + ] + }, + "core/object/ref_counted.h": { + "classes": [ + "RefCounted", + "Ref", + "WeakRef" + ], + "structs": [], + "defines": [ + "REF_COUNTED_H" + ] + }, + "core/debugger/engine_debugger.h": { + "classes": [ + "EngineDebugger", + "Profiler", + "Capture" + ], + "structs": [], + "defines": [ + "ENGINE_DEBUGGER_H" + ] + }, + "core/debugger/engine_profiler.h": { + "classes": [ + "EngineProfiler" + ], + "structs": [], + "defines": [ + "ENGINE_PROFILER_H" + ] + }, + "core/debugger/script_debugger.h": { + "classes": [ + "ScriptDebugger" + ], + "structs": [], + "defines": [ + "SCRIPT_DEBUGGER_H" + ] + }, + "core/debugger/remote_debugger_peer.h": { + "classes": [ + "RemoteDebuggerPeer", + "RemoteDebuggerPeerTCP" + ], + "structs": [], + "defines": [ + "REMOTE_DEBUGGER_PEER_H" + ] + }, + "core/debugger/debugger_marshalls.h": { + "classes": [], + "structs": [ + "DebuggerMarshalls", + "ScriptStackVariable", + "ScriptStackDump", + "OutputError" + ], + "defines": [ + "DEBUGGER_MARSHALLS_H" + ] + }, + "core/debugger/local_debugger.h": { + "classes": [ + "LocalDebugger" + ], + "structs": [], + "defines": [ + "LOCAL_DEBUGGER_H" + ] + }, + "core/debugger/remote_debugger.h": { + "classes": [ + "RemoteDebugger" + ], + "structs": [ + "OutputString", + "Message" + ], + "defines": [ + "REMOTE_DEBUGGER_H" + ] + }, + "core/variant/variant_callable.h": { + "classes": [ + "VariantCallable" + ], + "structs": [], + "defines": [ + "VARIANT_CALLABLE_H" + ] + }, + "core/variant/binder_common.h": { + "classes": [], + "structs": [ + "VariantCaster", + "VariantObjectClassChecker", + "VariantCasterAndValidate" + ], + "defines": [ + "BINDER_COMMON_H", + "VARIANT_ENUM_CAST", + "VARIANT_BITFIELD_CAST" + ] + }, + "core/variant/variant_op.h": { + "classes": [ + "OperatorEvaluatorAdd", + "OperatorEvaluatorSub", + "OperatorEvaluatorMul", + "OperatorEvaluatorPow", + "OperatorEvaluatorXForm", + "OperatorEvaluatorXFormInv", + "OperatorEvaluatorDiv", + "OperatorEvaluatorDivNZ", + "OperatorEvaluatorMod", + "OperatorEvaluatorModNZ", + "OperatorEvaluatorNeg", + "OperatorEvaluatorPos", + "OperatorEvaluatorShiftLeft", + "OperatorEvaluatorShiftRight", + "OperatorEvaluatorBitOr", + "OperatorEvaluatorBitAnd", + "OperatorEvaluatorBitXor", + "OperatorEvaluatorBitNeg", + "OperatorEvaluatorEqual", + "OperatorEvaluatorEqualObject", + "OperatorEvaluatorEqualObjectNil", + "OperatorEvaluatorEqualNilObject", + "OperatorEvaluatorNotEqual", + "OperatorEvaluatorNotEqualObject", + "OperatorEvaluatorNotEqualObjectNil", + "OperatorEvaluatorNotEqualNilObject", + "OperatorEvaluatorLess", + "OperatorEvaluatorLessEqual", + "OperatorEvaluatorGreater", + "OperatorEvaluatorGreaterEqual", + "OperatorEvaluatorAnd", + "OperatorEvaluatorOr", + "OperatorEvaluatorXor", + "OperatorEvaluatorNot", + "OperatorEvaluatorAddArray", + "OperatorEvaluatorAppendArray", + "OperatorEvaluatorStringConcat", + "OperatorEvaluatorStringFormat", + "OperatorEvaluatorAlwaysTrue", + "OperatorEvaluatorAlwaysFalse", + "m_class_name", + "OperatorEvaluatorNotBool", + "OperatorEvaluatorNotInt", + "OperatorEvaluatorNotFloat", + "OperatorEvaluatorNotObject", + "OperatorEvaluatorInArrayFind", + "OperatorEvaluatorInArrayFindNil", + "OperatorEvaluatorInArrayFindObject", + "OperatorEvaluatorInDictionaryHas", + "OperatorEvaluatorInDictionaryHasNil", + "OperatorEvaluatorInDictionaryHasObject", + "OperatorEvaluatorObjectHasPropertyString", + "OperatorEvaluatorObjectHasPropertyStringName" + ], + "structs": [], + "defines": [ + "VARIANT_OP_H", + "XOR_OP", + "OP_EVALUATOR" + ] + }, + "core/variant/variant_setget.h": { + "classes": [], + "structs": [], + "defines": [ + "VARIANT_SETGET_H", + "SETGET_STRUCT", + "SETGET_NUMBER_STRUCT", + "SETGET_STRUCT_CUSTOM", + "SETGET_NUMBER_STRUCT_CUSTOM", + "SETGET_STRUCT_FUNC", + "SETGET_NUMBER_STRUCT_FUNC", + "SETGET_STRUCT_FUNC_INDEX" + ] + }, + "core/variant/variant_destruct.h": { + "classes": [], + "structs": [ + "VariantDestruct" + ], + "defines": [ + "VARIANT_DESTRUCT_H", + "MAKE_PTRDESTRUCT" + ] + }, + "core/variant/variant_parser.h": { + "classes": [ + "VariantParser", + "VariantWriter" + ], + "structs": [ + "Stream", + "StreamFile", + "StreamString", + "ResourceParser", + "Token", + "Tag" + ], + "defines": [ + "VARIANT_PARSER_H" + ] + }, + "core/variant/variant_internal.h": { + "classes": [ + "VariantInternal" + ], + "structs": [ + "VariantGetInternalPtr", + "VariantInternalAccessor", + "VariantInitializer", + "VariantDefaultInitializer", + "VariantTypeChanger", + "VariantTypeAdjust", + "VariantTypeConstructor" + ], + "defines": [ + "VARIANT_INTERNAL_H", + "VARIANT_ACCESSOR_NUMBER", + "INITIALIZER_INT" + ] + }, + "core/variant/callable.h": { + "classes": [ + "Callable", + "CallableCustom", + "Signal" + ], + "structs": [ + "CallError", + "CallableComparator" + ], + "defines": [ + "CALLABLE_H" + ] + }, + "core/variant/variant_construct.h": { + "classes": [ + "VariantConstructor", + "VariantConstructorObject", + "VariantConstructorNilObject", + "VariantConstructorFromString", + "VariantConstructorCallableArgs", + "VariantConstructorSignalArgs", + "VariantConstructorTypedArray", + "VariantConstructorToArray", + "VariantConstructorFromArray", + "VariantConstructorNil", + "VariantConstructNoArgs", + "VariantConstructNoArgsNil", + "VariantConstructNoArgsObject" + ], + "structs": [ + "PtrConstruct" + ], + "defines": [ + "VARIANT_CONSTRUCT_H", + "MAKE_PTRCONSTRUCT" + ] + }, + "core/variant/container_type_validate.h": { + "classes": [], + "structs": [ + "ContainerTypeValidate" + ], + "defines": [ + "CONTAINER_TYPE_VALIDATE_H" + ] + }, + "core/variant/method_ptrcall.h": { + "classes": [], + "structs": [ + "PtrToArg" + ], + "defines": [ + "METHOD_PTRCALL_H", + "MAKE_PTRARG", + "MAKE_PTRARGCONV", + "MAKE_PTRARG_BY_REFERENCE", + "MAKE_VECARG", + "MAKE_VECARG_ALT", + "MAKE_VECARR", + "MAKE_DVECARR", + "MAKE_STRINGCONV_BY_REFERENCE" + ] + }, + "core/variant/dictionary.h": { + "classes": [ + "Dictionary" + ], + "structs": [], + "defines": [ + "DICTIONARY_H" + ] + }, + "core/variant/array.h": { + "classes": [ + "Array" + ], + "structs": [], + "defines": [ + "ARRAY_H" + ] + }, + "core/variant/callable_bind.h": { + "classes": [ + "CallableCustomBind", + "CallableCustomUnbind" + ], + "structs": [], + "defines": [ + "CALLABLE_BIND_H" + ] + }, + "core/variant/type_info.h": { + "classes": [ + "BitField" + ], + "structs": [ + "EnableIf", + "TypeInherits", + "ZeroInitializer" + ], + "defines": [ + "TYPE_INFO_H", + "MAKE_TYPE_INFO", + "MAKE_TYPE_INFO_WITH_META", + "MAKE_TEMPLATE_TYPE_INFO", + "TEMPL_MAKE_ENUM_TYPE_INFO", + "MAKE_ENUM_TYPE_INFO", + "TEMPL_MAKE_BITFIELD_TYPE_INFO", + "MAKE_BITFIELD_TYPE_INFO", + "CLASS_INFO", + "ZERO_INITIALIZER_NUMBER" + ] + }, + "core/variant/typed_array.h": { + "classes": [ + "TypedArray" + ], + "structs": [], + "defines": [ + "TYPED_ARRAY_H", + "MAKE_TYPED_ARRAY", + "MAKE_TYPED_ARRAY_INFO" + ] + }, + "core/variant/variant_utility.h": { + "classes": [], + "structs": [ + "VariantUtilityFunctions" + ], + "defines": [ + "VARIANT_UTILITY_H" + ] + }, + "core/variant/native_ptr.h": { + "classes": [], + "structs": [ + "GDExtensionConstPtr", + "GDExtensionPtr" + ], + "defines": [ + "NATIVE_PTR_H", + "GDVIRTUAL_NATIVE_PTR" + ] + }, + "core/variant/variant.h": { + "classes": [ + "Variant" + ], + "structs": [ + "Pools", + "ObjData", + "PackedArrayRefBase", + "PackedArrayRef", + "VariantHasher", + "VariantComparator", + "StringLikeVariantComparator" + ], + "defines": [ + "VARIANT_H", + "VARIANT_ENUM_CLASS_CONSTRUCTOR" + ] + }, + "core/templates/vmap.h": { + "classes": [ + "VMap" + ], + "structs": [ + "Pair" + ], + "defines": [ + "VMAP_H" + ] + }, + "core/templates/simple_type.h": { + "classes": [], + "structs": [ + "GetSimpleTypeT" + ], + "defines": [ + "SIMPLE_TYPE_H" + ] + }, + "core/templates/paged_array.h": { + "classes": [ + "PagedArrayPool", + "PagedArray" + ], + "structs": [ + "PageInfo" + ], + "defines": [ + "PAGED_ARRAY_H" + ] + }, + "core/templates/hash_map.h": { + "classes": [ + "HashMap" + ], + "structs": [ + "HashMapElement", + "ConstIterator", + "Iterator" + ], + "defines": [ + "HASH_MAP_H" + ] + }, + "core/templates/cowdata.h": { + "classes": [ + "CowData" + ], + "structs": [], + "defines": [ + "COWDATA_H" + ] + }, + "core/templates/safe_refcount.h": { + "classes": [ + "SafeNumeric", + "SafeFlag", + "SafeRefCount" + ], + "structs": [], + "defines": [ + "SAFE_REFCOUNT_H", + "SAFE_NUMERIC_TYPE_PUN_GUARANTEES", + "SAFE_FLAG_TYPE_PUN_GUARANTEES" + ] + }, + "core/templates/pass_func.h": { + "classes": [], + "structs": [], + "defines": [ + "PASS_FUNC_H", + "PASS0R", + "PASS0RC", + "PASS1R", + "PASS1RC", + "PASS2R", + "PASS2RC", + "PASS3R", + "PASS3RC", + "PASS4R", + "PASS4RC", + "PASS5R", + "PASS5RC", + "PASS6R", + "PASS6RC", + "PASS0", + "PASS1", + "PASS1C", + "PASS2", + "PASS2C", + "PASS3", + "PASS4", + "PASS5", + "PASS6", + "PASS7", + "PASS8", + "PASS9", + "PASS10", + "PASS11", + "PASS12", + "PASS13", + "PASS14", + "PASS15" + ] + }, + "core/templates/hashfuncs.h": { + "classes": [], + "structs": [ + "HashMapHasherDefault", + "HashableHasher", + "HashMapComparatorDefault" + ], + "defines": [ + "HASHFUNCS_H", + "HASH_MURMUR3_SEED" + ] + }, + "core/templates/ring_buffer.h": { + "classes": [ + "RingBuffer" + ], + "structs": [], + "defines": [ + "RING_BUFFER_H" + ] + }, + "core/templates/rb_set.h": { + "classes": [ + "RBSet", + "Element" + ], + "structs": [ + "Iterator", + "ConstIterator", + "_Data" + ], + "defines": [ + "RB_SET_H" + ] + }, + "core/templates/search_array.h": { + "classes": [ + "SearchArray" + ], + "structs": [], + "defines": [ + "SEARCH_ARRAY_H" + ] + }, + "core/templates/bin_sorted_array.h": { + "classes": [ + "BinSortedArray" + ], + "structs": [], + "defines": [ + "BIN_SORTED_ARRAY_H" + ] + }, + "core/templates/list.h": { + "classes": [ + "List", + "Element" + ], + "structs": [ + "Iterator", + "ConstIterator", + "_Data", + "AuxiliaryComparator" + ], + "defines": [ + "LIST_H" + ] + }, + "core/templates/safe_list.h": { + "classes": [ + "SafeList", + "Iterator" + ], + "structs": [ + "SafeListNode" + ], + "defines": [ + "SAFE_LIST_H" + ] + }, + "core/templates/lru.h": { + "classes": [ + "LRUCache" + ], + "structs": [ + "Pair" + ], + "defines": [ + "LRU_H" + ] + }, + "core/templates/sort_array.h": { + "classes": [ + "SortArray" + ], + "structs": [ + "_DefaultComparator" + ], + "defines": [ + "SORT_ARRAY_H", + "ERR_BAD_COMPARE", + "SORT_ARRAY_VALIDATE_ENABLED", + "SORT_ARRAY_VALIDATE_ENABLED" + ] + }, + "core/templates/rb_map.h": { + "classes": [ + "RBMap", + "Element" + ], + "structs": [ + "Iterator", + "ConstIterator", + "_Data" + ], + "defines": [ + "RB_MAP_H" + ] + }, + "core/templates/paged_allocator.h": { + "classes": [ + "PagedAllocator" + ], + "structs": [], + "defines": [ + "PAGED_ALLOCATOR_H" + ] + }, + "core/templates/self_list.h": { + "classes": [ + "SelfList", + "List" + ], + "structs": [], + "defines": [ + "SELF_LIST_H" + ] + }, + "core/templates/pair.h": { + "classes": [], + "structs": [ + "Pair", + "PairSort", + "PairHash", + "KeyValue", + "KeyValueSort" + ], + "defines": [ + "PAIR_H" + ] + }, + "core/templates/pooled_list.h": { + "classes": [ + "PooledList", + "TrackedPooledList" + ], + "structs": [], + "defines": [ + "POOLED_LIST_H" + ] + }, + "core/templates/local_vector.h": { + "classes": [ + "LocalVector" + ], + "structs": [ + "Iterator", + "ConstIterator" + ], + "defines": [ + "LOCAL_VECTOR_H" + ] + }, + "core/templates/command_queue_mt.h": { + "classes": [ + "CommandQueueMT" + ], + "structs": [ + "SyncSemaphore", + "CommandBase", + "SyncCommand" + ], + "defines": [ + "COMMAND_QUEUE_MT_H", + "COMMA", + "_COMMA_0", + "_COMMA_1", + "_COMMA_2", + "_COMMA_3", + "_COMMA_4", + "_COMMA_5", + "_COMMA_6", + "_COMMA_7", + "_COMMA_8", + "_COMMA_9", + "_COMMA_10", + "_COMMA_11", + "_COMMA_12", + "_COMMA_13", + "_COMMA_14", + "_COMMA_15", + "COMMA_SEP_LIST", + "_COMMA_SEP_LIST_15", + "_COMMA_SEP_LIST_14", + "_COMMA_SEP_LIST_13", + "_COMMA_SEP_LIST_12", + "_COMMA_SEP_LIST_11", + "_COMMA_SEP_LIST_10", + "_COMMA_SEP_LIST_9", + "_COMMA_SEP_LIST_8", + "_COMMA_SEP_LIST_7", + "_COMMA_SEP_LIST_6", + "_COMMA_SEP_LIST_5", + "_COMMA_SEP_LIST_4", + "_COMMA_SEP_LIST_3", + "_COMMA_SEP_LIST_2", + "_COMMA_SEP_LIST_1", + "_COMMA_SEP_LIST_0", + "SEMIC_SEP_LIST", + "_SEMIC_SEP_LIST_15", + "_SEMIC_SEP_LIST_14", + "_SEMIC_SEP_LIST_13", + "_SEMIC_SEP_LIST_12", + "_SEMIC_SEP_LIST_11", + "_SEMIC_SEP_LIST_10", + "_SEMIC_SEP_LIST_9", + "_SEMIC_SEP_LIST_8", + "_SEMIC_SEP_LIST_7", + "_SEMIC_SEP_LIST_6", + "_SEMIC_SEP_LIST_5", + "_SEMIC_SEP_LIST_4", + "_SEMIC_SEP_LIST_3", + "_SEMIC_SEP_LIST_2", + "_SEMIC_SEP_LIST_1", + "_SEMIC_SEP_LIST_0", + "SPACE_SEP_LIST", + "_SPACE_SEP_LIST_15", + "_SPACE_SEP_LIST_14", + "_SPACE_SEP_LIST_13", + "_SPACE_SEP_LIST_12", + "_SPACE_SEP_LIST_11", + "_SPACE_SEP_LIST_10", + "_SPACE_SEP_LIST_9", + "_SPACE_SEP_LIST_8", + "_SPACE_SEP_LIST_7", + "_SPACE_SEP_LIST_6", + "_SPACE_SEP_LIST_5", + "_SPACE_SEP_LIST_4", + "_SPACE_SEP_LIST_3", + "_SPACE_SEP_LIST_2", + "_SPACE_SEP_LIST_1", + "_SPACE_SEP_LIST_0", + "ARG", + "PARAM", + "TYPE_PARAM", + "PARAM_DECL", + "DECL_CMD", + "DECL_CMD_RET", + "DECL_CMD_SYNC", + "TYPE_ARG", + "CMD_TYPE", + "CMD_ASSIGN_PARAM", + "DECL_PUSH", + "CMD_RET_TYPE", + "DECL_PUSH_AND_RET", + "CMD_SYNC_TYPE", + "DECL_PUSH_AND_SYNC", + "MAX_CMD_PARAMS" + ] + }, + "core/templates/vset.h": { + "classes": [ + "VSet" + ], + "structs": [], + "defines": [ + "VSET_H" + ] + }, + "core/templates/rid.h": { + "classes": [ + "RID" + ], + "structs": [], + "defines": [ + "RID_H" + ] + }, + "core/templates/vector.h": { + "classes": [ + "VectorWriteProxy", + "Vector" + ], + "structs": [ + "Iterator", + "ConstIterator" + ], + "defines": [ + "VECTOR_H" + ] + }, + "core/templates/hash_set.h": { + "classes": [ + "HashSet" + ], + "structs": [ + "Iterator" + ], + "defines": [ + "HASH_SET_H" + ] + }, + "core/templates/rid_owner.h": { + "classes": [ + "RID_AllocBase", + "RID_Alloc", + "RID_PtrOwner", + "RID_Owner" + ], + "structs": [], + "defines": [ + "RID_OWNER_H" + ] + }, + "core/templates/oa_hash_map.h": { + "classes": [ + "OAHashMap" + ], + "structs": [ + "Iterator" + ], + "defines": [ + "OA_HASH_MAP_H" + ] + }, + "core/os/time.h": { + "classes": [ + "Time" + ], + "structs": [], + "defines": [ + "TIME_H" + ] + }, + "core/os/semaphore.h": { + "classes": [ + "Semaphore", + "Semaphore" + ], + "structs": [], + "defines": [ + "SEMAPHORE_H", + "MINGW_STDTHREAD_REDUNDANCY_WARNING", + "THREADING_NAMESPACE", + "THREADING_NAMESPACE" + ] + }, + "core/os/condition_variable.h": { + "classes": [ + "ConditionVariable", + "ConditionVariable" + ], + "structs": [], + "defines": [ + "CONDITION_VARIABLE_H", + "MINGW_STDTHREAD_REDUNDANCY_WARNING", + "THREADING_NAMESPACE", + "THREADING_NAMESPACE" + ] + }, + "core/os/time_enums.h": { + "classes": [], + "structs": [], + "defines": [ + "TIME_ENUMS_H" + ] + }, + "core/os/midi_driver.h": { + "classes": [ + "MIDIDriver" + ], + "structs": [], + "defines": [ + "MIDI_DRIVER_H" + ] + }, + "core/os/rw_lock.h": { + "classes": [ + "RWLock", + "RWLockRead", + "RWLockWrite" + ], + "structs": [], + "defines": [ + "RW_LOCK_H", + "MINGW_STDTHREAD_REDUNDANCY_WARNING", + "THREADING_NAMESPACE", + "THREADING_NAMESPACE" + ] + }, + "core/os/os.h": { + "classes": [ + "OS" + ], + "structs": [ + "DateTime", + "TimeZoneInfo" + ], + "defines": [ + "OS_H" + ] + }, + "core/os/safe_binary_mutex.h": { + "classes": [ + "SafeBinaryMutex", + "SafeBinaryMutex" + ], + "structs": [], + "defines": [ + "SAFE_BINARY_MUTEX_H" + ] + }, + "core/os/thread_safe.h": { + "classes": [], + "structs": [], + "defines": [ + "THREAD_SAFE_H", + "_THREAD_SAFE_CLASS_", + "_THREAD_SAFE_METHOD_", + "_THREAD_SAFE_LOCK_", + "_THREAD_SAFE_UNLOCK_" + ] + }, + "core/os/thread.h": { + "classes": [ + "Thread", + "Thread" + ], + "structs": [ + "Settings", + "PlatformFunctions", + "Settings", + "PlatformFunctions" + ], + "defines": [ + "THREAD_H", + "MINGW_STDTHREAD_REDUNDANCY_WARNING", + "THREADING_NAMESPACE", + "THREADING_NAMESPACE" + ] + }, + "core/os/keyboard.h": { + "classes": [ + "Key", + "KeyModifierMask", + "KeyLocation" + ], + "structs": [], + "defines": [ + "KEYBOARD_H" + ] + }, + "core/os/memory.h": { + "classes": [ + "Memory", + "DefaultAllocator", + "DefaultTypedAllocator" + ], + "structs": [ + "_GlobalNil", + "_GlobalNilClass" + ], + "defines": [ + "MEMORY_H", + "memalloc", + "memrealloc", + "memfree", + "memnew", + "memnew_allocator", + "memnew_placement", + "memdelete_notnull", + "memnew_arr" + ] + }, + "core/os/spin_lock.h": { + "classes": [ + "SpinLock", + "SpinLock" + ], + "structs": [], + "defines": [ + "SPIN_LOCK_H" + ] + }, + "core/os/mutex.h": { + "classes": [ + "MutexImpl", + "MutexLock", + "MutexImpl", + "MutexLock" + ], + "structs": [], + "defines": [ + "MUTEX_H", + "MINGW_STDTHREAD_REDUNDANCY_WARNING", + "THREADING_NAMESPACE", + "THREADING_NAMESPACE" + ] + }, + "core/os/pool_allocator.h": { + "classes": [ + "PoolAllocator" + ], + "structs": [ + "Entry" + ], + "defines": [ + "POOL_ALLOCATOR_H" + ] + }, + "core/os/main_loop.h": { + "classes": [ + "MainLoop" + ], + "structs": [], + "defines": [ + "MAIN_LOOP_H" + ] + }, + "core/string/ucaps.h": { + "classes": [], + "structs": [], + "defines": [ + "UCAPS_H", + "CAPS_LEN" + ] + }, + "core/string/print_string.h": { + "classes": [], + "structs": [ + "PrintHandlerList" + ], + "defines": [ + "PRINT_STRING_H", + "print_verbose" + ] + }, + "core/string/ustring.h": { + "classes": [ + "CharProxy", + "Char16String", + "CharString", + "String" + ], + "structs": [ + "StrRange", + "NoCaseComparator", + "NaturalNoCaseComparator" + ], + "defines": [ + "USTRING_GODOT_H", + "TTRC", + "TTRGET", + "TTRC", + "TTRGET", + "PNAME", + "GNAME" + ] + }, + "core/string/string_builder.h": { + "classes": [ + "StringBuilder" + ], + "structs": [], + "defines": [ + "STRING_BUILDER_H" + ] + }, + "core/string/char_utils.h": { + "classes": [], + "structs": [], + "defines": [ + "CHAR_UTILS_H", + "BSEARCH_CHAR_RANGE" + ] + }, + "core/string/node_path.h": { + "classes": [ + "NodePath" + ], + "structs": [ + "Data" + ], + "defines": [ + "NODE_PATH_H" + ] + }, + "core/string/translation.h": { + "classes": [ + "Translation", + "TranslationServer" + ], + "structs": [ + "LocaleScriptInfo" + ], + "defines": [ + "TRANSLATION_H" + ] + }, + "core/string/string_buffer.h": { + "classes": [ + "StringBuffer" + ], + "structs": [], + "defines": [ + "STRING_BUFFER_H" + ] + }, + "core/string/string_name.h": { + "classes": [ + "StringName" + ], + "structs": [ + "StaticCString", + "_Data", + "DebugSortReferences", + "AlphCompare" + ], + "defines": [ + "STRING_NAME_H", + "UNIQUE_NODE_PREFIX", + "SNAME" + ] + }, + "core/string/translation_po.h": { + "classes": [ + "TranslationPO" + ], + "structs": [], + "defines": [ + "TRANSLATION_PO_H", + "DEBUG_TRANSLATION_PO" + ] + }, + "core/string/optimized_translation.h": { + "classes": [ + "OptimizedTranslation" + ], + "structs": [ + "Bucket", + "Elem" + ], + "defines": [ + "OPTIMIZED_TRANSLATION_H" + ] + }, + "core/string/locales.h": { + "classes": [], + "structs": [], + "defines": [ + "LOCALES_H" + ] + }, + "core/error/error_macros.h": { + "classes": [], + "structs": [ + "ErrorHandlerList" + ], + "defines": [ + "ERROR_MACROS_H", + "FUNCTION_STR", + "FUNCTION_STR", + "FUNCTION_STR", + "GENERATE_TRAP", + "GENERATE_TRAP", + "ERR_FAIL_INDEX", + "ERR_FAIL_INDEX_MSG", + "ERR_FAIL_INDEX_EDMSG", + "ERR_FAIL_INDEX_V", + "ERR_FAIL_INDEX_V_MSG", + "ERR_FAIL_INDEX_V_EDMSG", + "CRASH_BAD_INDEX", + "CRASH_BAD_INDEX_MSG", + "ERR_FAIL_UNSIGNED_INDEX", + "ERR_FAIL_UNSIGNED_INDEX_MSG", + "ERR_FAIL_UNSIGNED_INDEX_EDMSG", + "ERR_FAIL_UNSIGNED_INDEX_V", + "ERR_FAIL_UNSIGNED_INDEX_V_MSG", + "ERR_FAIL_UNSIGNED_INDEX_V_EDMSG", + "CRASH_BAD_UNSIGNED_INDEX", + "CRASH_BAD_UNSIGNED_INDEX_MSG", + "ERR_FAIL_NULL", + "ERR_FAIL_NULL_MSG", + "ERR_FAIL_NULL_EDMSG", + "ERR_FAIL_NULL_V", + "ERR_FAIL_NULL_V_MSG", + "ERR_FAIL_NULL_V_EDMSG", + "ERR_FAIL_COND", + "ERR_FAIL_COND_MSG", + "ERR_FAIL_COND_EDMSG", + "ERR_FAIL_COND_V", + "ERR_FAIL_COND_V_MSG", + "ERR_FAIL_COND_V_EDMSG", + "ERR_CONTINUE", + "ERR_CONTINUE_MSG", + "ERR_CONTINUE_EDMSG", + "ERR_BREAK", + "ERR_BREAK_MSG", + "ERR_BREAK_EDMSG", + "CRASH_COND", + "CRASH_COND_MSG", + "ERR_FAIL", + "ERR_FAIL_MSG", + "ERR_FAIL_EDMSG", + "ERR_FAIL_V", + "ERR_FAIL_V_MSG", + "ERR_FAIL_V_EDMSG", + "ERR_PRINT", + "ERR_PRINT_ED", + "ERR_PRINT_ONCE", + "ERR_PRINT_ONCE_ED", + "WARN_PRINT", + "WARN_PRINT_ED", + "WARN_PRINT_ONCE", + "WARN_PRINT_ONCE_ED", + "WARN_VERBOSE", + "WARN_DEPRECATED", + "WARN_DEPRECATED_MSG", + "CRASH_NOW", + "CRASH_NOW_MSG", + "DEV_ASSERT", + "DEV_ASSERT", + "DEV_CHECK_ONCE", + "DEV_CHECK_ONCE" + ] + }, + "core/error/error_list.h": { + "classes": [], + "structs": [], + "defines": [ + "ERROR_LIST_H" + ] + }, + "platform/register_platform_apis.h": { + "classes": [], + "structs": [], + "defines": [ + "REGISTER_PLATFORM_APIS_H" + ] + }, + "platform/macos/godot_status_item.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_STATUS_ITEM_H" + ] + }, + "platform/macos/godot_menu_item.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_MENU_ITEM_H", + "MENU_TAG_START", + "MENU_TAG_END" + ] + }, + "platform/macos/godot_button_view.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_BUTTON_VIEW_H" + ] + }, + "platform/macos/platform_gl.h": { + "classes": [], + "structs": [], + "defines": [ + "PLATFORM_GL_H", + "GL_API_ENABLED", + "GLES_API_ENABLED", + "KHRONOS_STATIC" + ] + }, + "platform/macos/platform_config.h": { + "classes": [], + "structs": [], + "defines": [ + "PTHREAD_RENAME_SELF", + "_weakify", + "_strongify" + ] + }, + "platform/macos/dir_access_macos.h": { + "classes": [ + "DirAccessMacOS" + ], + "structs": [], + "defines": [ + "DIR_ACCESS_MACOS_H" + ] + }, + "platform/macos/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/macos/godot_open_save_delegate.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_OPEN_SAVE_DELEGATE_H" + ] + }, + "platform/macos/macos_terminal_logger.h": { + "classes": [ + "MacOSTerminalLogger" + ], + "structs": [], + "defines": [ + "MACOS_TERMINAL_LOGGER_H" + ] + }, + "platform/macos/gl_manager_macos_legacy.h": { + "classes": [ + "GLManagerLegacy_MacOS" + ], + "structs": [ + "GLWindow" + ], + "defines": [ + "GL_MANAGER_MACOS_LEGACY_H" + ] + }, + "platform/macos/rendering_context_driver_vulkan_macos.h": { + "classes": [ + "RenderingContextDriverVulkanMacOS" + ], + "structs": [ + "WindowPlatformData" + ], + "defines": [ + "RENDERING_CONTEXT_DRIVER_VULKAN_MACOS_H" + ] + }, + "platform/macos/godot_application_delegate.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_APPLICATION_DELEGATE_H" + ] + }, + "platform/macos/godot_window.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_WINDOW_H" + ] + }, + "platform/macos/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/macos/os_macos.h": { + "classes": [ + "OS_MacOS" + ], + "structs": [], + "defines": [ + "OS_MACOS_H" + ] + }, + "platform/macos/godot_application.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_APPLICATION_H" + ] + }, + "platform/macos/tts_macos.h": { + "classes": [], + "structs": [], + "defines": [ + "TTS_MACOS_H" + ] + }, + "platform/macos/key_mapping_macos.h": { + "classes": [ + "KeyMappingMacOS" + ], + "structs": [], + "defines": [ + "KEY_MAPPING_MACOS_H" + ] + }, + "platform/macos/crash_handler_macos.h": { + "classes": [ + "CrashHandler" + ], + "structs": [], + "defines": [ + "CRASH_HANDLER_MACOS_H" + ] + }, + "platform/macos/display_server_macos.h": { + "classes": [ + "DisplayServerMacOS" + ], + "structs": [ + "KeyEvent", + "WindowData", + "WarpEvent", + "LayoutInfo", + "IndicatorData", + "MenuCall" + ], + "defines": [ + "DISPLAY_SERVER_MACOS_H", + "BitMap" + ] + }, + "platform/macos/gl_manager_macos_angle.h": { + "classes": [ + "GLManagerANGLE_MacOS" + ], + "structs": [], + "defines": [ + "GL_MANAGER_MACOS_ANGLE_H" + ] + }, + "platform/macos/logo.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/macos/godot_content_view.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_CONTENT_VIEW_H", + "RootView", + "RootView" + ] + }, + "platform/macos/joypad_macos.h": { + "classes": [ + "JoypadMacOS" + ], + "structs": [], + "defines": [ + "Key" + ] + }, + "platform/macos/godot_menu_delegate.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_MENU_DELEGATE_H" + ] + }, + "platform/macos/native_menu_macos.h": { + "classes": [ + "NativeMenuMacOS" + ], + "structs": [ + "MenuData" + ], + "defines": [ + "NATIVE_MENU_MACOS_H" + ] + }, + "platform/macos/godot_window_delegate.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_WINDOW_DELEGATE_H" + ] + }, + "platform/macos/export/codesign.h": { + "classes": [ + "CodeSignCodeResources", + "CRMatch", + "CodeSignBlob", + "CodeSignRequirements", + "CodeSignEntitlementsText", + "CodeSignEntitlementsBinary", + "CodeSignCodeDirectory", + "CodeSignSignature", + "CodeSignSuperBlob", + "CodeSign" + ], + "structs": [ + "CRFile", + "CRRule", + "CodeDirectoryHeader" + ], + "defines": [ + "MACOS_CODESIGN_H" + ] + }, + "platform/macos/export/lipo.h": { + "classes": [ + "LipO" + ], + "structs": [ + "FatArch" + ], + "defines": [ + "MACOS_LIPO_H" + ] + }, + "platform/macos/export/export.h": { + "classes": [], + "structs": [], + "defines": [ + "MACOS_EXPORT_H" + ] + }, + "platform/macos/export/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/macos/export/export_plugin.h": { + "classes": [ + "EditorExportPlatformMacOS" + ], + "structs": [ + "SSHCleanupCommand" + ], + "defines": [ + "MACOS_EXPORT_PLUGIN_H" + ] + }, + "platform/macos/export/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/macos/export/macho.h": { + "classes": [ + "MachO" + ], + "structs": [ + "MachHeader", + "LoadCommandHeader", + "LoadCommandSegment", + "LoadCommandSegment64", + "Section", + "Section64" + ], + "defines": [ + "MACOS_MACHO_H" + ] + }, + "platform/web/platform_gl.h": { + "classes": [], + "structs": [], + "defines": [ + "PLATFORM_GL_H", + "GLES_API_ENABLED" + ] + }, + "platform/web/platform_config.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/web/os_web.h": { + "classes": [ + "OS_Web" + ], + "structs": [], + "defines": [ + "OS_WEB_H" + ] + }, + "platform/web/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/web/godot_js.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_JS_H", + "WASM_EXPORT" + ] + }, + "platform/web/audio_driver_web.h": { + "classes": [ + "AudioDriverWeb", + "AudioDriverWorklet", + "AudioDriverWorklet", + "AudioDriverScriptProcessor" + ], + "structs": [ + "AudioContext" + ], + "defines": [ + "AUDIO_DRIVER_WEB_H" + ] + }, + "platform/web/godot_audio.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_AUDIO_H" + ] + }, + "platform/web/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/web/display_server_web.h": { + "classes": [ + "DisplayServerWeb" + ], + "structs": [ + "JSTouchEvent", + "JSKeyEvent", + "KeyEvent" + ], + "defines": [ + "DISPLAY_SERVER_WEB_H" + ] + }, + "platform/web/run_icon.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/web/logo.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/web/http_client_web.h": { + "classes": [ + "HTTPClientWeb" + ], + "structs": [], + "defines": [ + "HTTP_CLIENT_WEB_H" + ] + }, + "platform/web/godot_webgl2.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_WEBGL2_H", + "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR", + "GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR", + "GL_MAX_VIEWS_OVR", + "GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR", + "glFramebufferTextureMultiviewOVR", + "glFramebufferTextureMultisampleMultiviewOVR" + ] + }, + "platform/web/api/javascript_bridge_singleton.h": { + "classes": [ + "JavaScriptObject", + "JavaScriptBridge" + ], + "structs": [], + "defines": [ + "JAVASCRIPT_BRIDGE_SINGLETON_H" + ] + }, + "platform/web/api/api.h": { + "classes": [], + "structs": [], + "defines": [ + "WEB_API_H" + ] + }, + "platform/web/api/web_tools_editor_plugin.h": { + "classes": [ + "WebToolsEditorPlugin", + "WebToolsEditorPlugin" + ], + "structs": [], + "defines": [ + "WEB_TOOLS_EDITOR_PLUGIN_H" + ] + }, + "platform/web/export/export.h": { + "classes": [], + "structs": [], + "defines": [ + "WEB_EXPORT_H" + ] + }, + "platform/web/export/editor_http_server.h": { + "classes": [ + "EditorHTTPServer" + ], + "structs": [], + "defines": [ + "WEB_EDITOR_HTTP_SERVER_H" + ] + }, + "platform/web/export/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/web/export/export_plugin.h": { + "classes": [ + "EditorExportPlatformWeb" + ], + "structs": [], + "defines": [ + "WEB_EXPORT_PLUGIN_H" + ] + }, + "platform/web/export/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/keyboard_input_view.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/joypad_ios.h": { + "classes": [ + "JoypadIOS" + ], + "structs": [], + "defines": [] + }, + "platform/ios/ios.h": { + "classes": [ + "iOS" + ], + "structs": [], + "defines": [ + "IOS_H" + ] + }, + "platform/ios/godot_view_renderer.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/display_server_ios.h": { + "classes": [ + "DisplayServerIOS" + ], + "structs": [], + "defines": [ + "DISPLAY_SERVER_IOS_H" + ] + }, + "platform/ios/platform_gl.h": { + "classes": [], + "structs": [], + "defines": [ + "PLATFORM_GL_H", + "GLES_API_ENABLED" + ] + }, + "platform/ios/godot_app_delegate.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/platform_config.h": { + "classes": [], + "structs": [], + "defines": [ + "PTHREAD_RENAME_SELF", + "_weakify", + "_strongify" + ] + }, + "platform/ios/godot_view.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/view_controller.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/app_delegate.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/ios_terminal_logger.h": { + "classes": [ + "IOSTerminalLogger" + ], + "structs": [], + "defines": [ + "IOS_TERMINAL_LOGGER_H" + ] + }, + "platform/ios/os_ios.h": { + "classes": [ + "OS_IOS" + ], + "structs": [], + "defines": [ + "OS_IOS_H" + ] + }, + "platform/ios/device_metrics.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/rendering_context_driver_vulkan_ios.h": { + "classes": [ + "RenderingContextDriverVulkanIOS" + ], + "structs": [ + "WindowPlatformData" + ], + "defines": [ + "RENDERING_CONTEXT_DRIVER_VULKAN_IOS_H" + ] + }, + "platform/ios/logo.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/tts_ios.h": { + "classes": [], + "structs": [], + "defines": [ + "TTS_IOS_H" + ] + }, + "platform/ios/display_layer.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/key_mapping_ios.h": { + "classes": [ + "KeyMappingIOS" + ], + "structs": [], + "defines": [ + "KEY_MAPPING_IOS_H" + ] + }, + "platform/ios/api/api.h": { + "classes": [], + "structs": [], + "defines": [ + "IOS_API_H" + ] + }, + "platform/ios/export/export.h": { + "classes": [], + "structs": [], + "defines": [ + "IOS_EXPORT_H" + ] + }, + "platform/ios/export/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/export/export_plugin.h": { + "classes": [ + "EditorExportPlatformIOS" + ], + "structs": [ + "Device", + "IOSConfigData", + "ExportArchitecture", + "IOSExportAsset" + ], + "defines": [ + "IOS_EXPORT_PLUGIN_H" + ] + }, + "platform/ios/export/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/ios/export/godot_plugin_config.h": { + "classes": [], + "structs": [ + "PluginConfigIOS", + "PlistItem" + ], + "defines": [ + "IOS_GODOT_PLUGIN_CONFIG_H" + ] + }, + "platform/android/dir_access_jandroid.h": { + "classes": [ + "DirAccessJAndroid" + ], + "structs": [], + "defines": [ + "DIR_ACCESS_JANDROID_H" + ] + }, + "platform/android/os_android.h": { + "classes": [ + "OS_Android" + ], + "structs": [ + "FontInfo" + ], + "defines": [ + "OS_ANDROID_H" + ] + }, + "platform/android/tts_android.h": { + "classes": [ + "TTS_Android" + ], + "structs": [], + "defines": [ + "TTS_ANDROID_H" + ] + }, + "platform/android/platform_gl.h": { + "classes": [], + "structs": [], + "defines": [ + "PLATFORM_GL_H", + "GLES_API_ENABLED" + ] + }, + "platform/android/platform_config.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/android/java_godot_wrapper.h": { + "classes": [ + "GodotJavaWrapper" + ], + "structs": [], + "defines": [ + "JAVA_GODOT_WRAPPER_H" + ] + }, + "platform/android/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/android/android_keys_utils.h": { + "classes": [], + "structs": [ + "AndroidGodotCodePair", + "AndroidGodotLocationPair" + ], + "defines": [ + "ANDROID_KEYS_UTILS_H", + "AKEYCODE_MAX" + ] + }, + "platform/android/android_input_handler.h": { + "classes": [ + "AndroidInputHandler" + ], + "structs": [ + "TouchPos", + "MouseEventInfo", + "JoypadEvent" + ], + "defines": [ + "ANDROID_INPUT_HANDLER_H" + ] + }, + "platform/android/string_android.h": { + "classes": [], + "structs": [], + "defines": [ + "STRING_ANDROID_H" + ] + }, + "platform/android/audio_driver_opensl.h": { + "classes": [ + "AudioDriverOpenSL" + ], + "structs": [], + "defines": [ + "AUDIO_DRIVER_OPENSL_H" + ] + }, + "platform/android/thread_jandroid.h": { + "classes": [], + "structs": [], + "defines": [ + "THREAD_JANDROID_H" + ] + }, + "platform/android/jni_utils.h": { + "classes": [], + "structs": [ + "jvalret" + ], + "defines": [ + "JNI_UTILS_H" + ] + }, + "platform/android/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/android/java_godot_lib_jni.h": { + "classes": [], + "structs": [], + "defines": [ + "JAVA_GODOT_LIB_JNI_H" + ] + }, + "platform/android/rendering_context_driver_vulkan_android.h": { + "classes": [ + "RenderingContextDriverVulkanAndroid" + ], + "structs": [ + "WindowPlatformData" + ], + "defines": [ + "RENDERING_CONTEXT_DRIVER_VULKAN_ANDROID_H" + ] + }, + "platform/android/display_server_android.h": { + "classes": [ + "DisplayServerAndroid" + ], + "structs": [], + "defines": [ + "DISPLAY_SERVER_ANDROID_H" + ] + }, + "platform/android/net_socket_android.h": { + "classes": [ + "NetSocketAndroid" + ], + "structs": [], + "defines": [ + "NET_SOCKET_ANDROID_H" + ] + }, + "platform/android/file_access_android.h": { + "classes": [ + "FileAccessAndroid" + ], + "structs": [], + "defines": [ + "FILE_ACCESS_ANDROID_H" + ] + }, + "platform/android/run_icon.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/android/logo.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/android/java_godot_io_wrapper.h": { + "classes": [ + "GodotIOJavaWrapper" + ], + "structs": [], + "defines": [ + "JAVA_GODOT_IO_WRAPPER_H" + ] + }, + "platform/android/file_access_filesystem_jandroid.h": { + "classes": [ + "FileAccessFilesystemJAndroid" + ], + "structs": [], + "defines": [ + "FILE_ACCESS_FILESYSTEM_JANDROID_H" + ] + }, + "platform/android/java_godot_view_wrapper.h": { + "classes": [ + "GodotJavaViewWrapper" + ], + "structs": [], + "defines": [ + "JAVA_GODOT_VIEW_WRAPPER_H" + ] + }, + "platform/android/plugin/godot_plugin_jni.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_PLUGIN_JNI_H" + ] + }, + "platform/android/api/jni_singleton.h": { + "classes": [ + "JNISingleton" + ], + "structs": [ + "MethodData" + ], + "defines": [ + "JNI_SINGLETON_H" + ] + }, + "platform/android/api/api.h": { + "classes": [], + "structs": [], + "defines": [ + "ANDROID_API_H" + ] + }, + "platform/android/api/java_class_wrapper.h": { + "classes": [ + "JavaClass", + "JavaObject", + "JavaClassWrapper" + ], + "structs": [ + "MethodInfo" + ], + "defines": [ + "JAVA_CLASS_WRAPPER_H" + ] + }, + "platform/android/export/export.h": { + "classes": [], + "structs": [], + "defines": [ + "ANDROID_EXPORT_H" + ] + }, + "platform/android/export/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/android/export/export_plugin.h": { + "classes": [ + "EditorExportPlatformAndroid" + ], + "structs": [ + "LauncherIcon", + "Device", + "APKExportData", + "ABI" + ], + "defines": [ + "ANDROID_EXPORT_PLUGIN_H" + ] + }, + "platform/android/export/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/android/export/gradle_export_util.h": { + "classes": [], + "structs": [ + "CustomExportData" + ], + "defines": [ + "ANDROID_GRADLE_EXPORT_UTIL_H" + ] + }, + "platform/android/export/godot_plugin_config.h": { + "classes": [], + "structs": [ + "PluginConfigAndroid" + ], + "defines": [ + "ANDROID_GODOT_PLUGIN_CONFIG_H" + ] + }, + "platform/windows/crash_handler_windows.h": { + "classes": [ + "CrashHandler" + ], + "structs": [], + "defines": [ + "CRASH_HANDLER_WINDOWS_H", + "WIN32_LEAN_AND_MEAN", + "CRASH_HANDLER_EXCEPTION" + ] + }, + "platform/windows/platform_gl.h": { + "classes": [], + "structs": [], + "defines": [ + "PLATFORM_GL_H", + "GL_API_ENABLED", + "GLES_API_ENABLED", + "KHRONOS_STATIC" + ] + }, + "platform/windows/platform_config.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/windows/display_server_windows.h": { + "classes": [ + "DisplayServerWindows" + ], + "structs": [ + "tagLOGCONTEXTW", + "tagAXIS", + "tagORIENTATION", + "tagPACKET", + "tagPOINTER_INFO", + "tagPOINTER_PEN_INFO", + "KeyEvent", + "WindowData", + "IndicatorData" + ], + "defines": [ + "DISPLAY_SERVER_WINDOWS_H", + "WIN32_LEAN_AND_MEAN", + "WT_PACKET", + "WT_PROXIMITY", + "WT_INFOCHANGE", + "WT_CSRCHANGE", + "WTI_DEFSYSCTX", + "WTI_DEVICES", + "DVC_NPRESSURE", + "DVC_TPRESSURE", + "DVC_ORIENTATION", + "DVC_ROTATION", + "CXO_MESSAGES", + "PK_STATUS", + "PK_NORMAL_PRESSURE", + "PK_TANGENT_PRESSURE", + "PK_ORIENTATION", + "TPS_INVERT", + "POINTER_STRUCTURES", + "PEN_FLAG_INVERTED", + "PEN_FLAG_ERASER", + "PEN_MASK_PRESSURE", + "PEN_MASK_TILT_X", + "PEN_MASK_TILT_Y", + "POINTER_MESSAGE_FLAG_FIRSTBUTTON", + "WM_POINTERUPDATE", + "WM_POINTERENTER", + "WM_POINTERLEAVE" + ] + }, + "platform/windows/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/windows/rendering_context_driver_vulkan_windows.h": { + "classes": [ + "RenderingContextDriverVulkanWindows" + ], + "structs": [ + "WindowPlatformData" + ], + "defines": [ + "RENDERING_CONTEXT_DRIVER_VULKAN_WINDOWS_H", + "WIN32_LEAN_AND_MEAN" + ] + }, + "platform/windows/gl_manager_windows_native.h": { + "classes": [ + "GLManagerNative_Windows" + ], + "structs": [ + "GLWindow", + "GLDisplay" + ], + "defines": [ + "GL_MANAGER_WINDOWS_NATIVE_H" + ] + }, + "platform/windows/gl_manager_windows_angle.h": { + "classes": [ + "GLManagerANGLE_Windows" + ], + "structs": [], + "defines": [ + "GL_MANAGER_WINDOWS_ANGLE_H" + ] + }, + "platform/windows/joypad_windows.h": { + "classes": [ + "JoypadWindows" + ], + "structs": [ + "dinput_gamepad", + "xinput_gamepad" + ], + "defines": [ + "JOYPAD_WINDOWS_H", + "DIRECTINPUT_VERSION", + "SAFE_RELEASE", + "XUSER_MAX_COUNT" + ] + }, + "platform/windows/os_windows.h": { + "classes": [ + "ComAutoreleaseRef", + "OS_Windows" + ], + "structs": [ + "ProcessInfo" + ], + "defines": [ + "OS_WINDOWS_H", + "WIN32_LEAN_AND_MEAN", + "WINDOWS_DEBUG_OUTPUT_ENABLED", + "ENABLE_VIRTUAL_TERMINAL_PROCESSING" + ] + }, + "platform/windows/tts_windows.h": { + "classes": [ + "TTS_Windows" + ], + "structs": [ + "UTData" + ], + "defines": [ + "TTS_WINDOWS_H", + "WIN32_LEAN_AND_MEAN" + ] + }, + "platform/windows/key_mapping_windows.h": { + "classes": [ + "KeyMappingWindows" + ], + "structs": [], + "defines": [ + "KEY_MAPPING_WINDOWS_H", + "WIN32_LEAN_AND_MEAN" + ] + }, + "platform/windows/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/windows/lang_table.h": { + "classes": [], + "structs": [ + "_WinLocale" + ], + "defines": [ + "LANG_TABLE_H" + ] + }, + "platform/windows/logo.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/windows/wgl_detect_version.h": { + "classes": [], + "structs": [], + "defines": [ + "WGL_DETECT_VERSION_H" + ] + }, + "platform/windows/windows_terminal_logger.h": { + "classes": [ + "WindowsTerminalLogger" + ], + "structs": [], + "defines": [ + "WINDOWS_TERMINAL_LOGGER_H" + ] + }, + "platform/windows/export/export.h": { + "classes": [], + "structs": [], + "defines": [ + "WINDOWS_EXPORT_H" + ] + }, + "platform/windows/export/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/windows/export/export_plugin.h": { + "classes": [ + "EditorExportPlatformWindows" + ], + "structs": [ + "SSHCleanupCommand" + ], + "defines": [ + "WINDOWS_EXPORT_PLUGIN_H" + ] + }, + "platform/windows/export/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/linuxbsd/fontconfig-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_FONTCONFIG", + "FcBlanksCreate", + "FcBlanksDestroy", + "FcBlanksAdd", + "FcBlanksIsMember", + "FcCacheDir", + "FcCacheCopySet", + "FcCacheSubdir", + "FcCacheNumSubdir", + "FcCacheNumFont", + "FcDirCacheUnlink", + "FcDirCacheValid", + "FcDirCacheClean", + "FcCacheCreateTagFile", + "FcConfigHome", + "FcConfigEnableHome", + "FcConfigFilename", + "FcConfigCreate", + "FcConfigReference", + "FcConfigDestroy", + "FcConfigSetCurrent", + "FcConfigGetCurrent", + "FcConfigUptoDate", + "FcConfigBuildFonts", + "FcConfigGetFontDirs", + "FcConfigGetConfigDirs", + "FcConfigGetConfigFiles", + "FcConfigGetCache", + "FcConfigGetBlanks", + "FcConfigGetCacheDirs", + "FcConfigGetRescanInterval", + "FcConfigSetRescanInterval", + "FcConfigGetFonts", + "FcConfigAppFontAddFile", + "FcConfigAppFontAddDir", + "FcConfigAppFontClear", + "FcConfigSubstituteWithPat", + "FcConfigSubstitute", + "FcConfigGetSysRoot", + "FcConfigSetSysRoot", + "FcCharSetCreate", + "FcCharSetNew", + "FcCharSetDestroy", + "FcCharSetAddChar", + "FcCharSetDelChar", + "FcCharSetCopy", + "FcCharSetEqual", + "FcCharSetIntersect", + "FcCharSetUnion", + "FcCharSetSubtract", + "FcCharSetMerge", + "FcCharSetHasChar", + "FcCharSetCount", + "FcCharSetIntersectCount", + "FcCharSetSubtractCount", + "FcCharSetIsSubset", + "FcCharSetCoverage", + "FcValuePrint", + "FcPatternPrint", + "FcFontSetPrint", + "FcGetDefaultLangs", + "FcDefaultSubstitute", + "FcFileIsDir", + "FcFileScan", + "FcDirScan", + "FcDirSave", + "FcDirCacheLoad", + "FcDirCacheRescan", + "FcDirCacheRead", + "FcDirCacheLoadFile", + "FcDirCacheUnload", + "FcFreeTypeQuery", + "FcFontSetCreate", + "FcFontSetDestroy", + "FcFontSetAdd", + "FcInitLoadConfig", + "FcInitLoadConfigAndFonts", + "FcInit", + "FcFini", + "FcGetVersion", + "FcInitReinitialize", + "FcInitBringUptoDate", + "FcGetLangs", + "FcLangNormalize", + "FcLangGetCharSet", + "FcLangSetCreate", + "FcLangSetDestroy", + "FcLangSetCopy", + "FcLangSetAdd", + "FcLangSetDel", + "FcLangSetHasLang", + "FcLangSetCompare", + "FcLangSetContains", + "FcLangSetEqual", + "FcLangSetHash", + "FcLangSetGetLangs", + "FcLangSetUnion", + "FcLangSetSubtract", + "FcObjectSetCreate", + "FcObjectSetAdd", + "FcObjectSetDestroy", + "FcObjectSetVaBuild", + "FcObjectSetBuild", + "FcFontSetList", + "FcFontList", + "FcAtomicCreate", + "FcAtomicLock", + "FcAtomicNewFile", + "FcAtomicOrigFile", + "FcAtomicReplaceOrig", + "FcAtomicDeleteNew", + "FcAtomicUnlock", + "FcAtomicDestroy", + "FcFontSetMatch", + "FcFontMatch", + "FcFontRenderPrepare", + "FcFontSetSort", + "FcFontSort", + "FcFontSetSortDestroy", + "FcMatrixCopy", + "FcMatrixEqual", + "FcMatrixMultiply", + "FcMatrixRotate", + "FcMatrixScale", + "FcMatrixShear", + "FcNameRegisterObjectTypes", + "FcNameUnregisterObjectTypes", + "FcNameGetObjectType", + "FcNameRegisterConstants", + "FcNameUnregisterConstants", + "FcNameGetConstant", + "FcNameConstant", + "FcNameParse", + "FcNameUnparse", + "FcPatternCreate", + "FcPatternDuplicate", + "FcPatternReference", + "FcPatternFilter", + "FcValueDestroy", + "FcValueEqual", + "FcValueSave", + "FcPatternDestroy", + "FcPatternEqual", + "FcPatternEqualSubset", + "FcPatternHash", + "FcPatternAdd", + "FcPatternAddWeak", + "FcPatternGet", + "FcPatternGetWithBinding", + "FcPatternDel", + "FcPatternRemove", + "FcPatternAddInteger", + "FcPatternAddDouble", + "FcPatternAddString", + "FcPatternAddMatrix", + "FcPatternAddCharSet", + "FcPatternAddBool", + "FcPatternAddLangSet", + "FcPatternAddRange", + "FcPatternGetInteger", + "FcPatternGetDouble", + "FcPatternGetString", + "FcPatternGetMatrix", + "FcPatternGetCharSet", + "FcPatternGetBool", + "FcPatternGetLangSet", + "FcPatternGetRange", + "FcPatternVaBuild", + "FcPatternBuild", + "FcPatternFormat", + "FcRangeCreateDouble", + "FcRangeCreateInteger", + "FcRangeDestroy", + "FcRangeCopy", + "FcRangeGetDouble", + "FcWeightFromOpenType", + "FcWeightToOpenType", + "FcStrCopy", + "FcStrCopyFilename", + "FcStrPlus", + "FcStrFree", + "FcStrDowncase", + "FcStrCmpIgnoreCase", + "FcStrCmp", + "FcStrStrIgnoreCase", + "FcStrStr", + "FcUtf8ToUcs4", + "FcUtf8Len", + "FcUcs4ToUtf8", + "FcUtf16ToUcs4", + "FcUtf16Len", + "FcStrDirname", + "FcStrBasename", + "FcStrSetCreate", + "FcStrSetMember", + "FcStrSetEqual", + "FcStrSetAdd", + "FcStrSetAddFilename", + "FcStrSetDel", + "FcStrSetDestroy", + "FcStrListCreate", + "FcStrListFirst", + "FcStrListNext", + "FcStrListDone", + "FcConfigParseAndLoad", + "FcConfigParseAndLoadFromMemory", + "FcBlanksCreate", + "FcBlanksDestroy", + "FcBlanksAdd", + "FcBlanksIsMember", + "FcCacheDir", + "FcCacheCopySet", + "FcCacheSubdir", + "FcCacheNumSubdir", + "FcCacheNumFont", + "FcDirCacheUnlink", + "FcDirCacheValid", + "FcDirCacheClean", + "FcCacheCreateTagFile", + "FcConfigHome", + "FcConfigEnableHome", + "FcConfigFilename", + "FcConfigCreate", + "FcConfigReference", + "FcConfigDestroy", + "FcConfigSetCurrent", + "FcConfigGetCurrent", + "FcConfigUptoDate", + "FcConfigBuildFonts", + "FcConfigGetFontDirs", + "FcConfigGetConfigDirs", + "FcConfigGetConfigFiles", + "FcConfigGetCache", + "FcConfigGetBlanks", + "FcConfigGetCacheDirs", + "FcConfigGetRescanInterval", + "FcConfigSetRescanInterval", + "FcConfigGetFonts", + "FcConfigAppFontAddFile", + "FcConfigAppFontAddDir", + "FcConfigAppFontClear", + "FcConfigSubstituteWithPat", + "FcConfigSubstitute", + "FcConfigGetSysRoot", + "FcConfigSetSysRoot", + "FcCharSetCreate", + "FcCharSetNew", + "FcCharSetDestroy", + "FcCharSetAddChar", + "FcCharSetDelChar", + "FcCharSetCopy", + "FcCharSetEqual", + "FcCharSetIntersect", + "FcCharSetUnion", + "FcCharSetSubtract", + "FcCharSetMerge", + "FcCharSetHasChar", + "FcCharSetCount", + "FcCharSetIntersectCount", + "FcCharSetSubtractCount", + "FcCharSetIsSubset", + "FcCharSetCoverage", + "FcValuePrint", + "FcPatternPrint", + "FcFontSetPrint", + "FcGetDefaultLangs", + "FcDefaultSubstitute", + "FcFileIsDir", + "FcFileScan", + "FcDirScan", + "FcDirSave", + "FcDirCacheLoad", + "FcDirCacheRescan", + "FcDirCacheRead", + "FcDirCacheLoadFile", + "FcDirCacheUnload", + "FcFreeTypeQuery", + "FcFontSetCreate", + "FcFontSetDestroy", + "FcFontSetAdd", + "FcInitLoadConfig", + "FcInitLoadConfigAndFonts", + "FcInit", + "FcFini", + "FcGetVersion", + "FcInitReinitialize", + "FcInitBringUptoDate", + "FcGetLangs", + "FcLangNormalize", + "FcLangGetCharSet", + "FcLangSetCreate", + "FcLangSetDestroy", + "FcLangSetCopy", + "FcLangSetAdd", + "FcLangSetDel", + "FcLangSetHasLang", + "FcLangSetCompare", + "FcLangSetContains", + "FcLangSetEqual", + "FcLangSetHash", + "FcLangSetGetLangs", + "FcLangSetUnion", + "FcLangSetSubtract", + "FcObjectSetCreate", + "FcObjectSetAdd", + "FcObjectSetDestroy", + "FcObjectSetVaBuild", + "FcObjectSetBuild", + "FcFontSetList", + "FcFontList", + "FcAtomicCreate", + "FcAtomicLock", + "FcAtomicNewFile", + "FcAtomicOrigFile", + "FcAtomicReplaceOrig", + "FcAtomicDeleteNew", + "FcAtomicUnlock", + "FcAtomicDestroy", + "FcFontSetMatch", + "FcFontMatch", + "FcFontRenderPrepare", + "FcFontSetSort", + "FcFontSort", + "FcFontSetSortDestroy", + "FcMatrixCopy", + "FcMatrixEqual", + "FcMatrixMultiply", + "FcMatrixRotate", + "FcMatrixScale", + "FcMatrixShear", + "FcNameRegisterObjectTypes", + "FcNameUnregisterObjectTypes", + "FcNameGetObjectType", + "FcNameRegisterConstants", + "FcNameUnregisterConstants", + "FcNameGetConstant", + "FcNameConstant", + "FcNameParse", + "FcNameUnparse", + "FcPatternCreate", + "FcPatternDuplicate", + "FcPatternReference", + "FcPatternFilter", + "FcValueDestroy", + "FcValueEqual", + "FcValueSave", + "FcPatternDestroy", + "FcPatternEqual", + "FcPatternEqualSubset", + "FcPatternHash", + "FcPatternAdd", + "FcPatternAddWeak", + "FcPatternGet", + "FcPatternGetWithBinding", + "FcPatternDel", + "FcPatternRemove", + "FcPatternAddInteger", + "FcPatternAddDouble", + "FcPatternAddString", + "FcPatternAddMatrix", + "FcPatternAddCharSet", + "FcPatternAddBool", + "FcPatternAddLangSet", + "FcPatternAddRange", + "FcPatternGetInteger", + "FcPatternGetDouble", + "FcPatternGetString", + "FcPatternGetMatrix", + "FcPatternGetCharSet", + "FcPatternGetBool", + "FcPatternGetLangSet", + "FcPatternGetRange", + "FcPatternVaBuild", + "FcPatternBuild", + "FcPatternFormat", + "FcRangeCreateDouble", + "FcRangeCreateInteger", + "FcRangeDestroy", + "FcRangeCopy", + "FcRangeGetDouble", + "FcWeightFromOpenType", + "FcWeightToOpenType", + "FcStrCopy", + "FcStrCopyFilename", + "FcStrPlus", + "FcStrFree", + "FcStrDowncase", + "FcStrCmpIgnoreCase", + "FcStrCmp", + "FcStrStrIgnoreCase", + "FcStrStr", + "FcUtf8ToUcs4", + "FcUtf8Len", + "FcUcs4ToUtf8", + "FcUtf16ToUcs4", + "FcUtf16Len", + "FcStrDirname", + "FcStrBasename", + "FcStrSetCreate", + "FcStrSetMember", + "FcStrSetEqual", + "FcStrSetAdd", + "FcStrSetAddFilename", + "FcStrSetDel", + "FcStrSetDestroy", + "FcStrListCreate", + "FcStrListFirst", + "FcStrListNext", + "FcStrListDone", + "FcConfigParseAndLoad", + "FcConfigParseAndLoadFromMemory" + ] + }, + "platform/linuxbsd/platform_gl.h": { + "classes": [], + "structs": [], + "defines": [ + "PLATFORM_GL_H", + "GL_API_ENABLED", + "GLES_API_ENABLED" + ] + }, + "platform/linuxbsd/crash_handler_linuxbsd.h": { + "classes": [ + "CrashHandler" + ], + "structs": [], + "defines": [ + "CRASH_HANDLER_LINUXBSD_H" + ] + }, + "platform/linuxbsd/platform_config.h": { + "classes": [], + "structs": [], + "defines": [ + "PTHREAD_NETBSD_SET_NAME", + "PTHREAD_BSD_SET_NAME" + ] + }, + "platform/linuxbsd/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/linuxbsd/freedesktop_portal_desktop.h": { + "classes": [ + "FreeDesktopPortalDesktop" + ], + "structs": [ + "FileDialogData" + ], + "defines": [ + "FREEDESKTOP_PORTAL_DESKTOP_H" + ] + }, + "platform/linuxbsd/freedesktop_screensaver.h": { + "classes": [ + "FreeDesktopScreenSaver" + ], + "structs": [], + "defines": [ + "FREEDESKTOP_SCREENSAVER_H" + ] + }, + "platform/linuxbsd/speechd-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_SPEECHD", + "SPDConnectionAddress__free", + "spd_get_default_address", + "spd_open", + "spd_open2", + "spd_close", + "spd_say", + "spd_sayf", + "spd_stop", + "spd_stop_all", + "spd_stop_uid", + "spd_cancel", + "spd_cancel_all", + "spd_cancel_uid", + "spd_pause", + "spd_pause_all", + "spd_pause_uid", + "spd_resume", + "spd_resume_all", + "spd_resume_uid", + "spd_key", + "spd_char", + "spd_wchar", + "spd_sound_icon", + "spd_set_voice_type", + "spd_set_voice_type_all", + "spd_set_voice_type_uid", + "spd_get_voice_type", + "spd_set_synthesis_voice", + "spd_set_synthesis_voice_all", + "spd_set_synthesis_voice_uid", + "spd_set_data_mode", + "spd_set_notification_on", + "spd_set_notification_off", + "spd_set_notification", + "spd_set_voice_rate", + "spd_set_voice_rate_all", + "spd_set_voice_rate_uid", + "spd_get_voice_rate", + "spd_set_voice_pitch", + "spd_set_voice_pitch_all", + "spd_set_voice_pitch_uid", + "spd_get_voice_pitch", + "spd_set_volume", + "spd_set_volume_all", + "spd_set_volume_uid", + "spd_get_volume", + "spd_set_punctuation", + "spd_set_punctuation_all", + "spd_set_punctuation_uid", + "spd_set_capital_letters", + "spd_set_capital_letters_all", + "spd_set_capital_letters_uid", + "spd_set_spelling", + "spd_set_spelling_all", + "spd_set_spelling_uid", + "spd_set_language", + "spd_set_language_all", + "spd_set_language_uid", + "spd_get_language", + "spd_set_output_module", + "spd_set_output_module_all", + "spd_set_output_module_uid", + "spd_get_message_list_fd", + "spd_list_modules", + "free_spd_modules", + "spd_get_output_module", + "spd_list_voices", + "spd_list_synthesis_voices", + "free_spd_voices", + "spd_execute_command_with_list_reply", + "spd_execute_command", + "spd_execute_command_with_reply", + "spd_execute_command_wo_mutex", + "spd_send_data", + "spd_send_data_wo_mutex", + "SPDConnectionAddress__free", + "spd_get_default_address", + "spd_open", + "spd_open2", + "spd_close", + "spd_say", + "spd_sayf", + "spd_stop", + "spd_stop_all", + "spd_stop_uid", + "spd_cancel", + "spd_cancel_all", + "spd_cancel_uid", + "spd_pause", + "spd_pause_all", + "spd_pause_uid", + "spd_resume", + "spd_resume_all", + "spd_resume_uid", + "spd_key", + "spd_char", + "spd_wchar", + "spd_sound_icon", + "spd_set_voice_type", + "spd_set_voice_type_all", + "spd_set_voice_type_uid", + "spd_get_voice_type", + "spd_set_synthesis_voice", + "spd_set_synthesis_voice_all", + "spd_set_synthesis_voice_uid", + "spd_set_data_mode", + "spd_set_notification_on", + "spd_set_notification_off", + "spd_set_notification", + "spd_set_voice_rate", + "spd_set_voice_rate_all", + "spd_set_voice_rate_uid", + "spd_get_voice_rate", + "spd_set_voice_pitch", + "spd_set_voice_pitch_all", + "spd_set_voice_pitch_uid", + "spd_get_voice_pitch", + "spd_set_volume", + "spd_set_volume_all", + "spd_set_volume_uid", + "spd_get_volume", + "spd_set_punctuation", + "spd_set_punctuation_all", + "spd_set_punctuation_uid", + "spd_set_capital_letters", + "spd_set_capital_letters_all", + "spd_set_capital_letters_uid", + "spd_set_spelling", + "spd_set_spelling_all", + "spd_set_spelling_uid", + "spd_set_language", + "spd_set_language_all", + "spd_set_language_uid", + "spd_get_language", + "spd_set_output_module", + "spd_set_output_module_all", + "spd_set_output_module_uid", + "spd_get_message_list_fd", + "spd_list_modules", + "free_spd_modules", + "spd_get_output_module", + "spd_list_voices", + "spd_list_synthesis_voices", + "free_spd_voices", + "spd_execute_command_with_list_reply", + "spd_execute_command", + "spd_execute_command_with_reply", + "spd_execute_command_wo_mutex", + "spd_send_data", + "spd_send_data_wo_mutex" + ] + }, + "platform/linuxbsd/tts_linux.h": { + "classes": [ + "TTS_Linux" + ], + "structs": [ + "VoiceInfo" + ], + "defines": [ + "TTS_LINUX_H" + ] + }, + "platform/linuxbsd/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/linuxbsd/xkbcommon-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_XKBCOMMON", + "xkb_keysym_get_name", + "xkb_keysym_from_name", + "xkb_keysym_to_utf8", + "xkb_keysym_to_utf32", + "xkb_utf32_to_keysym", + "xkb_keysym_to_upper", + "xkb_keysym_to_lower", + "xkb_context_new", + "xkb_context_ref", + "xkb_context_unref", + "xkb_context_set_user_data", + "xkb_context_get_user_data", + "xkb_context_include_path_append", + "xkb_context_include_path_append_default", + "xkb_context_include_path_reset_defaults", + "xkb_context_include_path_clear", + "xkb_context_num_include_paths", + "xkb_context_include_path_get", + "xkb_context_set_log_level", + "xkb_context_get_log_level", + "xkb_context_set_log_verbosity", + "xkb_context_get_log_verbosity", + "xkb_context_set_log_fn", + "xkb_keymap_new_from_names", + "xkb_keymap_new_from_file", + "xkb_keymap_new_from_string", + "xkb_keymap_new_from_buffer", + "xkb_keymap_ref", + "xkb_keymap_unref", + "xkb_keymap_get_as_string", + "xkb_keymap_min_keycode", + "xkb_keymap_max_keycode", + "xkb_keymap_key_for_each", + "xkb_keymap_key_get_name", + "xkb_keymap_key_by_name", + "xkb_keymap_num_mods", + "xkb_keymap_mod_get_name", + "xkb_keymap_mod_get_index", + "xkb_keymap_num_layouts", + "xkb_keymap_layout_get_name", + "xkb_keymap_layout_get_index", + "xkb_keymap_num_leds", + "xkb_keymap_led_get_name", + "xkb_keymap_led_get_index", + "xkb_keymap_num_layouts_for_key", + "xkb_keymap_num_levels_for_key", + "xkb_keymap_key_get_mods_for_level", + "xkb_keymap_key_get_syms_by_level", + "xkb_keymap_key_repeats", + "xkb_state_new", + "xkb_state_ref", + "xkb_state_unref", + "xkb_state_get_keymap", + "xkb_state_update_key", + "xkb_state_update_mask", + "xkb_state_key_get_syms", + "xkb_state_key_get_utf8", + "xkb_state_key_get_utf32", + "xkb_state_key_get_one_sym", + "xkb_state_key_get_layout", + "xkb_state_key_get_level", + "xkb_state_serialize_mods", + "xkb_state_serialize_layout", + "xkb_state_mod_name_is_active", + "xkb_state_mod_names_are_active", + "xkb_state_mod_index_is_active", + "xkb_state_mod_indices_are_active", + "xkb_state_key_get_consumed_mods2", + "xkb_state_key_get_consumed_mods", + "xkb_state_mod_index_is_consumed2", + "xkb_state_mod_index_is_consumed", + "xkb_state_mod_mask_remove_consumed", + "xkb_state_layout_name_is_active", + "xkb_state_layout_index_is_active", + "xkb_state_led_name_is_active", + "xkb_state_led_index_is_active", + "xkb_compose_table_new_from_locale", + "xkb_compose_table_new_from_file", + "xkb_compose_table_new_from_buffer", + "xkb_compose_table_ref", + "xkb_compose_table_unref", + "xkb_compose_state_new", + "xkb_compose_state_ref", + "xkb_compose_state_unref", + "xkb_compose_state_get_compose_table", + "xkb_compose_state_feed", + "xkb_compose_state_reset", + "xkb_compose_state_get_status", + "xkb_compose_state_get_utf8", + "xkb_compose_state_get_one_sym", + "xkb_keysym_get_name", + "xkb_keysym_from_name", + "xkb_keysym_to_utf8", + "xkb_keysym_to_utf32", + "xkb_utf32_to_keysym", + "xkb_keysym_to_upper", + "xkb_keysym_to_lower", + "xkb_context_new", + "xkb_context_ref", + "xkb_context_unref", + "xkb_context_set_user_data", + "xkb_context_get_user_data", + "xkb_context_include_path_append", + "xkb_context_include_path_append_default", + "xkb_context_include_path_reset_defaults", + "xkb_context_include_path_clear", + "xkb_context_num_include_paths", + "xkb_context_include_path_get", + "xkb_context_set_log_level", + "xkb_context_get_log_level", + "xkb_context_set_log_verbosity", + "xkb_context_get_log_verbosity", + "xkb_context_set_log_fn", + "xkb_keymap_new_from_names", + "xkb_keymap_new_from_file", + "xkb_keymap_new_from_string", + "xkb_keymap_new_from_buffer", + "xkb_keymap_ref", + "xkb_keymap_unref", + "xkb_keymap_get_as_string", + "xkb_keymap_min_keycode", + "xkb_keymap_max_keycode", + "xkb_keymap_key_for_each", + "xkb_keymap_key_get_name", + "xkb_keymap_key_by_name", + "xkb_keymap_num_mods", + "xkb_keymap_mod_get_name", + "xkb_keymap_mod_get_index", + "xkb_keymap_num_layouts", + "xkb_keymap_layout_get_name", + "xkb_keymap_layout_get_index", + "xkb_keymap_num_leds", + "xkb_keymap_led_get_name", + "xkb_keymap_led_get_index", + "xkb_keymap_num_layouts_for_key", + "xkb_keymap_num_levels_for_key", + "xkb_keymap_key_get_mods_for_level", + "xkb_keymap_key_get_syms_by_level", + "xkb_keymap_key_repeats", + "xkb_state_new", + "xkb_state_ref", + "xkb_state_unref", + "xkb_state_get_keymap", + "xkb_state_update_key", + "xkb_state_update_mask", + "xkb_state_key_get_syms", + "xkb_state_key_get_utf8", + "xkb_state_key_get_utf32", + "xkb_state_key_get_one_sym", + "xkb_state_key_get_layout", + "xkb_state_key_get_level", + "xkb_state_serialize_mods", + "xkb_state_serialize_layout", + "xkb_state_mod_name_is_active", + "xkb_state_mod_names_are_active", + "xkb_state_mod_index_is_active", + "xkb_state_mod_indices_are_active", + "xkb_state_key_get_consumed_mods2", + "xkb_state_key_get_consumed_mods", + "xkb_state_mod_index_is_consumed2", + "xkb_state_mod_index_is_consumed", + "xkb_state_mod_mask_remove_consumed", + "xkb_state_layout_name_is_active", + "xkb_state_layout_index_is_active", + "xkb_state_led_name_is_active", + "xkb_state_led_index_is_active", + "xkb_compose_table_new_from_locale", + "xkb_compose_table_new_from_file", + "xkb_compose_table_new_from_buffer", + "xkb_compose_table_ref", + "xkb_compose_table_unref", + "xkb_compose_state_new", + "xkb_compose_state_ref", + "xkb_compose_state_unref", + "xkb_compose_state_get_compose_table", + "xkb_compose_state_feed", + "xkb_compose_state_reset", + "xkb_compose_state_get_status", + "xkb_compose_state_get_utf8", + "xkb_compose_state_get_one_sym" + ] + }, + "platform/linuxbsd/libudev-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_LIBUDEV", + "udev_ref", + "udev_unref", + "udev_new", + "udev_set_log_fn", + "udev_get_log_priority", + "udev_set_log_priority", + "udev_get_userdata", + "udev_set_userdata", + "udev_list_entry_get_next", + "udev_list_entry_get_by_name", + "udev_list_entry_get_name", + "udev_list_entry_get_value", + "udev_device_ref", + "udev_device_unref", + "udev_device_get_udev", + "udev_device_new_from_syspath", + "udev_device_new_from_devnum", + "udev_device_new_from_subsystem_sysname", + "udev_device_new_from_device_id", + "udev_device_new_from_environment", + "udev_device_get_parent", + "udev_device_get_parent_with_subsystem_devtype", + "udev_device_get_devpath", + "udev_device_get_subsystem", + "udev_device_get_devtype", + "udev_device_get_syspath", + "udev_device_get_sysname", + "udev_device_get_sysnum", + "udev_device_get_devnode", + "udev_device_get_is_initialized", + "udev_device_get_devlinks_list_entry", + "udev_device_get_properties_list_entry", + "udev_device_get_tags_list_entry", + "udev_device_get_sysattr_list_entry", + "udev_device_get_property_value", + "udev_device_get_driver", + "udev_device_get_devnum", + "udev_device_get_action", + "udev_device_get_seqnum", + "udev_device_get_usec_since_initialized", + "udev_device_get_sysattr_value", + "udev_device_set_sysattr_value", + "udev_device_has_tag", + "udev_monitor_ref", + "udev_monitor_unref", + "udev_monitor_get_udev", + "udev_monitor_new_from_netlink", + "udev_monitor_enable_receiving", + "udev_monitor_set_receive_buffer_size", + "udev_monitor_get_fd", + "udev_monitor_receive_device", + "udev_monitor_filter_add_match_subsystem_devtype", + "udev_monitor_filter_add_match_tag", + "udev_monitor_filter_update", + "udev_monitor_filter_remove", + "udev_enumerate_ref", + "udev_enumerate_unref", + "udev_enumerate_get_udev", + "udev_enumerate_new", + "udev_enumerate_add_match_subsystem", + "udev_enumerate_add_nomatch_subsystem", + "udev_enumerate_add_match_sysattr", + "udev_enumerate_add_nomatch_sysattr", + "udev_enumerate_add_match_property", + "udev_enumerate_add_match_sysname", + "udev_enumerate_add_match_tag", + "udev_enumerate_add_match_parent", + "udev_enumerate_add_match_is_initialized", + "udev_enumerate_add_syspath", + "udev_enumerate_scan_devices", + "udev_enumerate_scan_subsystems", + "udev_enumerate_get_list_entry", + "udev_queue_ref", + "udev_queue_unref", + "udev_queue_get_udev", + "udev_queue_new", + "udev_queue_get_kernel_seqnum", + "udev_queue_get_udev_seqnum", + "udev_queue_get_udev_is_active", + "udev_queue_get_queue_is_empty", + "udev_queue_get_seqnum_is_finished", + "udev_queue_get_seqnum_sequence_is_finished", + "udev_queue_get_fd", + "udev_queue_flush", + "udev_queue_get_queued_list_entry", + "udev_hwdb_new", + "udev_hwdb_ref", + "udev_hwdb_unref", + "udev_hwdb_get_properties_list_entry", + "udev_util_encode_string", + "udev_ref", + "udev_unref", + "udev_new", + "udev_set_log_fn", + "udev_get_log_priority", + "udev_set_log_priority", + "udev_get_userdata", + "udev_set_userdata", + "udev_list_entry_get_next", + "udev_list_entry_get_by_name", + "udev_list_entry_get_name", + "udev_list_entry_get_value", + "udev_device_ref", + "udev_device_unref", + "udev_device_get_udev", + "udev_device_new_from_syspath", + "udev_device_new_from_devnum", + "udev_device_new_from_subsystem_sysname", + "udev_device_new_from_device_id", + "udev_device_new_from_environment", + "udev_device_get_parent", + "udev_device_get_parent_with_subsystem_devtype", + "udev_device_get_devpath", + "udev_device_get_subsystem", + "udev_device_get_devtype", + "udev_device_get_syspath", + "udev_device_get_sysname", + "udev_device_get_sysnum", + "udev_device_get_devnode", + "udev_device_get_is_initialized", + "udev_device_get_devlinks_list_entry", + "udev_device_get_properties_list_entry", + "udev_device_get_tags_list_entry", + "udev_device_get_sysattr_list_entry", + "udev_device_get_property_value", + "udev_device_get_driver", + "udev_device_get_devnum", + "udev_device_get_action", + "udev_device_get_seqnum", + "udev_device_get_usec_since_initialized", + "udev_device_get_sysattr_value", + "udev_device_set_sysattr_value", + "udev_device_has_tag", + "udev_monitor_ref", + "udev_monitor_unref", + "udev_monitor_get_udev", + "udev_monitor_new_from_netlink", + "udev_monitor_enable_receiving", + "udev_monitor_set_receive_buffer_size", + "udev_monitor_get_fd", + "udev_monitor_receive_device", + "udev_monitor_filter_add_match_subsystem_devtype", + "udev_monitor_filter_add_match_tag", + "udev_monitor_filter_update", + "udev_monitor_filter_remove", + "udev_enumerate_ref", + "udev_enumerate_unref", + "udev_enumerate_get_udev", + "udev_enumerate_new", + "udev_enumerate_add_match_subsystem", + "udev_enumerate_add_nomatch_subsystem", + "udev_enumerate_add_match_sysattr", + "udev_enumerate_add_nomatch_sysattr", + "udev_enumerate_add_match_property", + "udev_enumerate_add_match_sysname", + "udev_enumerate_add_match_tag", + "udev_enumerate_add_match_parent", + "udev_enumerate_add_match_is_initialized", + "udev_enumerate_add_syspath", + "udev_enumerate_scan_devices", + "udev_enumerate_scan_subsystems", + "udev_enumerate_get_list_entry", + "udev_queue_ref", + "udev_queue_unref", + "udev_queue_get_udev", + "udev_queue_new", + "udev_queue_get_kernel_seqnum", + "udev_queue_get_udev_seqnum", + "udev_queue_get_udev_is_active", + "udev_queue_get_queue_is_empty", + "udev_queue_get_seqnum_is_finished", + "udev_queue_get_seqnum_sequence_is_finished", + "udev_queue_get_fd", + "udev_queue_flush", + "udev_queue_get_queued_list_entry", + "udev_hwdb_new", + "udev_hwdb_ref", + "udev_hwdb_unref", + "udev_hwdb_get_properties_list_entry", + "udev_util_encode_string" + ] + }, + "platform/linuxbsd/joypad_linux.h": { + "classes": [ + "JoypadLinux" + ], + "structs": [ + "JoypadEvent", + "Joypad" + ], + "defines": [ + "JOYPAD_LINUX_H" + ] + }, + "platform/linuxbsd/dbus-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_DBUS", + "dbus_error_init", + "dbus_error_free", + "dbus_set_error", + "dbus_set_error_const", + "dbus_move_error", + "dbus_error_has_name", + "dbus_error_is_set", + "dbus_parse_address", + "dbus_address_entry_get_value", + "dbus_address_entry_get_method", + "dbus_address_entries_free", + "dbus_address_escape_value", + "dbus_address_unescape_value", + "dbus_malloc", + "dbus_malloc0", + "dbus_realloc", + "dbus_free", + "dbus_free_string_array", + "dbus_shutdown", + "dbus_message_new", + "dbus_message_new_method_call", + "dbus_message_new_method_return", + "dbus_message_new_signal", + "dbus_message_new_error", + "dbus_message_new_error_printf", + "dbus_message_copy", + "dbus_message_ref", + "dbus_message_unref", + "dbus_message_get_type", + "dbus_message_set_path", + "dbus_message_get_path", + "dbus_message_has_path", + "dbus_message_set_interface", + "dbus_message_get_interface", + "dbus_message_has_interface", + "dbus_message_set_member", + "dbus_message_get_member", + "dbus_message_has_member", + "dbus_message_set_error_name", + "dbus_message_get_error_name", + "dbus_message_set_destination", + "dbus_message_get_destination", + "dbus_message_set_sender", + "dbus_message_get_sender", + "dbus_message_get_signature", + "dbus_message_set_no_reply", + "dbus_message_get_no_reply", + "dbus_message_is_method_call", + "dbus_message_is_signal", + "dbus_message_is_error", + "dbus_message_has_destination", + "dbus_message_has_sender", + "dbus_message_has_signature", + "dbus_message_get_serial", + "dbus_message_set_serial", + "dbus_message_set_reply_serial", + "dbus_message_get_reply_serial", + "dbus_message_set_auto_start", + "dbus_message_get_auto_start", + "dbus_message_get_path_decomposed", + "dbus_message_append_args", + "dbus_message_append_args_valist", + "dbus_message_get_args", + "dbus_message_get_args_valist", + "dbus_message_contains_unix_fds", + "dbus_message_iter_init_closed", + "dbus_message_iter_init", + "dbus_message_iter_has_next", + "dbus_message_iter_next", + "dbus_message_iter_get_signature", + "dbus_message_iter_get_arg_type", + "dbus_message_iter_get_element_type", + "dbus_message_iter_recurse", + "dbus_message_iter_get_basic", + "dbus_message_iter_get_element_count", + "dbus_message_iter_get_array_len", + "dbus_message_iter_get_fixed_array", + "dbus_message_iter_init_append", + "dbus_message_iter_append_basic", + "dbus_message_iter_append_fixed_array", + "dbus_message_iter_open_container", + "dbus_message_iter_close_container", + "dbus_message_iter_abandon_container", + "dbus_message_iter_abandon_container_if_open", + "dbus_message_lock", + "dbus_set_error_from_message", + "dbus_message_allocate_data_slot", + "dbus_message_free_data_slot", + "dbus_message_set_data", + "dbus_message_get_data", + "dbus_message_type_from_string", + "dbus_message_type_to_string", + "dbus_message_marshal", + "dbus_message_demarshal", + "dbus_message_demarshal_bytes_needed", + "dbus_message_set_allow_interactive_authorization", + "dbus_message_get_allow_interactive_authorization", + "dbus_connection_open", + "dbus_connection_open_private", + "dbus_connection_ref", + "dbus_connection_unref", + "dbus_connection_close", + "dbus_connection_get_is_connected", + "dbus_connection_get_is_authenticated", + "dbus_connection_get_is_anonymous", + "dbus_connection_get_server_id", + "dbus_connection_can_send_type", + "dbus_connection_set_exit_on_disconnect", + "dbus_connection_flush", + "dbus_connection_read_write_dispatch", + "dbus_connection_read_write", + "dbus_connection_borrow_message", + "dbus_connection_return_message", + "dbus_connection_steal_borrowed_message", + "dbus_connection_pop_message", + "dbus_connection_get_dispatch_status", + "dbus_connection_dispatch", + "dbus_connection_has_messages_to_send", + "dbus_connection_send", + "dbus_connection_send_with_reply", + "dbus_connection_send_with_reply_and_block", + "dbus_connection_set_watch_functions", + "dbus_connection_set_timeout_functions", + "dbus_connection_set_wakeup_main_function", + "dbus_connection_set_dispatch_status_function", + "dbus_connection_get_unix_user", + "dbus_connection_get_unix_process_id", + "dbus_connection_get_adt_audit_session_data", + "dbus_connection_set_unix_user_function", + "dbus_connection_get_windows_user", + "dbus_connection_set_windows_user_function", + "dbus_connection_set_allow_anonymous", + "dbus_connection_set_route_peer_messages", + "dbus_connection_add_filter", + "dbus_connection_remove_filter", + "dbus_connection_allocate_data_slot", + "dbus_connection_free_data_slot", + "dbus_connection_set_data", + "dbus_connection_get_data", + "dbus_connection_set_change_sigpipe", + "dbus_connection_set_max_message_size", + "dbus_connection_get_max_message_size", + "dbus_connection_set_max_received_size", + "dbus_connection_get_max_received_size", + "dbus_connection_set_max_message_unix_fds", + "dbus_connection_get_max_message_unix_fds", + "dbus_connection_set_max_received_unix_fds", + "dbus_connection_get_max_received_unix_fds", + "dbus_connection_get_outgoing_size", + "dbus_connection_get_outgoing_unix_fds", + "dbus_connection_preallocate_send", + "dbus_connection_free_preallocated_send", + "dbus_connection_send_preallocated", + "dbus_connection_try_register_object_path", + "dbus_connection_register_object_path", + "dbus_connection_try_register_fallback", + "dbus_connection_register_fallback", + "dbus_connection_unregister_object_path", + "dbus_connection_get_object_path_data", + "dbus_connection_list_registered", + "dbus_connection_get_unix_fd", + "dbus_connection_get_socket", + "dbus_watch_get_fd", + "dbus_watch_get_unix_fd", + "dbus_watch_get_socket", + "dbus_watch_get_flags", + "dbus_watch_get_data", + "dbus_watch_set_data", + "dbus_watch_handle", + "dbus_watch_get_enabled", + "dbus_timeout_get_interval", + "dbus_timeout_get_data", + "dbus_timeout_set_data", + "dbus_timeout_handle", + "dbus_timeout_get_enabled", + "dbus_bus_get", + "dbus_bus_get_private", + "dbus_bus_register", + "dbus_bus_set_unique_name", + "dbus_bus_get_unique_name", + "dbus_bus_get_unix_user", + "dbus_bus_get_id", + "dbus_bus_request_name", + "dbus_bus_release_name", + "dbus_bus_name_has_owner", + "dbus_bus_start_service_by_name", + "dbus_bus_add_match", + "dbus_bus_remove_match", + "dbus_get_local_machine_id", + "dbus_get_version", + "dbus_setenv", + "dbus_try_get_local_machine_id", + "dbus_pending_call_ref", + "dbus_pending_call_unref", + "dbus_pending_call_set_notify", + "dbus_pending_call_cancel", + "dbus_pending_call_get_completed", + "dbus_pending_call_steal_reply", + "dbus_pending_call_block", + "dbus_pending_call_allocate_data_slot", + "dbus_pending_call_free_data_slot", + "dbus_pending_call_set_data", + "dbus_pending_call_get_data", + "dbus_server_listen", + "dbus_server_ref", + "dbus_server_unref", + "dbus_server_disconnect", + "dbus_server_get_is_connected", + "dbus_server_get_address", + "dbus_server_get_id", + "dbus_server_set_new_connection_function", + "dbus_server_set_watch_functions", + "dbus_server_set_timeout_functions", + "dbus_server_set_auth_mechanisms", + "dbus_server_allocate_data_slot", + "dbus_server_free_data_slot", + "dbus_server_set_data", + "dbus_server_get_data", + "dbus_signature_iter_init", + "dbus_signature_iter_get_current_type", + "dbus_signature_iter_get_signature", + "dbus_signature_iter_get_element_type", + "dbus_signature_iter_next", + "dbus_signature_iter_recurse", + "dbus_signature_validate", + "dbus_signature_validate_single", + "dbus_type_is_valid", + "dbus_type_is_basic", + "dbus_type_is_container", + "dbus_type_is_fixed", + "dbus_validate_path", + "dbus_validate_interface", + "dbus_validate_member", + "dbus_validate_error_name", + "dbus_validate_bus_name", + "dbus_validate_utf8", + "dbus_threads_init", + "dbus_threads_init_default", + "dbus_error_init", + "dbus_error_free", + "dbus_set_error", + "dbus_set_error_const", + "dbus_move_error", + "dbus_error_has_name", + "dbus_error_is_set", + "dbus_parse_address", + "dbus_address_entry_get_value", + "dbus_address_entry_get_method", + "dbus_address_entries_free", + "dbus_address_escape_value", + "dbus_address_unescape_value", + "dbus_malloc", + "dbus_malloc0", + "dbus_realloc", + "dbus_free", + "dbus_free_string_array", + "dbus_shutdown", + "dbus_message_new", + "dbus_message_new_method_call", + "dbus_message_new_method_return", + "dbus_message_new_signal", + "dbus_message_new_error", + "dbus_message_new_error_printf", + "dbus_message_copy", + "dbus_message_ref", + "dbus_message_unref", + "dbus_message_get_type", + "dbus_message_set_path", + "dbus_message_get_path", + "dbus_message_has_path", + "dbus_message_set_interface", + "dbus_message_get_interface", + "dbus_message_has_interface", + "dbus_message_set_member", + "dbus_message_get_member", + "dbus_message_has_member", + "dbus_message_set_error_name", + "dbus_message_get_error_name", + "dbus_message_set_destination", + "dbus_message_get_destination", + "dbus_message_set_sender", + "dbus_message_get_sender", + "dbus_message_get_signature", + "dbus_message_set_no_reply", + "dbus_message_get_no_reply", + "dbus_message_is_method_call", + "dbus_message_is_signal", + "dbus_message_is_error", + "dbus_message_has_destination", + "dbus_message_has_sender", + "dbus_message_has_signature", + "dbus_message_get_serial", + "dbus_message_set_serial", + "dbus_message_set_reply_serial", + "dbus_message_get_reply_serial", + "dbus_message_set_auto_start", + "dbus_message_get_auto_start", + "dbus_message_get_path_decomposed", + "dbus_message_append_args", + "dbus_message_append_args_valist", + "dbus_message_get_args", + "dbus_message_get_args_valist", + "dbus_message_contains_unix_fds", + "dbus_message_iter_init_closed", + "dbus_message_iter_init", + "dbus_message_iter_has_next", + "dbus_message_iter_next", + "dbus_message_iter_get_signature", + "dbus_message_iter_get_arg_type", + "dbus_message_iter_get_element_type", + "dbus_message_iter_recurse", + "dbus_message_iter_get_basic", + "dbus_message_iter_get_element_count", + "dbus_message_iter_get_array_len", + "dbus_message_iter_get_fixed_array", + "dbus_message_iter_init_append", + "dbus_message_iter_append_basic", + "dbus_message_iter_append_fixed_array", + "dbus_message_iter_open_container", + "dbus_message_iter_close_container", + "dbus_message_iter_abandon_container", + "dbus_message_iter_abandon_container_if_open", + "dbus_message_lock", + "dbus_set_error_from_message", + "dbus_message_allocate_data_slot", + "dbus_message_free_data_slot", + "dbus_message_set_data", + "dbus_message_get_data", + "dbus_message_type_from_string", + "dbus_message_type_to_string", + "dbus_message_marshal", + "dbus_message_demarshal", + "dbus_message_demarshal_bytes_needed", + "dbus_message_set_allow_interactive_authorization", + "dbus_message_get_allow_interactive_authorization", + "dbus_connection_open", + "dbus_connection_open_private", + "dbus_connection_ref", + "dbus_connection_unref", + "dbus_connection_close", + "dbus_connection_get_is_connected", + "dbus_connection_get_is_authenticated", + "dbus_connection_get_is_anonymous", + "dbus_connection_get_server_id", + "dbus_connection_can_send_type", + "dbus_connection_set_exit_on_disconnect", + "dbus_connection_flush", + "dbus_connection_read_write_dispatch", + "dbus_connection_read_write", + "dbus_connection_borrow_message", + "dbus_connection_return_message", + "dbus_connection_steal_borrowed_message", + "dbus_connection_pop_message", + "dbus_connection_get_dispatch_status", + "dbus_connection_dispatch", + "dbus_connection_has_messages_to_send", + "dbus_connection_send", + "dbus_connection_send_with_reply", + "dbus_connection_send_with_reply_and_block", + "dbus_connection_set_watch_functions", + "dbus_connection_set_timeout_functions", + "dbus_connection_set_wakeup_main_function", + "dbus_connection_set_dispatch_status_function", + "dbus_connection_get_unix_user", + "dbus_connection_get_unix_process_id", + "dbus_connection_get_adt_audit_session_data", + "dbus_connection_set_unix_user_function", + "dbus_connection_get_windows_user", + "dbus_connection_set_windows_user_function", + "dbus_connection_set_allow_anonymous", + "dbus_connection_set_route_peer_messages", + "dbus_connection_add_filter", + "dbus_connection_remove_filter", + "dbus_connection_allocate_data_slot", + "dbus_connection_free_data_slot", + "dbus_connection_set_data", + "dbus_connection_get_data", + "dbus_connection_set_change_sigpipe", + "dbus_connection_set_max_message_size", + "dbus_connection_get_max_message_size", + "dbus_connection_set_max_received_size", + "dbus_connection_get_max_received_size", + "dbus_connection_set_max_message_unix_fds", + "dbus_connection_get_max_message_unix_fds", + "dbus_connection_set_max_received_unix_fds", + "dbus_connection_get_max_received_unix_fds", + "dbus_connection_get_outgoing_size", + "dbus_connection_get_outgoing_unix_fds", + "dbus_connection_preallocate_send", + "dbus_connection_free_preallocated_send", + "dbus_connection_send_preallocated", + "dbus_connection_try_register_object_path", + "dbus_connection_register_object_path", + "dbus_connection_try_register_fallback", + "dbus_connection_register_fallback", + "dbus_connection_unregister_object_path", + "dbus_connection_get_object_path_data", + "dbus_connection_list_registered", + "dbus_connection_get_unix_fd", + "dbus_connection_get_socket", + "dbus_watch_get_fd", + "dbus_watch_get_unix_fd", + "dbus_watch_get_socket", + "dbus_watch_get_flags", + "dbus_watch_get_data", + "dbus_watch_set_data", + "dbus_watch_handle", + "dbus_watch_get_enabled", + "dbus_timeout_get_interval", + "dbus_timeout_get_data", + "dbus_timeout_set_data", + "dbus_timeout_handle", + "dbus_timeout_get_enabled", + "dbus_bus_get", + "dbus_bus_get_private", + "dbus_bus_register", + "dbus_bus_set_unique_name", + "dbus_bus_get_unique_name", + "dbus_bus_get_unix_user", + "dbus_bus_get_id", + "dbus_bus_request_name", + "dbus_bus_release_name", + "dbus_bus_name_has_owner", + "dbus_bus_start_service_by_name", + "dbus_bus_add_match", + "dbus_bus_remove_match", + "dbus_get_local_machine_id", + "dbus_get_version", + "dbus_setenv", + "dbus_try_get_local_machine_id", + "dbus_pending_call_ref", + "dbus_pending_call_unref", + "dbus_pending_call_set_notify", + "dbus_pending_call_cancel", + "dbus_pending_call_get_completed", + "dbus_pending_call_steal_reply", + "dbus_pending_call_block", + "dbus_pending_call_allocate_data_slot", + "dbus_pending_call_free_data_slot", + "dbus_pending_call_set_data", + "dbus_pending_call_get_data", + "dbus_server_listen", + "dbus_server_ref", + "dbus_server_unref", + "dbus_server_disconnect", + "dbus_server_get_is_connected", + "dbus_server_get_address", + "dbus_server_get_id", + "dbus_server_set_new_connection_function", + "dbus_server_set_watch_functions", + "dbus_server_set_timeout_functions", + "dbus_server_set_auth_mechanisms", + "dbus_server_allocate_data_slot", + "dbus_server_free_data_slot", + "dbus_server_set_data", + "dbus_server_get_data", + "dbus_signature_iter_init", + "dbus_signature_iter_get_current_type", + "dbus_signature_iter_get_signature", + "dbus_signature_iter_get_element_type", + "dbus_signature_iter_next", + "dbus_signature_iter_recurse", + "dbus_signature_validate", + "dbus_signature_validate_single", + "dbus_type_is_valid", + "dbus_type_is_basic", + "dbus_type_is_container", + "dbus_type_is_fixed", + "dbus_validate_path", + "dbus_validate_interface", + "dbus_validate_member", + "dbus_validate_error_name", + "dbus_validate_bus_name", + "dbus_validate_utf8", + "dbus_threads_init", + "dbus_threads_init_default" + ] + }, + "platform/linuxbsd/logo.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/linuxbsd/os_linuxbsd.h": { + "classes": [ + "OS_LinuxBSD" + ], + "structs": [], + "defines": [ + "OS_LINUXBSD_H" + ] + }, + "platform/linuxbsd/wayland/wayland_thread.h": { + "classes": [ + "WaylandThread", + "Message", + "WindowRectMessage", + "WindowEventMessage", + "InputEventMessage", + "DropFilesEventMessage", + "Gesture", + "PointerConstraint" + ], + "structs": [ + "RegistryState", + "WindowState", + "ScreenData", + "ScreenState", + "PointerData", + "TabletToolData", + "TabletToolState", + "OfferState", + "SeatState", + "CustomCursor", + "ThreadData" + ], + "defines": [ + "WAYLAND_THREAD_H", + "pointer" + ] + }, + "platform/linuxbsd/wayland/rendering_context_driver_vulkan_wayland.h": { + "classes": [ + "RenderingContextDriverVulkanWayland" + ], + "structs": [ + "WindowPlatformData" + ], + "defines": [ + "RENDERING_CONTEXT_DRIVER_VULKAN_WAYLAND_H" + ] + }, + "platform/linuxbsd/wayland/display_server_wayland.h": { + "classes": [ + "DisplayServerWayland" + ], + "structs": [ + "WindowData", + "CustomCursor" + ], + "defines": [ + "DISPLAY_SERVER_WAYLAND_H" + ] + }, + "platform/linuxbsd/wayland/egl_manager_wayland.h": { + "classes": [ + "EGLManagerWayland" + ], + "structs": [], + "defines": [ + "EGL_MANAGER_WAYLAND_H" + ] + }, + "platform/linuxbsd/wayland/key_mapping_xkb.h": { + "classes": [ + "KeyMappingXKB" + ], + "structs": [ + "HashMapHasherKeys" + ], + "defines": [ + "KEY_MAPPING_XKB_H" + ] + }, + "platform/linuxbsd/wayland/detect_prime_egl.h": { + "classes": [ + "DetectPrimeEGL" + ], + "structs": [ + "Vendor" + ], + "defines": [ + "DETECT_PRIME_EGL_H" + ] + }, + "platform/linuxbsd/wayland/dynwrappers/libdecor-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_LIBDECOR", + "libdecor_unref", + "libdecor_new", + "libdecor_get_fd", + "libdecor_dispatch", + "libdecor_decorate", + "libdecor_frame_ref", + "libdecor_frame_unref", + "libdecor_frame_set_visibility", + "libdecor_frame_is_visible", + "libdecor_frame_set_parent", + "libdecor_frame_set_title", + "libdecor_frame_get_title", + "libdecor_frame_set_app_id", + "libdecor_frame_set_capabilities", + "libdecor_frame_unset_capabilities", + "libdecor_frame_has_capability", + "libdecor_frame_show_window_menu", + "libdecor_frame_popup_grab", + "libdecor_frame_popup_ungrab", + "libdecor_frame_translate_coordinate", + "libdecor_frame_set_min_content_size", + "libdecor_frame_set_max_content_size", + "libdecor_frame_resize", + "libdecor_frame_move", + "libdecor_frame_commit", + "libdecor_frame_set_minimized", + "libdecor_frame_set_maximized", + "libdecor_frame_unset_maximized", + "libdecor_frame_set_fullscreen", + "libdecor_frame_unset_fullscreen", + "libdecor_frame_is_floating", + "libdecor_frame_close", + "libdecor_frame_map", + "libdecor_frame_get_xdg_surface", + "libdecor_frame_get_xdg_toplevel", + "libdecor_state_new", + "libdecor_state_free", + "libdecor_configuration_get_content_size", + "libdecor_configuration_get_window_state", + "libdecor_unref", + "libdecor_new", + "libdecor_get_fd", + "libdecor_dispatch", + "libdecor_decorate", + "libdecor_frame_ref", + "libdecor_frame_unref", + "libdecor_frame_set_visibility", + "libdecor_frame_is_visible", + "libdecor_frame_set_parent", + "libdecor_frame_set_title", + "libdecor_frame_get_title", + "libdecor_frame_set_app_id", + "libdecor_frame_set_capabilities", + "libdecor_frame_unset_capabilities", + "libdecor_frame_has_capability", + "libdecor_frame_show_window_menu", + "libdecor_frame_popup_grab", + "libdecor_frame_popup_ungrab", + "libdecor_frame_translate_coordinate", + "libdecor_frame_set_min_content_size", + "libdecor_frame_set_max_content_size", + "libdecor_frame_resize", + "libdecor_frame_move", + "libdecor_frame_commit", + "libdecor_frame_set_minimized", + "libdecor_frame_set_maximized", + "libdecor_frame_unset_maximized", + "libdecor_frame_set_fullscreen", + "libdecor_frame_unset_fullscreen", + "libdecor_frame_is_floating", + "libdecor_frame_close", + "libdecor_frame_map", + "libdecor_frame_get_xdg_surface", + "libdecor_frame_get_xdg_toplevel", + "libdecor_state_new", + "libdecor_state_free", + "libdecor_configuration_get_content_size", + "libdecor_configuration_get_window_state" + ] + }, + "platform/linuxbsd/wayland/dynwrappers/wayland-cursor-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_WAYLAND_CURSOR", + "wl_cursor_theme_load", + "wl_cursor_theme_destroy", + "wl_cursor_theme_get_cursor", + "wl_cursor_image_get_buffer", + "wl_cursor_frame", + "wl_cursor_frame_and_duration", + "wl_cursor_theme_load", + "wl_cursor_theme_destroy", + "wl_cursor_theme_get_cursor", + "wl_cursor_image_get_buffer", + "wl_cursor_frame", + "wl_cursor_frame_and_duration" + ] + }, + "platform/linuxbsd/wayland/dynwrappers/wayland-egl-core-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_WAYLAND_EGL", + "wl_egl_window_create", + "wl_egl_window_destroy", + "wl_egl_window_resize", + "wl_egl_window_get_attached_size", + "wl_egl_window_create", + "wl_egl_window_destroy", + "wl_egl_window_resize", + "wl_egl_window_get_attached_size" + ] + }, + "platform/linuxbsd/wayland/dynwrappers/wayland-client-core-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_WAYLAND_CLIENT", + "wl_list_init", + "wl_list_insert", + "wl_list_remove", + "wl_list_length", + "wl_list_empty", + "wl_list_insert_list", + "wl_array_init", + "wl_array_release", + "wl_array_add", + "wl_array_copy", + "wl_event_queue_destroy", + "wl_proxy_marshal_flags", + "wl_proxy_marshal_array_flags", + "wl_proxy_marshal", + "wl_proxy_marshal_array", + "wl_proxy_create", + "wl_proxy_create_wrapper", + "wl_proxy_wrapper_destroy", + "wl_proxy_marshal_constructor", + "wl_proxy_marshal_constructor_versioned", + "wl_proxy_marshal_array_constructor", + "wl_proxy_marshal_array_constructor_versioned", + "wl_proxy_destroy", + "wl_proxy_add_listener", + "wl_proxy_get_listener", + "wl_proxy_add_dispatcher", + "wl_proxy_set_user_data", + "wl_proxy_get_user_data", + "wl_proxy_get_version", + "wl_proxy_get_id", + "wl_proxy_set_tag", + "wl_proxy_get_tag", + "wl_proxy_get_class", + "wl_proxy_set_queue", + "wl_display_connect", + "wl_display_connect_to_fd", + "wl_display_disconnect", + "wl_display_get_fd", + "wl_display_dispatch", + "wl_display_dispatch_queue", + "wl_display_dispatch_queue_pending", + "wl_display_dispatch_pending", + "wl_display_get_error", + "wl_display_get_protocol_error", + "wl_display_flush", + "wl_display_roundtrip_queue", + "wl_display_roundtrip", + "wl_display_create_queue", + "wl_display_prepare_read_queue", + "wl_display_prepare_read", + "wl_display_cancel_read", + "wl_display_read_events", + "wl_log_set_handler_client", + "wl_list_init", + "wl_list_insert", + "wl_list_remove", + "wl_list_length", + "wl_list_empty", + "wl_list_insert_list", + "wl_array_init", + "wl_array_release", + "wl_array_add", + "wl_array_copy", + "wl_event_queue_destroy", + "wl_proxy_marshal_flags", + "wl_proxy_marshal_array_flags", + "wl_proxy_marshal", + "wl_proxy_marshal_array", + "wl_proxy_create", + "wl_proxy_create_wrapper", + "wl_proxy_wrapper_destroy", + "wl_proxy_marshal_constructor", + "wl_proxy_marshal_constructor_versioned", + "wl_proxy_marshal_array_constructor", + "wl_proxy_marshal_array_constructor_versioned", + "wl_proxy_destroy", + "wl_proxy_add_listener", + "wl_proxy_get_listener", + "wl_proxy_add_dispatcher", + "wl_proxy_set_user_data", + "wl_proxy_get_user_data", + "wl_proxy_get_version", + "wl_proxy_get_id", + "wl_proxy_set_tag", + "wl_proxy_get_tag", + "wl_proxy_get_class", + "wl_proxy_set_queue", + "wl_display_connect", + "wl_display_connect_to_fd", + "wl_display_disconnect", + "wl_display_get_fd", + "wl_display_dispatch", + "wl_display_dispatch_queue", + "wl_display_dispatch_queue_pending", + "wl_display_dispatch_pending", + "wl_display_get_error", + "wl_display_get_protocol_error", + "wl_display_flush", + "wl_display_roundtrip_queue", + "wl_display_roundtrip", + "wl_display_create_queue", + "wl_display_prepare_read_queue", + "wl_display_prepare_read", + "wl_display_cancel_read", + "wl_display_read_events", + "wl_log_set_handler_client" + ] + }, + "platform/linuxbsd/x11/rendering_context_driver_vulkan_x11.h": { + "classes": [ + "RenderingContextDriverVulkanX11" + ], + "structs": [ + "WindowPlatformData" + ], + "defines": [ + "RENDERING_CONTEXT_DRIVER_VULKAN_X11_H" + ] + }, + "platform/linuxbsd/x11/key_mapping_x11.h": { + "classes": [ + "KeyMappingX11" + ], + "structs": [ + "HashMapHasherKeys" + ], + "defines": [ + "KEY_MAPPING_X11_H", + "XK_MISCELLANY", + "XK_LATIN1", + "XK_XKB_KEYS" + ] + }, + "platform/linuxbsd/x11/detect_prime_x11.h": { + "classes": [], + "structs": [], + "defines": [ + "DETECT_PRIME_X11_H" + ] + }, + "platform/linuxbsd/x11/gl_manager_x11_egl.h": { + "classes": [ + "GLManagerEGL_X11" + ], + "structs": [], + "defines": [ + "GL_MANAGER_X11_EGL_H" + ] + }, + "platform/linuxbsd/x11/gl_manager_x11.h": { + "classes": [ + "GLManager_X11" + ], + "structs": [ + "GLWindow", + "GLDisplay", + "XWinDisp" + ], + "defines": [ + "GL_MANAGER_X11_H" + ] + }, + "platform/linuxbsd/x11/display_server_x11.h": { + "classes": [ + "DisplayServerX11" + ], + "structs": [ + "_xrr_monitor_info", + "WindowData", + "Property" + ], + "defines": [ + "DISPLAY_SERVER_X11_H" + ] + }, + "platform/linuxbsd/x11/dynwrappers/xrender-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_XRENDER", + "XRenderQueryExtension", + "XRenderQueryVersion", + "XRenderQueryFormats", + "XRenderQuerySubpixelOrder", + "XRenderSetSubpixelOrder", + "XRenderFindVisualFormat", + "XRenderFindFormat", + "XRenderFindStandardFormat", + "XRenderQueryPictIndexValues", + "XRenderCreatePicture", + "XRenderChangePicture", + "XRenderSetPictureClipRectangles", + "XRenderSetPictureClipRegion", + "XRenderSetPictureTransform", + "XRenderFreePicture", + "XRenderComposite", + "XRenderCreateGlyphSet", + "XRenderReferenceGlyphSet", + "XRenderFreeGlyphSet", + "XRenderAddGlyphs", + "XRenderFreeGlyphs", + "XRenderCompositeString8", + "XRenderCompositeString16", + "XRenderCompositeString32", + "XRenderCompositeText8", + "XRenderCompositeText16", + "XRenderCompositeText32", + "XRenderFillRectangle", + "XRenderFillRectangles", + "XRenderCompositeTrapezoids", + "XRenderCompositeTriangles", + "XRenderCompositeTriStrip", + "XRenderCompositeTriFan", + "XRenderCompositeDoublePoly", + "XRenderParseColor", + "XRenderCreateCursor", + "XRenderQueryFilters", + "XRenderSetPictureFilter", + "XRenderCreateAnimCursor", + "XRenderAddTraps", + "XRenderCreateSolidFill", + "XRenderCreateLinearGradient", + "XRenderCreateRadialGradient", + "XRenderCreateConicalGradient", + "XRenderQueryExtension", + "XRenderQueryVersion", + "XRenderQueryFormats", + "XRenderQuerySubpixelOrder", + "XRenderSetSubpixelOrder", + "XRenderFindVisualFormat", + "XRenderFindFormat", + "XRenderFindStandardFormat", + "XRenderQueryPictIndexValues", + "XRenderCreatePicture", + "XRenderChangePicture", + "XRenderSetPictureClipRectangles", + "XRenderSetPictureClipRegion", + "XRenderSetPictureTransform", + "XRenderFreePicture", + "XRenderComposite", + "XRenderCreateGlyphSet", + "XRenderReferenceGlyphSet", + "XRenderFreeGlyphSet", + "XRenderAddGlyphs", + "XRenderFreeGlyphs", + "XRenderCompositeString8", + "XRenderCompositeString16", + "XRenderCompositeString32", + "XRenderCompositeText8", + "XRenderCompositeText16", + "XRenderCompositeText32", + "XRenderFillRectangle", + "XRenderFillRectangles", + "XRenderCompositeTrapezoids", + "XRenderCompositeTriangles", + "XRenderCompositeTriStrip", + "XRenderCompositeTriFan", + "XRenderCompositeDoublePoly", + "XRenderParseColor", + "XRenderCreateCursor", + "XRenderQueryFilters", + "XRenderSetPictureFilter", + "XRenderCreateAnimCursor", + "XRenderAddTraps", + "XRenderCreateSolidFill", + "XRenderCreateLinearGradient", + "XRenderCreateRadialGradient", + "XRenderCreateConicalGradient" + ] + }, + "platform/linuxbsd/x11/dynwrappers/xlib-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_XLIB", + "_Xmblen", + "XLoadQueryFont", + "XQueryFont", + "XGetMotionEvents", + "XDeleteModifiermapEntry", + "XGetModifierMapping", + "XInsertModifiermapEntry", + "XNewModifiermap", + "XCreateImage", + "XInitImage", + "XGetImage", + "XGetSubImage", + "XOpenDisplay", + "XrmInitialize", + "XFetchBytes", + "XFetchBuffer", + "XGetAtomName", + "XGetAtomNames", + "XGetDefault", + "XDisplayName", + "XKeysymToString", + "XSynchronize", + "XSetAfterFunction", + "XInternAtom", + "XInternAtoms", + "XCopyColormapAndFree", + "XCreateColormap", + "XCreatePixmapCursor", + "XCreateGlyphCursor", + "XCreateFontCursor", + "XLoadFont", + "XCreateGC", + "XGContextFromGC", + "XFlushGC", + "XCreatePixmap", + "XCreateBitmapFromData", + "XCreatePixmapFromBitmapData", + "XCreateSimpleWindow", + "XGetSelectionOwner", + "XCreateWindow", + "XListInstalledColormaps", + "XListFonts", + "XListFontsWithInfo", + "XGetFontPath", + "XListExtensions", + "XListProperties", + "XListHosts", + "XKeycodeToKeysym", + "XLookupKeysym", + "XGetKeyboardMapping", + "XStringToKeysym", + "XMaxRequestSize", + "XExtendedMaxRequestSize", + "XResourceManagerString", + "XScreenResourceString", + "XDisplayMotionBufferSize", + "XVisualIDFromVisual", + "XInitThreads", + "XLockDisplay", + "XUnlockDisplay", + "XInitExtension", + "XAddExtension", + "XFindOnExtensionList", + "XEHeadOfExtensionList", + "XRootWindow", + "XDefaultRootWindow", + "XRootWindowOfScreen", + "XDefaultVisual", + "XDefaultVisualOfScreen", + "XDefaultGC", + "XDefaultGCOfScreen", + "XBlackPixel", + "XWhitePixel", + "XAllPlanes", + "XBlackPixelOfScreen", + "XWhitePixelOfScreen", + "XNextRequest", + "XLastKnownRequestProcessed", + "XServerVendor", + "XDisplayString", + "XDefaultColormap", + "XDefaultColormapOfScreen", + "XDisplayOfScreen", + "XScreenOfDisplay", + "XDefaultScreenOfDisplay", + "XEventMaskOfScreen", + "XScreenNumberOfScreen", + "XSetErrorHandler", + "XSetIOErrorHandler", + "XListPixmapFormats", + "XListDepths", + "XReconfigureWMWindow", + "XGetWMProtocols", + "XSetWMProtocols", + "XIconifyWindow", + "XWithdrawWindow", + "XGetCommand", + "XGetWMColormapWindows", + "XSetWMColormapWindows", + "XFreeStringList", + "XSetTransientForHint", + "XActivateScreenSaver", + "XAddHost", + "XAddHosts", + "XAddToExtensionList", + "XAddToSaveSet", + "XAllocColor", + "XAllocColorCells", + "XAllocColorPlanes", + "XAllocNamedColor", + "XAllowEvents", + "XAutoRepeatOff", + "XAutoRepeatOn", + "XBell", + "XBitmapBitOrder", + "XBitmapPad", + "XBitmapUnit", + "XCellsOfScreen", + "XChangeActivePointerGrab", + "XChangeGC", + "XChangeKeyboardControl", + "XChangeKeyboardMapping", + "XChangePointerControl", + "XChangeProperty", + "XChangeSaveSet", + "XChangeWindowAttributes", + "XCheckIfEvent", + "XCheckMaskEvent", + "XCheckTypedEvent", + "XCheckTypedWindowEvent", + "XCheckWindowEvent", + "XCirculateSubwindows", + "XCirculateSubwindowsDown", + "XCirculateSubwindowsUp", + "XClearArea", + "XClearWindow", + "XCloseDisplay", + "XConfigureWindow", + "XConnectionNumber", + "XConvertSelection", + "XCopyArea", + "XCopyGC", + "XCopyPlane", + "XDefaultDepth", + "XDefaultDepthOfScreen", + "XDefaultScreen", + "XDefineCursor", + "XDeleteProperty", + "XDestroyWindow", + "XDestroySubwindows", + "XDoesBackingStore", + "XDoesSaveUnders", + "XDisableAccessControl", + "XDisplayCells", + "XDisplayHeight", + "XDisplayHeightMM", + "XDisplayKeycodes", + "XDisplayPlanes", + "XDisplayWidth", + "XDisplayWidthMM", + "XDrawArc", + "XDrawArcs", + "XDrawImageString", + "XDrawImageString16", + "XDrawLine", + "XDrawLines", + "XDrawPoint", + "XDrawPoints", + "XDrawRectangle", + "XDrawRectangles", + "XDrawSegments", + "XDrawString", + "XDrawString16", + "XDrawText", + "XDrawText16", + "XEnableAccessControl", + "XEventsQueued", + "XFetchName", + "XFillArc", + "XFillArcs", + "XFillPolygon", + "XFillRectangle", + "XFillRectangles", + "XFlush", + "XForceScreenSaver", + "XFree", + "XFreeColormap", + "XFreeColors", + "XFreeCursor", + "XFreeExtensionList", + "XFreeFont", + "XFreeFontInfo", + "XFreeFontNames", + "XFreeFontPath", + "XFreeGC", + "XFreeModifiermap", + "XFreePixmap", + "XGeometry", + "XGetErrorDatabaseText", + "XGetErrorText", + "XGetFontProperty", + "XGetGCValues", + "XGetGeometry", + "XGetIconName", + "XGetInputFocus", + "XGetKeyboardControl", + "XGetPointerControl", + "XGetPointerMapping", + "XGetScreenSaver", + "XGetTransientForHint", + "XGetWindowProperty", + "XGetWindowAttributes", + "XGrabButton", + "XGrabKey", + "XGrabKeyboard", + "XGrabPointer", + "XGrabServer", + "XHeightMMOfScreen", + "XHeightOfScreen", + "XIfEvent", + "XImageByteOrder", + "XInstallColormap", + "XKeysymToKeycode", + "XKillClient", + "XLookupColor", + "XLowerWindow", + "XMapRaised", + "XMapSubwindows", + "XMapWindow", + "XMaskEvent", + "XMaxCmapsOfScreen", + "XMinCmapsOfScreen", + "XMoveResizeWindow", + "XMoveWindow", + "XNextEvent", + "XNoOp", + "XParseColor", + "XParseGeometry", + "XPeekEvent", + "XPeekIfEvent", + "XPending", + "XPlanesOfScreen", + "XProtocolRevision", + "XProtocolVersion", + "XPutBackEvent", + "XPutImage", + "XQLength", + "XQueryBestCursor", + "XQueryBestSize", + "XQueryBestStipple", + "XQueryBestTile", + "XQueryColor", + "XQueryColors", + "XQueryExtension", + "XQueryKeymap", + "XQueryPointer", + "XQueryTextExtents", + "XQueryTextExtents16", + "XQueryTree", + "XRaiseWindow", + "XReadBitmapFile", + "XReadBitmapFileData", + "XRebindKeysym", + "XRecolorCursor", + "XRefreshKeyboardMapping", + "XRemoveFromSaveSet", + "XRemoveHost", + "XRemoveHosts", + "XReparentWindow", + "XResetScreenSaver", + "XResizeWindow", + "XRestackWindows", + "XRotateBuffers", + "XRotateWindowProperties", + "XScreenCount", + "XSelectInput", + "XSendEvent", + "XSetAccessControl", + "XSetArcMode", + "XSetBackground", + "XSetClipMask", + "XSetClipOrigin", + "XSetClipRectangles", + "XSetCloseDownMode", + "XSetCommand", + "XSetDashes", + "XSetFillRule", + "XSetFillStyle", + "XSetFont", + "XSetFontPath", + "XSetForeground", + "XSetFunction", + "XSetGraphicsExposures", + "XSetIconName", + "XSetInputFocus", + "XSetLineAttributes", + "XSetModifierMapping", + "XSetPlaneMask", + "XSetPointerMapping", + "XSetScreenSaver", + "XSetSelectionOwner", + "XSetState", + "XSetStipple", + "XSetSubwindowMode", + "XSetTSOrigin", + "XSetTile", + "XSetWindowBackground", + "XSetWindowBackgroundPixmap", + "XSetWindowBorder", + "XSetWindowBorderPixmap", + "XSetWindowBorderWidth", + "XSetWindowColormap", + "XStoreBuffer", + "XStoreBytes", + "XStoreColor", + "XStoreColors", + "XStoreName", + "XStoreNamedColor", + "XSync", + "XTextExtents", + "XTextExtents16", + "XTextWidth", + "XTextWidth16", + "XTranslateCoordinates", + "XUndefineCursor", + "XUngrabButton", + "XUngrabKey", + "XUngrabKeyboard", + "XUngrabPointer", + "XUngrabServer", + "XUninstallColormap", + "XUnloadFont", + "XUnmapSubwindows", + "XUnmapWindow", + "XVendorRelease", + "XWarpPointer", + "XWidthMMOfScreen", + "XWidthOfScreen", + "XWindowEvent", + "XWriteBitmapFile", + "XSupportsLocale", + "XSetLocaleModifiers", + "XOpenOM", + "XCloseOM", + "XSetOMValues", + "XGetOMValues", + "XDisplayOfOM", + "XLocaleOfOM", + "XCreateOC", + "XDestroyOC", + "XOMOfOC", + "XSetOCValues", + "XGetOCValues", + "XCreateFontSet", + "XFreeFontSet", + "XFontsOfFontSet", + "XBaseFontNameListOfFontSet", + "XLocaleOfFontSet", + "XContextDependentDrawing", + "XDirectionalDependentDrawing", + "XContextualDrawing", + "XExtentsOfFontSet", + "XmbTextEscapement", + "XwcTextEscapement", + "Xutf8TextEscapement", + "XmbTextExtents", + "XwcTextExtents", + "Xutf8TextExtents", + "XmbTextPerCharExtents", + "XwcTextPerCharExtents", + "Xutf8TextPerCharExtents", + "XmbDrawText", + "XwcDrawText", + "Xutf8DrawText", + "XmbDrawString", + "XwcDrawString", + "Xutf8DrawString", + "XmbDrawImageString", + "XwcDrawImageString", + "Xutf8DrawImageString", + "XOpenIM", + "XCloseIM", + "XGetIMValues", + "XSetIMValues", + "XDisplayOfIM", + "XLocaleOfIM", + "XCreateIC", + "XDestroyIC", + "XSetICFocus", + "XUnsetICFocus", + "XwcResetIC", + "XmbResetIC", + "Xutf8ResetIC", + "XSetICValues", + "XGetICValues", + "XIMOfIC", + "XFilterEvent", + "XmbLookupString", + "XwcLookupString", + "Xutf8LookupString", + "XVaCreateNestedList", + "XRegisterIMInstantiateCallback", + "XUnregisterIMInstantiateCallback", + "XInternalConnectionNumbers", + "XProcessInternalConnection", + "XAddConnectionWatch", + "XRemoveConnectionWatch", + "XSetAuthorization", + "_Xmbtowc", + "_Xwctomb", + "XGetEventData", + "XFreeEventData", + "XAllocClassHint", + "XAllocIconSize", + "XAllocSizeHints", + "XAllocStandardColormap", + "XAllocWMHints", + "XClipBox", + "XCreateRegion", + "XDefaultString", + "XDeleteContext", + "XDestroyRegion", + "XEmptyRegion", + "XEqualRegion", + "XFindContext", + "XGetClassHint", + "XGetIconSizes", + "XGetNormalHints", + "XGetRGBColormaps", + "XGetSizeHints", + "XGetStandardColormap", + "XGetTextProperty", + "XGetVisualInfo", + "XGetWMClientMachine", + "XGetWMHints", + "XGetWMIconName", + "XGetWMName", + "XGetWMNormalHints", + "XGetWMSizeHints", + "XGetZoomHints", + "XIntersectRegion", + "XConvertCase", + "XLookupString", + "XMatchVisualInfo", + "XOffsetRegion", + "XPointInRegion", + "XPolygonRegion", + "XRectInRegion", + "XSaveContext", + "XSetClassHint", + "XSetIconSizes", + "XSetNormalHints", + "XSetRGBColormaps", + "XSetSizeHints", + "XSetStandardProperties", + "XSetTextProperty", + "XSetWMClientMachine", + "XSetWMHints", + "XSetWMIconName", + "XSetWMName", + "XSetWMNormalHints", + "XSetWMProperties", + "XmbSetWMProperties", + "Xutf8SetWMProperties", + "XSetWMSizeHints", + "XSetRegion", + "XSetStandardColormap", + "XSetZoomHints", + "XShrinkRegion", + "XStringListToTextProperty", + "XSubtractRegion", + "XmbTextListToTextProperty", + "XwcTextListToTextProperty", + "Xutf8TextListToTextProperty", + "XwcFreeStringList", + "XTextPropertyToStringList", + "XmbTextPropertyToTextList", + "XwcTextPropertyToTextList", + "Xutf8TextPropertyToTextList", + "XUnionRectWithRegion", + "XUnionRegion", + "XWMGeometry", + "XXorRegion", + "XkbIgnoreExtension", + "XkbOpenDisplay", + "XkbQueryExtension", + "XkbUseExtension", + "XkbLibraryVersion", + "XkbSetXlibControls", + "XkbGetXlibControls", + "XkbXlibControlsImplemented", + "XkbSetAtomFuncs", + "XkbKeycodeToKeysym", + "XkbKeysymToModifiers", + "XkbLookupKeySym", + "XkbLookupKeyBinding", + "XkbTranslateKeyCode", + "XkbTranslateKeySym", + "XkbSetAutoRepeatRate", + "XkbGetAutoRepeatRate", + "XkbChangeEnabledControls", + "XkbDeviceBell", + "XkbForceDeviceBell", + "XkbDeviceBellEvent", + "XkbBell", + "XkbForceBell", + "XkbBellEvent", + "XkbSelectEvents", + "XkbSelectEventDetails", + "XkbNoteMapChanges", + "XkbNoteNameChanges", + "XkbGetIndicatorState", + "XkbGetIndicatorMap", + "XkbSetIndicatorMap", + "XkbGetNamedIndicator", + "XkbGetNamedDeviceIndicator", + "XkbSetNamedIndicator", + "XkbSetNamedDeviceIndicator", + "XkbLockModifiers", + "XkbLatchModifiers", + "XkbLockGroup", + "XkbLatchGroup", + "XkbSetServerInternalMods", + "XkbSetIgnoreLockMods", + "XkbVirtualModsToReal", + "XkbComputeEffectiveMap", + "XkbInitCanonicalKeyTypes", + "XkbAllocKeyboard", + "XkbFreeKeyboard", + "XkbAllocClientMap", + "XkbAllocServerMap", + "XkbFreeClientMap", + "XkbFreeServerMap", + "XkbAddKeyType", + "XkbAllocIndicatorMaps", + "XkbFreeIndicatorMaps", + "XkbGetMap", + "XkbGetUpdatedMap", + "XkbGetMapChanges", + "XkbRefreshKeyboardMapping", + "XkbGetKeyTypes", + "XkbGetKeySyms", + "XkbGetKeyActions", + "XkbGetKeyBehaviors", + "XkbGetVirtualMods", + "XkbGetKeyExplicitComponents", + "XkbGetKeyModifierMap", + "XkbGetKeyVirtualModMap", + "XkbAllocControls", + "XkbFreeControls", + "XkbGetControls", + "XkbSetControls", + "XkbNoteControlsChanges", + "XkbAllocCompatMap", + "XkbFreeCompatMap", + "XkbGetCompatMap", + "XkbSetCompatMap", + "XkbAllocNames", + "XkbGetNames", + "XkbSetNames", + "XkbChangeNames", + "XkbFreeNames", + "XkbGetState", + "XkbSetMap", + "XkbChangeMap", + "XkbSetDetectableAutoRepeat", + "XkbGetDetectableAutoRepeat", + "XkbSetAutoResetControls", + "XkbGetAutoResetControls", + "XkbSetPerClientControls", + "XkbGetPerClientControls", + "XkbCopyKeyType", + "XkbCopyKeyTypes", + "XkbResizeKeyType", + "XkbResizeKeySyms", + "XkbResizeKeyActions", + "XkbChangeTypesOfKey", + "XkbChangeKeycodeRange", + "XkbListComponents", + "XkbFreeComponentList", + "XkbGetKeyboard", + "XkbGetKeyboardByName", + "XkbKeyTypesForCoreSymbols", + "XkbApplyCompatMapToKey", + "XkbUpdateMapFromCore", + "XkbAddDeviceLedInfo", + "XkbResizeDeviceButtonActions", + "XkbAllocDeviceInfo", + "XkbFreeDeviceInfo", + "XkbNoteDeviceChanges", + "XkbGetDeviceInfo", + "XkbGetDeviceInfoChanges", + "XkbGetDeviceButtonActions", + "XkbGetDeviceLedInfo", + "XkbSetDeviceInfo", + "XkbChangeDeviceInfo", + "XkbSetDeviceLedInfo", + "XkbSetDeviceButtonActions", + "XkbToControl", + "XkbSetDebuggingFlags", + "XkbApplyVirtualModChanges", + "XkbUpdateActionVirtualMods", + "XkbUpdateKeyTypeVirtualMods", + "_Xmblen", + "XLoadQueryFont", + "XQueryFont", + "XGetMotionEvents", + "XDeleteModifiermapEntry", + "XGetModifierMapping", + "XInsertModifiermapEntry", + "XNewModifiermap", + "XCreateImage", + "XInitImage", + "XGetImage", + "XGetSubImage", + "XOpenDisplay", + "XrmInitialize", + "XFetchBytes", + "XFetchBuffer", + "XGetAtomName", + "XGetAtomNames", + "XGetDefault", + "XDisplayName", + "XKeysymToString", + "XSynchronize", + "XSetAfterFunction", + "XInternAtom", + "XInternAtoms", + "XCopyColormapAndFree", + "XCreateColormap", + "XCreatePixmapCursor", + "XCreateGlyphCursor", + "XCreateFontCursor", + "XLoadFont", + "XCreateGC", + "XGContextFromGC", + "XFlushGC", + "XCreatePixmap", + "XCreateBitmapFromData", + "XCreatePixmapFromBitmapData", + "XCreateSimpleWindow", + "XGetSelectionOwner", + "XCreateWindow", + "XListInstalledColormaps", + "XListFonts", + "XListFontsWithInfo", + "XGetFontPath", + "XListExtensions", + "XListProperties", + "XListHosts", + "XKeycodeToKeysym", + "XLookupKeysym", + "XGetKeyboardMapping", + "XStringToKeysym", + "XMaxRequestSize", + "XExtendedMaxRequestSize", + "XResourceManagerString", + "XScreenResourceString", + "XDisplayMotionBufferSize", + "XVisualIDFromVisual", + "XInitThreads", + "XLockDisplay", + "XUnlockDisplay", + "XInitExtension", + "XAddExtension", + "XFindOnExtensionList", + "XEHeadOfExtensionList", + "XRootWindow", + "XDefaultRootWindow", + "XRootWindowOfScreen", + "XDefaultVisual", + "XDefaultVisualOfScreen", + "XDefaultGC", + "XDefaultGCOfScreen", + "XBlackPixel", + "XWhitePixel", + "XAllPlanes", + "XBlackPixelOfScreen", + "XWhitePixelOfScreen", + "XNextRequest", + "XLastKnownRequestProcessed", + "XServerVendor", + "XDisplayString", + "XDefaultColormap", + "XDefaultColormapOfScreen", + "XDisplayOfScreen", + "XScreenOfDisplay", + "XDefaultScreenOfDisplay", + "XEventMaskOfScreen", + "XScreenNumberOfScreen", + "XSetErrorHandler", + "XSetIOErrorHandler", + "XListPixmapFormats", + "XListDepths", + "XReconfigureWMWindow", + "XGetWMProtocols", + "XSetWMProtocols", + "XIconifyWindow", + "XWithdrawWindow", + "XGetCommand", + "XGetWMColormapWindows", + "XSetWMColormapWindows", + "XFreeStringList", + "XSetTransientForHint", + "XActivateScreenSaver", + "XAddHost", + "XAddHosts", + "XAddToExtensionList", + "XAddToSaveSet", + "XAllocColor", + "XAllocColorCells", + "XAllocColorPlanes", + "XAllocNamedColor", + "XAllowEvents", + "XAutoRepeatOff", + "XAutoRepeatOn", + "XBell", + "XBitmapBitOrder", + "XBitmapPad", + "XBitmapUnit", + "XCellsOfScreen", + "XChangeActivePointerGrab", + "XChangeGC", + "XChangeKeyboardControl", + "XChangeKeyboardMapping", + "XChangePointerControl", + "XChangeProperty", + "XChangeSaveSet", + "XChangeWindowAttributes", + "XCheckIfEvent", + "XCheckMaskEvent", + "XCheckTypedEvent", + "XCheckTypedWindowEvent", + "XCheckWindowEvent", + "XCirculateSubwindows", + "XCirculateSubwindowsDown", + "XCirculateSubwindowsUp", + "XClearArea", + "XClearWindow", + "XCloseDisplay", + "XConfigureWindow", + "XConnectionNumber", + "XConvertSelection", + "XCopyArea", + "XCopyGC", + "XCopyPlane", + "XDefaultDepth", + "XDefaultDepthOfScreen", + "XDefaultScreen", + "XDefineCursor", + "XDeleteProperty", + "XDestroyWindow", + "XDestroySubwindows", + "XDoesBackingStore", + "XDoesSaveUnders", + "XDisableAccessControl", + "XDisplayCells", + "XDisplayHeight", + "XDisplayHeightMM", + "XDisplayKeycodes", + "XDisplayPlanes", + "XDisplayWidth", + "XDisplayWidthMM", + "XDrawArc", + "XDrawArcs", + "XDrawImageString", + "XDrawImageString16", + "XDrawLine", + "XDrawLines", + "XDrawPoint", + "XDrawPoints", + "XDrawRectangle", + "XDrawRectangles", + "XDrawSegments", + "XDrawString", + "XDrawString16", + "XDrawText", + "XDrawText16", + "XEnableAccessControl", + "XEventsQueued", + "XFetchName", + "XFillArc", + "XFillArcs", + "XFillPolygon", + "XFillRectangle", + "XFillRectangles", + "XFlush", + "XForceScreenSaver", + "XFree", + "XFreeColormap", + "XFreeColors", + "XFreeCursor", + "XFreeExtensionList", + "XFreeFont", + "XFreeFontInfo", + "XFreeFontNames", + "XFreeFontPath", + "XFreeGC", + "XFreeModifiermap", + "XFreePixmap", + "XGeometry", + "XGetErrorDatabaseText", + "XGetErrorText", + "XGetFontProperty", + "XGetGCValues", + "XGetGeometry", + "XGetIconName", + "XGetInputFocus", + "XGetKeyboardControl", + "XGetPointerControl", + "XGetPointerMapping", + "XGetScreenSaver", + "XGetTransientForHint", + "XGetWindowProperty", + "XGetWindowAttributes", + "XGrabButton", + "XGrabKey", + "XGrabKeyboard", + "XGrabPointer", + "XGrabServer", + "XHeightMMOfScreen", + "XHeightOfScreen", + "XIfEvent", + "XImageByteOrder", + "XInstallColormap", + "XKeysymToKeycode", + "XKillClient", + "XLookupColor", + "XLowerWindow", + "XMapRaised", + "XMapSubwindows", + "XMapWindow", + "XMaskEvent", + "XMaxCmapsOfScreen", + "XMinCmapsOfScreen", + "XMoveResizeWindow", + "XMoveWindow", + "XNextEvent", + "XNoOp", + "XParseColor", + "XParseGeometry", + "XPeekEvent", + "XPeekIfEvent", + "XPending", + "XPlanesOfScreen", + "XProtocolRevision", + "XProtocolVersion", + "XPutBackEvent", + "XPutImage", + "XQLength", + "XQueryBestCursor", + "XQueryBestSize", + "XQueryBestStipple", + "XQueryBestTile", + "XQueryColor", + "XQueryColors", + "XQueryExtension", + "XQueryKeymap", + "XQueryPointer", + "XQueryTextExtents", + "XQueryTextExtents16", + "XQueryTree", + "XRaiseWindow", + "XReadBitmapFile", + "XReadBitmapFileData", + "XRebindKeysym", + "XRecolorCursor", + "XRefreshKeyboardMapping", + "XRemoveFromSaveSet", + "XRemoveHost", + "XRemoveHosts", + "XReparentWindow", + "XResetScreenSaver", + "XResizeWindow", + "XRestackWindows", + "XRotateBuffers", + "XRotateWindowProperties", + "XScreenCount", + "XSelectInput", + "XSendEvent", + "XSetAccessControl", + "XSetArcMode", + "XSetBackground", + "XSetClipMask", + "XSetClipOrigin", + "XSetClipRectangles", + "XSetCloseDownMode", + "XSetCommand", + "XSetDashes", + "XSetFillRule", + "XSetFillStyle", + "XSetFont", + "XSetFontPath", + "XSetForeground", + "XSetFunction", + "XSetGraphicsExposures", + "XSetIconName", + "XSetInputFocus", + "XSetLineAttributes", + "XSetModifierMapping", + "XSetPlaneMask", + "XSetPointerMapping", + "XSetScreenSaver", + "XSetSelectionOwner", + "XSetState", + "XSetStipple", + "XSetSubwindowMode", + "XSetTSOrigin", + "XSetTile", + "XSetWindowBackground", + "XSetWindowBackgroundPixmap", + "XSetWindowBorder", + "XSetWindowBorderPixmap", + "XSetWindowBorderWidth", + "XSetWindowColormap", + "XStoreBuffer", + "XStoreBytes", + "XStoreColor", + "XStoreColors", + "XStoreName", + "XStoreNamedColor", + "XSync", + "XTextExtents", + "XTextExtents16", + "XTextWidth", + "XTextWidth16", + "XTranslateCoordinates", + "XUndefineCursor", + "XUngrabButton", + "XUngrabKey", + "XUngrabKeyboard", + "XUngrabPointer", + "XUngrabServer", + "XUninstallColormap", + "XUnloadFont", + "XUnmapSubwindows", + "XUnmapWindow", + "XVendorRelease", + "XWarpPointer", + "XWidthMMOfScreen", + "XWidthOfScreen", + "XWindowEvent", + "XWriteBitmapFile", + "XSupportsLocale", + "XSetLocaleModifiers", + "XOpenOM", + "XCloseOM", + "XSetOMValues", + "XGetOMValues", + "XDisplayOfOM", + "XLocaleOfOM", + "XCreateOC", + "XDestroyOC", + "XOMOfOC", + "XSetOCValues", + "XGetOCValues", + "XCreateFontSet", + "XFreeFontSet", + "XFontsOfFontSet", + "XBaseFontNameListOfFontSet", + "XLocaleOfFontSet", + "XContextDependentDrawing", + "XDirectionalDependentDrawing", + "XContextualDrawing", + "XExtentsOfFontSet", + "XmbTextEscapement", + "XwcTextEscapement", + "Xutf8TextEscapement", + "XmbTextExtents", + "XwcTextExtents", + "Xutf8TextExtents", + "XmbTextPerCharExtents", + "XwcTextPerCharExtents", + "Xutf8TextPerCharExtents", + "XmbDrawText", + "XwcDrawText", + "Xutf8DrawText", + "XmbDrawString", + "XwcDrawString", + "Xutf8DrawString", + "XmbDrawImageString", + "XwcDrawImageString", + "Xutf8DrawImageString", + "XOpenIM", + "XCloseIM", + "XGetIMValues", + "XSetIMValues", + "XDisplayOfIM", + "XLocaleOfIM", + "XCreateIC", + "XDestroyIC", + "XSetICFocus", + "XUnsetICFocus", + "XwcResetIC", + "XmbResetIC", + "Xutf8ResetIC", + "XSetICValues", + "XGetICValues", + "XIMOfIC", + "XFilterEvent", + "XmbLookupString", + "XwcLookupString", + "Xutf8LookupString", + "XVaCreateNestedList", + "XRegisterIMInstantiateCallback", + "XUnregisterIMInstantiateCallback", + "XInternalConnectionNumbers", + "XProcessInternalConnection", + "XAddConnectionWatch", + "XRemoveConnectionWatch", + "XSetAuthorization", + "_Xmbtowc", + "_Xwctomb", + "XGetEventData", + "XFreeEventData", + "XAllocClassHint", + "XAllocIconSize", + "XAllocSizeHints", + "XAllocStandardColormap", + "XAllocWMHints", + "XClipBox", + "XCreateRegion", + "XDefaultString", + "XDeleteContext", + "XDestroyRegion", + "XEmptyRegion", + "XEqualRegion", + "XFindContext", + "XGetClassHint", + "XGetIconSizes", + "XGetNormalHints", + "XGetRGBColormaps", + "XGetSizeHints", + "XGetStandardColormap", + "XGetTextProperty", + "XGetVisualInfo", + "XGetWMClientMachine", + "XGetWMHints", + "XGetWMIconName", + "XGetWMName", + "XGetWMNormalHints", + "XGetWMSizeHints", + "XGetZoomHints", + "XIntersectRegion", + "XConvertCase", + "XLookupString", + "XMatchVisualInfo", + "XOffsetRegion", + "XPointInRegion", + "XPolygonRegion", + "XRectInRegion", + "XSaveContext", + "XSetClassHint", + "XSetIconSizes", + "XSetNormalHints", + "XSetRGBColormaps", + "XSetSizeHints", + "XSetStandardProperties", + "XSetTextProperty", + "XSetWMClientMachine", + "XSetWMHints", + "XSetWMIconName", + "XSetWMName", + "XSetWMNormalHints", + "XSetWMProperties", + "XmbSetWMProperties", + "Xutf8SetWMProperties", + "XSetWMSizeHints", + "XSetRegion", + "XSetStandardColormap", + "XSetZoomHints", + "XShrinkRegion", + "XStringListToTextProperty", + "XSubtractRegion", + "XmbTextListToTextProperty", + "XwcTextListToTextProperty", + "Xutf8TextListToTextProperty", + "XwcFreeStringList", + "XTextPropertyToStringList", + "XmbTextPropertyToTextList", + "XwcTextPropertyToTextList", + "Xutf8TextPropertyToTextList", + "XUnionRectWithRegion", + "XUnionRegion", + "XWMGeometry", + "XXorRegion", + "XkbIgnoreExtension", + "XkbOpenDisplay", + "XkbQueryExtension", + "XkbUseExtension", + "XkbLibraryVersion", + "XkbSetXlibControls", + "XkbGetXlibControls", + "XkbXlibControlsImplemented", + "XkbSetAtomFuncs", + "XkbKeycodeToKeysym", + "XkbKeysymToModifiers", + "XkbLookupKeySym", + "XkbLookupKeyBinding", + "XkbTranslateKeyCode", + "XkbTranslateKeySym", + "XkbSetAutoRepeatRate", + "XkbGetAutoRepeatRate", + "XkbChangeEnabledControls", + "XkbDeviceBell", + "XkbForceDeviceBell", + "XkbDeviceBellEvent", + "XkbBell", + "XkbForceBell", + "XkbBellEvent", + "XkbSelectEvents", + "XkbSelectEventDetails", + "XkbNoteMapChanges", + "XkbNoteNameChanges", + "XkbGetIndicatorState", + "XkbGetIndicatorMap", + "XkbSetIndicatorMap", + "XkbGetNamedIndicator", + "XkbGetNamedDeviceIndicator", + "XkbSetNamedIndicator", + "XkbSetNamedDeviceIndicator", + "XkbLockModifiers", + "XkbLatchModifiers", + "XkbLockGroup", + "XkbLatchGroup", + "XkbSetServerInternalMods", + "XkbSetIgnoreLockMods", + "XkbVirtualModsToReal", + "XkbComputeEffectiveMap", + "XkbInitCanonicalKeyTypes", + "XkbAllocKeyboard", + "XkbFreeKeyboard", + "XkbAllocClientMap", + "XkbAllocServerMap", + "XkbFreeClientMap", + "XkbFreeServerMap", + "XkbAddKeyType", + "XkbAllocIndicatorMaps", + "XkbFreeIndicatorMaps", + "XkbGetMap", + "XkbGetUpdatedMap", + "XkbGetMapChanges", + "XkbRefreshKeyboardMapping", + "XkbGetKeyTypes", + "XkbGetKeySyms", + "XkbGetKeyActions", + "XkbGetKeyBehaviors", + "XkbGetVirtualMods", + "XkbGetKeyExplicitComponents", + "XkbGetKeyModifierMap", + "XkbGetKeyVirtualModMap", + "XkbAllocControls", + "XkbFreeControls", + "XkbGetControls", + "XkbSetControls", + "XkbNoteControlsChanges", + "XkbAllocCompatMap", + "XkbFreeCompatMap", + "XkbGetCompatMap", + "XkbSetCompatMap", + "XkbAllocNames", + "XkbGetNames", + "XkbSetNames", + "XkbChangeNames", + "XkbFreeNames", + "XkbGetState", + "XkbSetMap", + "XkbChangeMap", + "XkbSetDetectableAutoRepeat", + "XkbGetDetectableAutoRepeat", + "XkbSetAutoResetControls", + "XkbGetAutoResetControls", + "XkbSetPerClientControls", + "XkbGetPerClientControls", + "XkbCopyKeyType", + "XkbCopyKeyTypes", + "XkbResizeKeyType", + "XkbResizeKeySyms", + "XkbResizeKeyActions", + "XkbChangeTypesOfKey", + "XkbChangeKeycodeRange", + "XkbListComponents", + "XkbFreeComponentList", + "XkbGetKeyboard", + "XkbGetKeyboardByName", + "XkbKeyTypesForCoreSymbols", + "XkbApplyCompatMapToKey", + "XkbUpdateMapFromCore", + "XkbAddDeviceLedInfo", + "XkbResizeDeviceButtonActions", + "XkbAllocDeviceInfo", + "XkbFreeDeviceInfo", + "XkbNoteDeviceChanges", + "XkbGetDeviceInfo", + "XkbGetDeviceInfoChanges", + "XkbGetDeviceButtonActions", + "XkbGetDeviceLedInfo", + "XkbSetDeviceInfo", + "XkbChangeDeviceInfo", + "XkbSetDeviceLedInfo", + "XkbSetDeviceButtonActions", + "XkbToControl", + "XkbSetDebuggingFlags", + "XkbApplyVirtualModChanges", + "XkbUpdateActionVirtualMods", + "XkbUpdateKeyTypeVirtualMods" + ] + }, + "platform/linuxbsd/x11/dynwrappers/xinput2-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_XINPUT2", + "XIQueryPointer", + "XIWarpPointer", + "XIDefineCursor", + "XIUndefineCursor", + "XIChangeHierarchy", + "XISetClientPointer", + "XIGetClientPointer", + "XISelectEvents", + "XIGetSelectedEvents", + "XIQueryVersion", + "XIQueryDevice", + "XISetFocus", + "XIGetFocus", + "XIGrabDevice", + "XIUngrabDevice", + "XIAllowEvents", + "XIAllowTouchEvents", + "XIGrabButton", + "XIGrabKeycode", + "XIGrabEnter", + "XIGrabFocusIn", + "XIGrabTouchBegin", + "XIUngrabButton", + "XIUngrabKeycode", + "XIUngrabEnter", + "XIUngrabFocusIn", + "XIUngrabTouchBegin", + "XIListProperties", + "XIChangeProperty", + "XIDeleteProperty", + "XIGetProperty", + "XIBarrierReleasePointers", + "XIBarrierReleasePointer", + "XIFreeDeviceInfo", + "XIQueryPointer", + "XIWarpPointer", + "XIDefineCursor", + "XIUndefineCursor", + "XIChangeHierarchy", + "XISetClientPointer", + "XIGetClientPointer", + "XISelectEvents", + "XIGetSelectedEvents", + "XIQueryVersion", + "XIQueryDevice", + "XISetFocus", + "XIGetFocus", + "XIGrabDevice", + "XIUngrabDevice", + "XIAllowEvents", + "XIAllowTouchEvents", + "XIGrabButton", + "XIGrabKeycode", + "XIGrabEnter", + "XIGrabFocusIn", + "XIGrabTouchBegin", + "XIUngrabButton", + "XIUngrabKeycode", + "XIUngrabEnter", + "XIUngrabFocusIn", + "XIUngrabTouchBegin", + "XIListProperties", + "XIChangeProperty", + "XIDeleteProperty", + "XIGetProperty", + "XIBarrierReleasePointers", + "XIBarrierReleasePointer", + "XIFreeDeviceInfo" + ] + }, + "platform/linuxbsd/x11/dynwrappers/xrandr-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_XRANDR", + "XRRQueryExtension", + "XRRQueryVersion", + "XRRGetScreenInfo", + "XRRFreeScreenConfigInfo", + "XRRSetScreenConfig", + "XRRSetScreenConfigAndRate", + "XRRConfigRotations", + "XRRConfigTimes", + "XRRConfigSizes", + "XRRConfigRates", + "XRRConfigCurrentConfiguration", + "XRRConfigCurrentRate", + "XRRRootToScreen", + "XRRSelectInput", + "XRRRotations", + "XRRSizes", + "XRRRates", + "XRRTimes", + "XRRGetScreenSizeRange", + "XRRSetScreenSize", + "XRRGetScreenResources", + "XRRFreeScreenResources", + "XRRGetOutputInfo", + "XRRFreeOutputInfo", + "XRRListOutputProperties", + "XRRQueryOutputProperty", + "XRRConfigureOutputProperty", + "XRRChangeOutputProperty", + "XRRDeleteOutputProperty", + "XRRGetOutputProperty", + "XRRAllocModeInfo", + "XRRCreateMode", + "XRRDestroyMode", + "XRRAddOutputMode", + "XRRDeleteOutputMode", + "XRRFreeModeInfo", + "XRRGetCrtcInfo", + "XRRFreeCrtcInfo", + "XRRSetCrtcConfig", + "XRRGetCrtcGammaSize", + "XRRGetCrtcGamma", + "XRRAllocGamma", + "XRRSetCrtcGamma", + "XRRFreeGamma", + "XRRGetScreenResourcesCurrent", + "XRRSetCrtcTransform", + "XRRGetCrtcTransform", + "XRRUpdateConfiguration", + "XRRGetPanning", + "XRRFreePanning", + "XRRSetPanning", + "XRRSetOutputPrimary", + "XRRGetOutputPrimary", + "XRRGetProviderResources", + "XRRFreeProviderResources", + "XRRGetProviderInfo", + "XRRFreeProviderInfo", + "XRRSetProviderOutputSource", + "XRRSetProviderOffloadSink", + "XRRListProviderProperties", + "XRRQueryProviderProperty", + "XRRConfigureProviderProperty", + "XRRChangeProviderProperty", + "XRRDeleteProviderProperty", + "XRRGetProviderProperty", + "XRRAllocateMonitor", + "XRRGetMonitors", + "XRRSetMonitor", + "XRRDeleteMonitor", + "XRRFreeMonitors", + "XRRQueryExtension", + "XRRQueryVersion", + "XRRGetScreenInfo", + "XRRFreeScreenConfigInfo", + "XRRSetScreenConfig", + "XRRSetScreenConfigAndRate", + "XRRConfigRotations", + "XRRConfigTimes", + "XRRConfigSizes", + "XRRConfigRates", + "XRRConfigCurrentConfiguration", + "XRRConfigCurrentRate", + "XRRRootToScreen", + "XRRSelectInput", + "XRRRotations", + "XRRSizes", + "XRRRates", + "XRRTimes", + "XRRGetScreenSizeRange", + "XRRSetScreenSize", + "XRRGetScreenResources", + "XRRFreeScreenResources", + "XRRGetOutputInfo", + "XRRFreeOutputInfo", + "XRRListOutputProperties", + "XRRQueryOutputProperty", + "XRRConfigureOutputProperty", + "XRRChangeOutputProperty", + "XRRDeleteOutputProperty", + "XRRGetOutputProperty", + "XRRAllocModeInfo", + "XRRCreateMode", + "XRRDestroyMode", + "XRRAddOutputMode", + "XRRDeleteOutputMode", + "XRRFreeModeInfo", + "XRRGetCrtcInfo", + "XRRFreeCrtcInfo", + "XRRSetCrtcConfig", + "XRRGetCrtcGammaSize", + "XRRGetCrtcGamma", + "XRRAllocGamma", + "XRRSetCrtcGamma", + "XRRFreeGamma", + "XRRGetScreenResourcesCurrent", + "XRRSetCrtcTransform", + "XRRGetCrtcTransform", + "XRRUpdateConfiguration", + "XRRGetPanning", + "XRRFreePanning", + "XRRSetPanning", + "XRRSetOutputPrimary", + "XRRGetOutputPrimary", + "XRRGetProviderResources", + "XRRFreeProviderResources", + "XRRGetProviderInfo", + "XRRFreeProviderInfo", + "XRRSetProviderOutputSource", + "XRRSetProviderOffloadSink", + "XRRListProviderProperties", + "XRRQueryProviderProperty", + "XRRConfigureProviderProperty", + "XRRChangeProviderProperty", + "XRRDeleteProviderProperty", + "XRRGetProviderProperty", + "XRRAllocateMonitor", + "XRRGetMonitors", + "XRRSetMonitor", + "XRRDeleteMonitor", + "XRRFreeMonitors" + ] + }, + "platform/linuxbsd/x11/dynwrappers/xcursor-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_XCURSOR", + "XcursorImageCreate", + "XcursorImageDestroy", + "XcursorImagesCreate", + "XcursorImagesDestroy", + "XcursorImagesSetName", + "XcursorCursorsCreate", + "XcursorCursorsDestroy", + "XcursorAnimateCreate", + "XcursorAnimateDestroy", + "XcursorAnimateNext", + "XcursorCommentCreate", + "XcursorCommentDestroy", + "XcursorCommentsCreate", + "XcursorCommentsDestroy", + "XcursorXcFileLoadImage", + "XcursorXcFileLoadImages", + "XcursorXcFileLoadAllImages", + "XcursorXcFileLoad", + "XcursorXcFileSave", + "XcursorFileLoadImage", + "XcursorFileLoadImages", + "XcursorFileLoadAllImages", + "XcursorFileLoad", + "XcursorFileSaveImages", + "XcursorFileSave", + "XcursorFilenameLoadImage", + "XcursorFilenameLoadImages", + "XcursorFilenameLoadAllImages", + "XcursorFilenameLoad", + "XcursorFilenameSaveImages", + "XcursorFilenameSave", + "XcursorLibraryLoadImage", + "XcursorLibraryLoadImages", + "XcursorLibraryPath", + "XcursorLibraryShape", + "XcursorImageLoadCursor", + "XcursorImagesLoadCursors", + "XcursorImagesLoadCursor", + "XcursorFilenameLoadCursor", + "XcursorFilenameLoadCursors", + "XcursorLibraryLoadCursor", + "XcursorLibraryLoadCursors", + "XcursorShapeLoadImage", + "XcursorShapeLoadImages", + "XcursorShapeLoadCursor", + "XcursorShapeLoadCursors", + "XcursorTryShapeCursor", + "XcursorNoticeCreateBitmap", + "XcursorNoticePutBitmap", + "XcursorTryShapeBitmapCursor", + "XcursorImageHash", + "XcursorSupportsARGB", + "XcursorSupportsAnim", + "XcursorSetDefaultSize", + "XcursorGetDefaultSize", + "XcursorSetTheme", + "XcursorGetTheme", + "XcursorGetThemeCore", + "XcursorSetThemeCore", + "XcursorImageCreate", + "XcursorImageDestroy", + "XcursorImagesCreate", + "XcursorImagesDestroy", + "XcursorImagesSetName", + "XcursorCursorsCreate", + "XcursorCursorsDestroy", + "XcursorAnimateCreate", + "XcursorAnimateDestroy", + "XcursorAnimateNext", + "XcursorCommentCreate", + "XcursorCommentDestroy", + "XcursorCommentsCreate", + "XcursorCommentsDestroy", + "XcursorXcFileLoadImage", + "XcursorXcFileLoadImages", + "XcursorXcFileLoadAllImages", + "XcursorXcFileLoad", + "XcursorXcFileSave", + "XcursorFileLoadImage", + "XcursorFileLoadImages", + "XcursorFileLoadAllImages", + "XcursorFileLoad", + "XcursorFileSaveImages", + "XcursorFileSave", + "XcursorFilenameLoadImage", + "XcursorFilenameLoadImages", + "XcursorFilenameLoadAllImages", + "XcursorFilenameLoad", + "XcursorFilenameSaveImages", + "XcursorFilenameSave", + "XcursorLibraryLoadImage", + "XcursorLibraryLoadImages", + "XcursorLibraryPath", + "XcursorLibraryShape", + "XcursorImageLoadCursor", + "XcursorImagesLoadCursors", + "XcursorImagesLoadCursor", + "XcursorFilenameLoadCursor", + "XcursorFilenameLoadCursors", + "XcursorLibraryLoadCursor", + "XcursorLibraryLoadCursors", + "XcursorShapeLoadImage", + "XcursorShapeLoadImages", + "XcursorShapeLoadCursor", + "XcursorShapeLoadCursors", + "XcursorTryShapeCursor", + "XcursorNoticeCreateBitmap", + "XcursorNoticePutBitmap", + "XcursorTryShapeBitmapCursor", + "XcursorImageHash", + "XcursorSupportsARGB", + "XcursorSupportsAnim", + "XcursorSetDefaultSize", + "XcursorGetDefaultSize", + "XcursorSetTheme", + "XcursorGetTheme", + "XcursorGetThemeCore", + "XcursorSetThemeCore" + ] + }, + "platform/linuxbsd/x11/dynwrappers/xext-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_XEXT", + "XShapeQueryExtension", + "XShapeQueryVersion", + "XShapeCombineRegion", + "XShapeCombineRectangles", + "XShapeCombineMask", + "XShapeCombineShape", + "XShapeOffsetShape", + "XShapeQueryExtents", + "XShapeSelectInput", + "XShapeInputSelected", + "XShapeGetRectangles", + "XShapeQueryExtension", + "XShapeQueryVersion", + "XShapeCombineRegion", + "XShapeCombineRectangles", + "XShapeCombineMask", + "XShapeCombineShape", + "XShapeOffsetShape", + "XShapeQueryExtents", + "XShapeSelectInput", + "XShapeInputSelected", + "XShapeGetRectangles" + ] + }, + "platform/linuxbsd/x11/dynwrappers/xinerama-so_wrap.h": { + "classes": [], + "structs": [], + "defines": [ + "DYLIBLOAD_WRAPPER_XINERAMA", + "XineramaQueryExtension", + "XineramaQueryVersion", + "XineramaIsActive", + "XineramaQueryScreens", + "XineramaQueryExtension", + "XineramaQueryVersion", + "XineramaIsActive", + "XineramaQueryScreens" + ] + }, + "platform/linuxbsd/export/export.h": { + "classes": [], + "structs": [], + "defines": [ + "LINUXBSD_EXPORT_H" + ] + }, + "platform/linuxbsd/export/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/linuxbsd/export/export_plugin.h": { + "classes": [ + "EditorExportPlatformLinuxBSD" + ], + "structs": [ + "SSHCleanupCommand" + ], + "defines": [ + "LINUXBSD_EXPORT_PLUGIN_H" + ] + }, + "platform/linuxbsd/export/run_icon_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/uwp/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/uwp/logo.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "platform/uwp/export/logo_svg.gen.h": { + "classes": [], + "structs": [], + "defines": [] + }, + "scene/property_list_helper.h": { + "classes": [ + "PropertyListHelper" + ], + "structs": [ + "Property" + ], + "defines": [ + "PROPERTY_LIST_HELPER_H" + ] + }, + "scene/scene_string_names.h": { + "classes": [ + "SceneStringNames" + ], + "structs": [], + "defines": [ + "SCENE_STRING_NAMES_H" + ] + }, + "scene/register_scene_types.h": { + "classes": [], + "structs": [], + "defines": [ + "REGISTER_SCENE_TYPES_H" + ] + }, + "scene/property_utils.h": { + "classes": [ + "PropertyUtils" + ], + "structs": [], + "defines": [ + "PROPERTY_UTILS_H" + ] + }, + "scene/3d/audio_stream_player_3d.h": { + "classes": [ + "AudioStreamPlayer3D" + ], + "structs": [], + "defines": [ + "AUDIO_STREAM_PLAYER_3D_H" + ] + }, + "scene/3d/voxel_gi.h": { + "classes": [ + "VoxelGIData", + "VoxelGI" + ], + "structs": [ + "PlotMesh" + ], + "defines": [ + "VOXEL_GI_H" + ] + }, + "scene/3d/marker_3d.h": { + "classes": [ + "Marker3D" + ], + "structs": [], + "defines": [ + "MARKER_3D_H" + ] + }, + "scene/3d/reflection_probe.h": { + "classes": [ + "ReflectionProbe" + ], + "structs": [], + "defines": [ + "REFLECTION_PROBE_H" + ] + }, + "scene/3d/camera_3d.h": { + "classes": [ + "Camera3D" + ], + "structs": [], + "defines": [ + "CAMERA_3D_H" + ] + }, + "scene/3d/remote_transform_3d.h": { + "classes": [ + "RemoteTransform3D" + ], + "structs": [], + "defines": [ + "REMOTE_TRANSFORM_3D_H" + ] + }, + "scene/3d/xr_hand_modifier_3d.h": { + "classes": [ + "XRHandModifier3D" + ], + "structs": [ + "JointData" + ], + "defines": [ + "XR_HAND_MODIFIER_3D_H" + ] + }, + "scene/3d/visible_on_screen_notifier_3d.h": { + "classes": [ + "VisibleOnScreenNotifier3D", + "VisibleOnScreenEnabler3D" + ], + "structs": [], + "defines": [ + "VISIBLE_ON_SCREEN_NOTIFIER_3D_H" + ] + }, + "scene/3d/world_environment.h": { + "classes": [ + "WorldEnvironment" + ], + "structs": [], + "defines": [ + "WORLD_ENVIRONMENT_H" + ] + }, + "scene/3d/path_3d.h": { + "classes": [ + "Path3D", + "PathFollow3D" + ], + "structs": [], + "defines": [ + "PATH_3D_H" + ] + }, + "scene/3d/voxelizer.h": { + "classes": [ + "Voxelizer" + ], + "structs": [ + "Cell", + "CellSort", + "MaterialCache" + ], + "defines": [ + "VOXELIZER_H" + ] + }, + "scene/3d/mesh_instance_3d.h": { + "classes": [ + "MeshInstance3D" + ], + "structs": [], + "defines": [ + "MESH_INSTANCE_3D_H" + ] + }, + "scene/3d/decal.h": { + "classes": [ + "Decal" + ], + "structs": [], + "defines": [ + "DECAL_H" + ] + }, + "scene/3d/navigation_obstacle_3d.h": { + "classes": [ + "NavigationObstacle3D" + ], + "structs": [], + "defines": [ + "NAVIGATION_OBSTACLE_3D_H" + ] + }, + "scene/3d/navigation_region_3d.h": { + "classes": [ + "NavigationRegion3D" + ], + "structs": [], + "defines": [ + "NAVIGATION_REGION_3D_H" + ] + }, + "scene/3d/navigation_agent_3d.h": { + "classes": [ + "NavigationAgent3D" + ], + "structs": [], + "defines": [ + "NAVIGATION_AGENT_3D_H" + ] + }, + "scene/3d/visual_instance_3d.h": { + "classes": [ + "VisualInstance3D", + "GeometryInstance3D" + ], + "structs": [], + "defines": [ + "VISUAL_INSTANCE_3D_H" + ] + }, + "scene/3d/lightmap_probe.h": { + "classes": [ + "LightmapProbe" + ], + "structs": [], + "defines": [ + "LIGHTMAP_PROBE_H" + ] + }, + "scene/3d/fog_volume.h": { + "classes": [ + "FogVolume" + ], + "structs": [], + "defines": [ + "FOG_VOLUME_H" + ] + }, + "scene/3d/velocity_tracker_3d.h": { + "classes": [ + "VelocityTracker3D" + ], + "structs": [ + "PositionHistory" + ], + "defines": [ + "VELOCITY_TRACKER_3D_H" + ] + }, + "scene/3d/skeleton_3d.h": { + "classes": [ + "SkinReference", + "Skeleton3D" + ], + "structs": [ + "Bone" + ], + "defines": [ + "SKELETON_3D_H" + ] + }, + "scene/3d/cpu_particles_3d.h": { + "classes": [ + "CPUParticles3D" + ], + "structs": [ + "Particle", + "SortLifetime", + "SortAxis" + ], + "defines": [ + "CPU_PARTICLES_3D_H" + ] + }, + "scene/3d/soft_body_3d.h": { + "classes": [ + "SoftBodyRenderingServerHandler", + "SoftBody3D" + ], + "structs": [ + "PinnedPoint" + ], + "defines": [ + "SOFT_BODY_3D_H" + ] + }, + "scene/3d/audio_listener_3d.h": { + "classes": [ + "AudioListener3D" + ], + "structs": [], + "defines": [ + "AUDIO_LISTENER_3D_H" + ] + }, + "scene/3d/gpu_particles_3d.h": { + "classes": [ + "GPUParticles3D" + ], + "structs": [], + "defines": [ + "GPU_PARTICLES_3D_H" + ] + }, + "scene/3d/navigation_link_3d.h": { + "classes": [ + "NavigationLink3D" + ], + "structs": [], + "defines": [ + "NAVIGATION_LINK_3D_H" + ] + }, + "scene/3d/light_3d.h": { + "classes": [ + "Light3D", + "DirectionalLight3D", + "OmniLight3D", + "SpotLight3D" + ], + "structs": [], + "defines": [ + "LIGHT_3D_H" + ] + }, + "scene/3d/skeleton_ik_3d.h": { + "classes": [ + "FabrikInverseKinematic", + "SkeletonIK3D" + ], + "structs": [ + "EndEffector", + "ChainItem", + "ChainTip", + "Chain", + "Task" + ], + "defines": [ + "SKELETON_IK_3D_H" + ] + }, + "scene/3d/occluder_instance_3d.h": { + "classes": [ + "Occluder3D", + "ArrayOccluder3D", + "QuadOccluder3D", + "BoxOccluder3D", + "SphereOccluder3D", + "PolygonOccluder3D", + "OccluderInstance3D" + ], + "structs": [], + "defines": [ + "OCCLUDER_INSTANCE_3D_H" + ] + }, + "scene/3d/xr_body_modifier_3d.h": { + "classes": [ + "XRBodyModifier3D" + ], + "structs": [ + "JointData" + ], + "defines": [ + "XR_BODY_MODIFIER_3D_H" + ] + }, + "scene/3d/xr_face_modifier_3d.h": { + "classes": [ + "XRFaceModifier3D" + ], + "structs": [], + "defines": [ + "XR_FACE_MODIFIER_3D_H" + ] + }, + "scene/3d/bone_attachment_3d.h": { + "classes": [ + "BoneAttachment3D" + ], + "structs": [], + "defines": [ + "BONE_ATTACHMENT_3D_H" + ] + }, + "scene/3d/multimesh_instance_3d.h": { + "classes": [ + "MultiMeshInstance3D" + ], + "structs": [], + "defines": [ + "MULTIMESH_INSTANCE_3D_H" + ] + }, + "scene/3d/gpu_particles_collision_3d.h": { + "classes": [ + "GPUParticlesCollision3D", + "GPUParticlesCollisionSphere3D", + "GPUParticlesCollisionBox3D", + "GPUParticlesCollisionSDF3D", + "GPUParticlesCollisionHeightField3D", + "GPUParticlesAttractor3D", + "GPUParticlesAttractorSphere3D", + "GPUParticlesAttractorBox3D", + "GPUParticlesAttractorVectorField3D" + ], + "structs": [ + "PlotMesh", + "BVH", + "FacePos", + "FaceSort", + "ComputeSDFParams" + ], + "defines": [ + "GPU_PARTICLES_COLLISION_3D_H" + ] + }, + "scene/3d/node_3d.h": { + "classes": [ + "Node3DGizmo", + "Node3D" + ], + "structs": [ + "Data" + ], + "defines": [ + "NODE_3D_H" + ] + }, + "scene/3d/label_3d.h": { + "classes": [ + "Label3D" + ], + "structs": [ + "SurfaceData", + "SurfaceKey", + "SurfaceKeyHasher" + ], + "defines": [ + "LABEL_3D_H" + ] + }, + "scene/3d/lightmap_gi.h": { + "classes": [ + "LightmapGIData", + "LightmapGI" + ], + "structs": [ + "User", + "LightsFound", + "MeshesFound", + "BakeTimeData", + "BSPSimplex", + "BSPNode", + "BakeStepUD", + "GenProbesOctree" + ], + "defines": [ + "LIGHTMAP_GI_H" + ] + }, + "scene/3d/lightmapper.h": { + "classes": [ + "LightmapDenoiser", + "LightmapRaycaster", + "Lightmapper" + ], + "structs": [ + "MeshData" + ], + "defines": [ + "LIGHTMAPPER_H", + "__aligned", + "__aligned" + ] + }, + "scene/3d/importer_mesh_instance_3d.h": { + "classes": [ + "ImporterMeshInstance3D" + ], + "structs": [], + "defines": [ + "IMPORTER_MESH_INSTANCE_3D_H" + ] + }, + "scene/3d/sprite_3d.h": { + "classes": [ + "SpriteBase3D", + "Sprite3D", + "AnimatedSprite3D" + ], + "structs": [], + "defines": [ + "SPRITE_3D_H" + ] + }, + "scene/3d/xr_nodes.h": { + "classes": [ + "XRCamera3D", + "XRNode3D", + "XRController3D", + "XRAnchor3D", + "XROrigin3D" + ], + "structs": [], + "defines": [ + "XR_NODES_H" + ] + }, + "scene/3d/physics/character_body_3d.h": { + "classes": [ + "CharacterBody3D" + ], + "structs": [], + "defines": [ + "CHARACTER_BODY_3D_H" + ] + }, + "scene/3d/physics/collision_object_3d.h": { + "classes": [ + "CollisionObject3D" + ], + "structs": [ + "ShapeData", + "ShapeBase" + ], + "defines": [ + "COLLISION_OBJECT_3D_H" + ] + }, + "scene/3d/physics/kinematic_collision_3d.h": { + "classes": [ + "KinematicCollision3D" + ], + "structs": [], + "defines": [ + "KINEMATIC_COLLISION_3D_H" + ] + }, + "scene/3d/physics/ray_cast_3d.h": { + "classes": [ + "RayCast3D" + ], + "structs": [], + "defines": [ + "RAY_CAST_3D_H" + ] + }, + "scene/3d/physics/physics_body_3d.h": { + "classes": [ + "PhysicsBody3D" + ], + "structs": [], + "defines": [ + "PHYSICS_BODY_3D_H" + ] + }, + "scene/3d/physics/spring_arm_3d.h": { + "classes": [ + "SpringArm3D" + ], + "structs": [], + "defines": [ + "SPRING_ARM_3D_H" + ] + }, + "scene/3d/physics/area_3d.h": { + "classes": [ + "Area3D" + ], + "structs": [ + "ShapePair", + "BodyState", + "AreaShapePair", + "AreaState" + ], + "defines": [ + "AREA_3D_H" + ] + }, + "scene/3d/physics/static_body_3d.h": { + "classes": [ + "StaticBody3D" + ], + "structs": [], + "defines": [ + "STATIC_BODY_3D_H" + ] + }, + "scene/3d/physics/animatable_body_3d.h": { + "classes": [ + "AnimatableBody3D" + ], + "structs": [], + "defines": [ + "ANIMATABLE_BODY_3D_H" + ] + }, + "scene/3d/physics/vehicle_body_3d.h": { + "classes": [ + "VehicleWheel3D", + "VehicleBody3D" + ], + "structs": [ + "RaycastInfo", + "btVehicleWheelContactPoint" + ], + "defines": [ + "VEHICLE_BODY_3D_H" + ] + }, + "scene/3d/physics/physical_bone_3d.h": { + "classes": [ + "PhysicalBone3D" + ], + "structs": [ + "JointData", + "PinJointData", + "ConeJointData", + "HingeJointData", + "SliderJointData", + "SixDOFJointData", + "SixDOFAxisData" + ], + "defines": [ + "PHYSICAL_BONE_3D_H" + ] + }, + "scene/3d/physics/shape_cast_3d.h": { + "classes": [ + "ShapeCast3D" + ], + "structs": [], + "defines": [ + "SHAPE_CAST_3D_H" + ] + }, + "scene/3d/physics/collision_polygon_3d.h": { + "classes": [ + "CollisionPolygon3D" + ], + "structs": [], + "defines": [ + "COLLISION_POLYGON_3D_H" + ] + }, + "scene/3d/physics/collision_shape_3d.h": { + "classes": [ + "CollisionShape3D" + ], + "structs": [], + "defines": [ + "COLLISION_SHAPE_3D_H" + ] + }, + "scene/3d/physics/rigid_body_3d.h": { + "classes": [ + "RigidBody3D" + ], + "structs": [ + "ShapePair", + "RigidBody3D_RemoveAction", + "BodyState", + "ContactMonitor" + ], + "defines": [ + "RIGID_BODY_3D_H" + ] + }, + "scene/3d/physics/joints/cone_twist_joint_3d.h": { + "classes": [ + "ConeTwistJoint3D" + ], + "structs": [], + "defines": [ + "CONE_TWIST_JOINT_3D_H" + ] + }, + "scene/3d/physics/joints/slider_joint_3d.h": { + "classes": [ + "SliderJoint3D" + ], + "structs": [], + "defines": [ + "SLIDER_JOINT_3D_H" + ] + }, + "scene/3d/physics/joints/joint_3d.h": { + "classes": [ + "Joint3D" + ], + "structs": [], + "defines": [ + "JOINT_3D_H" + ] + }, + "scene/3d/physics/joints/hinge_joint_3d.h": { + "classes": [ + "HingeJoint3D" + ], + "structs": [], + "defines": [ + "HINGE_JOINT_3D_H" + ] + }, + "scene/3d/physics/joints/generic_6dof_joint_3d.h": { + "classes": [ + "Generic6DOFJoint3D" + ], + "structs": [], + "defines": [ + "GENERIC_6DOF_JOINT_3D_H" + ] + }, + "scene/3d/physics/joints/pin_joint_3d.h": { + "classes": [ + "PinJoint3D" + ], + "structs": [], + "defines": [ + "PIN_JOINT_3D_H" + ] + }, + "scene/resources/portable_compressed_texture.h": { + "classes": [ + "PortableCompressedTexture2D" + ], + "structs": [], + "defines": [ + "PORTABLE_COMPRESSED_TEXTURE_H" + ] + }, + "scene/resources/style_box_texture.h": { + "classes": [ + "StyleBoxTexture" + ], + "structs": [], + "defines": [ + "STYLE_BOX_TEXTURE_H" + ] + }, + "scene/resources/syntax_highlighter.h": { + "classes": [ + "SyntaxHighlighter", + "CodeHighlighter" + ], + "structs": [ + "ColorRegion" + ], + "defines": [ + "SYNTAX_HIGHLIGHTER_H" + ] + }, + "scene/resources/theme.h": { + "classes": [ + "Theme" + ], + "structs": [], + "defines": [ + "THEME_H" + ] + }, + "scene/resources/animation.h": { + "classes": [ + "Animation" + ], + "structs": [ + "Track", + "Key", + "TKey", + "PositionTrack", + "RotationTrack", + "ScaleTrack", + "BlendShapeTrack", + "ValueTrack", + "MethodKey", + "MethodTrack", + "BezierKey", + "BezierTrack", + "AudioKey", + "AudioTrack", + "AnimationTrack", + "Compression", + "Page" + ], + "defines": [ + "ANIMATION_H", + "ANIM_MIN_LENGTH" + ] + }, + "scene/resources/bit_map.h": { + "classes": [ + "BitMap" + ], + "structs": [], + "defines": [ + "BIT_MAP_H" + ] + }, + "scene/resources/animated_texture.h": { + "classes": [ + "AnimatedTexture" + ], + "structs": [ + "Frame" + ], + "defines": [ + "ANIMATED_TEXTURE_H" + ] + }, + "scene/resources/sprite_frames.h": { + "classes": [ + "SpriteFrames" + ], + "structs": [ + "Frame", + "Anim" + ], + "defines": [ + "SPRITE_FRAMES_H" + ] + }, + "scene/resources/style_box_line.h": { + "classes": [ + "StyleBoxLine" + ], + "structs": [], + "defines": [ + "STYLE_BOX_LINE_H" + ] + }, + "scene/resources/shader.h": { + "classes": [ + "Shader", + "ResourceFormatLoaderShader", + "ResourceFormatSaverShader" + ], + "structs": [], + "defines": [ + "SHADER_H" + ] + }, + "scene/resources/surface_tool.h": { + "classes": [ + "SurfaceTool" + ], + "structs": [ + "Vertex", + "VertexHasher", + "SmoothGroupVertex", + "SmoothGroupVertexHasher", + "TriangleHasher", + "WeightSort" + ], + "defines": [ + "SURFACE_TOOL_H" + ] + }, + "scene/resources/text_paragraph.h": { + "classes": [ + "TextParagraph" + ], + "structs": [], + "defines": [ + "TEXT_PARAGRAPH_H" + ] + }, + "scene/resources/compressed_texture.h": { + "classes": [ + "CompressedTexture2D", + "ResourceFormatLoaderCompressedTexture2D", + "CompressedTextureLayered", + "ResourceFormatLoaderCompressedTextureLayered", + "CompressedTexture2DArray", + "CompressedCubemap", + "CompressedCubemapArray", + "CompressedTexture3D", + "ResourceFormatLoaderCompressedTexture3D" + ], + "structs": [], + "defines": [ + "COMPRESSED_TEXTURE_H" + ] + }, + "scene/resources/gradient.h": { + "classes": [ + "Gradient" + ], + "structs": [ + "Point" + ], + "defines": [ + "GRADIENT_H" + ] + }, + "scene/resources/navigation_polygon.h": { + "classes": [ + "NavigationPolygon" + ], + "structs": [ + "Polygon" + ], + "defines": [ + "NAVIGATION_POLYGON_H" + ] + }, + "scene/resources/visual_shader.h": { + "classes": [ + "VisualShader", + "VisualShaderNode", + "VisualShaderNodeCustom", + "VisualShaderNodeInput", + "VisualShaderNodeOutput", + "VisualShaderNodeParameter", + "VisualShaderNodeParameterRef", + "VisualShaderNodeResizableBase", + "VisualShaderNodeComment", + "VisualShaderNodeGroupBase", + "VisualShaderNodeExpression", + "VisualShaderNodeGlobalExpression", + "VisualShaderNodeVarying", + "VisualShaderNodeVaryingSetter", + "VisualShaderNodeVaryingGetter" + ], + "structs": [ + "Connection", + "DefaultTextureParam", + "Varying", + "Node", + "Graph", + "Port", + "Property", + "DropDownListProperty", + "Port", + "Port", + "Parameter", + "Port", + "Varying" + ], + "defines": [ + "VISUAL_SHADER_H" + ] + }, + "scene/resources/navigation_mesh_source_geometry_data_2d.h": { + "classes": [ + "NavigationMeshSourceGeometryData2D" + ], + "structs": [], + "defines": [ + "NAVIGATION_MESH_SOURCE_GEOMETRY_DATA_2D_H" + ] + }, + "scene/resources/material.h": { + "classes": [ + "Material", + "ShaderMaterial", + "BaseMaterial3D", + "StandardMaterial3D", + "ORMMaterial3D", + "PlaceholderMaterial" + ], + "structs": [ + "MaterialKey", + "ShaderData", + "ShaderNames" + ], + "defines": [ + "MATERIAL_H" + ] + }, + "scene/resources/animation_library.h": { + "classes": [ + "AnimationLibrary" + ], + "structs": [], + "defines": [ + "ANIMATION_LIBRARY_H" + ] + }, + "scene/resources/multimesh.h": { + "classes": [ + "MultiMesh" + ], + "structs": [], + "defines": [ + "MULTIMESH_H" + ] + }, + "scene/resources/text_file.h": { + "classes": [ + "TextFile" + ], + "structs": [], + "defines": [ + "TEXT_FILE_H" + ] + }, + "scene/resources/audio_stream_wav.h": { + "classes": [ + "AudioStreamPlaybackWAV", + "AudioStreamWAV" + ], + "structs": [ + "IMA_ADPCM_State" + ], + "defines": [ + "AUDIO_STREAM_WAV_H" + ] + }, + "scene/resources/style_box_flat.h": { + "classes": [ + "StyleBoxFlat" + ], + "structs": [], + "defines": [ + "STYLE_BOX_FLAT_H" + ] + }, + "scene/resources/navigation_mesh_source_geometry_data_3d.h": { + "classes": [ + "NavigationMeshSourceGeometryData3D" + ], + "structs": [], + "defines": [ + "NAVIGATION_MESH_SOURCE_GEOMETRY_DATA_3D_H" + ] + }, + "scene/resources/mesh_data_tool.h": { + "classes": [ + "MeshDataTool" + ], + "structs": [ + "Vertex", + "Edge", + "Face" + ], + "defines": [ + "MESH_DATA_TOOL_H" + ] + }, + "scene/resources/physics_material.h": { + "classes": [ + "PhysicsMaterial" + ], + "structs": [], + "defines": [ + "PHYSICS_MATERIAL_H" + ] + }, + "scene/resources/particle_process_material.h": { + "classes": [ + "ParticleProcessMaterial" + ], + "structs": [ + "MaterialKey", + "ShaderData", + "ShaderNames" + ], + "defines": [ + "PARTICLE_PROCESS_MATERIAL_H" + ] + }, + "scene/resources/mesh.h": { + "classes": [ + "Mesh", + "MeshConvexDecompositionSettings", + "ArrayMesh", + "PlaceholderMesh" + ], + "structs": [ + "Surface" + ], + "defines": [ + "MESH_H" + ] + }, + "scene/resources/compositor.h": { + "classes": [ + "CompositorEffect", + "Compositor" + ], + "structs": [], + "defines": [ + "COMPOSITOR_H" + ] + }, + "scene/resources/environment.h": { + "classes": [ + "Environment" + ], + "structs": [], + "defines": [ + "ENVIRONMENT_H" + ] + }, + "scene/resources/curve.h": { + "classes": [ + "Curve", + "Curve2D", + "Curve3D" + ], + "structs": [ + "Point", + "Point", + "BakedPoint", + "Interval", + "Point", + "Interval" + ], + "defines": [ + "CURVE_H" + ] + }, + "scene/resources/texture_rd.h": { + "classes": [ + "Texture2DRD", + "TextureLayeredRD", + "Texture2DArrayRD", + "TextureCubemapRD", + "TextureCubemapArrayRD", + "Texture3DRD" + ], + "structs": [], + "defines": [ + "TEXTURE_RD_H" + ] + }, + "scene/resources/visual_shader_particle_nodes.h": { + "classes": [ + "VisualShaderNodeParticleEmitter", + "VisualShaderNodeParticleSphereEmitter", + "VisualShaderNodeParticleBoxEmitter", + "VisualShaderNodeParticleRingEmitter", + "VisualShaderNodeParticleMeshEmitter", + "VisualShaderNodeParticleMultiplyByAxisAngle", + "VisualShaderNodeParticleConeVelocity", + "VisualShaderNodeParticleRandomness", + "VisualShaderNodeParticleAccelerator", + "VisualShaderNodeParticleOutput", + "VisualShaderNodeParticleEmit" + ], + "structs": [], + "defines": [ + "VISUAL_SHADER_PARTICLE_NODES_H" + ] + }, + "scene/resources/visual_shader_nodes.h": { + "classes": [ + "VisualShaderNodeVectorBase", + "VisualShaderNodeConstant", + "VisualShaderNodeFloatConstant", + "VisualShaderNodeIntConstant", + "VisualShaderNodeUIntConstant", + "VisualShaderNodeBooleanConstant", + "VisualShaderNodeColorConstant", + "VisualShaderNodeVec2Constant", + "VisualShaderNodeVec3Constant", + "VisualShaderNodeVec4Constant", + "VisualShaderNodeTransformConstant", + "VisualShaderNodeTexture", + "VisualShaderNodeCurveTexture", + "VisualShaderNodeCurveXYZTexture", + "VisualShaderNodeSample3D", + "VisualShaderNodeTexture2DArray", + "VisualShaderNodeTexture3D", + "VisualShaderNodeCubemap", + "VisualShaderNodeLinearSceneDepth", + "VisualShaderNodeWorldPositionFromDepth", + "VisualShaderNodeScreenNormalWorldSpace", + "VisualShaderNodeFloatOp", + "VisualShaderNodeIntOp", + "VisualShaderNodeUIntOp", + "VisualShaderNodeVectorOp", + "VisualShaderNodeColorOp", + "VisualShaderNodeTransformOp", + "VisualShaderNodeTransformVecMult", + "VisualShaderNodeFloatFunc", + "VisualShaderNodeIntFunc", + "VisualShaderNodeUIntFunc", + "VisualShaderNodeVectorFunc", + "VisualShaderNodeColorFunc", + "VisualShaderNodeTransformFunc", + "VisualShaderNodeUVFunc", + "VisualShaderNodeUVPolarCoord", + "VisualShaderNodeDotProduct", + "VisualShaderNodeVectorLen", + "VisualShaderNodeDeterminant", + "VisualShaderNodeClamp", + "VisualShaderNodeDerivativeFunc", + "VisualShaderNodeFaceForward", + "VisualShaderNodeOuterProduct", + "VisualShaderNodeStep", + "VisualShaderNodeSmoothStep", + "VisualShaderNodeVectorDistance", + "VisualShaderNodeVectorRefract", + "VisualShaderNodeMix", + "VisualShaderNodeVectorCompose", + "VisualShaderNodeTransformCompose", + "VisualShaderNodeVectorDecompose", + "VisualShaderNodeTransformDecompose", + "VisualShaderNodeFloatParameter", + "VisualShaderNodeIntParameter", + "VisualShaderNodeUIntParameter", + "VisualShaderNodeBooleanParameter", + "VisualShaderNodeColorParameter", + "VisualShaderNodeVec2Parameter", + "VisualShaderNodeVec3Parameter", + "VisualShaderNodeVec4Parameter", + "VisualShaderNodeTransformParameter", + "VisualShaderNodeTextureParameter", + "VisualShaderNodeTexture2DParameter", + "VisualShaderNodeTextureParameterTriplanar", + "VisualShaderNodeTexture2DArrayParameter", + "VisualShaderNodeTexture3DParameter", + "VisualShaderNodeCubemapParameter", + "VisualShaderNodeIf", + "VisualShaderNodeSwitch", + "VisualShaderNodeFresnel", + "VisualShaderNodeIs", + "VisualShaderNodeCompare", + "VisualShaderNodeMultiplyAdd", + "VisualShaderNodeBillboard", + "VisualShaderNodeDistanceFade", + "VisualShaderNodeProximityFade", + "VisualShaderNodeRandomRange", + "VisualShaderNodeRemap", + "VisualShaderNodeRotationByAxis" + ], + "structs": [], + "defines": [ + "VISUAL_SHADER_NODES_H" + ] + }, + "scene/resources/shader_include.h": { + "classes": [ + "ShaderInclude", + "ResourceFormatLoaderShaderInclude", + "ResourceFormatSaverShaderInclude" + ], + "structs": [], + "defines": [ + "SHADER_INCLUDE_H" + ] + }, + "scene/resources/camera_texture.h": { + "classes": [ + "CameraTexture" + ], + "structs": [], + "defines": [ + "CAMERA_TEXTURE_H" + ] + }, + "scene/resources/placeholder_textures.h": { + "classes": [ + "PlaceholderTexture2D", + "PlaceholderTexture3D", + "PlaceholderTextureLayered", + "PlaceholderTexture2DArray", + "PlaceholderCubemap", + "PlaceholderCubemapArray" + ], + "structs": [], + "defines": [ + "PLACEHOLDER_TEXTURES_H" + ] + }, + "scene/resources/navigation_mesh.h": { + "classes": [ + "NavigationMesh" + ], + "structs": [ + "Polygon" + ], + "defines": [ + "NAVIGATION_MESH_H" + ] + }, + "scene/resources/resource_format_text.h": { + "classes": [ + "ResourceLoaderText", + "DummyResource", + "ResourceFormatLoaderText", + "ResourceFormatSaverTextInstance", + "ResourceFormatSaverText" + ], + "structs": [ + "ExtResource", + "DummyReadData", + "NonPersistentKey", + "ResourceSort" + ], + "defines": [ + "RESOURCE_FORMAT_TEXT_H" + ] + }, + "scene/resources/style_box.h": { + "classes": [ + "StyleBox", + "StyleBoxEmpty" + ], + "structs": [], + "defines": [ + "STYLE_BOX_H" + ] + }, + "scene/resources/mesh_texture.h": { + "classes": [ + "MeshTexture" + ], + "structs": [], + "defines": [ + "MESH_TEXTURE_H" + ] + }, + "scene/resources/font.h": { + "classes": [ + "Font", + "FontFile", + "FontVariation", + "SystemFont" + ], + "structs": [ + "ShapedTextKey", + "ShapedTextKeyHasher", + "Variation" + ], + "defines": [ + "FONT_H" + ] + }, + "scene/resources/texture.h": { + "classes": [ + "Texture", + "Texture2D", + "TextureLayered", + "Texture3D" + ], + "structs": [], + "defines": [ + "TEXTURE_H" + ] + }, + "scene/resources/audio_stream_polyphonic.h": { + "classes": [ + "AudioStreamPolyphonic", + "AudioStreamPlaybackPolyphonic" + ], + "structs": [ + "Stream" + ], + "defines": [ + "AUDIO_STREAM_POLYPHONIC_H" + ] + }, + "scene/resources/skeleton_profile.h": { + "classes": [ + "SkeletonProfile", + "SkeletonProfileHumanoid" + ], + "structs": [ + "SkeletonProfileGroup", + "SkeletonProfileBone" + ], + "defines": [ + "SKELETON_PROFILE_H" + ] + }, + "scene/resources/label_settings.h": { + "classes": [ + "LabelSettings" + ], + "structs": [], + "defines": [ + "LABEL_SETTINGS_H" + ] + }, + "scene/resources/world_2d.h": { + "classes": [ + "World2D" + ], + "structs": [], + "defines": [ + "WORLD_2D_H" + ] + }, + "scene/resources/visual_shader_sdf_nodes.h": { + "classes": [ + "VisualShaderNodeSDFToScreenUV", + "VisualShaderNodeScreenUVToSDF", + "VisualShaderNodeTextureSDF", + "VisualShaderNodeTextureSDFNormal", + "VisualShaderNodeSDFRaymarch" + ], + "structs": [], + "defines": [ + "VISUAL_SHADER_SDF_NODES_H" + ] + }, + "scene/resources/video_stream.h": { + "classes": [ + "VideoStreamPlayback", + "VideoStream" + ], + "structs": [], + "defines": [ + "VIDEO_STREAM_H" + ] + }, + "scene/resources/packed_scene.h": { + "classes": [ + "SceneState", + "PackedScene" + ], + "structs": [ + "NodeData", + "Property", + "DeferredNodePathProperties", + "ConnectionData", + "PackState" + ], + "defines": [ + "PACKED_SCENE_H" + ] + }, + "scene/resources/gradient_texture.h": { + "classes": [ + "GradientTexture1D", + "GradientTexture2D" + ], + "structs": [], + "defines": [ + "GRADIENT_TEXTURE_H" + ] + }, + "scene/resources/atlas_texture.h": { + "classes": [ + "AtlasTexture" + ], + "structs": [], + "defines": [ + "ATLAS_TEXTURE_H" + ] + }, + "scene/resources/bone_map.h": { + "classes": [ + "BoneMap" + ], + "structs": [], + "defines": [ + "BONE_MAP_H" + ] + }, + "scene/resources/immediate_mesh.h": { + "classes": [ + "ImmediateMesh" + ], + "structs": [ + "Surface" + ], + "defines": [ + "IMMEDIATE_MESH_H" + ] + }, + "scene/resources/camera_attributes.h": { + "classes": [ + "CameraAttributes", + "CameraAttributesPractical", + "CameraAttributesPhysical" + ], + "structs": [], + "defines": [ + "CAMERA_ATTRIBUTES_H" + ] + }, + "scene/resources/curve_texture.h": { + "classes": [ + "CurveTexture", + "CurveXYZTexture" + ], + "structs": [], + "defines": [ + "CURVE_TEXTURE_H" + ] + }, + "scene/resources/canvas_item_material.h": { + "classes": [ + "CanvasItemMaterial" + ], + "structs": [ + "ShaderNames", + "ShaderData" + ], + "defines": [ + "CANVAS_ITEM_MATERIAL_H" + ] + }, + "scene/resources/text_line.h": { + "classes": [ + "TextLine" + ], + "structs": [], + "defines": [ + "TEXT_LINE_H" + ] + }, + "scene/resources/image_texture.h": { + "classes": [ + "ImageTexture", + "ImageTextureLayered", + "ImageTexture3D", + "Texture2DArray", + "Cubemap", + "CubemapArray" + ], + "structs": [], + "defines": [ + "IMAGE_TEXTURE_H" + ] + }, + "scene/resources/sky.h": { + "classes": [ + "Sky" + ], + "structs": [], + "defines": [ + "SKY_H" + ] + }, + "scene/resources/3d/concave_polygon_shape_3d.h": { + "classes": [ + "ConcavePolygonShape3D" + ], + "structs": [ + "DrawEdge" + ], + "defines": [ + "CONCAVE_POLYGON_SHAPE_3D_H" + ] + }, + "scene/resources/3d/capsule_shape_3d.h": { + "classes": [ + "CapsuleShape3D" + ], + "structs": [], + "defines": [ + "CAPSULE_SHAPE_3D_H" + ] + }, + "scene/resources/3d/cylinder_shape_3d.h": { + "classes": [ + "CylinderShape3D" + ], + "structs": [], + "defines": [ + "CYLINDER_SHAPE_3D_H" + ] + }, + "scene/resources/3d/shape_3d.h": { + "classes": [ + "Shape3D" + ], + "structs": [], + "defines": [ + "SHAPE_3D_H" + ] + }, + "scene/resources/3d/mesh_library.h": { + "classes": [ + "MeshLibrary" + ], + "structs": [ + "ShapeData", + "Item" + ], + "defines": [ + "MESH_LIBRARY_H" + ] + }, + "scene/resources/3d/sky_material.h": { + "classes": [ + "ProceduralSkyMaterial", + "PanoramaSkyMaterial", + "PhysicalSkyMaterial" + ], + "structs": [], + "defines": [ + "SKY_MATERIAL_H" + ] + }, + "scene/resources/3d/height_map_shape_3d.h": { + "classes": [ + "HeightMapShape3D" + ], + "structs": [], + "defines": [ + "HEIGHT_MAP_SHAPE_3D_H" + ] + }, + "scene/resources/3d/sphere_shape_3d.h": { + "classes": [ + "SphereShape3D" + ], + "structs": [], + "defines": [ + "SPHERE_SHAPE_3D_H" + ] + }, + "scene/resources/3d/skin.h": { + "classes": [ + "Skin" + ], + "structs": [ + "Bind" + ], + "defines": [ + "SKIN_H" + ] + }, + "scene/resources/3d/fog_material.h": { + "classes": [ + "FogMaterial" + ], + "structs": [], + "defines": [ + "FOG_MATERIAL_H" + ] + }, + "scene/resources/3d/box_shape_3d.h": { + "classes": [ + "BoxShape3D" + ], + "structs": [], + "defines": [ + "BOX_SHAPE_3D_H" + ] + }, + "scene/resources/3d/importer_mesh.h": { + "classes": [ + "ImporterMesh" + ], + "structs": [ + "Surface", + "BlendShape", + "LOD", + "LODComparator" + ], + "defines": [ + "IMPORTER_MESH_H" + ] + }, + "scene/resources/3d/convex_polygon_shape_3d.h": { + "classes": [ + "ConvexPolygonShape3D" + ], + "structs": [], + "defines": [ + "CONVEX_POLYGON_SHAPE_3D_H" + ] + }, + "scene/resources/3d/world_boundary_shape_3d.h": { + "classes": [ + "WorldBoundaryShape3D" + ], + "structs": [], + "defines": [ + "WORLD_BOUNDARY_SHAPE_3D_H" + ] + }, + "scene/resources/3d/primitive_meshes.h": { + "classes": [ + "PrimitiveMesh", + "CapsuleMesh", + "BoxMesh", + "CylinderMesh", + "PlaneMesh", + "QuadMesh", + "PrismMesh", + "SphereMesh", + "TorusMesh", + "PointMesh", + "TubeTrailMesh", + "RibbonTrailMesh", + "TextMesh" + ], + "structs": [ + "ContourPoint", + "ContourInfo", + "GlyphMeshKey", + "GlyphMeshKeyHasher", + "GlyphMeshData" + ], + "defines": [ + "PRIMITIVE_MESHES_H" + ] + }, + "scene/resources/3d/separation_ray_shape_3d.h": { + "classes": [ + "SeparationRayShape3D" + ], + "structs": [], + "defines": [ + "SEPARATION_RAY_SHAPE_3D_H" + ] + }, + "scene/resources/3d/world_3d.h": { + "classes": [ + "World3D" + ], + "structs": [], + "defines": [ + "WORLD_3D_H" + ] + }, + "scene/resources/default_theme/default_theme_icons.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "_DEFAULT_THEME_ICONS_H" + ] + }, + "scene/resources/default_theme/default_font.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "_DEFAULT_FONTS_H" + ] + }, + "scene/resources/2d/capsule_shape_2d.h": { + "classes": [ + "CapsuleShape2D" + ], + "structs": [], + "defines": [ + "CAPSULE_SHAPE_2D_H" + ] + }, + "scene/resources/2d/shape_2d.h": { + "classes": [ + "Shape2D" + ], + "structs": [], + "defines": [ + "SHAPE_2D_H" + ] + }, + "scene/resources/2d/circle_shape_2d.h": { + "classes": [ + "CircleShape2D" + ], + "structs": [], + "defines": [ + "CIRCLE_SHAPE_2D_H" + ] + }, + "scene/resources/2d/tile_set.h": { + "classes": [ + "TileMapPattern", + "TileSet", + "TerrainsPattern", + "TileSetSource", + "TileSetAtlasSource", + "TileSetScenesCollectionSource", + "TileData" + ], + "structs": [ + "CompatibilityShapeData", + "CompatibilityTileData", + "PackedSceneSource", + "OcclusionLayer", + "PhysicsLayer", + "Terrain", + "TerrainSet", + "NavigationLayer", + "CustomDataLayer", + "TileAlternativesData", + "SceneData", + "OcclusionLayerTileData", + "PhysicsLayerTileData", + "PolygonShapeTileData", + "NavigationLayerTileData" + ], + "defines": [ + "TILE_SET_H" + ] + }, + "scene/resources/2d/polygon_path_finder.h": { + "classes": [ + "PolygonPathFinder" + ], + "structs": [ + "Point" + ], + "defines": [ + "POLYGON_PATH_FINDER_H" + ] + }, + "scene/resources/2d/concave_polygon_shape_2d.h": { + "classes": [ + "ConcavePolygonShape2D" + ], + "structs": [], + "defines": [ + "CONCAVE_POLYGON_SHAPE_2D_H" + ] + }, + "scene/resources/2d/rectangle_shape_2d.h": { + "classes": [ + "RectangleShape2D" + ], + "structs": [], + "defines": [ + "RECTANGLE_SHAPE_2D_H" + ] + }, + "scene/resources/2d/segment_shape_2d.h": { + "classes": [ + "SegmentShape2D" + ], + "structs": [], + "defines": [ + "SEGMENT_SHAPE_2D_H" + ] + }, + "scene/resources/2d/separation_ray_shape_2d.h": { + "classes": [ + "SeparationRayShape2D" + ], + "structs": [], + "defines": [ + "SEPARATION_RAY_SHAPE_2D_H" + ] + }, + "scene/resources/2d/convex_polygon_shape_2d.h": { + "classes": [ + "ConvexPolygonShape2D" + ], + "structs": [], + "defines": [ + "CONVEX_POLYGON_SHAPE_2D_H" + ] + }, + "scene/resources/2d/world_boundary_shape_2d.h": { + "classes": [ + "WorldBoundaryShape2D" + ], + "structs": [], + "defines": [ + "WORLD_BOUNDARY_SHAPE_2D_H" + ] + }, + "scene/resources/2d/skeleton/skeleton_modification_2d.h": { + "classes": [ + "SkeletonModification2D" + ], + "structs": [], + "defines": [ + "SKELETON_MODIFICATION_2D_H" + ] + }, + "scene/resources/2d/skeleton/skeleton_modification_2d_ccdik.h": { + "classes": [ + "SkeletonModification2DCCDIK" + ], + "structs": [ + "CCDIK_Joint_Data2D" + ], + "defines": [ + "SKELETON_MODIFICATION_2D_CCDIK_H" + ] + }, + "scene/resources/2d/skeleton/skeleton_modification_2d_stackholder.h": { + "classes": [ + "SkeletonModification2DStackHolder" + ], + "structs": [], + "defines": [ + "SKELETON_MODIFICATION_2D_STACKHOLDER_H" + ] + }, + "scene/resources/2d/skeleton/skeleton_modification_2d_lookat.h": { + "classes": [ + "SkeletonModification2DLookAt" + ], + "structs": [], + "defines": [ + "SKELETON_MODIFICATION_2D_LOOKAT_H" + ] + }, + "scene/resources/2d/skeleton/skeleton_modification_2d_jiggle.h": { + "classes": [ + "SkeletonModification2DJiggle" + ], + "structs": [ + "Jiggle_Joint_Data2D" + ], + "defines": [ + "SKELETON_MODIFICATION_2D_JIGGLE_H" + ] + }, + "scene/resources/2d/skeleton/skeleton_modification_2d_twoboneik.h": { + "classes": [ + "SkeletonModification2DTwoBoneIK" + ], + "structs": [], + "defines": [ + "SKELETON_MODIFICATION_2D_TWOBONEIK_H" + ] + }, + "scene/resources/2d/skeleton/skeleton_modification_2d_physicalbones.h": { + "classes": [ + "SkeletonModification2DPhysicalBones" + ], + "structs": [ + "PhysicalBone_Data2D" + ], + "defines": [ + "SKELETON_MODIFICATION_2D_PHYSICALBONES_H" + ] + }, + "scene/resources/2d/skeleton/skeleton_modification_stack_2d.h": { + "classes": [ + "SkeletonModificationStack2D" + ], + "structs": [], + "defines": [ + "SKELETON_MODIFICATION_STACK_2D_H" + ] + }, + "scene/resources/2d/skeleton/skeleton_modification_2d_fabrik.h": { + "classes": [ + "SkeletonModification2DFABRIK" + ], + "structs": [ + "FABRIK_Joint_Data2D" + ], + "defines": [ + "SKELETON_MODIFICATION_2D_FABRIK_H" + ] + }, + "scene/animation/tween.h": { + "classes": [ + "Tweener", + "Tween", + "PropertyTweener", + "IntervalTweener", + "CallbackTweener", + "MethodTweener" + ], + "structs": [], + "defines": [ + "TWEEN_H" + ] + }, + "scene/animation/animation_node_state_machine.h": { + "classes": [ + "AnimationNodeStateMachineTransition", + "AnimationNodeStateMachine", + "AnimationNodeStateMachinePlayback" + ], + "structs": [ + "State", + "Transition", + "AStarCost", + "TransitionInfo", + "NextInfo", + "ChildStateMachineInfo" + ], + "defines": [ + "ANIMATION_NODE_STATE_MACHINE_H" + ] + }, + "scene/animation/animation_blend_space_2d.h": { + "classes": [ + "AnimationNodeBlendSpace2D" + ], + "structs": [ + "BlendPoint", + "BlendTriangle" + ], + "defines": [ + "ANIMATION_BLEND_SPACE_2D_H" + ] + }, + "scene/animation/animation_mixer.h": { + "classes": [ + "AnimationMixer", + "AnimatedValuesBackup" + ], + "structs": [ + "AnimationLibraryData", + "AnimationData", + "PlaybackInfo", + "AnimationInstance", + "TrackCache", + "TrackCacheTransform", + "RootMotionCache", + "TrackCacheBlendShape", + "TrackCacheValue", + "TrackCacheMethod", + "PlayingAudioStreamInfo", + "PlayingAudioTrackInfo", + "TrackCacheAudio", + "TrackCacheAnimation", + "CaptureCache" + ], + "defines": [ + "ANIMATION_MIXER_H" + ] + }, + "scene/animation/animation_blend_space_1d.h": { + "classes": [ + "AnimationNodeBlendSpace1D" + ], + "structs": [ + "BlendPoint" + ], + "defines": [ + "ANIMATION_BLEND_SPACE_1D_H" + ] + }, + "scene/animation/animation_tree.h": { + "classes": [ + "AnimationNode", + "AnimationRootNode", + "AnimationNodeStartState", + "AnimationNodeEndState", + "AnimationTree" + ], + "structs": [ + "Input", + "NodeState", + "ProcessState", + "ChildNode", + "Activity" + ], + "defines": [ + "ANIMATION_TREE_H", + "HUGE_LENGTH" + ] + }, + "scene/animation/animation_blend_tree.h": { + "classes": [ + "AnimationNodeAnimation", + "AnimationNodeSync", + "AnimationNodeOneShot", + "AnimationNodeAdd2", + "AnimationNodeAdd3", + "AnimationNodeBlend2", + "AnimationNodeBlend3", + "AnimationNodeSub2", + "AnimationNodeTimeScale", + "AnimationNodeTimeSeek", + "AnimationNodeTransition", + "AnimationNodeOutput", + "AnimationNodeBlendTree" + ], + "structs": [ + "InputData", + "Node", + "NodeConnection" + ], + "defines": [ + "ANIMATION_BLEND_TREE_H" + ] + }, + "scene/animation/easing_equations.h": { + "classes": [], + "structs": [], + "defines": [ + "EASING_EQUATIONS_H" + ] + }, + "scene/animation/animation_player.h": { + "classes": [ + "AnimationPlayer" + ], + "structs": [ + "PlaybackData", + "Blend", + "Playback", + "BlendKey" + ], + "defines": [ + "ANIMATION_PLAYER_H" + ] + }, + "scene/animation/root_motion_view.h": { + "classes": [ + "RootMotionView" + ], + "structs": [], + "defines": [ + "ROOT_MOTION_VIEW_H" + ] + }, + "scene/audio/audio_stream_player_internal.h": { + "classes": [ + "AudioStreamPlayerInternal" + ], + "structs": [ + "ParameterData" + ], + "defines": [ + "AUDIO_STREAM_PLAYER_INTERNAL_H" + ] + }, + "scene/audio/audio_stream_player.h": { + "classes": [ + "AudioStreamPlayer" + ], + "structs": [], + "defines": [ + "AUDIO_STREAM_PLAYER_H" + ] + }, + "scene/theme/default_theme_icons.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "_DEFAULT_THEME_ICONS_H" + ] + }, + "scene/theme/default_theme.h": { + "classes": [], + "structs": [], + "defines": [ + "DEFAULT_THEME_H" + ] + }, + "scene/theme/theme_owner.h": { + "classes": [ + "ThemeOwner" + ], + "structs": [], + "defines": [ + "THEME_OWNER_H" + ] + }, + "scene/theme/theme_db.h": { + "classes": [ + "ThemeDB", + "ThemeContext" + ], + "structs": [ + "ThemeItemBind", + "SortByType" + ], + "defines": [ + "THEME_DB_H", + "BIND_THEME_ITEM", + "BIND_THEME_ITEM_CUSTOM", + "BIND_THEME_ITEM_EXT" + ] + }, + "scene/theme/default_font.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "_DEFAULT_FONTS_H" + ] + }, + "scene/gui/video_stream_player.h": { + "classes": [ + "VideoStreamPlayer" + ], + "structs": [ + "Output" + ], + "defines": [ + "VIDEO_STREAM_PLAYER_H" + ] + }, + "scene/gui/file_dialog.h": { + "classes": [ + "FileDialog" + ], + "structs": [ + "ThemeCache", + "Option" + ], + "defines": [ + "FILE_DIALOG_H" + ] + }, + "scene/gui/item_list.h": { + "classes": [ + "ItemList" + ], + "structs": [ + "Item", + "ThemeCache" + ], + "defines": [ + "ITEM_LIST_H" + ] + }, + "scene/gui/progress_bar.h": { + "classes": [ + "ProgressBar" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "PROGRESS_BAR_H" + ] + }, + "scene/gui/control.h": { + "classes": [ + "Control" + ], + "structs": [ + "CComparator", + "Data" + ], + "defines": [ + "CONTROL_H", + "SET_DRAG_FORWARDING_CD", + "SET_DRAG_FORWARDING_CDU", + "SET_DRAG_FORWARDING_GCD", + "SET_DRAG_FORWARDING_GCDU" + ] + }, + "scene/gui/range.h": { + "classes": [ + "Range" + ], + "structs": [ + "Shared" + ], + "defines": [ + "RANGE_H" + ] + }, + "scene/gui/label.h": { + "classes": [ + "Label" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "LABEL_H" + ] + }, + "scene/gui/graph_edit.h": { + "classes": [ + "GraphEditFilter", + "GraphEditMinimap", + "GraphEdit" + ], + "structs": [ + "ThemeCache", + "Connection", + "Cache", + "ConnectionType", + "ThemeCache" + ], + "defines": [ + "GRAPH_EDIT_H" + ] + }, + "scene/gui/text_edit.h": { + "classes": [ + "TextEdit", + "Text" + ], + "structs": [ + "GutterInfo", + "Gutter", + "Line", + "TextOperation", + "LineDrawingCache", + "Selection", + "Caret", + "ThemeCache", + "BraceMatchingData" + ], + "defines": [ + "TEXT_EDIT_H" + ] + }, + "scene/gui/popup.h": { + "classes": [ + "Popup", + "PopupPanel" + ], + "structs": [ + "ThemeCache", + "ThemeCache" + ], + "defines": [ + "POPUP_H" + ] + }, + "scene/gui/spin_box.h": { + "classes": [ + "SpinBox" + ], + "structs": [ + "Drag", + "ThemeCache" + ], + "defines": [ + "SPIN_BOX_H" + ] + }, + "scene/gui/flow_container.h": { + "classes": [ + "FlowContainer", + "HFlowContainer", + "VFlowContainer" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "FLOW_CONTAINER_H" + ] + }, + "scene/gui/container.h": { + "classes": [ + "Container" + ], + "structs": [], + "defines": [ + "CONTAINER_H" + ] + }, + "scene/gui/rich_text_effect.h": { + "classes": [ + "CharFXTransform", + "RichTextEffect" + ], + "structs": [], + "defines": [ + "RICH_TEXT_EFFECT_H" + ] + }, + "scene/gui/graph_element.h": { + "classes": [ + "GraphElement" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "GRAPH_ELEMENT_H" + ] + }, + "scene/gui/code_edit.h": { + "classes": [ + "CodeEdit" + ], + "structs": [ + "BracePair", + "Delimiter", + "ThemeCache", + "CodeCompletionOptionCompare" + ], + "defines": [ + "CODE_EDIT_H" + ] + }, + "scene/gui/base_button.h": { + "classes": [ + "BaseButton", + "ButtonGroup" + ], + "structs": [ + "Status" + ], + "defines": [ + "BASE_BUTTON_H" + ] + }, + "scene/gui/graph_node.h": { + "classes": [ + "GraphNode" + ], + "structs": [ + "Slot", + "PortCache", + "_MinSizeCache", + "ThemeCache" + ], + "defines": [ + "GRAPH_NODE_H" + ] + }, + "scene/gui/texture_progress_bar.h": { + "classes": [ + "TextureProgressBar" + ], + "structs": [], + "defines": [ + "TEXTURE_PROGRESS_BAR_H" + ] + }, + "scene/gui/tree.h": { + "classes": [ + "TreeItem", + "Tree" + ], + "structs": [ + "Cell", + "Button", + "ColumnInfo", + "ThemeCache", + "Cache" + ], + "defines": [ + "TREE_H" + ] + }, + "scene/gui/margin_container.h": { + "classes": [ + "MarginContainer" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "MARGIN_CONTAINER_H" + ] + }, + "scene/gui/nine_patch_rect.h": { + "classes": [ + "NinePatchRect" + ], + "structs": [], + "defines": [ + "NINE_PATCH_RECT_H" + ] + }, + "scene/gui/texture_button.h": { + "classes": [ + "TextureButton" + ], + "structs": [], + "defines": [ + "TEXTURE_BUTTON_H" + ] + }, + "scene/gui/box_container.h": { + "classes": [ + "BoxContainer", + "HBoxContainer", + "VBoxContainer" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "BOX_CONTAINER_H" + ] + }, + "scene/gui/scroll_bar.h": { + "classes": [ + "ScrollBar", + "HScrollBar", + "VScrollBar" + ], + "structs": [ + "Drag", + "ThemeCache" + ], + "defines": [ + "SCROLL_BAR_H" + ] + }, + "scene/gui/dialogs.h": { + "classes": [ + "AcceptDialog", + "ConfirmationDialog" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "DIALOGS_H" + ] + }, + "scene/gui/scroll_container.h": { + "classes": [ + "ScrollContainer" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "SCROLL_CONTAINER_H" + ] + }, + "scene/gui/aspect_ratio_container.h": { + "classes": [ + "AspectRatioContainer" + ], + "structs": [], + "defines": [ + "ASPECT_RATIO_CONTAINER_H" + ] + }, + "scene/gui/menu_bar.h": { + "classes": [ + "MenuBar" + ], + "structs": [ + "Menu", + "ThemeCache" + ], + "defines": [ + "MENU_BAR_H" + ] + }, + "scene/gui/center_container.h": { + "classes": [ + "CenterContainer" + ], + "structs": [], + "defines": [ + "CENTER_CONTAINER_H" + ] + }, + "scene/gui/grid_container.h": { + "classes": [ + "GridContainer" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "GRID_CONTAINER_H" + ] + }, + "scene/gui/check_box.h": { + "classes": [ + "CheckBox" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "CHECK_BOX_H" + ] + }, + "scene/gui/option_button.h": { + "classes": [ + "OptionButton" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "OPTION_BUTTON_H" + ] + }, + "scene/gui/slider.h": { + "classes": [ + "Slider", + "HSlider", + "VSlider" + ], + "structs": [ + "Grab", + "ThemeCache" + ], + "defines": [ + "SLIDER_H" + ] + }, + "scene/gui/check_button.h": { + "classes": [ + "CheckButton" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "CHECK_BUTTON_H" + ] + }, + "scene/gui/panel.h": { + "classes": [ + "Panel" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "PANEL_H" + ] + }, + "scene/gui/menu_button.h": { + "classes": [ + "MenuButton" + ], + "structs": [], + "defines": [ + "MENU_BUTTON_H" + ] + }, + "scene/gui/panel_container.h": { + "classes": [ + "PanelContainer" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "PANEL_CONTAINER_H" + ] + }, + "scene/gui/texture_rect.h": { + "classes": [ + "TextureRect" + ], + "structs": [], + "defines": [ + "TEXTURE_RECT_H" + ] + }, + "scene/gui/view_panner.h": { + "classes": [ + "ViewPanner" + ], + "structs": [], + "defines": [ + "VIEW_PANNER_H" + ] + }, + "scene/gui/rich_text_label.h": { + "classes": [ + "RichTextLabel" + ], + "structs": [ + "Line", + "Item", + "ItemFrame", + "ItemText", + "ItemDropcap", + "ItemImage", + "ItemFont", + "ItemFontSize", + "ItemColor", + "ItemOutlineSize", + "ItemOutlineColor", + "ItemUnderline", + "ItemStrikethrough", + "ItemMeta", + "ItemHint", + "ItemLanguage", + "ItemParagraph", + "ItemIndent", + "ItemList", + "ItemNewline", + "ItemTable", + "Column", + "ItemFade", + "ItemFX", + "ItemShake", + "ItemWave", + "ItemTornado", + "ItemRainbow", + "ItemPulse", + "ItemBGColor", + "ItemFGColor", + "ItemCustomFX", + "ItemContext", + "Selection", + "ThemeCache" + ], + "defines": [ + "RICH_TEXT_LABEL_H" + ] + }, + "scene/gui/separator.h": { + "classes": [ + "Separator", + "VSeparator", + "HSeparator" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "SEPARATOR_H" + ] + }, + "scene/gui/button.h": { + "classes": [ + "Button" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "BUTTON_H" + ] + }, + "scene/gui/link_button.h": { + "classes": [ + "LinkButton" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "LINK_BUTTON_H" + ] + }, + "scene/gui/color_picker.h": { + "classes": [ + "ColorPresetButton", + "ColorPicker", + "ColorPickerButton" + ], + "structs": [ + "ThemeCache", + "ThemeCache", + "ThemeCache" + ], + "defines": [ + "COLOR_PICKER_H" + ] + }, + "scene/gui/color_mode.h": { + "classes": [ + "ColorMode", + "ColorModeHSV", + "ColorModeRGB", + "ColorModeRAW", + "ColorModeOKHSL" + ], + "structs": [], + "defines": [ + "COLOR_MODE_H" + ] + }, + "scene/gui/reference_rect.h": { + "classes": [ + "ReferenceRect" + ], + "structs": [], + "defines": [ + "REFERENCE_RECT_H" + ] + }, + "scene/gui/tab_container.h": { + "classes": [ + "TabContainer" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "TAB_CONTAINER_H" + ] + }, + "scene/gui/color_rect.h": { + "classes": [ + "ColorRect" + ], + "structs": [], + "defines": [ + "COLOR_RECT_H" + ] + }, + "scene/gui/split_container.h": { + "classes": [ + "SplitContainerDragger", + "SplitContainer", + "HSplitContainer", + "VSplitContainer" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "SPLIT_CONTAINER_H" + ] + }, + "scene/gui/tab_bar.h": { + "classes": [ + "TabBar" + ], + "structs": [ + "Tab", + "ThemeCache" + ], + "defines": [ + "TAB_BAR_H" + ] + }, + "scene/gui/popup_menu.h": { + "classes": [ + "PopupMenu" + ], + "structs": [ + "Item", + "ThemeCache" + ], + "defines": [ + "POPUP_MENU_H" + ] + }, + "scene/gui/line_edit.h": { + "classes": [ + "LineEdit" + ], + "structs": [ + "Selection", + "TextOperation", + "ClearButtonStatus", + "ThemeCache" + ], + "defines": [ + "LINE_EDIT_H" + ] + }, + "scene/gui/subviewport_container.h": { + "classes": [ + "SubViewportContainer" + ], + "structs": [], + "defines": [ + "SUBVIEWPORT_CONTAINER_H" + ] + }, + "scene/gui/graph_edit_arranger.h": { + "classes": [ + "GraphEditArranger" + ], + "structs": [], + "defines": [ + "GRAPH_EDIT_ARRANGER_H" + ] + }, + "scene/debugger/scene_debugger.h": { + "classes": [ + "SceneDebugger", + "SceneDebuggerObject", + "SceneDebuggerTree", + "LiveEditor" + ], + "structs": [ + "RemoteNode" + ], + "defines": [ + "SCENE_DEBUGGER_H" + ] + }, + "scene/main/instance_placeholder.h": { + "classes": [ + "InstancePlaceholder" + ], + "structs": [ + "PropSet" + ], + "defines": [ + "INSTANCE_PLACEHOLDER_H" + ] + }, + "scene/main/multiplayer_api.h": { + "classes": [ + "MultiplayerAPI", + "MultiplayerAPIExtension" + ], + "structs": [], + "defines": [ + "MULTIPLAYER_API_H" + ] + }, + "scene/main/multiplayer_peer.h": { + "classes": [ + "MultiplayerPeer", + "MultiplayerPeerExtension" + ], + "structs": [], + "defines": [ + "MULTIPLAYER_PEER_H" + ] + }, + "scene/main/viewport.h": { + "classes": [ + "ViewportTexture", + "Viewport", + "SubViewport" + ], + "structs": [ + "SubWindow", + "GUI", + "Camera3DOverrideData" + ], + "defines": [ + "VIEWPORT_H" + ] + }, + "scene/main/missing_node.h": { + "classes": [ + "MissingNode" + ], + "structs": [], + "defines": [ + "MISSING_NODE_H" + ] + }, + "scene/main/canvas_layer.h": { + "classes": [ + "CanvasLayer" + ], + "structs": [], + "defines": [ + "CANVAS_LAYER_H" + ] + }, + "scene/main/window.h": { + "classes": [ + "Window" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "WINDOW_H" + ] + }, + "scene/main/canvas_item.h": { + "classes": [ + "CanvasItem", + "CanvasTexture" + ], + "structs": [], + "defines": [ + "CANVAS_ITEM_H" + ] + }, + "scene/main/node.h": { + "classes": [ + "Node" + ], + "structs": [ + "Comparator", + "GroupData", + "ComparatorByIndex", + "ComparatorWithPriority", + "ComparatorWithPhysicsPriority", + "Data", + "GroupInfo" + ], + "defines": [ + "NODE_H", + "ERR_THREAD_GUARD", + "ERR_THREAD_GUARD_V", + "ERR_MAIN_THREAD_GUARD", + "ERR_MAIN_THREAD_GUARD_V", + "ERR_READ_THREAD_GUARD", + "ERR_READ_THREAD_GUARD_V", + "ERR_THREAD_GUARD", + "ERR_THREAD_GUARD_V", + "ERR_MAIN_THREAD_GUARD", + "ERR_MAIN_THREAD_GUARD_V", + "ERR_READ_THREAD_GUARD", + "ERR_READ_THREAD_GUARD_V", + "DEPRECATED_NODE_WARNING", + "EXPERIMENTAL_NODE_WARNING" + ] + }, + "scene/main/timer.h": { + "classes": [ + "Timer" + ], + "structs": [], + "defines": [ + "TIMER_H" + ] + }, + "scene/main/resource_preloader.h": { + "classes": [ + "ResourcePreloader" + ], + "structs": [], + "defines": [ + "RESOURCE_PRELOADER_H" + ] + }, + "scene/main/scene_tree.h": { + "classes": [ + "SceneTreeTimer", + "SceneTree" + ], + "structs": [ + "ProcessGroup", + "ProcessGroupSort", + "Group", + "UGCall" + ], + "defines": [ + "SCENE_TREE_H" + ] + }, + "scene/main/http_request.h": { + "classes": [ + "HTTPRequest" + ], + "structs": [], + "defines": [ + "HTTP_REQUEST_H" + ] + }, + "scene/main/status_indicator.h": { + "classes": [ + "StatusIndicator" + ], + "structs": [], + "defines": [ + "STATUS_INDICATOR_H" + ] + }, + "scene/main/shader_globals_override.h": { + "classes": [ + "ShaderGlobalsOverride" + ], + "structs": [ + "Override" + ], + "defines": [ + "SHADER_GLOBALS_OVERRIDE_H" + ] + }, + "scene/2d/visible_on_screen_notifier_2d.h": { + "classes": [ + "VisibleOnScreenNotifier2D", + "VisibleOnScreenEnabler2D" + ], + "structs": [], + "defines": [ + "VISIBLE_ON_SCREEN_NOTIFIER_2D_H" + ] + }, + "scene/2d/path_2d.h": { + "classes": [ + "Path2D", + "PathFollow2D" + ], + "structs": [], + "defines": [ + "PATH_2D_H" + ] + }, + "scene/2d/line_2d.h": { + "classes": [ + "Line2D" + ], + "structs": [], + "defines": [ + "LINE_2D_H" + ] + }, + "scene/2d/remote_transform_2d.h": { + "classes": [ + "RemoteTransform2D" + ], + "structs": [], + "defines": [ + "REMOTE_TRANSFORM_2D_H" + ] + }, + "scene/2d/parallax_background.h": { + "classes": [ + "ParallaxBackground" + ], + "structs": [], + "defines": [ + "PARALLAX_BACKGROUND_H" + ] + }, + "scene/2d/touch_screen_button.h": { + "classes": [ + "TouchScreenButton" + ], + "structs": [], + "defines": [ + "TOUCH_SCREEN_BUTTON_H" + ] + }, + "scene/2d/marker_2d.h": { + "classes": [ + "Marker2D" + ], + "structs": [], + "defines": [ + "MARKER_2D_H" + ] + }, + "scene/2d/camera_2d.h": { + "classes": [ + "Camera2D" + ], + "structs": [], + "defines": [ + "CAMERA_2D_H" + ] + }, + "scene/2d/audio_stream_player_2d.h": { + "classes": [ + "AudioStreamPlayer2D" + ], + "structs": [ + "Output" + ], + "defines": [ + "AUDIO_STREAM_PLAYER_2D_H" + ] + }, + "scene/2d/navigation_agent_2d.h": { + "classes": [ + "NavigationAgent2D" + ], + "structs": [], + "defines": [ + "NAVIGATION_AGENT_2D_H" + ] + }, + "scene/2d/line_builder.h": { + "classes": [ + "LineBuilder" + ], + "structs": [], + "defines": [ + "LINE_BUILDER_H" + ] + }, + "scene/2d/back_buffer_copy.h": { + "classes": [ + "BackBufferCopy" + ], + "structs": [], + "defines": [ + "BACK_BUFFER_COPY_H" + ] + }, + "scene/2d/navigation_obstacle_2d.h": { + "classes": [ + "NavigationObstacle2D" + ], + "structs": [], + "defines": [ + "NAVIGATION_OBSTACLE_2D_H" + ] + }, + "scene/2d/parallax_2d.h": { + "classes": [ + "Parallax2D" + ], + "structs": [], + "defines": [ + "PARALLAX_2D_H" + ] + }, + "scene/2d/navigation_region_2d.h": { + "classes": [ + "NavigationRegion2D" + ], + "structs": [], + "defines": [ + "NAVIGATION_REGION_2D_H" + ] + }, + "scene/2d/light_occluder_2d.h": { + "classes": [ + "OccluderPolygon2D", + "LightOccluder2D" + ], + "structs": [], + "defines": [ + "LIGHT_OCCLUDER_2D_H" + ] + }, + "scene/2d/mesh_instance_2d.h": { + "classes": [ + "MeshInstance2D" + ], + "structs": [], + "defines": [ + "MESH_INSTANCE_2D_H" + ] + }, + "scene/2d/animated_sprite_2d.h": { + "classes": [ + "AnimatedSprite2D" + ], + "structs": [], + "defines": [ + "ANIMATED_SPRITE_2D_H" + ] + }, + "scene/2d/navigation_link_2d.h": { + "classes": [ + "NavigationLink2D" + ], + "structs": [], + "defines": [ + "NAVIGATION_LINK_2D_H" + ] + }, + "scene/2d/light_2d.h": { + "classes": [ + "Light2D", + "PointLight2D", + "DirectionalLight2D" + ], + "structs": [], + "defines": [ + "LIGHT_2D_H" + ] + }, + "scene/2d/canvas_group.h": { + "classes": [ + "CanvasGroup" + ], + "structs": [], + "defines": [ + "CANVAS_GROUP_H" + ] + }, + "scene/2d/audio_listener_2d.h": { + "classes": [ + "AudioListener2D" + ], + "structs": [], + "defines": [ + "AUDIO_LISTENER_2D_H" + ] + }, + "scene/2d/gpu_particles_2d.h": { + "classes": [ + "GPUParticles2D" + ], + "structs": [], + "defines": [ + "GPU_PARTICLES_2D_H" + ] + }, + "scene/2d/tile_map_layer_group.h": { + "classes": [ + "TileMapLayerGroup" + ], + "structs": [], + "defines": [ + "TILE_MAP_LAYER_GROUP_H" + ] + }, + "scene/2d/cpu_particles_2d.h": { + "classes": [ + "CPUParticles2D" + ], + "structs": [ + "Particle", + "SortLifetime", + "SortAxis" + ], + "defines": [ + "CPU_PARTICLES_2D_H" + ] + }, + "scene/2d/tile_map_layer.h": { + "classes": [ + "TerrainConstraint", + "DebugQuadrant", + "RenderingQuadrant", + "TileMapLayer" + ], + "structs": [ + "CellData", + "CellDataYSortedComparator", + "CoordsWorldComparator" + ], + "defines": [ + "TILE_MAP_LAYER_H" + ] + }, + "scene/2d/skeleton_2d.h": { + "classes": [ + "Bone2D", + "Skeleton2D" + ], + "structs": [ + "Bone" + ], + "defines": [ + "SKELETON_2D_H" + ] + }, + "scene/2d/sprite_2d.h": { + "classes": [ + "Sprite2D" + ], + "structs": [], + "defines": [ + "SPRITE_2D_H" + ] + }, + "scene/2d/parallax_layer.h": { + "classes": [ + "ParallaxLayer" + ], + "structs": [], + "defines": [ + "PARALLAX_LAYER_H" + ] + }, + "scene/2d/canvas_modulate.h": { + "classes": [ + "CanvasModulate" + ], + "structs": [], + "defines": [ + "CANVAS_MODULATE_H" + ] + }, + "scene/2d/tile_map.h": { + "classes": [ + "TileMap" + ], + "structs": [], + "defines": [ + "TILE_MAP_H" + ] + }, + "scene/2d/node_2d.h": { + "classes": [ + "Node2D" + ], + "structs": [], + "defines": [ + "NODE_2D_H" + ] + }, + "scene/2d/polygon_2d.h": { + "classes": [ + "Polygon2D" + ], + "structs": [ + "Bone" + ], + "defines": [ + "POLYGON_2D_H" + ] + }, + "scene/2d/multimesh_instance_2d.h": { + "classes": [ + "MultiMeshInstance2D" + ], + "structs": [], + "defines": [ + "MULTIMESH_INSTANCE_2D_H" + ] + }, + "scene/2d/physics/kinematic_collision_2d.h": { + "classes": [ + "KinematicCollision2D" + ], + "structs": [], + "defines": [ + "KINEMATIC_COLLISION_2D_H" + ] + }, + "scene/2d/physics/character_body_2d.h": { + "classes": [ + "CharacterBody2D" + ], + "structs": [], + "defines": [ + "CHARACTER_BODY_2D_H" + ] + }, + "scene/2d/physics/collision_object_2d.h": { + "classes": [ + "CollisionObject2D" + ], + "structs": [ + "ShapeData", + "Shape" + ], + "defines": [ + "COLLISION_OBJECT_2D_H" + ] + }, + "scene/2d/physics/physical_bone_2d.h": { + "classes": [ + "PhysicalBone2D" + ], + "structs": [], + "defines": [ + "PHYSICAL_BONE_2D_H" + ] + }, + "scene/2d/physics/area_2d.h": { + "classes": [ + "Area2D" + ], + "structs": [ + "ShapePair", + "BodyState", + "AreaShapePair", + "AreaState" + ], + "defines": [ + "AREA_2D_H" + ] + }, + "scene/2d/physics/static_body_2d.h": { + "classes": [ + "StaticBody2D" + ], + "structs": [], + "defines": [ + "STATIC_BODY_2D_H" + ] + }, + "scene/2d/physics/animatable_body_2d.h": { + "classes": [ + "AnimatableBody2D" + ], + "structs": [], + "defines": [ + "ANIMATABLE_BODY_2D_H" + ] + }, + "scene/2d/physics/ray_cast_2d.h": { + "classes": [ + "RayCast2D" + ], + "structs": [], + "defines": [ + "RAY_CAST_2D_H" + ] + }, + "scene/2d/physics/physics_body_2d.h": { + "classes": [ + "PhysicsBody2D" + ], + "structs": [], + "defines": [ + "PHYSICS_BODY_2D_H" + ] + }, + "scene/2d/physics/collision_polygon_2d.h": { + "classes": [ + "CollisionPolygon2D" + ], + "structs": [], + "defines": [ + "COLLISION_POLYGON_2D_H" + ] + }, + "scene/2d/physics/shape_cast_2d.h": { + "classes": [ + "ShapeCast2D" + ], + "structs": [], + "defines": [ + "SHAPE_CAST_2D_H" + ] + }, + "scene/2d/physics/rigid_body_2d.h": { + "classes": [ + "RigidBody2D" + ], + "structs": [ + "ShapePair", + "RigidBody2D_RemoveAction", + "BodyState", + "ContactMonitor" + ], + "defines": [ + "RIGID_BODY_2D_H" + ] + }, + "scene/2d/physics/collision_shape_2d.h": { + "classes": [ + "CollisionShape2D" + ], + "structs": [], + "defines": [ + "COLLISION_SHAPE_2D_H" + ] + }, + "scene/2d/physics/joints/joint_2d.h": { + "classes": [ + "Joint2D" + ], + "structs": [], + "defines": [ + "JOINT_2D_H" + ] + }, + "scene/2d/physics/joints/damped_spring_joint_2d.h": { + "classes": [ + "DampedSpringJoint2D" + ], + "structs": [], + "defines": [ + "DAMPED_SPRING_JOINT_2D_H" + ] + }, + "scene/2d/physics/joints/pin_joint_2d.h": { + "classes": [ + "PinJoint2D" + ], + "structs": [], + "defines": [ + "PIN_JOINT_2D_H" + ] + }, + "scene/2d/physics/joints/groove_joint_2d.h": { + "classes": [ + "GrooveJoint2D" + ], + "structs": [], + "defines": [ + "GROOVE_JOINT_2D_H" + ] + }, + "main/main.h": { + "classes": [ + "Main" + ], + "structs": [], + "defines": [ + "MAIN_H", + "TEST_MAIN_OVERRIDE", + "TEST_MAIN_PARAM_OVERRIDE" + ] + }, + "main/performance.h": { + "classes": [ + "Performance", + "MonitorCall" + ], + "structs": [], + "defines": [ + "PERFORMANCE_H", + "PERF_WARN_OFFLINE_FUNCTION", + "PERF_WARN_PROCESS_SYNC" + ] + }, + "main/app_icon.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "APP_ICON_H" + ] + }, + "main/splash.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "BOOT_SPLASH_H" + ] + }, + "main/main_timer_sync.h": { + "classes": [ + "MainTimerSync", + "DeltaSmoother" + ], + "structs": [ + "MainFrameTime" + ], + "defines": [ + "MAIN_TIMER_SYNC_H", + "GODOT_DEBUG_DELTA_SMOOTHER" + ] + }, + "modules/register_module_types.h": { + "classes": [], + "structs": [], + "defines": [ + "REGISTER_MODULE_TYPES_H" + ] + }, + "modules/modules_enabled.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "MODULE_ZIP_ENABLED", + "MODULE_XATLAS_UNWRAP_ENABLED", + "MODULE_WEBXR_ENABLED", + "MODULE_WEBSOCKET_ENABLED", + "MODULE_WEBRTC_ENABLED", + "MODULE_WEBP_ENABLED", + "MODULE_VHACD_ENABLED", + "MODULE_UPNP_ENABLED", + "MODULE_TINYEXR_ENABLED", + "MODULE_TGA_ENABLED", + "MODULE_TEXT_SERVER_ADV_ENABLED", + "MODULE_SVG_ENABLED", + "MODULE_SQUISH_ENABLED", + "MODULE_REGEX_ENABLED", + "MODULE_RAYCAST_ENABLED", + "MODULE_OPENXR_ENABLED", + "MODULE_OGG_ENABLED", + "MODULE_NOISE_ENABLED", + "MODULE_NAVIGATION_ENABLED", + "MODULE_MULTIPLAYER_ENABLED", + "MODULE_MOBILE_VR_ENABLED", + "MODULE_MINIMP3_ENABLED", + "MODULE_MESHOPTIMIZER_ENABLED", + "MODULE_MBEDTLS_ENABLED", + "MODULE_LIGHTMAPPER_RD_ENABLED", + "MODULE_JSONRPC_ENABLED", + "MODULE_JPG_ENABLED", + "MODULE_HDR_ENABLED", + "MODULE_GRIDMAP_ENABLED", + "MODULE_GLTF_ENABLED", + "MODULE_GLSLANG_ENABLED", + "MODULE_GDSCRIPT_ENABLED", + "MODULE_FREETYPE_ENABLED", + "MODULE_FBX_ENABLED", + "MODULE_ETCPAK_ENABLED", + "MODULE_ENET_ENABLED", + "MODULE_DDS_ENABLED", + "MODULE_CVTT_ENABLED", + "MODULE_CSG_ENABLED", + "MODULE_CAMERA_ENABLED", + "MODULE_BMP_ENABLED", + "MODULE_BASIS_UNIVERSAL_ENABLED", + "MODULE_ASTCENC_ENABLED", + "MODULE_VORBIS_ENABLED", + "MODULE_THEORA_ENABLED", + "MODULE_MSDFGEN_ENABLED", + "MODULE_KTX_ENABLED" + ] + }, + "modules/svg/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "SVG_REGISTER_TYPES_H" + ] + }, + "modules/svg/image_loader_svg.h": { + "classes": [ + "ImageLoaderSVG" + ], + "structs": [], + "defines": [ + "IMAGE_LOADER_SVG_H" + ] + }, + "modules/enet/enet_packet_peer.h": { + "classes": [ + "ENetPacketPeer" + ], + "structs": [], + "defines": [ + "ENET_PACKET_PEER_H" + ] + }, + "modules/enet/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "ENET_REGISTER_TYPES_H" + ] + }, + "modules/enet/enet_connection.h": { + "classes": [ + "ENetConnection", + "Compressor" + ], + "structs": [ + "Event" + ], + "defines": [ + "ENET_CONNECTION_H" + ] + }, + "modules/enet/enet_multiplayer_peer.h": { + "classes": [ + "ENetMultiplayerPeer" + ], + "structs": [ + "Packet" + ], + "defines": [ + "ENET_MULTIPLAYER_PEER_H" + ] + }, + "modules/websocket/packet_buffer.h": { + "classes": [ + "PacketBuffer" + ], + "structs": [], + "defines": [ + "PACKET_BUFFER_H" + ] + }, + "modules/websocket/websocket_multiplayer_peer.h": { + "classes": [ + "WebSocketMultiplayerPeer" + ], + "structs": [ + "Packet", + "PendingPeer" + ], + "defines": [ + "WEBSOCKET_MULTIPLAYER_PEER_H" + ] + }, + "modules/websocket/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "WEBSOCKET_REGISTER_TYPES_H" + ] + }, + "modules/websocket/emws_peer.h": { + "classes": [ + "EMWSPeer" + ], + "structs": [], + "defines": [ + "EMWS_PEER_H" + ] + }, + "modules/websocket/websocket_peer.h": { + "classes": [ + "WebSocketPeer" + ], + "structs": [], + "defines": [ + "WEBSOCKET_PEER_H" + ] + }, + "modules/websocket/remote_debugger_peer_websocket.h": { + "classes": [ + "RemoteDebuggerPeerWebSocket" + ], + "structs": [], + "defines": [ + "REMOTE_DEBUGGER_PEER_WEBSOCKET_H" + ] + }, + "modules/websocket/wsl_peer.h": { + "classes": [ + "WSLPeer", + "Resolver" + ], + "structs": [], + "defines": [ + "WSL_PEER_H", + "WSL_MAX_HEADER_SIZE" + ] + }, + "modules/websocket/editor/editor_debugger_server_websocket.h": { + "classes": [ + "EditorDebuggerServerWebSocket" + ], + "structs": [], + "defines": [ + "EDITOR_DEBUGGER_SERVER_WEBSOCKET_H" + ] + }, + "modules/ogg/ogg_packet_sequence.h": { + "classes": [ + "OggPacketSequence", + "OggPacketSequencePlayback" + ], + "structs": [], + "defines": [ + "OGG_PACKET_SEQUENCE_H" + ] + }, + "modules/ogg/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "OGG_REGISTER_TYPES_H" + ] + }, + "modules/meshoptimizer/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "MESHOPTIMIZER_REGISTER_TYPES_H" + ] + }, + "modules/csg/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "CSG_REGISTER_TYPES_H" + ] + }, + "modules/csg/csg.h": { + "classes": [], + "structs": [ + "CSGBrush", + "Face", + "CSGBrushOperation", + "MeshMerge", + "Face", + "FaceBVH", + "FaceBVHCmpX", + "FaceBVHCmpY", + "FaceBVHCmpZ", + "VertexKey", + "VertexKeyHash", + "Intersection", + "IntersectionDistance", + "Build2DFaces", + "Vertex2D", + "Face2D", + "Build2DFaceCollection" + ], + "defines": [ + "CSG_H" + ] + }, + "modules/csg/csg_shape.h": { + "classes": [ + "CSGShape3D", + "CSGCombiner3D", + "CSGPrimitive3D", + "CSGMesh3D", + "CSGSphere3D", + "CSGBox3D", + "CSGCylinder3D", + "CSGTorus3D", + "CSGPolygon3D" + ], + "structs": [ + "Vector3Hasher", + "ShapeUpdateSurface" + ], + "defines": [ + "CSG_SHAPE_H" + ] + }, + "modules/csg/editor/csg_gizmos.h": { + "classes": [ + "CSGShape3DGizmoPlugin", + "EditorPluginCSG" + ], + "structs": [], + "defines": [ + "CSG_GIZMOS_H" + ] + }, + "modules/tinyexr/image_loader_tinyexr.h": { + "classes": [ + "ImageLoaderTinyEXR" + ], + "structs": [], + "defines": [ + "IMAGE_LOADER_TINYEXR_H" + ] + }, + "modules/tinyexr/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "TINYEXR_REGISTER_TYPES_H" + ] + }, + "modules/tinyexr/image_saver_tinyexr.h": { + "classes": [], + "structs": [], + "defines": [ + "IMAGE_SAVER_TINYEXR_H" + ] + }, + "modules/vorbis/audio_stream_ogg_vorbis.h": { + "classes": [ + "AudioStreamPlaybackOggVorbis", + "AudioStreamOggVorbis" + ], + "structs": [], + "defines": [ + "AUDIO_STREAM_OGG_VORBIS_H" + ] + }, + "modules/vorbis/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "VORBIS_REGISTER_TYPES_H" + ] + }, + "modules/vorbis/resource_importer_ogg_vorbis.h": { + "classes": [ + "ResourceImporterOggVorbis" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_OGG_VORBIS_H" + ] + }, + "modules/lightmapper_rd/lm_raster.glsl.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "LM_RASTER_SHADER_GLSL_RAW_H" + ] + }, + "modules/lightmapper_rd/lm_blendseams.glsl.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "LM_BLENDSEAMS_SHADER_GLSL_RAW_H" + ] + }, + "modules/lightmapper_rd/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "LIGHTMAPPER_RD_REGISTER_TYPES_H" + ] + }, + "modules/lightmapper_rd/lm_compute.glsl.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "LM_COMPUTE_SHADER_GLSL_RAW_H" + ] + }, + "modules/lightmapper_rd/lightmapper_rd.h": { + "classes": [ + "LightmapperRD" + ], + "structs": [ + "BakeParameters", + "MeshInstance", + "Light", + "Vertex", + "Edge", + "Probe", + "EdgeHash", + "EdgeUV2", + "Seam", + "VertexHash", + "Triangle", + "ClusterAABB", + "TriangleSort", + "TriangleSortAxis", + "RasterPushConstant", + "RasterSeamsPushConstant", + "PushConstant", + "DenoiseParams" + ], + "defines": [ + "LIGHTMAPPER_RD_H" + ] + }, + "modules/freetype/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "FREETYPE_REGISTER_TYPES_H" + ] + }, + "modules/gdscript/gdscript_warning.h": { + "classes": [ + "GDScriptWarning" + ], + "structs": [], + "defines": [ + "GDSCRIPT_WARNING_H" + ] + }, + "modules/gdscript/gdscript_codegen.h": { + "classes": [ + "GDScriptCodeGenerator" + ], + "structs": [ + "Address" + ], + "defines": [ + "GDSCRIPT_CODEGEN_H" + ] + }, + "modules/gdscript/gdscript_lambda_callable.h": { + "classes": [ + "GDScriptLambdaCallable", + "GDScriptLambdaSelfCallable" + ], + "structs": [], + "defines": [ + "GDSCRIPT_LAMBDA_CALLABLE_H" + ] + }, + "modules/gdscript/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "GDSCRIPT_REGISTER_TYPES_H" + ] + }, + "modules/gdscript/gdscript_tokenizer.h": { + "classes": [ + "GDScriptTokenizer", + "GDScriptTokenizerText" + ], + "structs": [ + "Token", + "CommentData" + ], + "defines": [ + "GDSCRIPT_TOKENIZER_H" + ] + }, + "modules/gdscript/gdscript_function.h": { + "classes": [ + "GDScriptDataType", + "GDScriptFunction", + "GDScriptFunctionState" + ], + "structs": [ + "StackDebug", + "Profile", + "NativeProfile", + "CallState" + ], + "defines": [ + "GDSCRIPT_FUNCTION_H" + ] + }, + "modules/gdscript/gdscript_utility_functions.h": { + "classes": [ + "GDScriptUtilityFunctions" + ], + "structs": [], + "defines": [ + "GDSCRIPT_UTILITY_FUNCTIONS_H" + ] + }, + "modules/gdscript/gdscript_cache.h": { + "classes": [ + "GDScriptParserRef", + "GDScriptCache" + ], + "structs": [], + "defines": [ + "GDSCRIPT_CACHE_H" + ] + }, + "modules/gdscript/gdscript_compiler.h": { + "classes": [ + "GDScriptCompiler" + ], + "structs": [ + "FunctionLambdaInfo", + "ScriptLambdaInfo", + "CodeGen" + ], + "defines": [ + "GDSCRIPT_COMPILER_H" + ] + }, + "modules/gdscript/gdscript_byte_codegen.h": { + "classes": [ + "GDScriptByteCodeGenerator" + ], + "structs": [ + "StackSlot", + "CallTarget" + ], + "defines": [ + "GDSCRIPT_BYTE_CODEGEN_H" + ] + }, + "modules/gdscript/gdscript_tokenizer_buffer.h": { + "classes": [ + "GDScriptTokenizerBuffer" + ], + "structs": [], + "defines": [ + "GDSCRIPT_TOKENIZER_BUFFER_H" + ] + }, + "modules/gdscript/gdscript_analyzer.h": { + "classes": [ + "GDScriptAnalyzer" + ], + "structs": [], + "defines": [ + "GDSCRIPT_ANALYZER_H" + ] + }, + "modules/gdscript/gdscript.h": { + "classes": [ + "GDScriptNativeClass", + "GDScript", + "UpdatableFuncPtr", + "GDScriptInstance", + "GDScriptLanguage", + "ResourceFormatLoaderGDScript", + "ResourceFormatSaverGDScript" + ], + "structs": [ + "MemberInfo", + "ClearData", + "LambdaInfo", + "CallLevel", + "CallStack" + ], + "defines": [ + "GDSCRIPT_H" + ] + }, + "modules/gdscript/gdscript_rpc_callable.h": { + "classes": [ + "GDScriptRPCCallable" + ], + "structs": [], + "defines": [ + "GDSCRIPT_RPC_CALLABLE_H" + ] + }, + "modules/gdscript/gdscript_utility_callable.h": { + "classes": [ + "GDScriptUtilityCallable" + ], + "structs": [], + "defines": [ + "GDSCRIPT_UTILITY_CALLABLE_H" + ] + }, + "modules/gdscript/gdscript_parser.h": { + "classes": [ + "GDScriptParser", + "DataType", + "TreePrinter" + ], + "structs": [ + "ParserError", + "ClassDocData", + "MemberDocData", + "Node", + "ExpressionNode", + "AnnotationNode", + "ArrayNode", + "AssertNode", + "AssignableNode", + "AssignmentNode", + "AwaitNode", + "BinaryOpNode", + "BreakNode", + "BreakpointNode", + "CallNode", + "CastNode", + "EnumNode", + "Value", + "ClassNode", + "Member", + "ConstantNode", + "ContinueNode", + "DictionaryNode", + "Pair", + "ForNode", + "FunctionNode", + "GetNodeNode", + "IdentifierNode", + "IfNode", + "LambdaNode", + "LiteralNode", + "MatchNode", + "MatchBranchNode", + "ParameterNode", + "PassNode", + "PatternNode", + "Pair", + "PreloadNode", + "ReturnNode", + "SelfNode", + "SignalNode", + "SubscriptNode", + "SuiteNode", + "Local", + "TernaryOpNode", + "TypeNode", + "TypeTestNode", + "UnaryOpNode", + "VariableNode", + "WhileNode", + "CompletionContext", + "CompletionCall", + "AnnotationInfo", + "ParseRule" + ], + "defines": [ + "GDSCRIPT_PARSER_H" + ] + }, + "modules/gdscript/language_server/gdscript_language_protocol.h": { + "classes": [ + "GDScriptLanguageProtocol" + ], + "structs": [ + "LSPeer" + ], + "defines": [ + "GDSCRIPT_LANGUAGE_PROTOCOL_H", + "LSP_MAX_BUFFER_SIZE", + "LSP_MAX_CLIENTS" + ] + }, + "modules/gdscript/language_server/godot_lsp.h": { + "classes": [], + "structs": [ + "TextDocumentIdentifier", + "Position", + "Range", + "Location", + "LocationLink", + "TextDocumentPositionParams", + "ReferenceContext", + "ReferenceParams", + "DocumentLinkParams", + "DocumentLink", + "TextEdit", + "WorkspaceEdit", + "Command", + "CompletionOptions", + "SignatureHelpOptions", + "CodeLensOptions", + "RenameOptions", + "DocumentLinkOptions", + "ExecuteCommandOptions", + "SaveOptions", + "ColorProviderOptions", + "FoldingRangeProviderOptions", + "TextDocumentSyncOptions", + "StaticRegistrationOptions", + "DocumentOnTypeFormattingOptions", + "TextDocumentItem", + "TextDocumentContentChangeEvent", + "DiagnosticRelatedInformation", + "Diagnostic", + "MarkupContent", + "CompletionItem", + "CompletionList", + "DocumentSymbol", + "ApplyWorkspaceEditParams", + "NativeSymbolInspectParams", + "FoldingRange", + "CompletionContext", + "CompletionParams", + "Hover", + "ParameterInformation", + "SignatureInformation", + "SignatureHelp", + "FileOperationPattern", + "FileOperationFilter", + "FileOperationRegistrationOptions", + "FileOperations", + "Workspace", + "ServerCapabilities", + "InitializeResult", + "GodotNativeClassInfo", + "GodotCapabilities" + ], + "defines": [ + "GODOT_LSP_H" + ] + }, + "modules/gdscript/language_server/gdscript_text_document.h": { + "classes": [ + "GDScriptTextDocument" + ], + "structs": [], + "defines": [ + "GDSCRIPT_TEXT_DOCUMENT_H" + ] + }, + "modules/gdscript/language_server/gdscript_language_server.h": { + "classes": [ + "GDScriptLanguageServer" + ], + "structs": [], + "defines": [ + "GDSCRIPT_LANGUAGE_SERVER_H" + ] + }, + "modules/gdscript/language_server/gdscript_extend_parser.h": { + "classes": [ + "ExtendGDScriptParser" + ], + "structs": [ + "GodotPosition", + "GodotRange" + ], + "defines": [ + "GDSCRIPT_EXTEND_PARSER_H", + "LINE_NUMBER_TO_INDEX", + "COLUMN_NUMBER_TO_INDEX", + "SYMBOL_SEPERATOR", + "JOIN_SYMBOLS" + ] + }, + "modules/gdscript/language_server/gdscript_workspace.h": { + "classes": [ + "GDScriptWorkspace" + ], + "structs": [], + "defines": [ + "GDSCRIPT_WORKSPACE_H" + ] + }, + "modules/gdscript/editor/gdscript_translation_parser_plugin.h": { + "classes": [ + "GDScriptEditorTranslationParserPlugin" + ], + "structs": [], + "defines": [ + "GDSCRIPT_TRANSLATION_PARSER_PLUGIN_H" + ] + }, + "modules/gdscript/editor/gdscript_docgen.h": { + "classes": [ + "GDScriptDocGen" + ], + "structs": [], + "defines": [ + "GDSCRIPT_DOCGEN_H" + ] + }, + "modules/gdscript/editor/gdscript_highlighter.h": { + "classes": [ + "GDScriptSyntaxHighlighter" + ], + "structs": [ + "ColorRegion" + ], + "defines": [ + "GDSCRIPT_HIGHLIGHTER_H" + ] + }, + "modules/gdscript/editor/script_templates/templates.gen.h": { + "classes": [], + "structs": [ + "ScriptLanguage" + ], + "defines": [ + "_CODE_TEMPLATES_H" + ] + }, + "modules/openxr/openxr_api.h": { + "classes": [ + "OpenXRAPI" + ], + "structs": [ + "OpenXRSwapChainInfo", + "Tracker", + "ActionSet", + "ActionTracker", + "Action", + "InteractionProfile" + ], + "defines": [ + "OPENXR_API_H" + ] + }, + "modules/openxr/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "OPENXR_REGISTER_TYPES_H", + "MODULE_OPENXR_HAS_PREREGISTER" + ] + }, + "modules/openxr/openxr_api_extension.h": { + "classes": [ + "OpenXRAPIExtension" + ], + "structs": [], + "defines": [ + "OPENXR_API_EXTENSION_H" + ] + }, + "modules/openxr/openxr_interface.h": { + "classes": [ + "OpenXRInterface" + ], + "structs": [ + "Action", + "ActionSet", + "Tracker" + ], + "defines": [ + "OPENXR_INTERFACE_H", + "INTERACTION_PROFILE_NONE" + ] + }, + "modules/openxr/util.h": { + "classes": [], + "structs": [], + "defines": [ + "UTIL_H", + "UNPACK", + "INIT_XR_FUNC_V", + "EXT_INIT_XR_FUNC_V", + "OPENXR_API_INIT_XR_FUNC_V", + "INIT_XR_FUNC", + "EXT_INIT_XR_FUNC", + "OPENXR_API_INIT_XR_FUNC", + "TRY_INIT_XR_FUNC", + "EXT_TRY_INIT_XR_FUNC", + "OPENXR_TRY_API_INIT_XR_FUNC", + "GDEXTENSION_INIT_XR_FUNC", + "GDEXTENSION_INIT_XR_FUNC_V", + "EXT_PROTO_XRRESULT_FUNC1", + "EXT_PROTO_XRRESULT_FUNC2", + "EXT_PROTO_XRRESULT_FUNC3", + "EXT_PROTO_XRRESULT_FUNC4", + "EXT_PROTO_XRRESULT_FUNC5", + "EXT_PROTO_XRRESULT_FUNC6" + ] + }, + "modules/openxr/openxr_platform_inc.h": { + "classes": [], + "structs": [], + "defines": [ + "OPENXR_PLATFORM_INC_H", + "XR_USE_GRAPHICS_API_VULKAN", + "XR_USE_GRAPHICS_API_OPENGL_ES", + "XR_USE_GRAPHICS_API_OPENGL", + "GL_GLEXT_PROTOTYPES", + "GL3_PROTOTYPES" + ] + }, + "modules/openxr/openxr_util.h": { + "classes": [ + "OpenXRUtil" + ], + "structs": [ + "XrMatrix4x4f" + ], + "defines": [ + "OPENXR_UTIL_H" + ] + }, + "modules/openxr/action_map/openxr_action_set.h": { + "classes": [ + "OpenXRActionSet" + ], + "structs": [], + "defines": [ + "OPENXR_ACTION_SET_H" + ] + }, + "modules/openxr/action_map/openxr_interaction_profile.h": { + "classes": [ + "OpenXRIPBinding", + "OpenXRInteractionProfile" + ], + "structs": [], + "defines": [ + "OPENXR_INTERACTION_PROFILE_H" + ] + }, + "modules/openxr/action_map/openxr_action_map.h": { + "classes": [ + "OpenXRActionMap" + ], + "structs": [], + "defines": [ + "OPENXR_ACTION_MAP_H" + ] + }, + "modules/openxr/action_map/openxr_interaction_profile_metadata.h": { + "classes": [ + "OpenXRInteractionProfileMetadata" + ], + "structs": [ + "TopLevelPath", + "IOPath", + "InteractionProfile" + ], + "defines": [ + "OPENXR_INTERACTION_PROFILE_METADATA_H", + "XR_PATH_UNSUPPORTED_NAME" + ] + }, + "modules/openxr/action_map/openxr_action.h": { + "classes": [ + "OpenXRAction" + ], + "structs": [], + "defines": [ + "OPENXR_ACTION_H" + ] + }, + "modules/openxr/extensions/openxr_htc_vive_tracker_extension.h": { + "classes": [ + "OpenXRHTCViveTrackerExtension" + ], + "structs": [], + "defines": [ + "OPENXR_HTC_VIVE_TRACKER_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_wmr_controller_extension.h": { + "classes": [ + "OpenXRWMRControllerExtension" + ], + "structs": [], + "defines": [ + "OPENXR_WMR_CONTROLLER_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_local_floor_extension.h": { + "classes": [ + "OpenXRLocalFloorExtension" + ], + "structs": [], + "defines": [ + "OPENXR_LOCAL_FLOOR_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_eye_gaze_interaction.h": { + "classes": [ + "OpenXREyeGazeInteractionExtension" + ], + "structs": [], + "defines": [ + "OPENXR_EYE_GAZE_INTERACTION_H" + ] + }, + "modules/openxr/extensions/openxr_composition_layer_provider.h": { + "classes": [ + "OpenXRCompositionLayerProvider" + ], + "structs": [], + "defines": [ + "OPENXR_COMPOSITION_LAYER_PROVIDER_H" + ] + }, + "modules/openxr/extensions/openxr_htc_controller_extension.h": { + "classes": [ + "OpenXRHTCControllerExtension" + ], + "structs": [], + "defines": [ + "OPENXR_HTC_CONTROLLER_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_composition_layer_depth_extension.h": { + "classes": [ + "OpenXRCompositionLayerDepthExtension" + ], + "structs": [], + "defines": [ + "OPENXR_COMPOSITION_LAYER_DEPTH_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_hand_tracking_extension.h": { + "classes": [ + "OpenXRHandTrackingExtension" + ], + "structs": [ + "HandTracker" + ], + "defines": [ + "OPENXR_HAND_TRACKING_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_palm_pose_extension.h": { + "classes": [ + "OpenXRPalmPoseExtension" + ], + "structs": [], + "defines": [ + "OPENXR_PALM_POSE_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_fb_display_refresh_rate_extension.h": { + "classes": [ + "OpenXRDisplayRefreshRateExtension" + ], + "structs": [], + "defines": [ + "OPENXR_FB_DISPLAY_REFRESH_RATE_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_extension_wrapper_extension.h": { + "classes": [ + "OpenXRExtensionWrapperExtension" + ], + "structs": [], + "defines": [ + "OPENXR_EXTENSION_WRAPPER_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_fb_update_swapchain_extension.h": { + "classes": [ + "OpenXRFBUpdateSwapchainExtension" + ], + "structs": [], + "defines": [ + "OPENXR_FB_UPDATE_SWAPCHAIN_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_huawei_controller_extension.h": { + "classes": [ + "OpenXRHuaweiControllerExtension" + ], + "structs": [], + "defines": [ + "OPENXR_HUAWEI_CONTROLLER_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_extension_wrapper.h": { + "classes": [ + "OpenXRExtensionWrapper", + "OpenXRGraphicsExtensionWrapper" + ], + "structs": [], + "defines": [ + "OPENXR_EXTENSION_WRAPPER_H" + ] + }, + "modules/openxr/extensions/openxr_pico_controller_extension.h": { + "classes": [ + "OpenXRPicoControllerExtension" + ], + "structs": [], + "defines": [ + "OPENXR_PICO_CONTROLLER_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_ml2_controller_extension.h": { + "classes": [ + "OpenXRML2ControllerExtension" + ], + "structs": [], + "defines": [ + "OPENXR_ML2_CONTROLLER_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_meta_controller_extension.h": { + "classes": [ + "OpenXRMetaControllerExtension" + ], + "structs": [], + "defines": [ + "OPENXR_META_CONTROLLER_EXTENSION_H" + ] + }, + "modules/openxr/extensions/openxr_fb_foveation_extension.h": { + "classes": [ + "OpenXRFBFoveationExtension" + ], + "structs": [], + "defines": [ + "OPENXR_FB_FOVEATION_EXTENSION_H" + ] + }, + "modules/openxr/extensions/platform/openxr_opengl_extension.h": { + "classes": [ + "OpenXROpenGLExtension" + ], + "structs": [ + "SwapchainGraphicsData" + ], + "defines": [ + "OPENXR_OPENGL_EXTENSION_H" + ] + }, + "modules/openxr/extensions/platform/openxr_android_extension.h": { + "classes": [ + "OpenXRAndroidExtension" + ], + "structs": [], + "defines": [ + "OPENXR_ANDROID_EXTENSION_H" + ] + }, + "modules/openxr/extensions/platform/openxr_vulkan_extension.h": { + "classes": [ + "OpenXRVulkanExtension" + ], + "structs": [ + "SwapchainGraphicsData" + ], + "defines": [ + "OPENXR_VULKAN_EXTENSION_H" + ] + }, + "modules/openxr/scene/openxr_hand.h": { + "classes": [ + "OpenXRHand" + ], + "structs": [ + "JointData" + ], + "defines": [ + "OPENXR_HAND_H" + ] + }, + "modules/openxr/editor/openxr_action_set_editor.h": { + "classes": [ + "OpenXRActionSetEditor" + ], + "structs": [], + "defines": [ + "OPENXR_ACTION_SET_EDITOR_H" + ] + }, + "modules/openxr/editor/openxr_interaction_profile_editor.h": { + "classes": [ + "OpenXRInteractionProfileEditorBase", + "OpenXRInteractionProfileEditor" + ], + "structs": [], + "defines": [ + "OPENXR_INTERACTION_PROFILE_EDITOR_H" + ] + }, + "modules/openxr/editor/openxr_editor_plugin.h": { + "classes": [ + "OpenXREditorPlugin" + ], + "structs": [], + "defines": [ + "OPENXR_EDITOR_PLUGIN_H" + ] + }, + "modules/openxr/editor/openxr_action_map_editor.h": { + "classes": [ + "OpenXRActionMapEditor" + ], + "structs": [], + "defines": [ + "OPENXR_ACTION_MAP_EDITOR_H" + ] + }, + "modules/openxr/editor/openxr_select_action_dialog.h": { + "classes": [ + "OpenXRSelectActionDialog" + ], + "structs": [], + "defines": [ + "OPENXR_SELECT_ACTION_DIALOG_H" + ] + }, + "modules/openxr/editor/openxr_select_interaction_profile_dialog.h": { + "classes": [ + "OpenXRSelectInteractionProfileDialog" + ], + "structs": [], + "defines": [ + "OPENXR_SELECT_INTERACTION_PROFILE_DIALOG_H" + ] + }, + "modules/openxr/editor/openxr_action_editor.h": { + "classes": [ + "OpenXRActionEditor" + ], + "structs": [], + "defines": [ + "OPENXR_ACTION_EDITOR_H" + ] + }, + "modules/openxr/editor/openxr_select_runtime.h": { + "classes": [ + "OpenXRSelectRuntime" + ], + "structs": [], + "defines": [ + "OPENXR_SELECT_RUNTIME_H" + ] + }, + "modules/minimp3/resource_importer_mp3.h": { + "classes": [ + "ResourceImporterMP3" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_MP3_H" + ] + }, + "modules/minimp3/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "MINIMP3_REGISTER_TYPES_H" + ] + }, + "modules/minimp3/audio_stream_mp3.h": { + "classes": [ + "AudioStreamPlaybackMP3", + "AudioStreamMP3" + ], + "structs": [], + "defines": [ + "AUDIO_STREAM_MP3_H" + ] + }, + "modules/upnp/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "UPNP_REGISTER_TYPES_H" + ] + }, + "modules/upnp/upnp.h": { + "classes": [ + "UPNP" + ], + "structs": [], + "defines": [ + "UPNP_H" + ] + }, + "modules/upnp/upnp_device.h": { + "classes": [ + "UPNPDevice" + ], + "structs": [], + "defines": [ + "UPNP_DEVICE_H" + ] + }, + "modules/camera/camera_win.h": { + "classes": [ + "CameraWindows" + ], + "structs": [], + "defines": [ + "CAMERA_WIN_H" + ] + }, + "modules/camera/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "CAMERA_REGISTER_TYPES_H" + ] + }, + "modules/camera/camera_macos.h": { + "classes": [ + "CameraMacOS" + ], + "structs": [], + "defines": [ + "CAMERA_MACOS_H" + ] + }, + "modules/ktx/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "KTX_REGISTER_TYPES_H" + ] + }, + "modules/ktx/texture_loader_ktx.h": { + "classes": [ + "ResourceFormatKTX" + ], + "structs": [], + "defines": [ + "TEXTURE_LOADER_KTX_H" + ] + }, + "modules/fbx/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "FBX_REGISTER_TYPES_H" + ] + }, + "modules/fbx/fbx_document.h": { + "classes": [ + "FBXDocument" + ], + "structs": [], + "defines": [ + "FBX_DOCUMENT_H" + ] + }, + "modules/fbx/fbx_state.h": { + "classes": [ + "FBXState" + ], + "structs": [], + "defines": [ + "FBX_STATE_H" + ] + }, + "modules/fbx/editor/editor_scene_importer_fbx2gltf.h": { + "classes": [ + "EditorSceneFormatImporterFBX2GLTF" + ], + "structs": [], + "defines": [ + "EDITOR_SCENE_IMPORTER_FBX2GLTF_H" + ] + }, + "modules/fbx/editor/editor_scene_importer_ufbx.h": { + "classes": [ + "EditorSceneFormatImporterUFBX" + ], + "structs": [], + "defines": [ + "EDITOR_SCENE_IMPORTER_UFBX_H" + ] + }, + "modules/hdr/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "HDR_REGISTER_TYPES_H" + ] + }, + "modules/hdr/image_loader_hdr.h": { + "classes": [ + "ImageLoaderHDR" + ], + "structs": [], + "defines": [ + "IMAGE_LOADER_HDR_H" + ] + }, + "modules/jsonrpc/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "JSONRPC_REGISTER_TYPES_H" + ] + }, + "modules/jsonrpc/jsonrpc.h": { + "classes": [ + "JSONRPC" + ], + "structs": [], + "defines": [ + "JSONRPC_H" + ] + }, + "modules/mbedtls/crypto_mbedtls.h": { + "classes": [ + "CryptoKeyMbedTLS", + "X509CertificateMbedTLS", + "HMACContextMbedTLS", + "CryptoMbedTLS" + ], + "structs": [], + "defines": [ + "CRYPTO_MBEDTLS_H" + ] + }, + "modules/mbedtls/stream_peer_mbedtls.h": { + "classes": [ + "StreamPeerMbedTLS" + ], + "structs": [], + "defines": [ + "STREAM_PEER_MBEDTLS_H" + ] + }, + "modules/mbedtls/tls_context_mbedtls.h": { + "classes": [ + "CookieContextMbedTLS", + "TLSContextMbedTLS" + ], + "structs": [], + "defines": [ + "TLS_CONTEXT_MBEDTLS_H" + ] + }, + "modules/mbedtls/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "MBEDTLS_REGISTER_TYPES_H" + ] + }, + "modules/mbedtls/dtls_server_mbedtls.h": { + "classes": [ + "DTLSServerMbedTLS" + ], + "structs": [], + "defines": [ + "DTLS_SERVER_MBEDTLS_H" + ] + }, + "modules/mbedtls/packet_peer_mbed_dtls.h": { + "classes": [ + "PacketPeerMbedDTLS" + ], + "structs": [], + "defines": [ + "PACKET_PEER_MBED_DTLS_H" + ] + }, + "modules/navigation/nav_obstacle.h": { + "classes": [ + "NavObstacle" + ], + "structs": [], + "defines": [ + "NAV_OBSTACLE_H" + ] + }, + "modules/navigation/nav_agent.h": { + "classes": [ + "NavAgent" + ], + "structs": [], + "defines": [ + "NAV_AGENT_H" + ] + }, + "modules/navigation/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "NAVIGATION_REGISTER_TYPES_H" + ] + }, + "modules/navigation/nav_rid.h": { + "classes": [ + "NavRid" + ], + "structs": [], + "defines": [ + "NAV_RID_H" + ] + }, + "modules/navigation/nav_region.h": { + "classes": [ + "NavRegion" + ], + "structs": [], + "defines": [ + "NAV_REGION_H" + ] + }, + "modules/navigation/nav_map.h": { + "classes": [ + "NavMap" + ], + "structs": [], + "defines": [ + "NAV_MAP_H" + ] + }, + "modules/navigation/nav_utils.h": { + "classes": [], + "structs": [ + "EdgeKey", + "Point", + "Edge", + "Connection", + "Polygon", + "NavigationPoly", + "ClosestPointQueryResult" + ], + "defines": [ + "NAV_UTILS_H" + ] + }, + "modules/navigation/nav_link.h": { + "classes": [ + "NavLink" + ], + "structs": [], + "defines": [ + "NAV_LINK_H" + ] + }, + "modules/navigation/nav_base.h": { + "classes": [ + "NavBase" + ], + "structs": [], + "defines": [ + "NAV_BASE_H" + ] + }, + "modules/navigation/3d/nav_mesh_generator_3d.h": { + "classes": [ + "NavMeshGenerator3D" + ], + "structs": [ + "NavMeshGeneratorTask3D" + ], + "defines": [ + "NAV_MESH_GENERATOR_3D_H" + ] + }, + "modules/navigation/3d/navigation_mesh_generator.h": { + "classes": [ + "NavigationMeshGenerator" + ], + "structs": [], + "defines": [ + "NAVIGATION_MESH_GENERATOR_H" + ] + }, + "modules/navigation/3d/godot_navigation_server_3d.h": { + "classes": [ + "GodotNavigationServer3D" + ], + "structs": [ + "SetCommand" + ], + "defines": [ + "GODOT_NAVIGATION_SERVER_3D_H", + "MERGE_INTERNAL", + "MERGE", + "COMMAND_1", + "COMMAND_2" + ] + }, + "modules/navigation/2d/nav_mesh_generator_2d.h": { + "classes": [ + "NavMeshGenerator2D" + ], + "structs": [ + "NavMeshGeneratorTask2D" + ], + "defines": [ + "NAV_MESH_GENERATOR_2D_H" + ] + }, + "modules/navigation/2d/godot_navigation_server_2d.h": { + "classes": [ + "GodotNavigationServer2D" + ], + "structs": [], + "defines": [ + "GODOT_NAVIGATION_SERVER_2D_H" + ] + }, + "modules/navigation/editor/navigation_mesh_editor_plugin.h": { + "classes": [ + "NavigationMeshEditor", + "NavigationMeshEditorPlugin" + ], + "structs": [], + "defines": [ + "NAVIGATION_MESH_EDITOR_PLUGIN_H" + ] + }, + "modules/etcpak/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "ETCPAK_REGISTER_TYPES_H" + ] + }, + "modules/etcpak/image_compress_etcpak.h": { + "classes": [ + "EtcpakType" + ], + "structs": [], + "defines": [ + "IMAGE_COMPRESS_ETCPAK_H" + ] + }, + "modules/tga/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "TGA_REGISTER_TYPES_H" + ] + }, + "modules/tga/image_loader_tga.h": { + "classes": [ + "ImageLoaderTGA" + ], + "structs": [ + "tga_header_s" + ], + "defines": [ + "IMAGE_LOADER_TGA_H", + "TGA_IMAGE_DESCRIPTOR_ALPHA_MASK" + ] + }, + "modules/gltf/gltf_template_convert.h": { + "classes": [], + "structs": [], + "defines": [ + "GLTF_TEMPLATE_CONVERT_H" + ] + }, + "modules/gltf/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "GLTF_REGISTER_TYPES_H" + ] + }, + "modules/gltf/gltf_defines.h": { + "classes": [], + "structs": [], + "defines": [ + "GLTF_DEFINES_H" + ] + }, + "modules/gltf/gltf_state.h": { + "classes": [ + "GLTFState" + ], + "structs": [], + "defines": [ + "GLTF_STATE_H" + ] + }, + "modules/gltf/gltf_document.h": { + "classes": [ + "GLTFDocument" + ], + "structs": [], + "defines": [ + "GLTF_DOCUMENT_H" + ] + }, + "modules/gltf/skin_tool.h": { + "classes": [ + "SkinTool" + ], + "structs": [], + "defines": [ + "SKIN_TOOL_H" + ] + }, + "modules/gltf/structures/gltf_texture.h": { + "classes": [ + "GLTFTexture" + ], + "structs": [], + "defines": [ + "GLTF_TEXTURE_H" + ] + }, + "modules/gltf/structures/gltf_camera.h": { + "classes": [ + "GLTFCamera" + ], + "structs": [], + "defines": [ + "GLTF_CAMERA_H" + ] + }, + "modules/gltf/structures/gltf_animation.h": { + "classes": [ + "GLTFAnimation" + ], + "structs": [ + "Channel", + "Track" + ], + "defines": [ + "GLTF_ANIMATION_H" + ] + }, + "modules/gltf/structures/gltf_node.h": { + "classes": [ + "GLTFNode" + ], + "structs": [], + "defines": [ + "GLTF_NODE_H" + ] + }, + "modules/gltf/structures/gltf_mesh.h": { + "classes": [ + "GLTFMesh" + ], + "structs": [], + "defines": [ + "GLTF_MESH_H" + ] + }, + "modules/gltf/structures/gltf_texture_sampler.h": { + "classes": [ + "GLTFTextureSampler" + ], + "structs": [], + "defines": [ + "GLTF_TEXTURE_SAMPLER_H" + ] + }, + "modules/gltf/structures/gltf_skeleton.h": { + "classes": [ + "GLTFSkeleton" + ], + "structs": [], + "defines": [ + "GLTF_SKELETON_H" + ] + }, + "modules/gltf/structures/gltf_buffer_view.h": { + "classes": [ + "GLTFBufferView" + ], + "structs": [], + "defines": [ + "GLTF_BUFFER_VIEW_H" + ] + }, + "modules/gltf/structures/gltf_skin.h": { + "classes": [ + "GLTFSkin" + ], + "structs": [], + "defines": [ + "GLTF_SKIN_H" + ] + }, + "modules/gltf/structures/gltf_accessor.h": { + "classes": [], + "structs": [ + "GLTFAccessor" + ], + "defines": [ + "GLTF_ACCESSOR_H" + ] + }, + "modules/gltf/extensions/gltf_light.h": { + "classes": [ + "GLTFLight" + ], + "structs": [], + "defines": [ + "GLTF_LIGHT_H" + ] + }, + "modules/gltf/extensions/gltf_spec_gloss.h": { + "classes": [ + "GLTFSpecGloss" + ], + "structs": [], + "defines": [ + "GLTF_SPEC_GLOSS_H" + ] + }, + "modules/gltf/extensions/gltf_document_extension_convert_importer_mesh.h": { + "classes": [ + "GLTFDocumentExtensionConvertImporterMesh" + ], + "structs": [], + "defines": [ + "GLTF_DOCUMENT_EXTENSION_CONVERT_IMPORTER_MESH_H" + ] + }, + "modules/gltf/extensions/gltf_document_extension_texture_webp.h": { + "classes": [ + "GLTFDocumentExtensionTextureWebP" + ], + "structs": [], + "defines": [ + "GLTF_DOCUMENT_EXTENSION_TEXTURE_WEBP_H" + ] + }, + "modules/gltf/extensions/gltf_document_extension_texture_ktx.h": { + "classes": [ + "GLTFDocumentExtensionTextureKTX" + ], + "structs": [], + "defines": [ + "GLTF_DOCUMENT_EXTENSION_TEXTURE_KTX_H" + ] + }, + "modules/gltf/extensions/gltf_document_extension.h": { + "classes": [ + "GLTFDocumentExtension" + ], + "structs": [], + "defines": [ + "GLTF_DOCUMENT_EXTENSION_H" + ] + }, + "modules/gltf/extensions/physics/gltf_document_extension_physics.h": { + "classes": [ + "GLTFDocumentExtensionPhysics" + ], + "structs": [], + "defines": [ + "GLTF_DOCUMENT_EXTENSION_PHYSICS_H" + ] + }, + "modules/gltf/extensions/physics/gltf_physics_body.h": { + "classes": [ + "GLTFPhysicsBody", + "PhysicsBodyType" + ], + "structs": [], + "defines": [ + "GLTF_PHYSICS_BODY_H" + ] + }, + "modules/gltf/extensions/physics/gltf_physics_shape.h": { + "classes": [ + "GLTFPhysicsShape" + ], + "structs": [], + "defines": [ + "GLTF_PHYSICS_SHAPE_H" + ] + }, + "modules/gltf/editor/editor_scene_exporter_gltf_settings.h": { + "classes": [ + "EditorSceneExporterGLTFSettings" + ], + "structs": [], + "defines": [ + "EDITOR_SCENE_EXPORTER_GLTF_SETTINGS_H" + ] + }, + "modules/gltf/editor/editor_scene_importer_blend.h": { + "classes": [ + "EditorSceneFormatImporterBlend", + "EditorFileSystemImportFormatSupportQueryBlend" + ], + "structs": [], + "defines": [ + "EDITOR_SCENE_IMPORTER_BLEND_H" + ] + }, + "modules/gltf/editor/editor_scene_importer_gltf.h": { + "classes": [ + "EditorSceneFormatImporterGLTF" + ], + "structs": [], + "defines": [ + "EDITOR_SCENE_IMPORTER_GLTF_H" + ] + }, + "modules/gltf/editor/editor_scene_exporter_gltf_plugin.h": { + "classes": [ + "SceneExporterGLTFPlugin" + ], + "structs": [], + "defines": [ + "EDITOR_SCENE_EXPORTER_GLTF_PLUGIN_H" + ] + }, + "modules/gltf/editor/editor_import_blend_runner.h": { + "classes": [ + "EditorImportBlendRunner" + ], + "structs": [], + "defines": [ + "EDITOR_IMPORT_BLEND_RUNNER_H" + ] + }, + "modules/basis_universal/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "BASIS_UNIVERSAL_REGISTER_TYPES_H" + ] + }, + "modules/basis_universal/image_compress_basisu.h": { + "classes": [], + "structs": [], + "defines": [ + "IMAGE_COMPRESS_BASISU_H" + ] + }, + "modules/webp/resource_saver_webp.h": { + "classes": [ + "ResourceSaverWebP" + ], + "structs": [], + "defines": [ + "RESOURCE_SAVER_WEBP_H" + ] + }, + "modules/webp/webp_common.h": { + "classes": [], + "structs": [], + "defines": [ + "WEBP_COMMON_H" + ] + }, + "modules/webp/image_loader_webp.h": { + "classes": [ + "ImageLoaderWebP" + ], + "structs": [], + "defines": [ + "IMAGE_LOADER_WEBP_H" + ] + }, + "modules/webp/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "WEBP_REGISTER_TYPES_H" + ] + }, + "modules/regex/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "REGEX_REGISTER_TYPES_H" + ] + }, + "modules/regex/regex.h": { + "classes": [ + "RegExMatch", + "RegEx" + ], + "structs": [ + "Range" + ], + "defines": [ + "REGEX_H" + ] + }, + "modules/glslang/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "GLSLANG_REGISTER_TYPES_H", + "MODULE_GLSLANG_HAS_PREREGISTER" + ] + }, + "modules/jpg/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "JPG_REGISTER_TYPES_H" + ] + }, + "modules/jpg/image_loader_jpegd.h": { + "classes": [ + "ImageLoaderJPG" + ], + "structs": [], + "defines": [ + "IMAGE_LOADER_JPEGD_H" + ] + }, + "modules/zip/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "ZIP_REGISTER_TYPES_H" + ] + }, + "modules/zip/zip_reader.h": { + "classes": [ + "ZIPReader" + ], + "structs": [], + "defines": [ + "ZIP_READER_H" + ] + }, + "modules/zip/zip_packer.h": { + "classes": [ + "ZIPPacker" + ], + "structs": [], + "defines": [ + "ZIP_PACKER_H" + ] + }, + "modules/webxr/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "WEBXR_REGISTER_TYPES_H" + ] + }, + "modules/webxr/webxr_interface_js.h": { + "classes": [ + "WebXRInterfaceJS" + ], + "structs": [ + "Touch", + "InputSource" + ], + "defines": [ + "WEBXR_INTERFACE_JS_H" + ] + }, + "modules/webxr/godot_webxr.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_WEBXR_H" + ] + }, + "modules/webxr/webxr_interface.h": { + "classes": [ + "WebXRInterface" + ], + "structs": [], + "defines": [ + "WEBXR_INTERFACE_H" + ] + }, + "modules/text_server_fb/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "TEXT_SERVER_FB_REGISTER_TYPES_H" + ] + }, + "modules/text_server_fb/thorvg_svg_in_ot.h": { + "classes": [], + "structs": [ + "GL_State", + "TVG_State" + ], + "defines": [ + "THORVG_SVG_IN_OT_H" + ] + }, + "modules/text_server_fb/text_server_fb.h": { + "classes": [ + "TextServerFallback" + ], + "structs": [ + "FontTexturePosition", + "Shelf", + "ShelfPackTexture", + "FontGlyph", + "FontForSizeFallback", + "FontFallbackLinkedVariation", + "FontFallback", + "TrimData", + "ShapedTextDataFallback", + "Span", + "EmbeddedObject", + "SystemFontKey", + "SystemFontCacheRec", + "SystemFontCache", + "SystemFontKeyHasher" + ], + "defines": [ + "TEXT_SERVER_FB_H" + ] + }, + "modules/text_server_fb/thorvg_bounds_iterator.h": { + "classes": [], + "structs": [], + "defines": [ + "THORVG_BOUNDS_ITERATOR_H" + ] + }, + "modules/squish/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "SQUISH_REGISTER_TYPES_H" + ] + }, + "modules/squish/image_decompress_squish.h": { + "classes": [], + "structs": [], + "defines": [ + "IMAGE_DECOMPRESS_SQUISH_H" + ] + }, + "modules/noise/noise.h": { + "classes": [ + "Noise" + ], + "structs": [ + "img_buff" + ], + "defines": [ + "NOISE_H" + ] + }, + "modules/noise/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "NOISE_REGISTER_TYPES_H" + ] + }, + "modules/noise/noise_texture_2d.h": { + "classes": [ + "NoiseTexture2D" + ], + "structs": [], + "defines": [ + "NOISE_TEXTURE_2D_H" + ] + }, + "modules/noise/noise_texture_3d.h": { + "classes": [ + "NoiseTexture3D" + ], + "structs": [], + "defines": [ + "NOISE_TEXTURE_3D_H" + ] + }, + "modules/noise/fastnoise_lite.h": { + "classes": [ + "FastNoiseLite" + ], + "structs": [], + "defines": [ + "FASTNOISE_LITE_H" + ] + }, + "modules/noise/editor/noise_editor_plugin.h": { + "classes": [ + "NoiseEditorPlugin" + ], + "structs": [], + "defines": [ + "NOISE_EDITOR_PLUGIN_H" + ] + }, + "modules/raycast/lightmap_raycaster_embree.h": { + "classes": [ + "LightmapRaycasterEmbree" + ], + "structs": [ + "AlphaTextureData" + ], + "defines": [ + "LIGHTMAP_RAYCASTER_EMBREE_H" + ] + }, + "modules/raycast/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "RAYCAST_REGISTER_TYPES_H" + ] + }, + "modules/raycast/static_raycaster_embree.h": { + "classes": [ + "StaticRaycasterEmbree" + ], + "structs": [], + "defines": [ + "STATIC_RAYCASTER_EMBREE_H" + ] + }, + "modules/raycast/raycast_occlusion_cull.h": { + "classes": [ + "RaycastOcclusionCull", + "RaycastHZBuffer" + ], + "structs": [ + "CameraRayThreadData", + "InstanceID", + "Occluder", + "OccluderInstance", + "Scenario", + "RaycastThreadData", + "TransformThreadData" + ], + "defines": [ + "RAYCAST_OCCLUSION_CULL_H" + ] + }, + "modules/mono/interop_types.h": { + "classes": [], + "structs": [ + "godot_rect2", + "godot_rect2i" + ], + "defines": [ + "INTEROP_TYPES_H", + "GODOT_VARIANT_SIZE", + "GODOT_ARRAY_SIZE", + "GODOT_DICTIONARY_SIZE", + "GODOT_STRING_SIZE", + "GODOT_STRING_NAME_SIZE", + "GODOT_PACKED_ARRAY_SIZE", + "GODOT_VECTOR2_SIZE", + "GODOT_VECTOR2I_SIZE", + "GODOT_RECT2_SIZE", + "GODOT_RECT2I_SIZE", + "GODOT_VECTOR3_SIZE", + "GODOT_VECTOR3I_SIZE", + "GODOT_TRANSFORM2D_SIZE", + "GODOT_VECTOR4_SIZE", + "GODOT_VECTOR4I_SIZE", + "GODOT_PLANE_SIZE", + "GODOT_QUATERNION_SIZE", + "GODOT_AABB_SIZE", + "GODOT_BASIS_SIZE", + "GODOT_TRANSFORM3D_SIZE", + "GODOT_PROJECTION_SIZE", + "GODOT_COLOR_SIZE", + "GODOT_NODE_PATH_SIZE", + "GODOT_RID_SIZE", + "GODOT_CALLABLE_SIZE", + "GODOT_SIGNAL_SIZE" + ] + }, + "modules/mono/godotsharp_dirs.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOTSHARP_DIRS_H" + ] + }, + "modules/mono/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "MONO_REGISTER_TYPES_H" + ] + }, + "modules/mono/godotsharp_defs.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOTSHARP_DEFS_H", + "BINDINGS_NAMESPACE", + "BINDINGS_NAMESPACE_COLLECTIONS", + "API_SOLUTION_NAME", + "CORE_API_ASSEMBLY_NAME", + "EDITOR_API_ASSEMBLY_NAME", + "TOOLS_ASM_NAME", + "BINDINGS_CLASS_NATIVECALLS", + "BINDINGS_CLASS_NATIVECALLS_EDITOR" + ] + }, + "modules/mono/managed_callable.h": { + "classes": [ + "ManagedCallable" + ], + "structs": [], + "defines": [ + "MANAGED_CALLABLE_H" + ] + }, + "modules/mono/class_db_api_json.h": { + "classes": [], + "structs": [], + "defines": [ + "CLASS_DB_API_JSON_H" + ] + }, + "modules/mono/signal_awaiter_utils.h": { + "classes": [ + "BaseSignalCallable", + "SignalAwaiterCallable", + "EventSignalCallable" + ], + "structs": [], + "defines": [ + "SIGNAL_AWAITER_UTILS_H" + ] + }, + "modules/mono/csharp_script.h": { + "classes": [ + "CSharpScript", + "CSharpInstance", + "ManagedCallableMiddleman", + "CSharpLanguage", + "ResourceFormatLoaderCSharpScript", + "ResourceFormatSaverCSharpScript" + ], + "structs": [ + "TypeInfo", + "StateBackup", + "EventSignalInfo", + "CSharpMethodInfo", + "CSharpScriptBinding" + ], + "defines": [ + "CSHARP_SCRIPT_H", + "CAST_CSHARP_INSTANCE" + ] + }, + "modules/mono/mono_gc_handle.h": { + "classes": [ + "GCHandleType" + ], + "structs": [ + "GCHandleIntPtr", + "MonoGCHandleData" + ], + "defines": [ + "MONO_GC_HANDLE_H" + ] + }, + "modules/mono/mono_gd/gd_mono.h": { + "classes": [ + "GDMono", + "GodotSharp" + ], + "structs": [ + "PluginCallbacks" + ], + "defines": [ + "GD_MONO_H", + "GD_CLR_STDCALL", + "GD_CLR_STDCALL" + ] + }, + "modules/mono/mono_gd/gd_mono_cache.h": { + "classes": [], + "structs": [ + "godotsharp_property_info", + "godotsharp_property_def_val_pair", + "ManagedCallbacks" + ], + "defines": [ + "GD_MONO_CACHE_H", + "GD_CLR_STDCALL", + "GD_CLR_STDCALL" + ] + }, + "modules/mono/glue/runtime_interop.h": { + "classes": [], + "structs": [], + "defines": [ + "RUNTIME_INTEROP_H" + ] + }, + "modules/mono/utils/naming_utils.h": { + "classes": [], + "structs": [], + "defines": [ + "MONO_NAMING_UTILS_H" + ] + }, + "modules/mono/utils/string_utils.h": { + "classes": [], + "structs": [], + "defines": [ + "MONO_STRING_UTILS_H", + "_PRINTF_FORMAT_ATTRIBUTE_1_0", + "_PRINTF_FORMAT_ATTRIBUTE_1_2", + "_PRINTF_FORMAT_ATTRIBUTE_1_0", + "_PRINTF_FORMAT_ATTRIBUTE_1_2" + ] + }, + "modules/mono/utils/path_utils.h": { + "classes": [], + "structs": [], + "defines": [ + "MONO_PATH_UTILS_H" + ] + }, + "modules/mono/utils/macros.h": { + "classes": [ + "ScopeExitAux" + ], + "structs": [ + "ScopeExit" + ], + "defines": [ + "MONO_MACROS_H", + "_GD_VARNAME_CONCAT_B_", + "_GD_VARNAME_CONCAT_A_", + "_GD_VARNAME_CONCAT_", + "GD_UNIQUE_NAME", + "GD_UNREACHABLE", + "GD_UNREACHABLE", + "GD_UNREACHABLE", + "SCOPE_EXIT" + ] + }, + "modules/mono/utils/macos_utils.h": { + "classes": [], + "structs": [], + "defines": [ + "MONO_MACOS_UTILS_H" + ] + }, + "modules/mono/editor/bindings_generator.h": { + "classes": [ + "BindingsGenerator" + ], + "structs": [ + "ConstantInterface", + "EnumInterface", + "PropertyInterface", + "TypeReference", + "ArgumentInterface", + "MethodInterface", + "SignalInterface", + "TypeInterface", + "InternalCall", + "NameCache" + ], + "defines": [ + "BINDINGS_GENERATOR_H" + ] + }, + "modules/mono/editor/editor_internal_calls.h": { + "classes": [], + "structs": [], + "defines": [ + "EDITOR_INTERNAL_CALLS_H" + ] + }, + "modules/mono/editor/code_completion.h": { + "classes": [ + "CompletionKind" + ], + "structs": [], + "defines": [ + "CODE_COMPLETION_H" + ] + }, + "modules/mono/editor/hostfxr_resolver.h": { + "classes": [], + "structs": [], + "defines": [ + "HOSTFXR_RESOLVER_H" + ] + }, + "modules/mono/editor/semver.h": { + "classes": [], + "structs": [ + "SemVer", + "SemVerParser" + ], + "defines": [ + "SEMVER_H" + ] + }, + "modules/msdfgen/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "MSDFGEN_REGISTER_TYPES_H" + ] + }, + "modules/text_server_adv/script_iterator.h": { + "classes": [ + "ScriptIterator" + ], + "structs": [ + "ScriptRange" + ], + "defines": [ + "SCRIPT_ITERATOR_H" + ] + }, + "modules/text_server_adv/text_server_adv.h": { + "classes": [ + "TextServerAdvanced" + ], + "structs": [ + "NumSystemData", + "FeatureInfo", + "FontTexturePosition", + "Shelf", + "ShelfPackTexture", + "FontGlyph", + "FontForSizeAdvanced", + "FontAdvancedLinkedVariation", + "FontAdvanced", + "TrimData", + "ShapedTextDataAdvanced", + "Span", + "EmbeddedObject", + "SystemFontKey", + "SystemFontCacheRec", + "SystemFontCache", + "SystemFontKeyHasher", + "bmp_font_t", + "GlyphCompare" + ], + "defines": [ + "TEXT_SERVER_ADV_H" + ] + }, + "modules/text_server_adv/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "TEXT_SERVER_ADV_REGISTER_TYPES_H" + ] + }, + "modules/text_server_adv/thorvg_svg_in_ot.h": { + "classes": [], + "structs": [ + "GL_State", + "TVG_State" + ], + "defines": [ + "THORVG_SVG_IN_OT_H" + ] + }, + "modules/text_server_adv/thorvg_bounds_iterator.h": { + "classes": [], + "structs": [], + "defines": [ + "THORVG_BOUNDS_ITERATOR_H" + ] + }, + "modules/astcenc/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "ASTCENC_REGISTER_TYPES_H" + ] + }, + "modules/astcenc/image_compress_astcenc.h": { + "classes": [], + "structs": [], + "defines": [ + "IMAGE_COMPRESS_ASTCENC_H" + ] + }, + "modules/dds/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "DDS_REGISTER_TYPES_H" + ] + }, + "modules/dds/texture_loader_dds.h": { + "classes": [ + "ResourceFormatDDS" + ], + "structs": [], + "defines": [ + "TEXTURE_LOADER_DDS_H" + ] + }, + "modules/cvtt/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "CVTT_REGISTER_TYPES_H" + ] + }, + "modules/cvtt/image_compress_cvtt.h": { + "classes": [], + "structs": [], + "defines": [ + "IMAGE_COMPRESS_CVTT_H" + ] + }, + "modules/bmp/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "BMP_REGISTER_TYPES_H" + ] + }, + "modules/bmp/image_loader_bmp.h": { + "classes": [ + "ImageLoaderBMP" + ], + "structs": [ + "bmp_header_s", + "bmp_file_header_s", + "bmp_info_header_s", + "bmp_bitfield_s" + ], + "defines": [ + "IMAGE_LOADER_BMP_H" + ] + }, + "modules/theora/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "THEORA_REGISTER_TYPES_H" + ] + }, + "modules/theora/video_stream_theora.h": { + "classes": [ + "VideoStreamPlaybackTheora", + "VideoStreamTheora", + "ResourceFormatLoaderTheora" + ], + "structs": [], + "defines": [ + "VIDEO_STREAM_THEORA_H", + "THEORA_USE_THREAD_STREAMING" + ] + }, + "modules/webrtc/webrtc_data_channel.h": { + "classes": [ + "WebRTCDataChannel" + ], + "structs": [], + "defines": [ + "WEBRTC_DATA_CHANNEL_H" + ] + }, + "modules/webrtc/webrtc_data_channel_js.h": { + "classes": [ + "WebRTCDataChannelJS" + ], + "structs": [], + "defines": [ + "WEBRTC_DATA_CHANNEL_JS_H" + ] + }, + "modules/webrtc/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "WEBRTC_REGISTER_TYPES_H" + ] + }, + "modules/webrtc/webrtc_multiplayer_peer.h": { + "classes": [ + "WebRTCMultiplayerPeer", + "ConnectedPeer" + ], + "structs": [], + "defines": [ + "WEBRTC_MULTIPLAYER_PEER_H" + ] + }, + "modules/webrtc/webrtc_peer_connection.h": { + "classes": [ + "WebRTCPeerConnection" + ], + "structs": [], + "defines": [ + "WEBRTC_PEER_CONNECTION_H" + ] + }, + "modules/webrtc/webrtc_peer_connection_js.h": { + "classes": [ + "WebRTCPeerConnectionJS" + ], + "structs": [], + "defines": [ + "WEBRTC_PEER_CONNECTION_JS_H" + ] + }, + "modules/webrtc/webrtc_peer_connection_extension.h": { + "classes": [ + "WebRTCPeerConnectionExtension" + ], + "structs": [], + "defines": [ + "WEBRTC_PEER_CONNECTION_EXTENSION_H" + ] + }, + "modules/webrtc/webrtc_data_channel_extension.h": { + "classes": [ + "WebRTCDataChannelExtension" + ], + "structs": [], + "defines": [ + "WEBRTC_DATA_CHANNEL_EXTENSION_H" + ] + }, + "modules/mobile_vr/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "MOBILE_VR_REGISTER_TYPES_H" + ] + }, + "modules/mobile_vr/mobile_vr_interface.h": { + "classes": [ + "MobileVRInterface" + ], + "structs": [], + "defines": [ + "MOBILE_VR_INTERFACE_H" + ] + }, + "modules/xatlas_unwrap/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "XATLAS_UNWRAP_REGISTER_TYPES_H" + ] + }, + "modules/multiplayer/scene_replication_config.h": { + "classes": [ + "SceneReplicationConfig" + ], + "structs": [ + "ReplicationProperty" + ], + "defines": [ + "SCENE_REPLICATION_CONFIG_H" + ] + }, + "modules/multiplayer/multiplayer_debugger.h": { + "classes": [ + "MultiplayerDebugger", + "BandwidthProfiler", + "RPCProfiler", + "ReplicationProfiler" + ], + "structs": [ + "RPCNodeInfo", + "RPCFrame", + "SyncInfo", + "ReplicationFrame", + "BandwidthFrame" + ], + "defines": [ + "MULTIPLAYER_DEBUGGER_H" + ] + }, + "modules/multiplayer/multiplayer_spawner.h": { + "classes": [ + "MultiplayerSpawner" + ], + "structs": [ + "SpawnableScene", + "SpawnInfo" + ], + "defines": [ + "MULTIPLAYER_SPAWNER_H" + ] + }, + "modules/multiplayer/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "MULTIPLAYER_REGISTER_TYPES_H" + ] + }, + "modules/multiplayer/scene_cache_interface.h": { + "classes": [ + "SceneCacheInterface" + ], + "structs": [ + "NodeCache", + "PeerInfo" + ], + "defines": [ + "SCENE_CACHE_INTERFACE_H" + ] + }, + "modules/multiplayer/scene_multiplayer.h": { + "classes": [ + "OfflineMultiplayerPeer", + "SceneMultiplayer" + ], + "structs": [ + "PendingPeer" + ], + "defines": [ + "SCENE_MULTIPLAYER_H" + ] + }, + "modules/multiplayer/multiplayer_synchronizer.h": { + "classes": [ + "MultiplayerSynchronizer" + ], + "structs": [ + "Watcher" + ], + "defines": [ + "MULTIPLAYER_SYNCHRONIZER_H" + ] + }, + "modules/multiplayer/scene_replication_interface.h": { + "classes": [ + "SceneReplicationInterface" + ], + "structs": [ + "TrackedNode", + "PeerInfo" + ], + "defines": [ + "SCENE_REPLICATION_INTERFACE_H" + ] + }, + "modules/multiplayer/scene_rpc_interface.h": { + "classes": [ + "SceneRPCInterface" + ], + "structs": [ + "RPCConfig", + "RPCConfigCache", + "SortRPCConfig" + ], + "defines": [ + "SCENE_RPC_INTERFACE_H" + ] + }, + "modules/multiplayer/editor/editor_network_profiler.h": { + "classes": [ + "EditorNetworkProfiler" + ], + "structs": [ + "NodeInfo", + "ThemeCache" + ], + "defines": [ + "EDITOR_NETWORK_PROFILER_H" + ] + }, + "modules/multiplayer/editor/replication_editor.h": { + "classes": [ + "ReplicationEditor" + ], + "structs": [], + "defines": [ + "REPLICATION_EDITOR_H" + ] + }, + "modules/multiplayer/editor/multiplayer_editor_plugin.h": { + "classes": [ + "MultiplayerEditorDebugger", + "MultiplayerEditorPlugin" + ], + "structs": [], + "defines": [ + "MULTIPLAYER_EDITOR_PLUGIN_H" + ] + }, + "modules/gridmap/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "GRIDMAP_REGISTER_TYPES_H" + ] + }, + "modules/gridmap/grid_map.h": { + "classes": [ + "GridMap" + ], + "structs": [ + "Octant", + "NavigationCell", + "MultimeshInstance", + "Item", + "BakeLight", + "BakedMesh" + ], + "defines": [ + "GRID_MAP_H" + ] + }, + "modules/gridmap/editor/grid_map_editor_plugin.h": { + "classes": [ + "GridMapEditor", + "GridMapEditorPlugin" + ], + "structs": [ + "SetItem", + "ClipboardItem", + "Selection", + "PasteIndicator", + "AreaDisplay" + ], + "defines": [ + "GRID_MAP_EDITOR_PLUGIN_H" + ] + }, + "modules/vhacd/register_types.h": { + "classes": [], + "structs": [], + "defines": [ + "VHACD_REGISTER_TYPES_H" + ] + }, + "servers/camera_server.h": { + "classes": [ + "CameraServer" + ], + "structs": [], + "defines": [ + "CAMERA_SERVER_H" + ] + }, + "servers/navigation_server_2d_dummy.h": { + "classes": [ + "NavigationServer2DDummy" + ], + "structs": [], + "defines": [ + "NAVIGATION_SERVER_2D_DUMMY_H" + ] + }, + "servers/navigation_server_3d_dummy.h": { + "classes": [ + "NavigationServer3DDummy" + ], + "structs": [], + "defines": [ + "NAVIGATION_SERVER_3D_DUMMY_H" + ] + }, + "servers/server_wrap_mt_common.h": { + "classes": [], + "structs": [], + "defines": [ + "SERVER_WRAP_MT_COMMON_H", + "FUNC0R", + "FUNCRIDSPLIT", + "FUNCRID", + "FUNC0RC", + "FUNC0", + "FUNC0C", + "FUNC0S", + "FUNC0SC", + "FUNC1R", + "FUNC1RC", + "FUNC1S", + "FUNC1SC", + "FUNC1", + "FUNC1C", + "FUNC2R", + "FUNC2RC", + "FUNC2S", + "FUNC2SC", + "FUNC2", + "FUNC2C", + "FUNC3R", + "FUNC3RC", + "FUNC3S", + "FUNC3SC", + "FUNC3", + "FUNC3C", + "FUNC4R", + "FUNC4RC", + "FUNC4S", + "FUNC4SC", + "FUNC4", + "FUNC4C", + "FUNC5R", + "FUNC5RC", + "FUNC5S", + "FUNC5SC", + "FUNC5", + "FUNC5C", + "FUNC6R", + "FUNC6RC", + "FUNC6S", + "FUNC6SC", + "FUNC6", + "FUNC6C", + "FUNC7R", + "FUNC7RC", + "FUNC7S", + "FUNC7SC", + "FUNC7", + "FUNC7C", + "FUNC8R", + "FUNC8RC", + "FUNC8S", + "FUNC8SC", + "FUNC8", + "FUNC8C", + "FUNC9", + "FUNC10", + "FUNC11", + "FUNC12", + "FUNC13", + "FUNC14", + "FUNC15" + ] + }, + "servers/physics_server_3d.h": { + "classes": [ + "PhysicsDirectBodyState3D", + "PhysicsDirectSpaceState3D", + "PhysicsServer3DRenderingServerHandler", + "PhysicsServer3D", + "PhysicsRayQueryParameters3D", + "PhysicsPointQueryParameters3D", + "PhysicsShapeQueryParameters3D", + "PhysicsTestMotionParameters3D", + "PhysicsTestMotionResult3D", + "PhysicsServer3DManager" + ], + "structs": [ + "RayParameters", + "RayResult", + "ShapeResult", + "PointParameters", + "ShapeParameters", + "ShapeRestInfo", + "MotionParameters", + "MotionCollision", + "MotionResult", + "ClassInfo" + ], + "defines": [ + "PHYSICS_SERVER_3D_H" + ] + }, + "servers/register_server_types.h": { + "classes": [], + "structs": [], + "defines": [ + "REGISTER_SERVER_TYPES_H" + ] + }, + "servers/display_server.h": { + "classes": [ + "DisplayServer" + ], + "structs": [ + "DisplayServerCreate", + "TTSUtterance" + ], + "defines": [ + "DISPLAY_SERVER_H" + ] + }, + "servers/physics_server_2d.h": { + "classes": [ + "PhysicsDirectBodyState2D", + "PhysicsDirectSpaceState2D", + "PhysicsServer2D", + "PhysicsRayQueryParameters2D", + "PhysicsPointQueryParameters2D", + "PhysicsShapeQueryParameters2D", + "PhysicsTestMotionParameters2D", + "PhysicsTestMotionResult2D", + "PhysicsServer2DManager" + ], + "structs": [ + "RayParameters", + "RayResult", + "ShapeResult", + "PointParameters", + "ShapeParameters", + "ShapeRestInfo", + "MotionParameters", + "MotionResult", + "ClassInfo" + ], + "defines": [ + "PHYSICS_SERVER_2D_H" + ] + }, + "servers/display_server_headless.h": { + "classes": [ + "DisplayServerHeadless" + ], + "structs": [], + "defines": [ + "DISPLAY_SERVER_HEADLESS_H" + ] + }, + "servers/rendering_server.h": { + "classes": [ + "RenderingServer" + ], + "structs": [ + "TextureInfo", + "ShaderNativeSourceCode", + "Version", + "Stage", + "SurfaceData", + "LOD", + "FrameProfileArea" + ], + "defines": [ + "RENDERING_SERVER_H", + "RS" + ] + }, + "servers/text_server.h": { + "classes": [ + "TextServer", + "TextServerManager" + ], + "structs": [ + "Glyph", + "CaretInfo" + ], + "defines": [ + "TEXT_SERVER_H", + "TS" + ] + }, + "servers/physics_server_2d_wrap_mt.h": { + "classes": [ + "PhysicsServer2DWrapMT" + ], + "structs": [], + "defines": [ + "PHYSICS_SERVER_2D_WRAP_MT_H", + "SYNC_DEBUG", + "SYNC_DEBUG", + "ServerName", + "ServerNameWrapMT", + "server_name", + "WRITE_ACTION" + ] + }, + "servers/navigation_server_3d.h": { + "classes": [ + "NavigationServer3D", + "NavigationServer3DManager" + ], + "structs": [], + "defines": [ + "NAVIGATION_SERVER_3D_H" + ] + }, + "servers/navigation_server_2d.h": { + "classes": [ + "NavigationServer2D", + "NavigationServer2DManager" + ], + "structs": [], + "defines": [ + "NAVIGATION_SERVER_2D_H" + ] + }, + "servers/physics_server_3d_wrap_mt.h": { + "classes": [ + "PhysicsServer3DWrapMT" + ], + "structs": [], + "defines": [ + "PHYSICS_SERVER_3D_WRAP_MT_H", + "SYNC_DEBUG", + "SYNC_DEBUG", + "ServerName", + "ServerNameWrapMT", + "server_name", + "WRITE_ACTION" + ] + }, + "servers/xr_server.h": { + "classes": [ + "XRServer" + ], + "structs": [], + "defines": [ + "XR_SERVER_H", + "XR" + ] + }, + "servers/native_menu.h": { + "classes": [ + "NativeMenu" + ], + "structs": [], + "defines": [ + "NATIVE_MENU_H" + ] + }, + "servers/audio_server.h": { + "classes": [ + "AudioDriver", + "AudioDriverManager", + "AudioServer", + "AudioBusLayout" + ], + "structs": [ + "Bus", + "Channel", + "Effect", + "AudioStreamPlaybackBusDetails", + "AudioStreamPlaybackListNode", + "CallbackItem", + "Bus", + "Effect" + ], + "defines": [ + "AUDIO_SERVER_H" + ] + }, + "servers/physics_3d/godot_step_3d.h": { + "classes": [ + "GodotStep3D" + ], + "structs": [], + "defines": [ + "GODOT_STEP_3D_H" + ] + }, + "servers/physics_3d/godot_broad_phase_3d.h": { + "classes": [ + "GodotBroadPhase3D" + ], + "structs": [], + "defines": [ + "GODOT_BROAD_PHASE_3D_H" + ] + }, + "servers/physics_3d/godot_collision_solver_3d.h": { + "classes": [ + "GodotCollisionSolver3D" + ], + "structs": [], + "defines": [ + "GODOT_COLLISION_SOLVER_3D_H" + ] + }, + "servers/physics_3d/godot_joint_3d.h": { + "classes": [ + "GodotJoint3D" + ], + "structs": [], + "defines": [ + "GODOT_JOINT_3D_H" + ] + }, + "servers/physics_3d/godot_area_3d.h": { + "classes": [ + "GodotArea3D" + ], + "structs": [ + "BodyKey", + "BodyState", + "AreaCMP" + ], + "defines": [ + "GODOT_AREA_3D_H" + ] + }, + "servers/physics_3d/godot_collision_solver_3d_sat.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_COLLISION_SOLVER_3D_SAT_H" + ] + }, + "servers/physics_3d/godot_constraint_3d.h": { + "classes": [ + "GodotConstraint3D" + ], + "structs": [], + "defines": [ + "GODOT_CONSTRAINT_3D_H" + ] + }, + "servers/physics_3d/godot_body_pair_3d.h": { + "classes": [ + "GodotBodyContact3D", + "GodotBodyPair3D", + "GodotBodySoftBodyPair3D" + ], + "structs": [ + "Contact" + ], + "defines": [ + "GODOT_BODY_PAIR_3D_H" + ] + }, + "servers/physics_3d/godot_shape_3d.h": { + "classes": [ + "GodotShapeOwner3D", + "GodotShape3D", + "GodotConcaveShape3D", + "GodotWorldBoundaryShape3D", + "GodotSeparationRayShape3D", + "GodotSphereShape3D", + "GodotBoxShape3D", + "GodotCapsuleShape3D", + "GodotCylinderShape3D" + ], + "structs": [ + "GodotConvexPolygonShape3D", + "GodotConcavePolygonShape3D", + "Face", + "BVH", + "_CullParams", + "_SegmentCullParams", + "GodotHeightMapShape3D", + "Range", + "GodotFaceShape3D", + "GodotMotionShape3D" + ], + "defines": [ + "GODOT_SHAPE_3D_H" + ] + }, + "servers/physics_3d/godot_space_3d.h": { + "classes": [ + "GodotPhysicsDirectSpaceState3D", + "GodotSpace3D" + ], + "structs": [], + "defines": [ + "GODOT_SPACE_3D_H" + ] + }, + "servers/physics_3d/gjk_epa.h": { + "classes": [], + "structs": [], + "defines": [ + "GJK_EPA_H" + ] + }, + "servers/physics_3d/godot_broad_phase_3d_bvh.h": { + "classes": [ + "GodotBroadPhase3DBVH", + "UserPairTestFunction", + "UserCullTestFunction" + ], + "structs": [], + "defines": [ + "GODOT_BROAD_PHASE_3D_BVH_H" + ] + }, + "servers/physics_3d/godot_body_3d.h": { + "classes": [ + "GodotBody3D" + ], + "structs": [ + "Contact", + "ForceIntegrationCallbackData" + ], + "defines": [ + "GODOT_BODY_3D_H" + ] + }, + "servers/physics_3d/godot_physics_server_3d.h": { + "classes": [ + "GodotPhysicsServer3D" + ], + "structs": [ + "CollCbkData" + ], + "defines": [ + "GODOT_PHYSICS_SERVER_3D_H" + ] + }, + "servers/physics_3d/godot_body_direct_state_3d.h": { + "classes": [ + "GodotPhysicsDirectBodyState3D" + ], + "structs": [], + "defines": [ + "GODOT_BODY_DIRECT_STATE_3D_H" + ] + }, + "servers/physics_3d/godot_area_pair_3d.h": { + "classes": [ + "GodotAreaPair3D", + "GodotArea2Pair3D", + "GodotAreaSoftBodyPair3D" + ], + "structs": [], + "defines": [ + "GODOT_AREA_PAIR_3D_H" + ] + }, + "servers/physics_3d/godot_soft_body_3d.h": { + "classes": [ + "GodotSoftBody3D", + "GodotSoftBodyShape3D" + ], + "structs": [ + "Node", + "Link", + "Face" + ], + "defines": [ + "GODOT_SOFT_BODY_3D_H" + ] + }, + "servers/physics_3d/godot_collision_object_3d.h": { + "classes": [ + "GodotCollisionObject3D" + ], + "structs": [ + "Shape" + ], + "defines": [ + "GODOT_COLLISION_OBJECT_3D_H", + "MAX_OBJECT_DISTANCE", + "MAX_OBJECT_DISTANCE_X2" + ] + }, + "servers/physics_3d/joints/godot_slider_joint_3d.h": { + "classes": [ + "GodotSliderJoint3D" + ], + "structs": [], + "defines": [ + "GODOT_SLIDER_JOINT_3D_H", + "SLIDER_CONSTRAINT_DEF_SOFTNESS", + "SLIDER_CONSTRAINT_DEF_DAMPING", + "SLIDER_CONSTRAINT_DEF_RESTITUTION" + ] + }, + "servers/physics_3d/joints/godot_hinge_joint_3d.h": { + "classes": [ + "GodotHingeJoint3D" + ], + "structs": [], + "defines": [ + "GODOT_HINGE_JOINT_3D_H" + ] + }, + "servers/physics_3d/joints/godot_pin_joint_3d.h": { + "classes": [ + "GodotPinJoint3D" + ], + "structs": [], + "defines": [ + "GODOT_PIN_JOINT_3D_H" + ] + }, + "servers/physics_3d/joints/godot_jacobian_entry_3d.h": { + "classes": [ + "GodotJacobianEntry3D" + ], + "structs": [], + "defines": [ + "GODOT_JACOBIAN_ENTRY_3D_H" + ] + }, + "servers/physics_3d/joints/godot_generic_6dof_joint_3d.h": { + "classes": [ + "GodotG6DOFRotationalLimitMotor3D", + "GodotG6DOFTranslationalLimitMotor3D", + "GodotGeneric6DOFJoint3D" + ], + "structs": [], + "defines": [ + "GODOT_GENERIC_6DOF_JOINT_3D_H" + ] + }, + "servers/physics_3d/joints/godot_cone_twist_joint_3d.h": { + "classes": [ + "GodotConeTwistJoint3D" + ], + "structs": [], + "defines": [ + "GODOT_CONE_TWIST_JOINT_3D_H" + ] + }, + "servers/camera/camera_feed.h": { + "classes": [ + "CameraFeed" + ], + "structs": [], + "defines": [ + "CAMERA_FEED_H" + ] + }, + "servers/navigation/navigation_path_query_result_2d.h": { + "classes": [ + "NavigationPathQueryResult2D" + ], + "structs": [], + "defines": [ + "NAVIGATION_PATH_QUERY_RESULT_2D_H" + ] + }, + "servers/navigation/navigation_path_query_result_3d.h": { + "classes": [ + "NavigationPathQueryResult3D" + ], + "structs": [], + "defines": [ + "NAVIGATION_PATH_QUERY_RESULT_3D_H" + ] + }, + "servers/navigation/navigation_path_query_parameters_2d.h": { + "classes": [ + "NavigationPathQueryParameters2D" + ], + "structs": [], + "defines": [ + "NAVIGATION_PATH_QUERY_PARAMETERS_2D_H" + ] + }, + "servers/navigation/navigation_path_query_parameters_3d.h": { + "classes": [ + "NavigationPathQueryParameters3D" + ], + "structs": [], + "defines": [ + "NAVIGATION_PATH_QUERY_PARAMETERS_3D_H" + ] + }, + "servers/navigation/navigation_utilities.h": { + "classes": [], + "structs": [ + "PathQueryParameters", + "PathQueryResult" + ], + "defines": [ + "NAVIGATION_UTILITIES_H" + ] + }, + "servers/xr/xr_interface.h": { + "classes": [ + "XRInterface" + ], + "structs": [ + "VRSData" + ], + "defines": [ + "XR_INTERFACE_H" + ] + }, + "servers/xr/xr_hand_tracker.h": { + "classes": [ + "XRHandTracker" + ], + "structs": [], + "defines": [ + "XR_HAND_TRACKER_H" + ] + }, + "servers/xr/xr_body_tracker.h": { + "classes": [ + "XRBodyTracker" + ], + "structs": [], + "defines": [ + "XR_BODY_TRACKER_H" + ] + }, + "servers/xr/xr_interface_extension.h": { + "classes": [ + "XRInterfaceExtension" + ], + "structs": [], + "defines": [ + "XR_INTERFACE_EXTENSION_H" + ] + }, + "servers/xr/xr_positional_tracker.h": { + "classes": [ + "XRPositionalTracker" + ], + "structs": [], + "defines": [ + "XR_POSITIONAL_TRACKER_H" + ] + }, + "servers/xr/xr_pose.h": { + "classes": [ + "XRPose" + ], + "structs": [], + "defines": [ + "XR_POSE_H" + ] + }, + "servers/xr/xr_face_tracker.h": { + "classes": [ + "XRFaceTracker" + ], + "structs": [], + "defines": [ + "XR_FACE_TRACKER_H" + ] + }, + "servers/extensions/physics_server_2d_extension.h": { + "classes": [ + "PhysicsDirectBodyState2DExtension", + "PhysicsDirectSpaceState2DExtension", + "PhysicsServer2DExtension" + ], + "structs": [], + "defines": [ + "PHYSICS_SERVER_2D_EXTENSION_H" + ] + }, + "servers/extensions/physics_server_3d_extension.h": { + "classes": [ + "PhysicsDirectBodyState3DExtension", + "PhysicsDirectSpaceState3DExtension", + "PhysicsServer3DExtension" + ], + "structs": [], + "defines": [ + "PHYSICS_SERVER_3D_EXTENSION_H" + ] + }, + "servers/audio/audio_filter_sw.h": { + "classes": [ + "AudioFilterSW", + "Processor" + ], + "structs": [ + "Coeffs" + ], + "defines": [ + "AUDIO_FILTER_SW_H" + ] + }, + "servers/audio/audio_stream.h": { + "classes": [ + "AudioStreamPlayback", + "AudioStreamPlaybackResampled", + "AudioStream", + "AudioStreamMicrophone", + "AudioStreamPlaybackMicrophone", + "AudioStreamRandomizer", + "AudioStreamPlaybackRandomizer" + ], + "structs": [ + "Parameter", + "PoolEntry" + ], + "defines": [ + "AUDIO_STREAM_H" + ] + }, + "servers/audio/audio_rb_resampler.h": { + "classes": [], + "structs": [ + "AudioRBResampler" + ], + "defines": [ + "AUDIO_RB_RESAMPLER_H" + ] + }, + "servers/audio/audio_effect.h": { + "classes": [ + "AudioEffectInstance", + "AudioEffect" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_H" + ] + }, + "servers/audio/audio_driver_dummy.h": { + "classes": [ + "AudioDriverDummy" + ], + "structs": [], + "defines": [ + "AUDIO_DRIVER_DUMMY_H" + ] + }, + "servers/audio/effects/audio_effect_phaser.h": { + "classes": [ + "AudioEffectPhaserInstance", + "AllpassDelay", + "AudioEffectPhaser" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_PHASER_H" + ] + }, + "servers/audio/effects/audio_effect_spectrum_analyzer.h": { + "classes": [ + "AudioEffectSpectrumAnalyzerInstance", + "AudioEffectSpectrumAnalyzer" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_SPECTRUM_ANALYZER_H" + ] + }, + "servers/audio/effects/audio_effect_pitch_shift.h": { + "classes": [ + "SMBPitchShift", + "AudioEffectPitchShiftInstance", + "AudioEffectPitchShift" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_PITCH_SHIFT_H" + ] + }, + "servers/audio/effects/audio_effect_eq.h": { + "classes": [ + "AudioEffectEQInstance", + "AudioEffectEQ", + "AudioEffectEQ6", + "AudioEffectEQ10", + "AudioEffectEQ21" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_EQ_H" + ] + }, + "servers/audio/effects/audio_effect_chorus.h": { + "classes": [ + "AudioEffectChorusInstance", + "AudioEffectChorus" + ], + "structs": [ + "Voice" + ], + "defines": [ + "AUDIO_EFFECT_CHORUS_H" + ] + }, + "servers/audio/effects/audio_effect_compressor.h": { + "classes": [ + "AudioEffectCompressorInstance", + "AudioEffectCompressor" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_COMPRESSOR_H" + ] + }, + "servers/audio/effects/audio_effect_distortion.h": { + "classes": [ + "AudioEffectDistortionInstance", + "AudioEffectDistortion" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_DISTORTION_H" + ] + }, + "servers/audio/effects/audio_effect_limiter.h": { + "classes": [ + "AudioEffectLimiterInstance", + "AudioEffectLimiter" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_LIMITER_H" + ] + }, + "servers/audio/effects/audio_effect_filter.h": { + "classes": [ + "AudioEffectFilterInstance", + "AudioEffectFilter", + "AudioEffectLowPassFilter", + "AudioEffectHighPassFilter", + "AudioEffectBandPassFilter", + "AudioEffectNotchFilter", + "AudioEffectBandLimitFilter", + "AudioEffectLowShelfFilter", + "AudioEffectHighShelfFilter" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_FILTER_H" + ] + }, + "servers/audio/effects/audio_effect_reverb.h": { + "classes": [ + "AudioEffectReverbInstance", + "AudioEffectReverb" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_REVERB_H" + ] + }, + "servers/audio/effects/audio_effect_capture.h": { + "classes": [ + "AudioEffectCaptureInstance", + "AudioEffectCapture" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_CAPTURE_H" + ] + }, + "servers/audio/effects/audio_effect_stereo_enhance.h": { + "classes": [ + "AudioEffectStereoEnhanceInstance", + "AudioEffectStereoEnhance" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_STEREO_ENHANCE_H" + ] + }, + "servers/audio/effects/audio_effect_delay.h": { + "classes": [ + "AudioEffectDelayInstance", + "AudioEffectDelay" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_DELAY_H" + ] + }, + "servers/audio/effects/audio_stream_generator.h": { + "classes": [ + "AudioStreamGenerator", + "AudioStreamGeneratorPlayback" + ], + "structs": [], + "defines": [ + "AUDIO_STREAM_GENERATOR_H" + ] + }, + "servers/audio/effects/audio_effect_amplify.h": { + "classes": [ + "AudioEffectAmplifyInstance", + "AudioEffectAmplify" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_AMPLIFY_H" + ] + }, + "servers/audio/effects/eq_filter.h": { + "classes": [ + "EQ", + "BandProcess" + ], + "structs": [ + "History", + "Band" + ], + "defines": [ + "EQ_FILTER_H" + ] + }, + "servers/audio/effects/audio_effect_panner.h": { + "classes": [ + "AudioEffectPannerInstance", + "AudioEffectPanner" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_PANNER_H" + ] + }, + "servers/audio/effects/audio_effect_record.h": { + "classes": [ + "AudioEffectRecordInstance", + "AudioEffectRecord" + ], + "structs": [], + "defines": [ + "AUDIO_EFFECT_RECORD_H" + ] + }, + "servers/audio/effects/reverb_filter.h": { + "classes": [ + "Reverb" + ], + "structs": [ + "Comb", + "AllPass", + "Parameters" + ], + "defines": [ + "REVERB_FILTER_H" + ] + }, + "servers/debugger/servers_debugger.h": { + "classes": [ + "ServersDebugger" + ], + "structs": [ + "ResourceInfo", + "ResourceUsage", + "ScriptFunctionSignature", + "ScriptFunctionInfo", + "ServerFunctionInfo", + "ServerInfo", + "ServersProfilerFrame", + "VisualProfilerFrame" + ], + "defines": [ + "SERVERS_DEBUGGER_H" + ] + }, + "servers/rendering/rendering_device_driver.h": { + "classes": [ + "VectorView", + "RenderingDeviceDriver" + ], + "structs": [ + "VersatileResourceTemplate", + "ID", + "TextureView", + "TextureSubresource", + "TextureSubresourceLayers", + "TextureSubresourceRange", + "TextureCopyableLayout", + "MemoryBarrier", + "BufferBarrier", + "TextureBarrier", + "BoundUniform", + "BufferCopyRegion", + "TextureCopyRegion", + "BufferTextureCopyRegion", + "Attachment", + "AttachmentReference", + "Subpass", + "SubpassDependency", + "AttachmentClear", + "MultiviewCapabilities", + "Capabilities" + ], + "defines": [ + "RENDERING_DEVICE_DRIVER_H", + "ALLOCA", + "ALLOCA_ARRAY", + "ALLOCA_SINGLE", + "ARRAYS_COMPATIBLE", + "ARRAYS_COMPATIBLE_FIELDWISE", + "ENUM_MEMBERS_EQUAL", + "DEFINE_ID" + ] + }, + "servers/rendering/renderer_geometry_instance.h": { + "classes": [ + "RenderGeometryInstance", + "RenderGeometryInstanceBase" + ], + "structs": [ + "Data" + ], + "defines": [ + "RENDERER_GEOMETRY_INSTANCE_H" + ] + }, + "servers/rendering/rendering_light_culler.h": { + "classes": [ + "RenderingLightCuller", + "LightSource" + ], + "structs": [ + "LightCullPlanes", + "Data" + ], + "defines": [ + "RENDERING_LIGHT_CULLER_H", + "LIGHT_CULLER_DEBUG_LOGGING", + "LIGHT_CULLER_DEBUG_DIRECTIONAL_LIGHT", + "LIGHT_CULLER_DEBUG_REGULAR_LIGHT", + "LIGHT_CULLER_DEBUG_FLASH", + "LIGHT_CULLER_DEBUG_FLASH_FREQUENCY", + "RENDERING_LIGHT_CULLER_CALCULATE_LUT", + "RENDERING_LIGHT_CULLER_DEBUG_STRINGS" + ] + }, + "servers/rendering/rendering_context_driver.h": { + "classes": [ + "RenderingContextDriver" + ], + "structs": [ + "Device" + ], + "defines": [ + "RENDERING_CONTEXT_DRIVER_H" + ] + }, + "servers/rendering/renderer_canvas_cull.h": { + "classes": [ + "RendererCanvasCull" + ], + "structs": [ + "Item", + "VisibilityNotifierData", + "ItemIndexSort", + "ItemPtrSort", + "LightOccluderPolygon", + "Canvas", + "ChildItem" + ], + "defines": [ + "RENDERER_CANVAS_CULL_H" + ] + }, + "servers/rendering/rendering_device_graph.h": { + "classes": [ + "RenderingDeviceGraph" + ], + "structs": [ + "ComputeListInstruction", + "DrawListInstruction", + "RecordedCommand", + "RecordedBufferCopy", + "RecordedBufferToTextureCopy", + "ResourceTracker", + "InstructionList", + "ComputeInstructionList", + "DrawInstructionList", + "RecordedCommandSort", + "RecordedCommandListNode", + "RecordedSliceListNode", + "RecordedBufferClearCommand", + "RecordedBufferCopyCommand", + "RecordedBufferGetDataCommand", + "RecordedBufferUpdateCommand", + "RecordedComputeListCommand", + "RecordedDrawListCommand", + "RecordedTextureClearCommand", + "RecordedTextureCopyCommand", + "RecordedTextureGetDataCommand", + "RecordedTextureResolveCommand", + "RecordedTextureUpdateCommand", + "RecordedCaptureTimestampCommand", + "DrawListBindIndexBufferInstruction", + "DrawListBindPipelineInstruction", + "DrawListBindUniformSetInstruction", + "DrawListBindVertexBuffersInstruction", + "DrawListClearAttachmentsInstruction", + "DrawListDrawInstruction", + "DrawListDrawIndexedInstruction", + "DrawListEndRenderPassInstruction", + "DrawListExecuteCommandsInstruction", + "DrawListSetPushConstantInstruction", + "DrawListNextSubpassInstruction", + "DrawListSetBlendConstantsInstruction", + "DrawListSetLineWidthInstruction", + "DrawListSetScissorInstruction", + "DrawListSetViewportInstruction", + "DrawListUniformSetPrepareForUseInstruction", + "ComputeListBindPipelineInstruction", + "ComputeListBindUniformSetInstruction", + "ComputeListDispatchInstruction", + "ComputeListDispatchIndirectInstruction", + "ComputeListSetPushConstantInstruction", + "ComputeListUniformSetPrepareForUseInstruction", + "BarrierGroup", + "SecondaryCommandBuffer", + "Frame" + ], + "defines": [ + "RENDERING_DEVICE_GRAPH_H", + "USE_BUFFER_BARRIERS" + ] + }, + "servers/rendering/rendering_device_commons.h": { + "classes": [ + "RenderingDeviceCommons" + ], + "structs": [ + "TextureFormat", + "SamplerState", + "VertexAttribute", + "ShaderStageSPIRVData", + "PipelineSpecializationConstant", + "PipelineRasterizationState", + "PipelineMultisampleState", + "PipelineDepthStencilState", + "StencilOperationState", + "PipelineColorBlendState", + "Attachment", + "ShaderUniform", + "ShaderSpecializationConstant", + "ShaderDescription", + "ShaderReflection" + ], + "defines": [ + "RENDERING_DEVICE_COMMONS_H", + "STEPIFY" + ] + }, + "servers/rendering/rendering_server_default.h": { + "classes": [ + "RenderingServerDefault" + ], + "structs": [], + "defines": [ + "RENDERING_SERVER_DEFAULT_H", + "DEBUG_CHANGES", + "DISPLAY_CHANGED", + "WRITE_ACTION", + "SYNC_DEBUG", + "SYNC_DEBUG", + "ServerName", + "server_name", + "FUNCRIDTEX0", + "FUNCRIDTEX1", + "FUNCRIDTEX2", + "FUNCRIDTEX6", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name", + "ServerName", + "server_name" + ] + }, + "servers/rendering/renderer_scene_occlusion_cull.h": { + "classes": [ + "RendererSceneOcclusionCull", + "HZBuffer" + ], + "structs": [], + "defines": [ + "RENDERER_SCENE_OCCLUSION_CULL_H" + ] + }, + "servers/rendering/renderer_compositor.h": { + "classes": [ + "RendererCompositor" + ], + "structs": [ + "BlitToScreen" + ], + "defines": [ + "RENDERER_COMPOSITOR_H" + ] + }, + "servers/rendering/shader_types.h": { + "classes": [ + "ShaderTypes" + ], + "structs": [ + "Type" + ], + "defines": [ + "SHADER_TYPES_H" + ] + }, + "servers/rendering/rendering_method.h": { + "classes": [ + "RenderingMethod" + ], + "structs": [ + "RenderInfo" + ], + "defines": [ + "RENDERING_METHOD_H" + ] + }, + "servers/rendering/shader_warnings.h": { + "classes": [ + "ShaderWarning" + ], + "structs": [], + "defines": [ + "SHADER_WARNINGS_H" + ] + }, + "servers/rendering/renderer_viewport.h": { + "classes": [ + "RendererViewport" + ], + "structs": [ + "CanvasBase", + "Viewport", + "CanvasKey", + "CanvasData" + ], + "defines": [ + "RENDERER_VIEWPORT_H" + ] + }, + "servers/rendering/shader_compiler.h": { + "classes": [ + "ShaderCompiler" + ], + "structs": [ + "IdentifierActions", + "GeneratedCode", + "Texture", + "DefaultIdentifierActions" + ], + "defines": [ + "SHADER_COMPILER_H" + ] + }, + "servers/rendering/renderer_scene_cull.h": { + "classes": [ + "RendererSceneCull", + "VisibilityArray" + ], + "structs": [ + "Camera", + "PlaneSign", + "Frustum", + "InstanceBounds", + "InstanceData", + "InstanceVisibilityData", + "Scenario", + "InstancePair", + "InstanceBaseData", + "Instance", + "InstanceShaderParameter", + "InstanceGeometryData", + "InstanceReflectionProbeData", + "InstanceDecalData", + "InstanceParticlesCollisionData", + "InstanceFogVolumeData", + "InstanceVisibilityNotifierData", + "InstanceLightData", + "InstanceVoxelGIData", + "LightCache", + "InstanceLightmapData", + "PairInstances", + "InstanceCullResult", + "DirectionalShadow", + "Cull", + "Shadow", + "Cascade", + "SDFGI", + "VisibilityCullData", + "CullData" + ], + "defines": [ + "RENDERER_SCENE_CULL_H", + "PASSBASE" + ] + }, + "servers/rendering/renderer_canvas_render.h": { + "classes": [ + "RendererCanvasRender" + ], + "structs": [ + "Light", + "Polygon", + "Item", + "CommandBlock", + "Command", + "CommandRect", + "CommandNinePatch", + "CommandPolygon", + "CommandPrimitive", + "CommandMesh", + "CommandMultiMesh", + "CommandParticles", + "CommandTransform", + "CommandClipIgnore", + "CommandAnimationSlice", + "ViewportRender", + "CanvasGroup", + "CopyBackBuffer", + "LightOccluderInstance" + ], + "defines": [ + "RENDERER_CANVAS_RENDER_H" + ] + }, + "servers/rendering/rendering_server_globals.h": { + "classes": [ + "RenderingServerGlobals" + ], + "structs": [], + "defines": [ + "RENDERING_SERVER_GLOBALS_H", + "RSG" + ] + }, + "servers/rendering/shader_language.h": { + "classes": [ + "ShaderLanguage" + ], + "structs": [ + "TkPos", + "VaryingFunctionNames", + "Node", + "OperatorNode", + "VariableNode", + "VariableDeclarationNode", + "Declaration", + "ArrayNode", + "ArrayConstructNode", + "ConstantNode", + "BlockNode", + "Variable", + "ControlFlowNode", + "MemberNode", + "StructNode", + "FunctionNode", + "Argument", + "ShaderNode", + "Constant", + "Function", + "Struct", + "Varying", + "Uniform", + "UniformOrderComparator", + "Expression", + "VarInfo", + "Token", + "BuiltInInfo", + "StageFunctionInfo", + "Argument", + "ModeInfo", + "FunctionInfo", + "FilePosition", + "KeyWord", + "Usage", + "BuiltinFuncDef", + "BuiltinFuncOutArgs", + "BuiltinFuncConstArgs", + "ShaderCompileInfo" + ], + "defines": [ + "SHADER_LANGUAGE_H" + ] + }, + "servers/rendering/renderer_scene_render.h": { + "classes": [ + "RendererSceneRender" + ], + "structs": [ + "RenderShadowData", + "RenderSDFGIData", + "RenderSDFGIUpdateData", + "CameraData" + ], + "defines": [ + "RENDERER_SCENE_RENDER_H" + ] + }, + "servers/rendering/rendering_device_binds.h": { + "classes": [ + "RDTextureFormat", + "RDTextureView", + "RDAttachmentFormat", + "RDFramebufferPass", + "RDSamplerState", + "RDVertexAttribute", + "RDShaderSource", + "RDShaderSPIRV", + "RDShaderFile", + "RDUniform", + "RDPipelineSpecializationConstant", + "RDPipelineRasterizationState", + "RDPipelineMultisampleState", + "RDPipelineDepthStencilState", + "RDPipelineColorBlendStateAttachment", + "RDPipelineColorBlendState" + ], + "structs": [], + "defines": [ + "RENDERING_DEVICE_BINDS_H", + "RD_SETGET", + "RD_BIND", + "RD_SETGET_SUB", + "RD_BIND_SUB" + ] + }, + "servers/rendering/shader_preprocessor.h": { + "classes": [ + "ShaderPreprocessor", + "Tokenizer", + "CommentRemover" + ], + "structs": [ + "FilePosition", + "Region", + "Token", + "Define", + "Branch", + "State" + ], + "defines": [ + "SHADER_PREPROCESSOR_H" + ] + }, + "servers/rendering/rendering_device.h": { + "classes": [ + "RenderingDevice" + ], + "structs": [ + "StagingBufferBlock", + "Buffer", + "Texture", + "TextureView", + "AttachmentFormat", + "FramebufferPass", + "FramebufferFormatKey", + "FramebufferFormat", + "Framebuffer", + "VersionKey", + "Version", + "VertexDescriptionKey", + "VertexDescriptionHash", + "VertexDescriptionCache", + "VertexArray", + "IndexBuffer", + "IndexArray", + "UniformSetFormat", + "Shader", + "Uniform", + "UniformSet", + "AttachableTexture", + "RenderPipeline", + "Validation", + "ComputePipeline", + "DrawList", + "SetState", + "State", + "Validation", + "Validation", + "ComputeList", + "SetState", + "State", + "Validation", + "Frame", + "Timestamp" + ], + "defines": [ + "RENDERING_DEVICE_H" + ] + }, + "servers/rendering/renderer_rd/renderer_compositor_rd.h": { + "classes": [ + "RendererCompositorRD" + ], + "structs": [ + "BlitPushConstant", + "Blit" + ], + "defines": [ + "RENDERER_COMPOSITOR_RD_H" + ] + }, + "servers/rendering/renderer_rd/renderer_scene_render_rd.h": { + "classes": [ + "RendererSceneRenderRD" + ], + "structs": [], + "defines": [ + "RENDERER_SCENE_RENDER_RD_H" + ] + }, + "servers/rendering/renderer_rd/framebuffer_cache_rd.h": { + "classes": [ + "FramebufferCacheRD" + ], + "structs": [ + "Cache" + ], + "defines": [ + "FRAMEBUFFER_CACHE_RD_H" + ] + }, + "servers/rendering/renderer_rd/cluster_builder_rd.h": { + "classes": [ + "ClusterBuilderSharedDataRD", + "ClusterBuilderRD" + ], + "structs": [ + "ClusterRender", + "PushConstant", + "ClusterStore", + "PushConstant", + "ClusterDebug", + "PushConstant", + "RenderElementData", + "StateUniform" + ], + "defines": [ + "CLUSTER_BUILDER_RD_H", + "CONE_MINMAX" + ] + }, + "servers/rendering/renderer_rd/uniform_set_cache_rd.h": { + "classes": [ + "UniformSetCacheRD" + ], + "structs": [ + "Cache" + ], + "defines": [ + "UNIFORM_SET_CACHE_RD_H" + ] + }, + "servers/rendering/renderer_rd/shader_rd.h": { + "classes": [ + "ShaderRD" + ], + "structs": [ + "VariantDefine", + "Version", + "CompileData", + "StageTemplate", + "Chunk" + ], + "defines": [ + "SHADER_RD_H" + ] + }, + "servers/rendering/renderer_rd/pipeline_cache_rd.h": { + "classes": [ + "PipelineCacheRD" + ], + "structs": [ + "Version" + ], + "defines": [ + "PIPELINE_CACHE_RD_H" + ] + }, + "servers/rendering/renderer_rd/renderer_canvas_render_rd.h": { + "classes": [ + "RendererCanvasRenderRD" + ], + "structs": [ + "PipelineVariants", + "CanvasShaderData", + "CanvasMaterialData", + "PolygonBuffers", + "CanvasLight", + "ShadowRenderPushConstant", + "OccluderPolygon", + "LightUniform", + "State", + "Buffer", + "PushConstant" + ], + "defines": [ + "RENDERER_CANVAS_RENDER_RD_H" + ] + }, + "servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.h": { + "classes": [ + "SceneShaderForwardClustered" + ], + "structs": [ + "ShaderData", + "MaterialData" + ], + "defines": [ + "SCENE_SHADER_FORWARD_CLUSTERED_H" + ] + }, + "servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.h": { + "classes": [ + "RenderForwardClustered", + "RenderBufferDataForwardClustered", + "GeometryInstanceForwardClustered" + ], + "structs": [ + "SSEffectsData", + "BestFitNormal", + "RenderListParameters", + "LightmapData", + "LightmapCaptureData", + "SceneState", + "UBO", + "PushConstant", + "InstanceData", + "ShadowPass", + "RenderElementInfo", + "GeometryInstanceLightmapSH", + "GeometryInstanceSurfaceDataCache", + "RenderList", + "SortByKey", + "SortByDepth", + "SortByReverseDepthAndPriority" + ], + "defines": [ + "RENDER_FORWARD_CLUSTERED_H", + "RB_SCOPE_FORWARD_CLUSTERED", + "RB_TEX_SPECULAR", + "RB_TEX_SPECULAR_MSAA", + "RB_TEX_NORMAL_ROUGHNESS", + "RB_TEX_NORMAL_ROUGHNESS_MSAA", + "RB_TEX_VOXEL_GI", + "RB_TEX_VOXEL_GI_MSAA" + ] + }, + "servers/rendering/renderer_rd/forward_mobile/render_forward_mobile.h": { + "classes": [ + "RenderForwardMobile", + "RenderBufferDataForwardMobile", + "GeometryInstanceForwardMobile", + "ForwardIDStorageMobile" + ], + "structs": [ + "RenderListParameters", + "LightmapData", + "LightmapCaptureData", + "SceneState", + "PushConstant", + "InstanceData", + "ShadowPass", + "RenderList", + "SortByKey", + "SortByDepth", + "SortByReverseDepthAndPriority", + "RenderElementInfo", + "GeometryInstanceLightmapSH", + "GeometryInstanceSurfaceDataCache", + "ForwardIDAllocator" + ], + "defines": [ + "RENDER_FORWARD_MOBILE_H", + "RB_SCOPE_MOBILE" + ] + }, + "servers/rendering/renderer_rd/forward_mobile/scene_shader_forward_mobile.h": { + "classes": [ + "SceneShaderForwardMobile" + ], + "structs": [ + "ShaderData", + "MaterialData" + ], + "defines": [ + "SCENE_SHADER_FORWARD_MOBILE_H" + ] + }, + "servers/rendering/renderer_rd/shaders/skeleton.glsl.gen.h": { + "classes": [ + "SkeletonShaderRD" + ], + "structs": [], + "defines": [ + "SKELETON_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/roughness_limiter.glsl.gen.h": { + "classes": [ + "RoughnessLimiterShaderRD" + ], + "structs": [], + "defines": [ + "ROUGHNESS_LIMITER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/cluster_render.glsl.gen.h": { + "classes": [ + "ClusterRenderShaderRD" + ], + "structs": [], + "defines": [ + "CLUSTER_RENDER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/blit.glsl.gen.h": { + "classes": [ + "BlitShaderRD" + ], + "structs": [], + "defines": [ + "BLIT_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/luminance_reduce_raster.glsl.gen.h": { + "classes": [ + "LuminanceReduceRasterShaderRD" + ], + "structs": [], + "defines": [ + "LUMINANCE_REDUCE_RASTER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/luminance_reduce.glsl.gen.h": { + "classes": [ + "LuminanceReduceShaderRD" + ], + "structs": [], + "defines": [ + "LUMINANCE_REDUCE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/cluster_store.glsl.gen.h": { + "classes": [ + "ClusterStoreShaderRD" + ], + "structs": [], + "defines": [ + "CLUSTER_STORE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/canvas.glsl.gen.h": { + "classes": [ + "CanvasShaderRD" + ], + "structs": [], + "defines": [ + "CANVAS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/canvas_sdf.glsl.gen.h": { + "classes": [ + "CanvasSdfShaderRD" + ], + "structs": [], + "defines": [ + "CANVAS_SDF_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/sort.glsl.gen.h": { + "classes": [ + "SortShaderRD" + ], + "structs": [], + "defines": [ + "SORT_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/giprobe_write.glsl.gen.h": { + "classes": [ + "GiprobeWriteShaderRD" + ], + "structs": [], + "defines": [ + "GIPROBE_WRITE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/canvas_occlusion.glsl.gen.h": { + "classes": [ + "CanvasOcclusionShaderRD" + ], + "structs": [], + "defines": [ + "CANVAS_OCCLUSION_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/cluster_debug.glsl.gen.h": { + "classes": [ + "ClusterDebugShaderRD" + ], + "structs": [], + "defines": [ + "CLUSTER_DEBUG_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/particles.glsl.gen.h": { + "classes": [ + "ParticlesShaderRD" + ], + "structs": [], + "defines": [ + "PARTICLES_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/particles_copy.glsl.gen.h": { + "classes": [ + "ParticlesCopyShaderRD" + ], + "structs": [], + "defines": [ + "PARTICLES_COPY_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/forward_clustered/scene_forward_clustered.glsl.gen.h": { + "classes": [ + "SceneForwardClusteredShaderRD" + ], + "structs": [], + "defines": [ + "SCENE_FORWARD_CLUSTERED_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/forward_clustered/best_fit_normal.glsl.gen.h": { + "classes": [ + "BestFitNormalShaderRD" + ], + "structs": [], + "defines": [ + "BEST_FIT_NORMAL_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/forward_mobile/scene_forward_mobile.glsl.gen.h": { + "classes": [ + "SceneForwardMobileShaderRD" + ], + "structs": [], + "defines": [ + "SCENE_FORWARD_MOBILE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/sdfgi_preprocess.glsl.gen.h": { + "classes": [ + "SdfgiPreprocessShaderRD" + ], + "structs": [], + "defines": [ + "SDFGI_PREPROCESS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/sky.glsl.gen.h": { + "classes": [ + "SkyShaderRD" + ], + "structs": [], + "defines": [ + "SKY_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/sdfgi_direct_light.glsl.gen.h": { + "classes": [ + "SdfgiDirectLightShaderRD" + ], + "structs": [], + "defines": [ + "SDFGI_DIRECT_LIGHT_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/volumetric_fog_process.glsl.gen.h": { + "classes": [ + "VolumetricFogProcessShaderRD" + ], + "structs": [], + "defines": [ + "VOLUMETRIC_FOG_PROCESS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/gi.glsl.gen.h": { + "classes": [ + "GiShaderRD" + ], + "structs": [], + "defines": [ + "GI_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/voxel_gi.glsl.gen.h": { + "classes": [ + "VoxelGiShaderRD" + ], + "structs": [], + "defines": [ + "VOXEL_GI_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/voxel_gi_debug.glsl.gen.h": { + "classes": [ + "VoxelGiDebugShaderRD" + ], + "structs": [], + "defines": [ + "VOXEL_GI_DEBUG_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/voxel_gi_sdf.glsl.gen.h": { + "classes": [ + "VoxelGiSdfShaderRD" + ], + "structs": [], + "defines": [ + "VOXEL_GI_SDF_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/sdfgi_debug.glsl.gen.h": { + "classes": [ + "SdfgiDebugShaderRD" + ], + "structs": [], + "defines": [ + "SDFGI_DEBUG_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/sdfgi_integrate.glsl.gen.h": { + "classes": [ + "SdfgiIntegrateShaderRD" + ], + "structs": [], + "defines": [ + "SDFGI_INTEGRATE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/volumetric_fog.glsl.gen.h": { + "classes": [ + "VolumetricFogShaderRD" + ], + "structs": [], + "defines": [ + "VOLUMETRIC_FOG_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/environment/sdfgi_debug_probes.glsl.gen.h": { + "classes": [ + "SdfgiDebugProbesShaderRD" + ], + "structs": [], + "defines": [ + "SDFGI_DEBUG_PROBES_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/ssao.glsl.gen.h": { + "classes": [ + "SsaoShaderRD" + ], + "structs": [], + "defines": [ + "SSAO_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/cubemap_filter.glsl.gen.h": { + "classes": [ + "CubemapFilterShaderRD" + ], + "structs": [], + "defines": [ + "CUBEMAP_FILTER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/bokeh_dof_raster.glsl.gen.h": { + "classes": [ + "BokehDofRasterShaderRD" + ], + "structs": [], + "defines": [ + "BOKEH_DOF_RASTER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/ssil_blur.glsl.gen.h": { + "classes": [ + "SsilBlurShaderRD" + ], + "structs": [], + "defines": [ + "SSIL_BLUR_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/shadow_frustum.glsl.gen.h": { + "classes": [ + "ShadowFrustumShaderRD" + ], + "structs": [], + "defines": [ + "SHADOW_FRUSTUM_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/cubemap_filter_raster.glsl.gen.h": { + "classes": [ + "CubemapFilterRasterShaderRD" + ], + "structs": [], + "defines": [ + "CUBEMAP_FILTER_RASTER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/screen_space_reflection.glsl.gen.h": { + "classes": [ + "ScreenSpaceReflectionShaderRD" + ], + "structs": [], + "defines": [ + "SCREEN_SPACE_REFLECTION_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/taa_resolve.glsl.gen.h": { + "classes": [ + "TaaResolveShaderRD" + ], + "structs": [], + "defines": [ + "TAA_RESOLVE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/ssil_interleave.glsl.gen.h": { + "classes": [ + "SsilInterleaveShaderRD" + ], + "structs": [], + "defines": [ + "SSIL_INTERLEAVE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/ss_effects_downsample.glsl.gen.h": { + "classes": [ + "SsEffectsDownsampleShaderRD" + ], + "structs": [], + "defines": [ + "SS_EFFECTS_DOWNSAMPLE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/ssil.glsl.gen.h": { + "classes": [ + "SsilShaderRD" + ], + "structs": [], + "defines": [ + "SSIL_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/blur_raster.glsl.gen.h": { + "classes": [ + "BlurRasterShaderRD" + ], + "structs": [], + "defines": [ + "BLUR_RASTER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/fsr_upscale.glsl.gen.h": { + "classes": [ + "FsrUpscaleShaderRD" + ], + "structs": [], + "defines": [ + "FSR_UPSCALE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/tonemap.glsl.gen.h": { + "classes": [ + "TonemapShaderRD" + ], + "structs": [], + "defines": [ + "TONEMAP_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/screen_space_reflection_scale.glsl.gen.h": { + "classes": [ + "ScreenSpaceReflectionScaleShaderRD" + ], + "structs": [], + "defines": [ + "SCREEN_SPACE_REFLECTION_SCALE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/roughness_limiter.glsl.gen.h": { + "classes": [ + "RoughnessLimiterShaderRD" + ], + "structs": [], + "defines": [ + "ROUGHNESS_LIMITER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/ssao_blur.glsl.gen.h": { + "classes": [ + "SsaoBlurShaderRD" + ], + "structs": [], + "defines": [ + "SSAO_BLUR_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/ssao_importance_map.glsl.gen.h": { + "classes": [ + "SsaoImportanceMapShaderRD" + ], + "structs": [], + "defines": [ + "SSAO_IMPORTANCE_MAP_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/motion_vectors.glsl.gen.h": { + "classes": [ + "MotionVectorsShaderRD" + ], + "structs": [], + "defines": [ + "MOTION_VECTORS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/bokeh_dof.glsl.gen.h": { + "classes": [ + "BokehDofShaderRD" + ], + "structs": [], + "defines": [ + "BOKEH_DOF_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/luminance_reduce_raster.glsl.gen.h": { + "classes": [ + "LuminanceReduceRasterShaderRD" + ], + "structs": [], + "defines": [ + "LUMINANCE_REDUCE_RASTER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/luminance_reduce.glsl.gen.h": { + "classes": [ + "LuminanceReduceShaderRD" + ], + "structs": [], + "defines": [ + "LUMINANCE_REDUCE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/copy_to_fb.glsl.gen.h": { + "classes": [ + "CopyToFbShaderRD" + ], + "structs": [], + "defines": [ + "COPY_TO_FB_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/ssil_importance_map.glsl.gen.h": { + "classes": [ + "SsilImportanceMapShaderRD" + ], + "structs": [], + "defines": [ + "SSIL_IMPORTANCE_MAP_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/cubemap_downsampler.glsl.gen.h": { + "classes": [ + "CubemapDownsamplerShaderRD" + ], + "structs": [], + "defines": [ + "CUBEMAP_DOWNSAMPLER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/cubemap_roughness.glsl.gen.h": { + "classes": [ + "CubemapRoughnessShaderRD" + ], + "structs": [], + "defines": [ + "CUBEMAP_ROUGHNESS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/vrs.glsl.gen.h": { + "classes": [ + "VrsShaderRD" + ], + "structs": [], + "defines": [ + "VRS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/sort.glsl.gen.h": { + "classes": [ + "SortShaderRD" + ], + "structs": [], + "defines": [ + "SORT_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/specular_merge.glsl.gen.h": { + "classes": [ + "SpecularMergeShaderRD" + ], + "structs": [], + "defines": [ + "SPECULAR_MERGE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/ssao_interleave.glsl.gen.h": { + "classes": [ + "SsaoInterleaveShaderRD" + ], + "structs": [], + "defines": [ + "SSAO_INTERLEAVE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/screen_space_reflection_filter.glsl.gen.h": { + "classes": [ + "ScreenSpaceReflectionFilterShaderRD" + ], + "structs": [], + "defines": [ + "SCREEN_SPACE_REFLECTION_FILTER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/cubemap_downsampler_raster.glsl.gen.h": { + "classes": [ + "CubemapDownsamplerRasterShaderRD" + ], + "structs": [], + "defines": [ + "CUBEMAP_DOWNSAMPLER_RASTER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/resolve.glsl.gen.h": { + "classes": [ + "ResolveShaderRD" + ], + "structs": [], + "defines": [ + "RESOLVE_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/copy.glsl.gen.h": { + "classes": [ + "CopyShaderRD" + ], + "structs": [], + "defines": [ + "COPY_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/cubemap_roughness_raster.glsl.gen.h": { + "classes": [ + "CubemapRoughnessRasterShaderRD" + ], + "structs": [], + "defines": [ + "CUBEMAP_ROUGHNESS_RASTER_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/subsurface_scattering.glsl.gen.h": { + "classes": [ + "SubsurfaceScatteringShaderRD" + ], + "structs": [], + "defines": [ + "SUBSURFACE_SCATTERING_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/cube_to_dp.glsl.gen.h": { + "classes": [ + "CubeToDpShaderRD" + ], + "structs": [], + "defines": [ + "CUBE_TO_DP_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/fsr2/fsr2_autogen_reactive_pass.glsl.gen.h": { + "classes": [ + "Fsr2AutogenReactivePassShaderRD" + ], + "structs": [], + "defines": [ + "FSR2_AUTOGEN_REACTIVE_PASS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/fsr2/fsr2_accumulate_pass.glsl.gen.h": { + "classes": [ + "Fsr2AccumulatePassShaderRD" + ], + "structs": [], + "defines": [ + "FSR2_ACCUMULATE_PASS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/fsr2/fsr2_compute_luminance_pyramid_pass.glsl.gen.h": { + "classes": [ + "Fsr2ComputeLuminancePyramidPassShaderRD" + ], + "structs": [], + "defines": [ + "FSR2_COMPUTE_LUMINANCE_PYRAMID_PASS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/fsr2/fsr2_reconstruct_previous_depth_pass.glsl.gen.h": { + "classes": [ + "Fsr2ReconstructPreviousDepthPassShaderRD" + ], + "structs": [], + "defines": [ + "FSR2_RECONSTRUCT_PREVIOUS_DEPTH_PASS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/fsr2/fsr2_rcas_pass.glsl.gen.h": { + "classes": [ + "Fsr2RcasPassShaderRD" + ], + "structs": [], + "defines": [ + "FSR2_RCAS_PASS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/fsr2/fsr2_lock_pass.glsl.gen.h": { + "classes": [ + "Fsr2LockPassShaderRD" + ], + "structs": [], + "defines": [ + "FSR2_LOCK_PASS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/fsr2/fsr2_tcr_autogen_pass.glsl.gen.h": { + "classes": [ + "Fsr2TcrAutogenPassShaderRD" + ], + "structs": [], + "defines": [ + "FSR2_TCR_AUTOGEN_PASS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/shaders/effects/fsr2/fsr2_depth_clip_pass.glsl.gen.h": { + "classes": [ + "Fsr2DepthClipPassShaderRD" + ], + "structs": [], + "defines": [ + "FSR2_DEPTH_CLIP_PASS_GLSL_GEN_H_RD" + ] + }, + "servers/rendering/renderer_rd/environment/fog.h": { + "classes": [ + "Fog", + "VolumetricFog" + ], + "structs": [ + "FogVolume", + "FogVolumeInstance", + "VolumetricFogShader", + "FogPushConstant", + "VolumeUBO", + "ParamsUBO", + "FogShaderData", + "FogMaterialData", + "VolumetricFogSettings" + ], + "defines": [ + "FOG_RD_H", + "RB_SCOPE_FOG" + ] + }, + "servers/rendering/renderer_rd/environment/gi.h": { + "classes": [ + "GI", + "RenderBuffersGI", + "SDFGI" + ], + "structs": [ + "VoxelGI", + "VoxelGIInstance", + "Mipmap", + "DynamicMap", + "VoxelGILight", + "VoxelGIPushConstant", + "VoxelGIDynamicPushConstant", + "VoxelGIDebugPushConstant", + "SDFGIShader", + "PreprocessPushConstant", + "DebugPushConstant", + "DebugProbesSceneData", + "DebugProbesPushConstant", + "Light", + "DirectLightPushConstant", + "IntegratePushConstant", + "Cascade", + "UBO", + "SolidCell", + "SDFGIData", + "ProbeCascadeData", + "VoxelGIData", + "SceneData", + "PushConstant" + ], + "defines": [ + "GI_RD_H", + "RB_SCOPE_GI", + "RB_SCOPE_SDFGI", + "RB_TEX_AMBIENT", + "RB_TEX_REFLECTION" + ] + }, + "servers/rendering/renderer_rd/environment/sky.h": { + "classes": [ + "SkyRD" + ], + "structs": [ + "SkyDirectionalLightData", + "SkyPushConstant", + "SkyShaderData", + "SkySceneState", + "UBO", + "ReflectionData", + "Layer", + "Mipmap", + "DownsampleLayer", + "Mipmap", + "SkyShader", + "SkyMaterialData", + "Sky" + ], + "defines": [ + "SKY_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/debug_effects.h": { + "classes": [ + "DebugEffects" + ], + "structs": [ + "ShadowFrustumPushConstant", + "MotionVectorsPushConstant" + ], + "defines": [ + "DEBUG_EFFECTS_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/fsr2.h": { + "classes": [ + "FSR2Context", + "FSR2Effect" + ], + "structs": [ + "Resources", + "Scratch", + "RootSignature", + "Pipeline", + "Pass", + "Device", + "Parameters" + ], + "defines": [ + "FSR2_RD_H", + "FFX_GCC", + "FSR2_MAX_QUEUED_FRAMES", + "FSR2_MAX_UNIFORM_BUFFERS", + "FSR2_MAX_BUFFERED_DESCRIPTORS", + "FSR2_UBO_RING_BUFFER_SIZE" + ] + }, + "servers/rendering/renderer_rd/effects/ss_effects.h": { + "classes": [ + "SSEffects" + ], + "structs": [ + "SSILRenderBuffers", + "SSILSettings", + "SSAORenderBuffers", + "SSAOSettings", + "SSRRenderBuffers", + "SSEffectsDownsamplePushConstant", + "SSEffectsGatherConstants", + "SSEffectsShader", + "SSILGatherPushConstant", + "SSILImportanceMapPushConstant", + "SSILBlurPushConstant", + "SSILInterleavePushConstant", + "SSILProjectionUniforms", + "SSIL", + "SSAOGatherPushConstant", + "SSAOImportanceMapPushConstant", + "SSAOBlurPushConstant", + "SSAOInterleavePushConstant", + "SSAO", + "ScreenSpaceReflectionSceneData", + "ScreenSpaceReflectionScalePushConstant", + "ScreenSpaceReflectionScale", + "ScreenSpaceReflectionPushConstant", + "ScreenSpaceReflection", + "ScreenSpaceReflectionFilterPushConstant", + "ScreenSpaceReflectionFilter", + "SubSurfaceScatteringPushConstant", + "SubSurfaceScattering" + ], + "defines": [ + "SS_EFFECTS_RD_H", + "RB_SCOPE_SSDS", + "RB_SCOPE_SSIL", + "RB_SCOPE_SSAO", + "RB_SCOPE_SSR", + "RB_LINEAR_DEPTH", + "RB_FINAL", + "RB_LAST_FRAME", + "RB_DEINTERLEAVED", + "RB_DEINTERLEAVED_PONG", + "RB_EDGES", + "RB_IMPORTANCE_MAP", + "RB_IMPORTANCE_PONG", + "RB_DEPTH_SCALED", + "RB_NORMAL_SCALED", + "RB_BLUR_RADIUS", + "RB_INTERMEDIATE", + "RB_OUTPUT" + ] + }, + "servers/rendering/renderer_rd/effects/roughness_limiter.h": { + "classes": [ + "RoughnessLimiter" + ], + "structs": [ + "RoughnessLimiterPushConstant" + ], + "defines": [ + "ROUGHNESS_LIMITER_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/fsr.h": { + "classes": [ + "FSR" + ], + "structs": [ + "FSRUpscalePushConstant" + ], + "defines": [ + "FSR_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/copy_effects.h": { + "classes": [ + "CopyEffects" + ], + "structs": [ + "BlurRasterPushConstant", + "BlurRaster", + "CopyPushConstant", + "Copy", + "CopyToFbPushConstant", + "CopyToFb", + "CopyToDPPushConstant", + "CopyToDP", + "CubemapDownsamplerPushConstant", + "CubemapDownsampler", + "CubemapFilterRasterPushConstant", + "CubemapFilter", + "CubemapRoughnessPushConstant", + "CubemapRoughness", + "SpecularMerge" + ], + "defines": [ + "COPY_EFFECTS_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/tone_mapper.h": { + "classes": [ + "ToneMapper" + ], + "structs": [ + "TonemapPushConstant", + "Tonemap", + "TonemapSettings" + ], + "defines": [ + "TONE_MAPPER_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/luminance.h": { + "classes": [ + "Luminance", + "LuminanceBuffers" + ], + "structs": [ + "LuminanceReducePushConstant", + "LuminanceReduce", + "LuminanceReduceRasterPushConstant", + "LuminanceReduceFragment" + ], + "defines": [ + "LUMINANCE_RD_H", + "RB_LUMINANCE_BUFFERS" + ] + }, + "servers/rendering/renderer_rd/effects/bokeh_dof.h": { + "classes": [ + "BokehDOF" + ], + "structs": [ + "BokehPushConstant", + "Bokeh", + "BokehBuffers" + ], + "defines": [ + "BOKEH_DOF_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/taa.h": { + "classes": [ + "TAA" + ], + "structs": [ + "TAAResolvePushConstant" + ], + "defines": [ + "TAA_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/resolve.h": { + "classes": [ + "Resolve" + ], + "structs": [ + "ResolvePushConstant", + "ResolveShader" + ], + "defines": [ + "RESOLVE_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/sort_effects.h": { + "classes": [ + "SortEffects" + ], + "structs": [ + "PushConstant" + ], + "defines": [ + "SORT_EFFECTS_RD_H" + ] + }, + "servers/rendering/renderer_rd/effects/vrs.h": { + "classes": [ + "VRS" + ], + "structs": [ + "VRSPushConstant", + "VRSShader" + ], + "defines": [ + "VRS_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/particles_storage.h": { + "classes": [ + "ParticlesStorage" + ], + "structs": [ + "ParticleData", + "ParticlesFrameParams", + "Attractor", + "Collider", + "ParticleEmissionBuffer", + "Data", + "Particles", + "ParticlesShader", + "PushConstant", + "CopyPushConstant", + "ParticlesShaderData", + "ParticleProcessMaterialData", + "ParticlesCollision", + "ParticlesCollisionInstance" + ], + "defines": [ + "PARTICLES_STORAGE_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/light_storage.h": { + "classes": [ + "LightStorage" + ], + "structs": [ + "Light", + "LightInstance", + "ShadowTransform", + "LightData", + "LightInstanceDepthSort", + "DirectionalLightData", + "ReflectionProbe", + "ReflectionAtlas", + "Reflection", + "ReflectionProbeInstance", + "ReflectionData", + "ReflectionProbeInstanceSort", + "Lightmap", + "BSP", + "LightmapInstance", + "ShadowShrinkStage", + "ShadowAtlas", + "Quadrant", + "Shadow", + "DirectionalShadow", + "ShadowCubemap" + ], + "defines": [ + "LIGHT_STORAGE_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/material_storage.h": { + "classes": [ + "MaterialStorage" + ], + "structs": [ + "ShaderData", + "MaterialData", + "Samplers", + "GlobalShaderUniforms", + "Variable", + "Value", + "ValueInt", + "ValueUInt", + "ValueUsage", + "Shader", + "Material" + ], + "defines": [ + "MATERIAL_STORAGE_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/render_buffer_custom_data_rd.h": { + "classes": [ + "RenderBufferCustomDataRD" + ], + "structs": [], + "defines": [ + "RENDER_BUFFER_CUSTOM_DATA_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/utilities.h": { + "classes": [ + "Utilities" + ], + "structs": [ + "VisibilityNotifier" + ], + "defines": [ + "UTILITIES_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/render_scene_buffers_rd.h": { + "classes": [ + "RenderSceneBuffersRD" + ], + "structs": [ + "NTKey", + "NTSliceKey", + "NamedTexture", + "WeightBuffers" + ], + "defines": [ + "RENDER_SCENE_BUFFERS_RD_H", + "RB_SCOPE_BUFFERS", + "RB_SCOPE_VRS", + "RB_TEXTURE", + "RB_TEX_COLOR", + "RB_TEX_COLOR_MSAA", + "RB_TEX_COLOR_UPSCALED", + "RB_TEX_DEPTH", + "RB_TEX_DEPTH_MSAA", + "RB_TEX_VELOCITY", + "RB_TEX_VELOCITY_MSAA", + "RB_TEX_BLUR_0", + "RB_TEX_BLUR_1", + "RB_TEX_HALF_BLUR", + "RB_TEX_BACK_COLOR", + "RB_TEX_BACK_DEPTH" + ] + }, + "servers/rendering/renderer_rd/storage_rd/texture_storage.h": { + "classes": [ + "TextureStorage", + "CanvasTexture", + "Texture" + ], + "structs": [ + "BufferSlice3D", + "TextureToRDFormat", + "TextureFromRDFormat", + "DecalAtlas", + "Texture", + "SortItem", + "MipMap", + "Decal", + "DecalInstance", + "DecalData", + "DecalInstanceSort", + "RenderTarget", + "RTOverridden", + "SliceKey", + "RenderTargetSDF", + "PushConstant" + ], + "defines": [ + "TEXTURE_STORAGE_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/mesh_storage.h": { + "classes": [ + "MeshStorage" + ], + "structs": [ + "Mesh", + "Surface", + "Version", + "LOD", + "MeshInstance", + "Surface", + "MultiMesh", + "SkeletonShader", + "PushConstant", + "Skeleton" + ], + "defines": [ + "MESH_STORAGE_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/render_scene_data_rd.h": { + "classes": [ + "RenderSceneDataRD" + ], + "structs": [ + "UBO", + "UBODATA" + ], + "defines": [ + "RENDER_SCENE_DATA_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/render_data_rd.h": { + "classes": [ + "RenderDataRD" + ], + "structs": [], + "defines": [ + "RENDER_DATA_RD_H" + ] + }, + "servers/rendering/renderer_rd/storage_rd/forward_id_storage.h": { + "classes": [ + "ForwardIDStorage" + ], + "structs": [], + "defines": [ + "FORWARD_ID_STORAGE_H" + ] + }, + "servers/rendering/dummy/rasterizer_canvas_dummy.h": { + "classes": [ + "RasterizerCanvasDummy" + ], + "structs": [], + "defines": [ + "RASTERIZER_CANVAS_DUMMY_H" + ] + }, + "servers/rendering/dummy/rasterizer_scene_dummy.h": { + "classes": [ + "RasterizerSceneDummy", + "GeometryInstanceDummy" + ], + "structs": [], + "defines": [ + "RASTERIZER_SCENE_DUMMY_H" + ] + }, + "servers/rendering/dummy/rasterizer_dummy.h": { + "classes": [ + "RasterizerDummy" + ], + "structs": [], + "defines": [ + "RASTERIZER_DUMMY_H" + ] + }, + "servers/rendering/dummy/storage/particles_storage.h": { + "classes": [ + "ParticlesStorage" + ], + "structs": [], + "defines": [ + "PARTICLES_STORAGE_DUMMY_H" + ] + }, + "servers/rendering/dummy/storage/light_storage.h": { + "classes": [ + "LightStorage" + ], + "structs": [], + "defines": [ + "LIGHT_STORAGE_DUMMY_H" + ] + }, + "servers/rendering/dummy/storage/material_storage.h": { + "classes": [ + "MaterialStorage" + ], + "structs": [ + "DummyShader" + ], + "defines": [ + "MATERIAL_STORAGE_DUMMY_H" + ] + }, + "servers/rendering/dummy/storage/utilities.h": { + "classes": [ + "Utilities" + ], + "structs": [], + "defines": [ + "UTILITIES_DUMMY_H" + ] + }, + "servers/rendering/dummy/storage/texture_storage.h": { + "classes": [ + "TextureStorage" + ], + "structs": [ + "DummyTexture" + ], + "defines": [ + "TEXTURE_STORAGE_DUMMY_H" + ] + }, + "servers/rendering/dummy/storage/mesh_storage.h": { + "classes": [ + "MeshStorage" + ], + "structs": [ + "DummyMesh", + "DummyMultiMesh" + ], + "defines": [ + "MESH_STORAGE_DUMMY_H" + ] + }, + "servers/rendering/dummy/environment/fog.h": { + "classes": [ + "Fog" + ], + "structs": [], + "defines": [ + "FOG_DUMMY_H" + ] + }, + "servers/rendering/dummy/environment/gi.h": { + "classes": [ + "GI" + ], + "structs": [], + "defines": [ + "GI_DUMMY_H" + ] + }, + "servers/rendering/storage/particles_storage.h": { + "classes": [ + "RendererParticlesStorage" + ], + "structs": [], + "defines": [ + "PARTICLES_STORAGE_H" + ] + }, + "servers/rendering/storage/environment_storage.h": { + "classes": [ + "RendererEnvironmentStorage" + ], + "structs": [ + "Environment" + ], + "defines": [ + "ENVIRONMENT_STORAGE_H" + ] + }, + "servers/rendering/storage/light_storage.h": { + "classes": [ + "RendererLightStorage" + ], + "structs": [], + "defines": [ + "LIGHT_STORAGE_H" + ] + }, + "servers/rendering/storage/render_data.h": { + "classes": [ + "RenderData", + "RenderDataExtension" + ], + "structs": [], + "defines": [ + "RENDER_DATA_H" + ] + }, + "servers/rendering/storage/material_storage.h": { + "classes": [ + "RendererMaterialStorage" + ], + "structs": [ + "InstanceShaderParam" + ], + "defines": [ + "MATERIAL_STORAGE_H" + ] + }, + "servers/rendering/storage/utilities.h": { + "classes": [ + "Dependency", + "DependencyTracker", + "RendererUtilities" + ], + "structs": [], + "defines": [ + "RENDERER_UTILITIES_H", + "TIMESTAMP_BEGIN", + "RENDER_TIMESTAMP" + ] + }, + "servers/rendering/storage/compositor_storage.h": { + "classes": [ + "RendererCompositorStorage" + ], + "structs": [ + "CompositorEffect", + "Compositor" + ], + "defines": [ + "COMPOSITOR_STORAGE_H" + ] + }, + "servers/rendering/storage/texture_storage.h": { + "classes": [ + "RendererTextureStorage" + ], + "structs": [], + "defines": [ + "TEXTURE_STORAGE_H" + ] + }, + "servers/rendering/storage/variant_converters.h": { + "classes": [], + "structs": [ + "VariantConverterStd140" + ], + "defines": [ + "VARIANT_CONVERTERS_H" + ] + }, + "servers/rendering/storage/mesh_storage.h": { + "classes": [ + "RendererMeshStorage" + ], + "structs": [], + "defines": [ + "MESH_STORAGE_H" + ] + }, + "servers/rendering/storage/render_scene_data.h": { + "classes": [ + "RenderSceneData", + "RenderSceneDataExtension" + ], + "structs": [], + "defines": [ + "RENDER_SCENE_DATA_H" + ] + }, + "servers/rendering/storage/render_scene_buffers.h": { + "classes": [ + "RenderSceneBuffersConfiguration", + "RenderSceneBuffers", + "RenderSceneBuffersExtension" + ], + "structs": [], + "defines": [ + "RENDER_SCENE_BUFFERS_H" + ] + }, + "servers/rendering/storage/camera_attributes_storage.h": { + "classes": [ + "RendererCameraAttributes" + ], + "structs": [ + "CameraAttributes" + ], + "defines": [ + "CAMERA_ATTRIBUTES_STORAGE_H" + ] + }, + "servers/rendering/environment/renderer_fog.h": { + "classes": [ + "RendererFog" + ], + "structs": [], + "defines": [ + "RENDERER_FOG_H" + ] + }, + "servers/rendering/environment/renderer_gi.h": { + "classes": [ + "RendererGI" + ], + "structs": [], + "defines": [ + "RENDERER_GI_H" + ] + }, + "servers/physics_2d/godot_collision_solver_2d.h": { + "classes": [ + "GodotCollisionSolver2D" + ], + "structs": [], + "defines": [ + "GODOT_COLLISION_SOLVER_2D_H" + ] + }, + "servers/physics_2d/godot_step_2d.h": { + "classes": [ + "GodotStep2D" + ], + "structs": [], + "defines": [ + "GODOT_STEP_2D_H" + ] + }, + "servers/physics_2d/godot_broad_phase_2d.h": { + "classes": [ + "GodotBroadPhase2D" + ], + "structs": [], + "defines": [ + "GODOT_BROAD_PHASE_2D_H" + ] + }, + "servers/physics_2d/godot_space_2d.h": { + "classes": [ + "GodotPhysicsDirectSpaceState2D", + "GodotSpace2D" + ], + "structs": [ + "ExcludedShapeSW" + ], + "defines": [ + "GODOT_SPACE_2D_H" + ] + }, + "servers/physics_2d/godot_constraint_2d.h": { + "classes": [ + "GodotConstraint2D" + ], + "structs": [], + "defines": [ + "GODOT_CONSTRAINT_2D_H" + ] + }, + "servers/physics_2d/godot_body_pair_2d.h": { + "classes": [ + "GodotBodyPair2D" + ], + "structs": [ + "Contact" + ], + "defines": [ + "GODOT_BODY_PAIR_2D_H" + ] + }, + "servers/physics_2d/godot_shape_2d.h": { + "classes": [ + "GodotShapeOwner2D", + "GodotShape2D", + "GodotWorldBoundaryShape2D", + "GodotSeparationRayShape2D", + "GodotSegmentShape2D", + "GodotCircleShape2D", + "GodotRectangleShape2D", + "GodotCapsuleShape2D", + "GodotConvexPolygonShape2D", + "GodotConcaveShape2D", + "GodotConcavePolygonShape2D" + ], + "structs": [ + "Point", + "Segment", + "BVH", + "BVH_CompareX", + "BVH_CompareY" + ], + "defines": [ + "GODOT_SHAPE_2D_H", + "DEFAULT_PROJECT_RANGE_CAST" + ] + }, + "servers/physics_2d/godot_area_2d.h": { + "classes": [ + "GodotArea2D" + ], + "structs": [ + "BodyKey", + "BodyState" + ], + "defines": [ + "GODOT_AREA_2D_H" + ] + }, + "servers/physics_2d/godot_physics_server_2d.h": { + "classes": [ + "GodotPhysicsServer2D" + ], + "structs": [ + "CollCbkData" + ], + "defines": [ + "GODOT_PHYSICS_SERVER_2D_H" + ] + }, + "servers/physics_2d/godot_body_2d.h": { + "classes": [ + "GodotBody2D" + ], + "structs": [ + "AreaCMP", + "Contact", + "ForceIntegrationCallbackData" + ], + "defines": [ + "GODOT_BODY_2D_H" + ] + }, + "servers/physics_2d/godot_collision_solver_2d_sat.h": { + "classes": [], + "structs": [], + "defines": [ + "GODOT_COLLISION_SOLVER_2D_SAT_H" + ] + }, + "servers/physics_2d/godot_collision_object_2d.h": { + "classes": [ + "GodotCollisionObject2D" + ], + "structs": [ + "Shape" + ], + "defines": [ + "GODOT_COLLISION_OBJECT_2D_H" + ] + }, + "servers/physics_2d/godot_joints_2d.h": { + "classes": [ + "GodotJoint2D", + "GodotPinJoint2D", + "GodotGrooveJoint2D", + "GodotDampedSpringJoint2D" + ], + "structs": [], + "defines": [ + "GODOT_JOINTS_2D_H" + ] + }, + "servers/physics_2d/godot_broad_phase_2d_bvh.h": { + "classes": [ + "GodotBroadPhase2DBVH", + "UserPairTestFunction", + "UserCullTestFunction" + ], + "structs": [], + "defines": [ + "GODOT_BROAD_PHASE_2D_BVH_H" + ] + }, + "servers/physics_2d/godot_area_pair_2d.h": { + "classes": [ + "GodotAreaPair2D", + "GodotArea2Pair2D" + ], + "structs": [], + "defines": [ + "GODOT_AREA_PAIR_2D_H" + ] + }, + "servers/physics_2d/godot_body_direct_state_2d.h": { + "classes": [ + "GodotPhysicsDirectBodyState2D" + ], + "structs": [], + "defines": [ + "GODOT_BODY_DIRECT_STATE_2D_H" + ] + }, + "servers/text/text_server_extension.h": { + "classes": [ + "TextServerExtension" + ], + "structs": [], + "defines": [ + "TEXT_SERVER_EXTENSION_H" + ] + }, + "servers/text/text_server_dummy.h": { + "classes": [ + "TextServerDummy" + ], + "structs": [], + "defines": [ + "TEXT_SERVER_DUMMY_H" + ] + }, + "servers/movie_writer/movie_writer_mjpeg.h": { + "classes": [ + "MovieWriterMJPEG" + ], + "structs": [], + "defines": [ + "MOVIE_WRITER_MJPEG_H" + ] + }, + "servers/movie_writer/movie_writer_pngwav.h": { + "classes": [ + "MovieWriterPNGWAV" + ], + "structs": [], + "defines": [ + "MOVIE_WRITER_PNGWAV_H" + ] + }, + "servers/movie_writer/movie_writer.h": { + "classes": [ + "MovieWriter" + ], + "structs": [], + "defines": [ + "MOVIE_WRITER_H" + ] + }, + "editor/editor_run.h": { + "classes": [ + "EditorRun" + ], + "structs": [], + "defines": [ + "EDITOR_RUN_H" + ] + }, + "editor/editor_atlas_packer.h": { + "classes": [ + "EditorAtlasPacker" + ], + "structs": [ + "Chart", + "Face", + "PlottedBitmap" + ], + "defines": [ + "EDITOR_ATLAS_PACKER_H" + ] + }, + "editor/editor_translation_parser.h": { + "classes": [ + "EditorTranslationParserPlugin", + "EditorTranslationParser" + ], + "structs": [], + "defines": [ + "EDITOR_TRANSLATION_PARSER_H" + ] + }, + "editor/doc_data_class_path.gen.h": { + "classes": [], + "structs": [ + "_DocDataClassPath" + ], + "defines": [] + }, + "editor/multi_node_edit.h": { + "classes": [ + "MultiNodeEdit" + ], + "structs": [ + "PLData" + ], + "defines": [ + "MULTI_NODE_EDIT_H" + ] + }, + "editor/animation_track_editor_plugins.h": { + "classes": [ + "AnimationTrackEditBool", + "AnimationTrackEditColor", + "AnimationTrackEditAudio", + "AnimationTrackEditSpriteFrame", + "AnimationTrackEditSubAnim", + "AnimationTrackEditTypeAudio", + "AnimationTrackEditTypeAnimation", + "AnimationTrackEditVolumeDB", + "AnimationTrackEditDefaultPlugin" + ], + "structs": [], + "defines": [ + "ANIMATION_TRACK_EDITOR_PLUGINS_H" + ] + }, + "editor/project_manager.h": { + "classes": [ + "ProjectManager" + ], + "structs": [], + "defines": [ + "PROJECT_MANAGER_H" + ] + }, + "editor/dependency_editor.h": { + "classes": [ + "DependencyEditor", + "DependencyEditorOwners", + "DependencyRemoveDialog", + "DependencyErrorDialog", + "OrphanResourcesDialog" + ], + "structs": [ + "RemovedDependency" + ], + "defines": [ + "DEPENDENCY_EDITOR_H" + ] + }, + "editor/editor_about.h": { + "classes": [ + "EditorAbout" + ], + "structs": [], + "defines": [ + "EDITOR_ABOUT_H" + ] + }, + "editor/fbx_importer_manager.h": { + "classes": [ + "FBXImporterManager" + ], + "structs": [], + "defines": [ + "FBX_IMPORTER_MANAGER_H" + ] + }, + "editor/shader_globals_editor.h": { + "classes": [ + "ShaderGlobalsEditor" + ], + "structs": [], + "defines": [ + "SHADER_GLOBALS_EDITOR_H" + ] + }, + "editor/editor_folding.h": { + "classes": [ + "EditorFolding" + ], + "structs": [], + "defines": [ + "EDITOR_FOLDING_H" + ] + }, + "editor/editor_layouts_dialog.h": { + "classes": [ + "EditorLayoutsDialog" + ], + "structs": [], + "defines": [ + "EDITOR_LAYOUTS_DIALOG_H" + ] + }, + "editor/find_in_files.h": { + "classes": [ + "FindInFiles", + "FindInFilesDialog", + "FindInFilesPanel" + ], + "structs": [ + "Result" + ], + "defines": [ + "FIND_IN_FILES_H" + ] + }, + "editor/editor_command_palette.h": { + "classes": [ + "EditorCommandPalette" + ], + "structs": [ + "Command", + "CommandEntry", + "CommandEntryComparator", + "CommandHistoryComparator" + ], + "defines": [ + "EDITOR_COMMAND_PALETTE_H" + ] + }, + "editor/input_event_configuration_dialog.h": { + "classes": [ + "InputEventConfigurationDialog" + ], + "structs": [ + "IconCache" + ], + "defines": [ + "INPUT_EVENT_CONFIGURATION_DIALOG_H" + ] + }, + "editor/import_dock.h": { + "classes": [ + "ImportDock" + ], + "structs": [], + "defines": [ + "IMPORT_DOCK_H" + ] + }, + "editor/editor_settings.h": { + "classes": [ + "EditorSettings" + ], + "structs": [ + "Plugin", + "VariantContainer" + ], + "defines": [ + "EDITOR_SETTINGS_H", + "EDITOR_DEF", + "EDITOR_DEF_RST", + "EDITOR_GET", + "ED_IS_SHORTCUT" + ] + }, + "editor/editor_vcs_interface.h": { + "classes": [ + "EditorVCSInterface", + "VCSMetadata" + ], + "structs": [ + "DiffLine", + "DiffHunk", + "DiffFile", + "Commit", + "StatusFile" + ], + "defines": [ + "EDITOR_VCS_INTERFACE_H" + ] + }, + "editor/code_editor.h": { + "classes": [ + "GotoLineDialog", + "FindReplaceBar", + "CodeTextEditor" + ], + "structs": [], + "defines": [ + "CODE_EDITOR_H" + ] + }, + "editor/surface_upgrade_tool.h": { + "classes": [ + "SurfaceUpgradeTool", + "SurfaceUpgradeDialog" + ], + "structs": [], + "defines": [ + "SURFACE_UPGRADE_TOOL_H" + ] + }, + "editor/editor_file_system.h": { + "classes": [ + "EditorFileSystemDirectory", + "EditorFileSystemImportFormatSupportQuery", + "EditorFileSystem" + ], + "structs": [ + "FileInfo", + "FileInfoSort", + "ItemAction", + "FileCache", + "ScanProgress", + "ImportFile", + "ImportThreadData" + ], + "defines": [ + "EDITOR_FILE_SYSTEM_H" + ] + }, + "editor/create_dialog.h": { + "classes": [ + "CreateDialog" + ], + "structs": [], + "defines": [ + "CREATE_DIALOG_H" + ] + }, + "editor/editor_translations.gen.h": { + "classes": [], + "structs": [ + "EditorTranslationList" + ], + "defines": [ + "_EDITOR_TRANSLATIONS_H" + ] + }, + "editor/editor_feature_profile.h": { + "classes": [ + "EditorFeatureProfile", + "EditorFeatureProfileManager" + ], + "structs": [], + "defines": [ + "EDITOR_FEATURE_PROFILE_H" + ] + }, + "editor/builtin_fonts.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "_EDITOR_FONTS_H" + ] + }, + "editor/history_dock.h": { + "classes": [ + "HistoryDock" + ], + "structs": [], + "defines": [ + "HISTORY_DOCK_H" + ] + }, + "editor/rename_dialog.h": { + "classes": [ + "RenameDialog" + ], + "structs": [], + "defines": [ + "RENAME_DIALOG_H" + ] + }, + "editor/editor_log.h": { + "classes": [ + "EditorLog" + ], + "structs": [ + "LogMessage", + "LogFilter" + ], + "defines": [ + "EDITOR_LOG_H" + ] + }, + "editor/editor_build_profile.h": { + "classes": [ + "EditorBuildProfile", + "EditorBuildProfileManager" + ], + "structs": [ + "DetectedFile" + ], + "defines": [ + "EDITOR_BUILD_PROFILE_H" + ] + }, + "editor/progress_dialog.h": { + "classes": [ + "BackgroundProgress", + "ProgressDialog" + ], + "structs": [ + "Task", + "Task" + ], + "defines": [ + "PROGRESS_DIALOG_H" + ] + }, + "editor/groups_editor.h": { + "classes": [ + "GroupsEditor" + ], + "structs": [], + "defines": [ + "GROUPS_EDITOR_H" + ] + }, + "editor/extractable_translations.gen.h": { + "classes": [], + "structs": [ + "ExtractableTranslationList" + ], + "defines": [ + "_EXTRACTABLE_TRANSLATIONS_H" + ] + }, + "editor/editor_undo_redo_manager.h": { + "classes": [ + "EditorUndoRedoManager" + ], + "structs": [ + "Action", + "History" + ], + "defines": [ + "EDITOR_UNDO_REDO_MANAGER_H" + ] + }, + "editor/editor_help_search.h": { + "classes": [ + "EditorHelpSearch", + "EditorHelpSearch" + ], + "structs": [ + "TreeCache", + "MemberMatch", + "ClassMatch" + ], + "defines": [ + "EDITOR_HELP_SEARCH_H" + ] + }, + "editor/editor_dock_manager.h": { + "classes": [ + "DockSplitContainer", + "EditorDockManager" + ], + "structs": [], + "defines": [ + "EDITOR_DOCK_MANAGER_H" + ] + }, + "editor/editor_sectioned_inspector.h": { + "classes": [ + "SectionedInspector" + ], + "structs": [], + "defines": [ + "EDITOR_SECTIONED_INSPECTOR_H" + ] + }, + "editor/scene_create_dialog.h": { + "classes": [ + "SceneCreateDialog" + ], + "structs": [], + "defines": [ + "SCENE_CREATE_DIALOG_H" + ] + }, + "editor/doc_translations.gen.h": { + "classes": [], + "structs": [ + "DocTranslationList" + ], + "defines": [ + "_DOC_TRANSLATIONS_H" + ] + }, + "editor/scene_tree_dock.h": { + "classes": [ + "SceneTreeDock" + ], + "structs": [], + "defines": [ + "SCENE_TREE_DOCK_H" + ] + }, + "editor/run_instances_dialog.h": { + "classes": [ + "RunInstancesDialog" + ], + "structs": [ + "InstanceData" + ], + "defines": [ + "RUN_INSTANCES_DIALOG_H" + ] + }, + "editor/editor_string_names.h": { + "classes": [ + "EditorStringNames" + ], + "structs": [], + "defines": [ + "EDITOR_STRING_NAMES_H", + "EditorStringName" + ] + }, + "editor/editor_native_shader_source_visualizer.h": { + "classes": [ + "EditorNativeShaderSourceVisualizer" + ], + "structs": [], + "defines": [ + "EDITOR_NATIVE_SHADER_SOURCE_VISUALIZER_H" + ] + }, + "editor/editor_property_name_processor.h": { + "classes": [ + "EditorPropertyNameProcessor" + ], + "structs": [], + "defines": [ + "EDITOR_PROPERTY_NAME_PROCESSOR_H" + ] + }, + "editor/window_wrapper.h": { + "classes": [ + "WindowWrapper", + "ScreenSelect" + ], + "structs": [], + "defines": [ + "WINDOW_WRAPPER_H" + ] + }, + "editor/property_translations.gen.h": { + "classes": [], + "structs": [ + "PropertyTranslationList" + ], + "defines": [ + "_PROPERTY_TRANSLATIONS_H" + ] + }, + "editor/animation_track_editor.h": { + "classes": [ + "AnimationTrackKeyEdit", + "AnimationMultiTrackKeyEdit", + "AnimationTimelineEdit", + "AnimationTrackEdit", + "AnimationTrackEditPlugin", + "AnimationTrackEditGroup", + "AnimationTrackEditor", + "AnimationTrackKeyEditEditor" + ], + "structs": [ + "InsertData", + "TrackIndices", + "SelectedKey", + "KeyInfo", + "TrackClipboard", + "Key", + "KeyClipboard", + "Key", + "KeyDataCache" + ], + "defines": [ + "ANIMATION_TRACK_EDITOR_H" + ] + }, + "editor/editor_properties.h": { + "classes": [ + "EditorPropertyNil", + "EditorPropertyText", + "EditorPropertyMultilineText", + "EditorPropertyTextEnum", + "EditorPropertyPath", + "EditorPropertyLocale", + "EditorPropertyClassName", + "EditorPropertyCheck", + "EditorPropertyEnum", + "EditorPropertyFlags", + "EditorPropertyLayersGrid", + "EditorPropertyLayers", + "EditorPropertyInteger", + "EditorPropertyObjectID", + "EditorPropertySignal", + "EditorPropertyCallable", + "EditorPropertyFloat", + "EditorPropertyEasing", + "EditorPropertyRect2", + "EditorPropertyRect2i", + "EditorPropertyPlane", + "EditorPropertyQuaternion", + "EditorPropertyAABB", + "EditorPropertyTransform2D", + "EditorPropertyBasis", + "EditorPropertyTransform3D", + "EditorPropertyProjection", + "EditorPropertyColor", + "EditorPropertyNodePath", + "EditorPropertyRID", + "EditorPropertyResource", + "EditorInspectorDefaultPlugin" + ], + "structs": [], + "defines": [ + "EDITOR_PROPERTIES_H" + ] + }, + "editor/event_listener_line_edit.h": { + "classes": [ + "EventListenerLineEdit" + ], + "structs": [], + "defines": [ + "EVENT_LISTENER_LINE_EDIT_H" + ] + }, + "editor/renames_map_3_to_4.h": { + "classes": [], + "structs": [ + "RenamesMap3To4" + ], + "defines": [ + "RENAMES_MAP_3_TO_4_H" + ] + }, + "editor/register_exporters.h": { + "classes": [], + "structs": [], + "defines": [ + "REGISTER_EXPORTERS_H" + ] + }, + "editor/editor_locale_dialog.h": { + "classes": [ + "EditorLocaleDialog" + ], + "structs": [], + "defines": [ + "EDITOR_LOCALE_DIALOG_H" + ] + }, + "editor/editor_help.h": { + "classes": [ + "FindBar", + "EditorHelp", + "EditorHelpBit", + "EditorHelpTooltip", + "EditorHelpHighlighter" + ], + "structs": [ + "ThemeCache", + "PropertyCompare" + ], + "defines": [ + "EDITOR_HELP_H" + ] + }, + "editor/editor_script.h": { + "classes": [ + "EditorScript" + ], + "structs": [], + "defines": [ + "EDITOR_SCRIPT_H" + ] + }, + "editor/doc_tools.h": { + "classes": [ + "DocTools" + ], + "structs": [], + "defines": [ + "DOC_TOOLS_H" + ] + }, + "editor/editor_plugin.h": { + "classes": [ + "EditorPlugin", + "EditorPlugins" + ], + "structs": [], + "defines": [ + "EDITOR_PLUGIN_H" + ] + }, + "editor/node_dock.h": { + "classes": [ + "NodeDock" + ], + "structs": [], + "defines": [ + "NODE_DOCK_H" + ] + }, + "editor/directory_create_dialog.h": { + "classes": [ + "DirectoryCreateDialog" + ], + "structs": [], + "defines": [ + "DIRECTORY_CREATE_DIALOG_H" + ] + }, + "editor/audio_stream_preview.h": { + "classes": [ + "AudioStreamPreview", + "AudioStreamPreviewGenerator" + ], + "structs": [ + "Preview" + ], + "defines": [ + "AUDIO_STREAM_PREVIEW_H" + ] + }, + "editor/register_editor_types.h": { + "classes": [], + "structs": [], + "defines": [ + "REGISTER_EDITOR_TYPES_H" + ] + }, + "editor/project_settings_editor.h": { + "classes": [ + "ProjectSettingsEditor" + ], + "structs": [], + "defines": [ + "PROJECT_SETTINGS_EDITOR_H" + ] + }, + "editor/editor_run_native.h": { + "classes": [ + "EditorRunNative" + ], + "structs": [], + "defines": [ + "EDITOR_RUN_NATIVE_H" + ] + }, + "editor/editor_asset_installer.h": { + "classes": [ + "EditorAssetInstaller" + ], + "structs": [], + "defines": [ + "EDITOR_ASSET_INSTALLER_H" + ] + }, + "editor/action_map_editor.h": { + "classes": [ + "ActionMapEditor" + ], + "structs": [ + "ActionInfo" + ], + "defines": [ + "ACTION_MAP_EDITOR_H" + ] + }, + "editor/editor_properties_vector.h": { + "classes": [ + "EditorPropertyVectorN", + "EditorPropertyVector2", + "EditorPropertyVector2i", + "EditorPropertyVector3", + "EditorPropertyVector3i", + "EditorPropertyVector4", + "EditorPropertyVector4i" + ], + "structs": [], + "defines": [ + "EDITOR_PROPERTIES_VECTOR_H" + ] + }, + "editor/editor_paths.h": { + "classes": [ + "EditorPaths" + ], + "structs": [], + "defines": [ + "EDITOR_PATHS_H" + ] + }, + "editor/editor_settings_dialog.h": { + "classes": [ + "EditorSettingsDialog" + ], + "structs": [], + "defines": [ + "EDITOR_SETTINGS_DIALOG_H" + ] + }, + "editor/editor_translation.h": { + "classes": [], + "structs": [], + "defines": [ + "EDITOR_TRANSLATION_H" + ] + }, + "editor/editor_audio_buses.h": { + "classes": [ + "EditorAudioBus", + "EditorAudioBusDrop", + "EditorAudioBuses", + "EditorAudioMeterNotches", + "AudioBusesEditorPlugin" + ], + "structs": [ + "AudioNotch", + "ThemeCache" + ], + "defines": [ + "EDITOR_AUDIO_BUSES_H" + ] + }, + "editor/editor_properties_array_dict.h": { + "classes": [ + "EditorPropertyArrayObject", + "EditorPropertyDictionaryObject", + "EditorPropertyArray", + "EditorPropertyDictionary", + "EditorPropertyLocalizableString" + ], + "structs": [ + "Slot" + ], + "defines": [ + "EDITOR_PROPERTIES_ARRAY_DICT_H" + ] + }, + "editor/editor_resource_preview.h": { + "classes": [ + "EditorResourcePreviewGenerator", + "DrawRequester", + "EditorResourcePreview" + ], + "structs": [ + "QueueItem", + "Item" + ], + "defines": [ + "EDITOR_RESOURCE_PREVIEW_H" + ] + }, + "editor/plugin_config_dialog.h": { + "classes": [ + "PluginConfigDialog" + ], + "structs": [], + "defines": [ + "PLUGIN_CONFIG_DIALOG_H" + ] + }, + "editor/editor_quick_open.h": { + "classes": [ + "EditorQuickOpen" + ], + "structs": [ + "Entry", + "EntryComparator" + ], + "defines": [ + "EDITOR_QUICK_OPEN_H" + ] + }, + "editor/script_create_dialog.h": { + "classes": [ + "ScriptCreateDialog" + ], + "structs": [], + "defines": [ + "SCRIPT_CREATE_DIALOG_H" + ] + }, + "editor/editor_autoload_settings.h": { + "classes": [ + "EditorAutoloadSettings" + ], + "structs": [ + "AutoloadInfo" + ], + "defines": [ + "EDITOR_AUTOLOAD_SETTINGS_H" + ] + }, + "editor/pot_generator.h": { + "classes": [ + "POTGenerator" + ], + "structs": [ + "MsgidData" + ], + "defines": [ + "POT_GENERATOR_H", + "DEBUG_POT" + ] + }, + "editor/editor_data.h": { + "classes": [ + "EditorSelectionHistory", + "EditorData", + "EditorSelection" + ], + "structs": [ + "_Object", + "HistoryElement", + "CustomType", + "EditedScene", + "PropertyData" + ], + "defines": [ + "EDITOR_DATA_H" + ] + }, + "editor/import_defaults_editor.h": { + "classes": [ + "ImportDefaultsEditor" + ], + "structs": [], + "defines": [ + "IMPORT_DEFAULTS_EDITOR_H" + ] + }, + "editor/project_converter_3_to_4.h": { + "classes": [ + "ProjectConverter3To4", + "ProjectConverter3To4" + ], + "structs": [ + "SourceLine" + ], + "defines": [ + "PROJECT_CONVERTER_3_TO_4_H" + ] + }, + "editor/editor_inspector.h": { + "classes": [ + "EditorPropertyRevert", + "EditorProperty", + "EditorInspectorPlugin", + "EditorInspectorCategory", + "EditorInspectorSection", + "EditorInspectorArray", + "EditorPaginator", + "EditorInspector" + ], + "structs": [ + "AddedEditor", + "ArrayElement" + ], + "defines": [ + "EDITOR_INSPECTOR_H" + ] + }, + "editor/doc_data_compressed.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "_DOC_DATA_RAW_H" + ] + }, + "editor/group_settings_editor.h": { + "classes": [ + "GroupSettingsEditor" + ], + "structs": [], + "defines": [ + "GROUP_SETTINGS_EDITOR_H" + ] + }, + "editor/animation_bezier_editor.h": { + "classes": [ + "AnimationBezierTrackEdit" + ], + "structs": [ + "PairHasher", + "AnimMoveRestore", + "EditPoint", + "PairCompare" + ], + "defines": [ + "ANIMATION_BEZIER_EDITOR_H" + ] + }, + "editor/inspector_dock.h": { + "classes": [ + "InspectorDock" + ], + "structs": [], + "defines": [ + "INSPECTOR_DOCK_H" + ] + }, + "editor/editor_interface.h": { + "classes": [ + "EditorInterface" + ], + "structs": [], + "defines": [ + "EDITOR_INTERFACE_H" + ] + }, + "editor/shader_create_dialog.h": { + "classes": [ + "ShaderCreateDialog" + ], + "structs": [ + "ShaderTypeData" + ], + "defines": [ + "SHADER_CREATE_DIALOG_H" + ] + }, + "editor/connections_dialog.h": { + "classes": [ + "ConnectDialog", + "ConnectionsDockTree", + "ConnectionsDock" + ], + "structs": [ + "ConnectionData" + ], + "defines": [ + "CONNECTIONS_DIALOG_H" + ] + }, + "editor/editor_resource_picker.h": { + "classes": [ + "EditorResourcePicker", + "EditorScriptPicker", + "EditorShaderPicker", + "EditorAudioStreamPicker" + ], + "structs": [], + "defines": [ + "EDITOR_RESOURCE_PICKER_H" + ] + }, + "editor/localization_editor.h": { + "classes": [ + "LocalizationEditor" + ], + "structs": [], + "defines": [ + "LOCALIZATION_EDITOR_H" + ] + }, + "editor/editor_node.h": { + "classes": [ + "EditorNode", + "EditorPluginList" + ], + "structs": [ + "ExecuteThreadArgs", + "ExportDefer", + "AdditiveNodeEntry", + "ConnectionWithNodePath", + "ModificationNodeEntry", + "EditorProgress", + "EditorProgressBG" + ], + "defines": [ + "EDITOR_NODE_H" + ] + }, + "editor/editor_icons.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "_EDITOR_ICONS_H" + ] + }, + "editor/property_selector.h": { + "classes": [ + "PropertySelector" + ], + "structs": [], + "defines": [ + "PROPERTY_SELECTOR_H" + ] + }, + "editor/filesystem_dock.h": { + "classes": [ + "FileSystemTree", + "FileSystemList", + "FileSystemDock", + "FileOrFolder" + ], + "structs": [ + "FileInfo" + ], + "defines": [ + "FILESYSTEM_DOCK_H" + ] + }, + "editor/editor_plugin_settings.h": { + "classes": [ + "EditorPluginSettings" + ], + "structs": [], + "defines": [ + "EDITOR_PLUGIN_SETTINGS_H" + ] + }, + "editor/reparent_dialog.h": { + "classes": [ + "ReparentDialog" + ], + "structs": [], + "defines": [ + "REPARENT_DIALOG_H" + ] + }, + "editor/project_manager/quick_settings_dialog.h": { + "classes": [ + "QuickSettingsDialog" + ], + "structs": [], + "defines": [ + "QUICK_SETTINGS_DIALOG_H" + ] + }, + "editor/project_manager/project_list.h": { + "classes": [ + "ProjectListItemControl", + "ProjectList" + ], + "structs": [ + "Item" + ], + "defines": [ + "PROJECT_LIST_H" + ] + }, + "editor/project_manager/project_tag.h": { + "classes": [ + "ProjectTag" + ], + "structs": [], + "defines": [ + "PROJECT_TAG_H" + ] + }, + "editor/project_manager/project_dialog.h": { + "classes": [ + "ProjectDialog" + ], + "structs": [], + "defines": [ + "PROJECT_DIALOG_H" + ] + }, + "editor/plugins/gpu_particles_collision_sdf_editor_plugin.h": { + "classes": [ + "GPUParticlesCollisionSDF3DEditorPlugin" + ], + "structs": [], + "defines": [ + "GPU_PARTICLES_COLLISION_SDF_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/texture_layered_editor_plugin.h": { + "classes": [ + "TextureLayeredEditor", + "EditorInspectorPluginLayeredTexture", + "TextureLayeredEditorPlugin" + ], + "structs": [], + "defines": [ + "TEXTURE_LAYERED_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/script_editor_plugin.h": { + "classes": [ + "EditorSyntaxHighlighter", + "EditorStandardSyntaxHighlighter", + "EditorPlainTextSyntaxHighlighter", + "EditorJSONSyntaxHighlighter", + "ScriptEditorQuickOpen", + "ScriptEditorBase", + "ScriptEditor", + "ScriptEditorPlugin" + ], + "structs": [ + "ScriptHistory" + ], + "defines": [ + "SCRIPT_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/asset_library_editor_plugin.h": { + "classes": [ + "EditorAssetLibraryItem", + "EditorAssetLibraryItemDescription", + "EditorAssetLibraryItemDownload", + "EditorAssetLibrary", + "AssetLibraryEditorPlugin" + ], + "structs": [ + "Preview", + "ImageQueue" + ], + "defines": [ + "ASSET_LIBRARY_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/node_3d_editor_plugin.h": { + "classes": [ + "ViewportRotationControl", + "Node3DEditorViewport", + "Node3DEditorSelectedItem", + "Node3DEditorViewportContainer", + "Node3DEditor", + "Node3DEditorPlugin", + "ViewportNavigationControl" + ], + "structs": [ + "Axis2D", + "Axis2DCompare", + "_RayResult", + "EditData", + "Cursor", + "Gizmo" + ], + "defines": [ + "NODE_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/occluder_instance_3d_editor_plugin.h": { + "classes": [ + "OccluderInstance3DEditorPlugin" + ], + "structs": [], + "defines": [ + "OCCLUDER_INSTANCE_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/polygon_3d_editor_plugin.h": { + "classes": [ + "Polygon3DEditor", + "Polygon3DEditorPlugin" + ], + "structs": [], + "defines": [ + "POLYGON_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/navigation_obstacle_2d_editor_plugin.h": { + "classes": [ + "NavigationObstacle2DEditor", + "NavigationObstacle2DEditorPlugin" + ], + "structs": [], + "defines": [ + "NAVIGATION_OBSTACLE_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/packed_scene_translation_parser_plugin.h": { + "classes": [ + "PackedSceneEditorTranslationParserPlugin" + ], + "structs": [], + "defines": [ + "PACKED_SCENE_TRANSLATION_PARSER_PLUGIN_H" + ] + }, + "editor/plugins/theme_editor_plugin.h": { + "classes": [ + "ThemeItemImportTree", + "ThemeItemEditorDialog", + "ThemeTypeDialog", + "ThemeItemLabel", + "ThemeTypeEditor", + "ThemeEditor", + "ThemeEditorPlugin" + ], + "structs": [ + "ThemeItem", + "LeadingStylebox" + ], + "defines": [ + "THEME_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/text_shader_editor.h": { + "classes": [ + "GDShaderSyntaxHighlighter", + "ShaderTextEditor", + "TextShaderEditor" + ], + "structs": [ + "WarningsComparator" + ], + "defines": [ + "TEXT_SHADER_EDITOR_H" + ] + }, + "editor/plugins/animation_tree_editor_plugin.h": { + "classes": [ + "AnimationTreeNodeEditorPlugin", + "AnimationTreeEditor", + "AnimationTreeEditorPlugin" + ], + "structs": [], + "defines": [ + "ANIMATION_TREE_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/visual_shader_editor_plugin.h": { + "classes": [ + "VisualShaderNodePlugin", + "VisualShaderGraphPlugin", + "VisualShaderEditedProperty", + "VisualShaderEditor", + "VaryingMenuOptions", + "VisualShaderNodePluginDefault", + "EditorPropertyVisualShaderMode", + "EditorInspectorVisualShaderModePlugin", + "VisualShaderNodePortPreview", + "VisualShaderConversionPlugin" + ], + "structs": [ + "InputPort", + "Port", + "Link", + "AddOption", + "_OptionComparator", + "DragOp", + "CopyItem" + ], + "defines": [ + "VISUAL_SHADER_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/sub_viewport_preview_editor_plugin.h": { + "classes": [ + "EditorInspectorPluginSubViewportPreview", + "SubViewportPreviewEditorPlugin" + ], + "structs": [], + "defines": [ + "SUB_VIEWPORT_PREVIEW_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/texture_3d_editor_plugin.h": { + "classes": [ + "Texture3DEditor", + "EditorInspectorPlugin3DTexture", + "Texture3DEditorPlugin" + ], + "structs": [], + "defines": [ + "TEXTURE_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/gpu_particles_2d_editor_plugin.h": { + "classes": [ + "GPUParticles2DEditorPlugin" + ], + "structs": [], + "defines": [ + "GPU_PARTICLES_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/mesh_editor_plugin.h": { + "classes": [ + "MeshEditor", + "EditorInspectorPluginMesh", + "MeshEditorPlugin" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "MESH_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/collision_polygon_2d_editor_plugin.h": { + "classes": [ + "CollisionPolygon2DEditor", + "CollisionPolygon2DEditorPlugin" + ], + "structs": [], + "defines": [ + "COLLISION_POLYGON_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/lightmap_gi_editor_plugin.h": { + "classes": [ + "LightmapGIEditorPlugin" + ], + "structs": [], + "defines": [ + "LIGHTMAP_GI_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/collision_shape_2d_editor_plugin.h": { + "classes": [ + "CollisionShape2DEditor", + "CollisionShape2DEditorPlugin" + ], + "structs": [], + "defines": [ + "COLLISION_SHAPE_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/shader_editor_plugin.h": { + "classes": [ + "ShaderEditorPlugin" + ], + "structs": [ + "EditedShader" + ], + "defines": [ + "SHADER_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/resource_preloader_editor_plugin.h": { + "classes": [ + "ResourcePreloaderEditor", + "ResourcePreloaderEditorPlugin" + ], + "structs": [], + "defines": [ + "RESOURCE_PRELOADER_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/mesh_library_editor_plugin.h": { + "classes": [ + "MeshLibraryEditor", + "MeshLibraryEditorPlugin" + ], + "structs": [], + "defines": [ + "MESH_LIBRARY_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/animation_blend_space_2d_editor.h": { + "classes": [ + "AnimationNodeBlendSpace2DEditor" + ], + "structs": [], + "defines": [ + "ANIMATION_BLEND_SPACE_2D_EDITOR_H" + ] + }, + "editor/plugins/navigation_obstacle_3d_editor_plugin.h": { + "classes": [ + "NavigationObstacle3DEditor", + "NavigationObstacle3DEditorPlugin" + ], + "structs": [], + "defines": [ + "NAVIGATION_OBSTACLE_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/polygon_2d_editor_plugin.h": { + "classes": [ + "Polygon2DEditor", + "Polygon2DEditorPlugin" + ], + "structs": [], + "defines": [ + "POLYGON_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/debugger_editor_plugin.h": { + "classes": [ + "DebuggerEditorPlugin" + ], + "structs": [], + "defines": [ + "DEBUGGER_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/editor_resource_tooltip_plugins.h": { + "classes": [ + "EditorResourceTooltipPlugin", + "EditorTextureTooltipPlugin" + ], + "structs": [], + "defines": [ + "EDITOR_RESOURCE_TOOLTIP_PLUGINS_H" + ] + }, + "editor/plugins/curve_editor_plugin.h": { + "classes": [ + "CurveEdit", + "CurveEditor", + "EditorInspectorPluginCurve", + "CurveEditorPlugin", + "CurvePreviewGenerator" + ], + "structs": [], + "defines": [ + "CURVE_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/animation_player_editor_plugin.h": { + "classes": [ + "AnimationPlayerEditor", + "AnimationPlayerEditorPlugin", + "EditorInspectorPluginAnimationTrackKeyEdit", + "AnimationTrackKeyEditEditorPlugin" + ], + "structs": [ + "BlendEditor" + ], + "defines": [ + "ANIMATION_PLAYER_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/texture_editor_plugin.h": { + "classes": [ + "TexturePreview", + "EditorInspectorPluginTexture", + "TextureEditorPlugin" + ], + "structs": [], + "defines": [ + "TEXTURE_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/camera_3d_editor_plugin.h": { + "classes": [ + "Camera3DEditor", + "Camera3DEditorPlugin" + ], + "structs": [], + "defines": [ + "CAMERA_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/version_control_editor_plugin.h": { + "classes": [ + "VersionControlEditorPlugin" + ], + "structs": [], + "defines": [ + "VERSION_CONTROL_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/physical_bone_3d_editor_plugin.h": { + "classes": [ + "PhysicalBone3DEditor", + "PhysicalBone3DEditorPlugin" + ], + "structs": [], + "defines": [ + "PHYSICAL_BONE_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/bit_map_editor_plugin.h": { + "classes": [ + "BitMapEditor", + "EditorInspectorPluginBitMap", + "BitMapEditorPlugin" + ], + "structs": [], + "defines": [ + "BIT_MAP_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/skeleton_ik_3d_editor_plugin.h": { + "classes": [ + "SkeletonIK3DEditorPlugin" + ], + "structs": [], + "defines": [ + "SKELETON_IK_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/gpu_particles_3d_editor_plugin.h": { + "classes": [ + "GPUParticles3DEditorBase", + "GPUParticles3DEditor", + "GPUParticles3DEditorPlugin" + ], + "structs": [], + "defines": [ + "GPU_PARTICLES_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/material_editor_plugin.h": { + "classes": [ + "MaterialEditor", + "EditorInspectorPluginMaterial", + "MaterialEditorPlugin", + "StandardMaterial3DConversionPlugin", + "ORMMaterial3DConversionPlugin", + "ParticleProcessMaterialConversionPlugin", + "CanvasItemMaterialConversionPlugin", + "ProceduralSkyMaterialConversionPlugin", + "PanoramaSkyMaterialConversionPlugin", + "PhysicalSkyMaterialConversionPlugin", + "FogMaterialConversionPlugin" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "MATERIAL_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/dedicated_server_export_plugin.h": { + "classes": [ + "DedicatedServerExportPlugin" + ], + "structs": [], + "defines": [ + "DEDICATED_SERVER_EXPORT_PLUGIN_H" + ] + }, + "editor/plugins/sprite_2d_editor_plugin.h": { + "classes": [ + "Sprite2DEditor", + "Sprite2DEditorPlugin" + ], + "structs": [], + "defines": [ + "SPRITE_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/shader_file_editor_plugin.h": { + "classes": [ + "ShaderFileEditor", + "ShaderFileEditorPlugin" + ], + "structs": [], + "defines": [ + "SHADER_FILE_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/animation_blend_space_1d_editor.h": { + "classes": [ + "AnimationNodeBlendSpace1DEditor" + ], + "structs": [], + "defines": [ + "ANIMATION_BLEND_SPACE_1D_EDITOR_H" + ] + }, + "editor/plugins/skeleton_3d_editor_plugin.h": { + "classes": [ + "BoneTransformEditor", + "Skeleton3DEditor", + "EditorInspectorPluginSkeleton", + "Skeleton3DEditorPlugin", + "Skeleton3DGizmoPlugin" + ], + "structs": [ + "BoneInfo" + ], + "defines": [ + "SKELETON_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/multimesh_editor_plugin.h": { + "classes": [ + "MultiMeshEditor", + "MultiMeshEditorPlugin" + ], + "structs": [], + "defines": [ + "MULTIMESH_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/sprite_frames_editor_plugin.h": { + "classes": [ + "ClipboardSpriteFrames", + "SpriteFramesEditor", + "SpriteFramesEditorPlugin" + ], + "structs": [ + "Frame" + ], + "defines": [ + "SPRITE_FRAMES_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/cast_2d_editor_plugin.h": { + "classes": [ + "Cast2DEditor", + "Cast2DEditorPlugin" + ], + "structs": [], + "defines": [ + "CAST_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/navigation_polygon_editor_plugin.h": { + "classes": [ + "NavigationPolygonEditor", + "NavigationPolygonEditorPlugin" + ], + "structs": [], + "defines": [ + "NAVIGATION_POLYGON_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/animation_library_editor.h": { + "classes": [ + "AnimationLibraryEditor" + ], + "structs": [], + "defines": [ + "ANIMATION_LIBRARY_EDITOR_H" + ] + }, + "editor/plugins/gradient_texture_2d_editor_plugin.h": { + "classes": [ + "GradientTexture2DEdit", + "GradientTexture2DEditor", + "EditorInspectorPluginGradientTexture2D", + "GradientTexture2DEditorPlugin" + ], + "structs": [], + "defines": [ + "GRADIENT_TEXTURE_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/abstract_polygon_2d_editor.h": { + "classes": [ + "AbstractPolygon2DEditor", + "AbstractPolygon2DEditorPlugin" + ], + "structs": [ + "Vertex", + "PosVertex" + ], + "defines": [ + "ABSTRACT_POLYGON_2D_EDITOR_H" + ] + }, + "editor/plugins/canvas_item_editor_plugin.h": { + "classes": [ + "CanvasItemEditorSelectedItem", + "CanvasItemEditor", + "CanvasItemEditorPlugin", + "CanvasItemEditorViewport" + ], + "structs": [ + "_SelectResult", + "_HoverResult", + "BoneList", + "BoneKey", + "PoseClipboard" + ], + "defines": [ + "CANVAS_ITEM_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/input_event_editor_plugin.h": { + "classes": [ + "InputEventConfigContainer", + "EditorInspectorPluginInputEvent", + "InputEventEditorPlugin" + ], + "structs": [], + "defines": [ + "INPUT_EVENT_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/audio_stream_editor_plugin.h": { + "classes": [ + "AudioStreamEditor", + "EditorInspectorPluginAudioStream", + "AudioStreamEditorPlugin" + ], + "structs": [], + "defines": [ + "AUDIO_STREAM_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/editor_debugger_plugin.h": { + "classes": [ + "EditorDebuggerSession", + "EditorDebuggerPlugin" + ], + "structs": [], + "defines": [ + "EDITOR_DEBUGGER_PLUGIN_H" + ] + }, + "editor/plugins/navigation_link_2d_editor_plugin.h": { + "classes": [ + "NavigationLink2DEditor", + "NavigationLink2DEditorPlugin" + ], + "structs": [], + "defines": [ + "NAVIGATION_LINK_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/animation_blend_tree_editor_plugin.h": { + "classes": [ + "AnimationNodeBlendTreeEditor" + ], + "structs": [ + "AddOption" + ], + "defines": [ + "ANIMATION_BLEND_TREE_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/style_box_editor_plugin.h": { + "classes": [ + "StyleBoxPreview", + "EditorInspectorPluginStyleBox", + "StyleBoxEditorPlugin" + ], + "structs": [], + "defines": [ + "STYLE_BOX_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/control_editor_plugin.h": { + "classes": [ + "ControlPositioningWarning", + "EditorPropertyAnchorsPreset", + "EditorPropertySizeFlags", + "EditorInspectorPluginControl", + "ControlEditorPopupButton", + "ControlEditorPresetPicker", + "AnchorPresetPicker", + "SizeFlagPresetPicker", + "ControlEditorToolbar", + "ControlEditorPlugin" + ], + "structs": [], + "defines": [ + "CONTROL_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/path_3d_editor_plugin.h": { + "classes": [ + "Path3DGizmo", + "Path3DGizmoPlugin", + "Path3DEditorPlugin" + ], + "structs": [ + "HandleInfo" + ], + "defines": [ + "PATH_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/cpu_particles_2d_editor_plugin.h": { + "classes": [ + "CPUParticles2DEditorPlugin" + ], + "structs": [], + "defines": [ + "CPU_PARTICLES_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/root_motion_editor_plugin.h": { + "classes": [ + "EditorPropertyRootMotion", + "EditorInspectorRootMotionPlugin" + ], + "structs": [], + "defines": [ + "ROOT_MOTION_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/text_editor.h": { + "classes": [ + "TextEditor" + ], + "structs": [], + "defines": [ + "TEXT_EDITOR_H" + ] + }, + "editor/plugins/particle_process_material_editor_plugin.h": { + "classes": [ + "ParticleProcessMaterialMinMaxPropertyEditor", + "Hover", + "Drag", + "Mode", + "EditorInspectorParticleProcessMaterialPlugin" + ], + "structs": [], + "defines": [ + "PARTICLE_PROCESS_MATERIAL_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/animation_state_machine_editor.h": { + "classes": [ + "AnimationNodeStateMachineEditor", + "EditorAnimationMultiTransitionEdit" + ], + "structs": [ + "ThemeCache", + "NodeRect", + "TransitionLine", + "NodeUR", + "TransitionUR", + "Transition" + ], + "defines": [ + "ANIMATION_STATE_MACHINE_EDITOR_H" + ] + }, + "editor/plugins/script_text_editor.h": { + "classes": [ + "ConnectionInfoDialog", + "ScriptTextEditor" + ], + "structs": [], + "defines": [ + "SCRIPT_TEXT_EDITOR_H" + ] + }, + "editor/plugins/light_occluder_2d_editor_plugin.h": { + "classes": [ + "LightOccluder2DEditor", + "LightOccluder2DEditorPlugin" + ], + "structs": [], + "defines": [ + "LIGHT_OCCLUDER_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/gdextension_export_plugin.h": { + "classes": [ + "GDExtensionExportPlugin" + ], + "structs": [], + "defines": [ + "GDEXTENSION_EXPORT_PLUGIN_H" + ] + }, + "editor/plugins/audio_stream_randomizer_editor_plugin.h": { + "classes": [ + "AudioStreamRandomizerEditorPlugin" + ], + "structs": [], + "defines": [ + "AUDIO_STREAM_RANDOMIZER_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/packed_scene_editor_plugin.h": { + "classes": [ + "PackedSceneEditor", + "EditorInspectorPluginPackedScene", + "PackedSceneEditorPlugin" + ], + "structs": [], + "defines": [ + "PACKED_SCENE_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/texture_region_editor_plugin.h": { + "classes": [ + "TextureRegionEditor", + "EditorInspectorPluginTextureRegion", + "TextureRegionEditorPlugin" + ], + "structs": [], + "defines": [ + "TEXTURE_REGION_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/skeleton_2d_editor_plugin.h": { + "classes": [ + "Skeleton2DEditor", + "Skeleton2DEditorPlugin" + ], + "structs": [], + "defines": [ + "SKELETON_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/line_2d_editor_plugin.h": { + "classes": [ + "Line2DEditor", + "Line2DEditorPlugin" + ], + "structs": [], + "defines": [ + "LINE_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/bone_map_editor_plugin.h": { + "classes": [ + "BoneMapperButton", + "BoneMapperItem", + "BonePicker", + "BoneMapper", + "BoneMapEditor", + "EditorInspectorPluginBoneMap", + "BoneMapEditorPlugin" + ], + "structs": [], + "defines": [ + "BONE_MAP_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/gradient_editor_plugin.h": { + "classes": [ + "GradientEdit", + "GradientEditor", + "EditorInspectorPluginGradient", + "GradientEditorPlugin" + ], + "structs": [], + "defines": [ + "GRADIENT_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/voxel_gi_editor_plugin.h": { + "classes": [ + "VoxelGIEditorPlugin" + ], + "structs": [], + "defines": [ + "VOXEL_GI_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/node_3d_editor_gizmos.h": { + "classes": [ + "EditorNode3DGizmo", + "EditorNode3DGizmoPlugin" + ], + "structs": [ + "Instance" + ], + "defines": [ + "NODE_3D_EDITOR_GIZMOS_H" + ] + }, + "editor/plugins/font_config_plugin.h": { + "classes": [ + "EditorPropertyFontMetaObject", + "EditorPropertyFontOTObject", + "EditorPropertyFontMetaOverride", + "EditorPropertyOTVariation", + "EditorPropertyOTFeatures", + "EditorInspectorPluginFontVariation", + "FontPreview", + "EditorInspectorPluginFontPreview", + "EditorPropertyFontNamesArray", + "EditorInspectorPluginSystemFont", + "FontEditorPlugin" + ], + "structs": [], + "defines": [ + "FONT_CONFIG_PLUGIN_H" + ] + }, + "editor/plugins/cpu_particles_3d_editor_plugin.h": { + "classes": [ + "CPUParticles3DEditor", + "CPUParticles3DEditorPlugin" + ], + "structs": [], + "defines": [ + "CPU_PARTICLES_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/theme_editor_preview.h": { + "classes": [ + "ThemeEditorPreview", + "DefaultThemeEditorPreview", + "SceneThemeEditorPreview" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "THEME_EDITOR_PREVIEW_H" + ] + }, + "editor/plugins/path_2d_editor_plugin.h": { + "classes": [ + "Path2DEditor", + "Path2DEditorPlugin" + ], + "structs": [], + "defines": [ + "PATH_2D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/mesh_instance_3d_editor_plugin.h": { + "classes": [ + "MeshInstance3DEditor", + "MeshInstance3DEditorPlugin" + ], + "structs": [], + "defines": [ + "MESH_INSTANCE_3D_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/parallax_background_editor_plugin.h": { + "classes": [ + "ParallaxBackgroundEditorPlugin" + ], + "structs": [], + "defines": [ + "PARALLAX_BACKGROUND_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/editor_resource_conversion_plugin.h": { + "classes": [ + "EditorResourceConversionPlugin" + ], + "structs": [], + "defines": [ + "EDITOR_RESOURCE_CONVERSION_PLUGIN_H" + ] + }, + "editor/plugins/editor_preview_plugins.h": { + "classes": [ + "EditorTexturePreviewPlugin", + "EditorImagePreviewPlugin", + "EditorBitmapPreviewPlugin", + "EditorPackedScenePreviewPlugin", + "EditorMaterialPreviewPlugin", + "EditorScriptPreviewPlugin", + "EditorAudioStreamPreviewPlugin", + "EditorMeshPreviewPlugin", + "EditorFontPreviewPlugin", + "EditorGradientPreviewPlugin" + ], + "structs": [], + "defines": [ + "EDITOR_PREVIEW_PLUGINS_H" + ] + }, + "editor/plugins/gizmos/gizmo_3d_helper.h": { + "classes": [ + "Gizmo3DHelper" + ], + "structs": [], + "defines": [ + "GIZMO_3D_HELPER_H" + ] + }, + "editor/plugins/gizmos/audio_stream_player_3d_gizmo_plugin.h": { + "classes": [ + "AudioStreamPlayer3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "AUDIO_STREAM_PLAYER_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/physics_bone_3d_gizmo_plugin.h": { + "classes": [ + "PhysicalBone3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "PHYSICS_BONE_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/reflection_probe_gizmo_plugin.h": { + "classes": [ + "ReflectionProbeGizmoPlugin" + ], + "structs": [], + "defines": [ + "REFLECTION_PROBE_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/lightmap_gi_gizmo_plugin.h": { + "classes": [ + "LightmapGIGizmoPlugin" + ], + "structs": [], + "defines": [ + "LIGHTMAP_GI_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/gpu_particles_collision_3d_gizmo_plugin.h": { + "classes": [ + "GPUParticlesCollision3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "GPU_PARTICLES_COLLISION_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/occluder_instance_3d_gizmo_plugin.h": { + "classes": [ + "OccluderInstance3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "OCCLUDER_INSTANCE_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/spring_arm_3d_gizmo_plugin.h": { + "classes": [ + "SpringArm3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "SPRING_ARM_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/collision_polygon_3d_gizmo_plugin.h": { + "classes": [ + "CollisionPolygon3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "COLLISION_POLYGON_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/decal_gizmo_plugin.h": { + "classes": [ + "DecalGizmoPlugin" + ], + "structs": [], + "defines": [ + "DECAL_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/light_3d_gizmo_plugin.h": { + "classes": [ + "Light3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "LIGHT_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/sprite_base_3d_gizmo_plugin.h": { + "classes": [ + "SpriteBase3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "SPRITE_BASE_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/collision_shape_3d_gizmo_plugin.h": { + "classes": [ + "CollisionShape3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "COLLISION_SHAPE_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/marker_3d_gizmo_plugin.h": { + "classes": [ + "Marker3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "MARKER_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/voxel_gi_gizmo_plugin.h": { + "classes": [ + "VoxelGIGizmoPlugin" + ], + "structs": [], + "defines": [ + "VOXEL_GI_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/collision_object_3d_gizmo_plugin.h": { + "classes": [ + "CollisionObject3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "COLLISION_OBJECT_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/navigation_link_3d_gizmo_plugin.h": { + "classes": [ + "NavigationLink3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "NAVIGATION_LINK_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/visible_on_screen_notifier_3d_gizmo_plugin.h": { + "classes": [ + "VisibleOnScreenNotifier3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "VISIBLE_ON_SCREEN_NOTIFIER_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/shape_cast_3d_gizmo_plugin.h": { + "classes": [ + "ShapeCast3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "SHAPE_CAST_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/gpu_particles_3d_gizmo_plugin.h": { + "classes": [ + "GPUParticles3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "GPU_PARTICLES_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/mesh_instance_3d_gizmo_plugin.h": { + "classes": [ + "MeshInstance3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "MESH_INSTANCE_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/soft_body_3d_gizmo_plugin.h": { + "classes": [ + "SoftBody3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "SOFT_BODY_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/navigation_region_3d_gizmo_plugin.h": { + "classes": [ + "NavigationRegion3DGizmoPlugin" + ], + "structs": [ + "_EdgeKey" + ], + "defines": [ + "NAVIGATION_REGION_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/ray_cast_3d_gizmo_plugin.h": { + "classes": [ + "RayCast3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "RAY_CAST_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/camera_3d_gizmo_plugin.h": { + "classes": [ + "Camera3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "CAMERA_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/vehicle_body_3d_gizmo_plugin.h": { + "classes": [ + "VehicleWheel3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "VEHICLE_BODY_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/cpu_particles_3d_gizmo_plugin.h": { + "classes": [ + "CPUParticles3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "CPU_PARTICLES_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/joint_3d_gizmo_plugin.h": { + "classes": [ + "Joint3DGizmoPlugin", + "JointGizmosDrawer" + ], + "structs": [], + "defines": [ + "JOINT_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/audio_listener_3d_gizmo_plugin.h": { + "classes": [ + "AudioListener3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "AUDIO_LISTENER_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/label_3d_gizmo_plugin.h": { + "classes": [ + "Label3DGizmoPlugin" + ], + "structs": [], + "defines": [ + "LABEL_3D_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/fog_volume_gizmo_plugin.h": { + "classes": [ + "FogVolumeGizmoPlugin" + ], + "structs": [], + "defines": [ + "FOG_VOLUME_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/gizmos/lightmap_probe_gizmo_plugin.h": { + "classes": [ + "LightmapProbeGizmoPlugin" + ], + "structs": [], + "defines": [ + "LIGHTMAP_PROBE_GIZMO_PLUGIN_H" + ] + }, + "editor/plugins/tiles/tile_proxies_manager_dialog.h": { + "classes": [ + "TileProxiesManagerDialog" + ], + "structs": [], + "defines": [ + "TILE_PROXIES_MANAGER_DIALOG_H" + ] + }, + "editor/plugins/tiles/tile_set_scenes_collection_source_editor.h": { + "classes": [ + "TileSetScenesCollectionSourceEditor", + "TileSetScenesCollectionProxyObject", + "SceneTileProxyObject" + ], + "structs": [], + "defines": [ + "TILE_SET_SCENES_COLLECTION_SOURCE_EDITOR_H" + ] + }, + "editor/plugins/tiles/tiles_editor_plugin.h": { + "classes": [ + "TilesEditorUtils", + "TileMapEditorPlugin", + "TileSetEditorPlugin" + ], + "structs": [ + "SourceNameComparator", + "QueueItem" + ], + "defines": [ + "TILES_EDITOR_PLUGIN_H" + ] + }, + "editor/plugins/tiles/tile_set_editor.h": { + "classes": [ + "TileSetEditor", + "TileSourceInspectorPlugin" + ], + "structs": [], + "defines": [ + "TILE_SET_EDITOR_H" + ] + }, + "editor/plugins/tiles/tile_map_layer_editor.h": { + "classes": [ + "TileMapLayerSubEditorPlugin", + "TileMapLayerEditorTilesPlugin", + "TileMapLayerEditorTerrainsPlugin", + "TileMapLayerEditor" + ], + "structs": [ + "TabData" + ], + "defines": [ + "TILE_MAP_LAYER_EDITOR_H" + ] + }, + "editor/plugins/tiles/tile_atlas_view.h": { + "classes": [ + "TileAtlasView" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "TILE_ATLAS_VIEW_H" + ] + }, + "editor/plugins/tiles/tile_data_editors.h": { + "classes": [ + "TileDataEditor", + "DummyObject", + "GenericTilePolygonEditor", + "TileDataDefaultEditor", + "TileDataTextureOriginEditor", + "TileDataPositionEditor", + "TileDataYSortEditor", + "TileDataOcclusionShapeEditor", + "TileDataCollisionEditor", + "TileDataTerrainsEditor", + "TileDataNavigationEditor" + ], + "structs": [], + "defines": [ + "TILE_DATA_EDITORS_H" + ] + }, + "editor/plugins/tiles/atlas_merging_dialog.h": { + "classes": [ + "AtlasMergingDialog" + ], + "structs": [], + "defines": [ + "ATLAS_MERGING_DIALOG_H" + ] + }, + "editor/plugins/tiles/tile_set_atlas_source_editor.h": { + "classes": [ + "TileSetAtlasSourceEditor", + "TileSetAtlasSourceProxyObject", + "AtlasTileProxyObject", + "TileAtlasControl", + "EditorPropertyTilePolygon", + "EditorInspectorPluginTileData" + ], + "structs": [ + "TileSelection" + ], + "defines": [ + "TILE_SET_ATLAS_SOURCE_EDITOR_H" + ] + }, + "editor/gui/editor_zoom_widget.h": { + "classes": [ + "EditorZoomWidget" + ], + "structs": [], + "defines": [ + "EDITOR_ZOOM_WIDGET_H" + ] + }, + "editor/gui/editor_validation_panel.h": { + "classes": [ + "EditorValidationPanel" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "EDITOR_VALIDATION_PANEL_H" + ] + }, + "editor/gui/editor_scene_tabs.h": { + "classes": [ + "EditorSceneTabs" + ], + "structs": [], + "defines": [ + "EDITOR_SCENE_TABS_H" + ] + }, + "editor/gui/editor_bottom_panel.h": { + "classes": [ + "EditorBottomPanel" + ], + "structs": [ + "BottomPanelItem" + ], + "defines": [ + "EDITOR_BOTTOM_PANEL_H" + ] + }, + "editor/gui/editor_toaster.h": { + "classes": [ + "EditorToaster" + ], + "structs": [ + "Toast" + ], + "defines": [ + "EDITOR_TOASTER_H" + ] + }, + "editor/gui/editor_object_selector.h": { + "classes": [ + "EditorObjectSelector" + ], + "structs": [], + "defines": [ + "EDITOR_OBJECT_SELECTOR_H" + ] + }, + "editor/gui/editor_spin_slider.h": { + "classes": [ + "EditorSpinSlider" + ], + "structs": [], + "defines": [ + "EDITOR_SPIN_SLIDER_H" + ] + }, + "editor/gui/editor_dir_dialog.h": { + "classes": [ + "EditorDirDialog" + ], + "structs": [], + "defines": [ + "EDITOR_DIR_DIALOG_H" + ] + }, + "editor/gui/editor_title_bar.h": { + "classes": [ + "EditorTitleBar" + ], + "structs": [], + "defines": [ + "EDITOR_TITLE_BAR_H" + ] + }, + "editor/gui/editor_file_dialog.h": { + "classes": [ + "EditorFileDialog" + ], + "structs": [ + "ThemeCache" + ], + "defines": [ + "EDITOR_FILE_DIALOG_H" + ] + }, + "editor/gui/scene_tree_editor.h": { + "classes": [ + "SceneTreeEditor", + "SceneTreeDialog" + ], + "structs": [], + "defines": [ + "SCENE_TREE_EDITOR_H" + ] + }, + "editor/gui/editor_run_bar.h": { + "classes": [ + "EditorRunBar" + ], + "structs": [], + "defines": [ + "EDITOR_RUN_BAR_H" + ] + }, + "editor/debugger/editor_performance_profiler.h": { + "classes": [ + "EditorPerformanceProfiler", + "Monitor" + ], + "structs": [], + "defines": [ + "EDITOR_PERFORMANCE_PROFILER_H" + ] + }, + "editor/debugger/editor_file_server.h": { + "classes": [ + "EditorFileServer" + ], + "structs": [], + "defines": [ + "EDITOR_FILE_SERVER_H" + ] + }, + "editor/debugger/editor_debugger_server.h": { + "classes": [ + "EditorDebuggerServer" + ], + "structs": [], + "defines": [ + "EDITOR_DEBUGGER_SERVER_H" + ] + }, + "editor/debugger/script_editor_debugger.h": { + "classes": [ + "ScriptEditorDebugger" + ], + "structs": [ + "ThreadDebugged", + "ThreadSort" + ], + "defines": [ + "SCRIPT_EDITOR_DEBUGGER_H" + ] + }, + "editor/debugger/editor_visual_profiler.h": { + "classes": [ + "EditorVisualProfiler" + ], + "structs": [ + "Metric", + "Area" + ], + "defines": [ + "EDITOR_VISUAL_PROFILER_H" + ] + }, + "editor/debugger/editor_debugger_inspector.h": { + "classes": [ + "EditorDebuggerRemoteObject", + "EditorDebuggerInspector" + ], + "structs": [], + "defines": [ + "EDITOR_DEBUGGER_INSPECTOR_H" + ] + }, + "editor/debugger/editor_debugger_tree.h": { + "classes": [ + "EditorDebuggerTree" + ], + "structs": [], + "defines": [ + "EDITOR_DEBUGGER_TREE_H" + ] + }, + "editor/debugger/editor_debugger_node.h": { + "classes": [ + "EditorDebuggerNode", + "Breakpoint" + ], + "structs": [], + "defines": [ + "EDITOR_DEBUGGER_NODE_H" + ] + }, + "editor/debugger/editor_profiler.h": { + "classes": [ + "EditorProfiler" + ], + "structs": [ + "Metric", + "Category", + "Item" + ], + "defines": [ + "EDITOR_PROFILER_H" + ] + }, + "editor/debugger/debug_adapter/debug_adapter_server.h": { + "classes": [ + "DebugAdapterServer" + ], + "structs": [], + "defines": [ + "DEBUG_ADAPTER_SERVER_H" + ] + }, + "editor/debugger/debug_adapter/debug_adapter_protocol.h": { + "classes": [ + "DebugAdapterProtocol" + ], + "structs": [ + "DAPeer" + ], + "defines": [ + "DEBUG_ADAPTER_PROTOCOL_H", + "DAP_MAX_BUFFER_SIZE", + "DAP_MAX_CLIENTS" + ] + }, + "editor/debugger/debug_adapter/debug_adapter_parser.h": { + "classes": [ + "DebugAdapterParser" + ], + "structs": [], + "defines": [ + "DEBUG_ADAPTER_PARSER_H" + ] + }, + "editor/debugger/debug_adapter/debug_adapter_types.h": { + "classes": [], + "structs": [ + "Checksum", + "Source", + "Breakpoint", + "BreakpointLocation", + "Capabilities", + "Message", + "Scope", + "SourceBreakpoint", + "StackFrame", + "Thread", + "Variable" + ], + "defines": [ + "DEBUG_ADAPTER_TYPES_H" + ] + }, + "editor/export/editor_export_shared_object.h": { + "classes": [], + "structs": [ + "SharedObject" + ], + "defines": [ + "EDITOR_EXPORT_SHARED_OBJECT_H" + ] + }, + "editor/export/editor_export_plugin.h": { + "classes": [ + "EditorExportPlugin" + ], + "structs": [ + "ExtraFile" + ], + "defines": [ + "EDITOR_EXPORT_PLUGIN_H" + ] + }, + "editor/export/export_template_manager.h": { + "classes": [ + "ExportTemplateManager" + ], + "structs": [], + "defines": [ + "EXPORT_TEMPLATE_MANAGER_H" + ] + }, + "editor/export/editor_export.h": { + "classes": [ + "EditorExport" + ], + "structs": [], + "defines": [ + "EDITOR_EXPORT_H" + ] + }, + "editor/export/editor_export_platform_pc.h": { + "classes": [ + "EditorExportPlatformPC" + ], + "structs": [], + "defines": [ + "EDITOR_EXPORT_PLATFORM_PC_H" + ] + }, + "editor/export/editor_export_platform.h": { + "classes": [ + "EditorExportPlatform" + ], + "structs": [ + "ExportMessage", + "SavedData", + "PackData", + "ZipData", + "FileExportCache", + "ExportNotifier", + "ExportOption" + ], + "defines": [ + "EDITOR_EXPORT_PLATFORM_H" + ] + }, + "editor/export/editor_export_preset.h": { + "classes": [ + "EditorExportPreset" + ], + "structs": [], + "defines": [ + "EDITOR_EXPORT_PRESET_H" + ] + }, + "editor/export/project_export.h": { + "classes": [ + "ProjectExportTextureFormatError", + "ProjectExportDialog" + ], + "structs": [], + "defines": [ + "PROJECT_EXPORT_H" + ] + }, + "editor/import/resource_importer_dynamic_font.h": { + "classes": [ + "ResourceImporterDynamicFont" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_DYNAMIC_FONT_H" + ] + }, + "editor/import/resource_importer_csv_translation.h": { + "classes": [ + "ResourceImporterCSVTranslation" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_CSV_TRANSLATION_H" + ] + }, + "editor/import/resource_importer_wav.h": { + "classes": [ + "ResourceImporterWAV" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_WAV_H" + ] + }, + "editor/import/resource_importer_image.h": { + "classes": [ + "ResourceImporterImage" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_IMAGE_H" + ] + }, + "editor/import/resource_importer_texture.h": { + "classes": [ + "ResourceImporterTexture" + ], + "structs": [ + "MakeInfo" + ], + "defines": [ + "RESOURCE_IMPORTER_TEXTURE_H" + ] + }, + "editor/import/resource_importer_texture_atlas.h": { + "classes": [ + "ResourceImporterTextureAtlas" + ], + "structs": [ + "PackData" + ], + "defines": [ + "RESOURCE_IMPORTER_TEXTURE_ATLAS_H" + ] + }, + "editor/import/editor_import_plugin.h": { + "classes": [ + "EditorImportPlugin" + ], + "structs": [], + "defines": [ + "EDITOR_IMPORT_PLUGIN_H" + ] + }, + "editor/import/resource_importer_bmfont.h": { + "classes": [ + "ResourceImporterBMFont" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_BMFONT_H" + ] + }, + "editor/import/dynamic_font_import_settings.h": { + "classes": [ + "DynamicFontImportSettingsData", + "DynamicFontImportSettingsDialog" + ], + "structs": [], + "defines": [ + "DYNAMIC_FONT_IMPORT_SETTINGS_H" + ] + }, + "editor/import/resource_importer_shader_file.h": { + "classes": [ + "ResourceImporterShaderFile" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_SHADER_FILE_H" + ] + }, + "editor/import/resource_importer_texture_settings.h": { + "classes": [], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_TEXTURE_SETTINGS_H" + ] + }, + "editor/import/resource_importer_layered_texture.h": { + "classes": [ + "LayeredTextureImport", + "ResourceImporterLayeredTexture" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_LAYERED_TEXTURE_H" + ] + }, + "editor/import/resource_importer_bitmask.h": { + "classes": [ + "ResourceImporterBitMap" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_BITMASK_H" + ] + }, + "editor/import/resource_importer_imagefont.h": { + "classes": [ + "ResourceImporterImageFont" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_IMAGEFONT_H" + ] + }, + "editor/import/audio_stream_import_settings.h": { + "classes": [ + "AudioStreamImportSettingsDialog" + ], + "structs": [], + "defines": [ + "AUDIO_STREAM_IMPORT_SETTINGS_H" + ] + }, + "editor/import/3d/post_import_plugin_skeleton_renamer.h": { + "classes": [ + "PostImportPluginSkeletonRenamer" + ], + "structs": [], + "defines": [ + "POST_IMPORT_PLUGIN_SKELETON_RENAMER_H" + ] + }, + "editor/import/3d/resource_importer_obj.h": { + "classes": [ + "EditorOBJImporter", + "ResourceImporterOBJ" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_OBJ_H" + ] + }, + "editor/import/3d/post_import_plugin_skeleton_track_organizer.h": { + "classes": [ + "PostImportPluginSkeletonTrackOrganizer" + ], + "structs": [], + "defines": [ + "POST_IMPORT_PLUGIN_SKELETON_TRACK_ORGANIZER_H" + ] + }, + "editor/import/3d/post_import_plugin_skeleton_rest_fixer.h": { + "classes": [ + "PostImportPluginSkeletonRestFixer" + ], + "structs": [], + "defines": [ + "POST_IMPORT_PLUGIN_SKELETON_REST_FIXER_H" + ] + }, + "editor/import/3d/collada.h": { + "classes": [ + "Collada" + ], + "structs": [ + "Image", + "Material", + "Effect", + "Channel", + "CameraData", + "LightData", + "MeshData", + "Source", + "Vertices", + "Primitives", + "SourceRef", + "CurveData", + "Source", + "SkinControllerData", + "Source", + "Joints", + "Weights", + "SourceRef", + "MorphControllerData", + "Source", + "Vertex", + "Weight", + "Node", + "XForm", + "NodeSkeleton", + "NodeJoint", + "NodeGeometry", + "Material", + "NodeCamera", + "NodeLight", + "VisualScene", + "AnimationClip", + "AnimationTrack", + "Key", + "State", + "Version" + ], + "defines": [ + "COLLADA_H" + ] + }, + "editor/import/3d/resource_importer_scene.h": { + "classes": [ + "EditorSceneFormatImporter", + "EditorScenePostImport", + "EditorScenePostImportPlugin", + "ResourceImporterScene", + "EditorSceneFormatImporterESCN" + ], + "structs": [], + "defines": [ + "RESOURCE_IMPORTER_SCENE_H" + ] + }, + "editor/import/3d/editor_import_collada.h": { + "classes": [ + "EditorSceneFormatImporterCollada" + ], + "structs": [], + "defines": [ + "EDITOR_IMPORT_COLLADA_H" + ] + }, + "editor/import/3d/scene_import_settings.h": { + "classes": [ + "SceneImportSettingsDialog" + ], + "structs": [ + "MaterialData", + "MeshData", + "AnimationData", + "NodeData" + ], + "defines": [ + "SCENE_IMPORT_SETTINGS_H" + ] + }, + "editor/themes/editor_theme.h": { + "classes": [ + "EditorTheme" + ], + "structs": [], + "defines": [ + "EDITOR_THEME_H" + ] + }, + "editor/themes/editor_scale.h": { + "classes": [ + "EditorScale" + ], + "structs": [], + "defines": [ + "EDITOR_SCALE_H", + "EDSCALE" + ] + }, + "editor/themes/editor_fonts.h": { + "classes": [], + "structs": [], + "defines": [ + "EDITOR_FONTS_H" + ] + }, + "editor/themes/editor_theme_manager.h": { + "classes": [ + "EditorThemeManager" + ], + "structs": [ + "ThemeConfiguration" + ], + "defines": [ + "EDITOR_THEME_MANAGER_H" + ] + }, + "editor/themes/builtin_fonts.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "_EDITOR_FONTS_H" + ] + }, + "editor/themes/editor_icons.h": { + "classes": [], + "structs": [], + "defines": [ + "EDITOR_ICONS_H" + ] + }, + "editor/themes/editor_color_map.h": { + "classes": [ + "EditorColorMap" + ], + "structs": [], + "defines": [ + "EDITOR_COLOR_MAP_H" + ] + }, + "editor/themes/editor_icons.gen.h": { + "classes": [], + "structs": [], + "defines": [ + "_EDITOR_ICONS_H" + ] + } +} \ No newline at end of file diff --git a/playback_stats.h b/playback_stats.h index 08d3db2..d2aa95f 100644 --- a/playback_stats.h +++ b/playback_stats.h @@ -3,6 +3,10 @@ #include #include +#ifndef GODOT_MODULE_COMPAT +using namespace godot; +#endif + class PlaybackStats : public RefCounted { GDCLASS(PlaybackStats, RefCounted); diff --git a/speech.cpp b/speech.cpp index 3dcc614..5a99540 100644 --- a/speech.cpp +++ b/speech.cpp @@ -28,12 +28,14 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ -#include "modules/speech/thirdparty/jitter.h" +#include "thirdparty/jitter.h" #include #include +#include #include "speech.h" #include "speech_processor.h" +#include "godot_compat_helper.h" void Speech::preallocate_buffers() { input_byte_array.resize(SpeechProcessor::SPEECH_SETTING_PCM_BUFFER_SIZE); @@ -445,7 +447,7 @@ void Speech::_notification(int p_what) { blank_packet.resize(SpeechProcessor::SPEECH_SETTING_BUFFER_FRAME_COUNT); blank_packet.fill(Vector2()); for (int32_t i = 0; i < SpeechProcessor::SPEECH_SETTING_BUFFER_FRAME_COUNT; i++) { - blank_packet.write[i] = Vector2(); + blank_packet[i] = Vector2(); } break; } @@ -551,7 +553,11 @@ void Speech::add_player_audio(int p_player_id, Node *p_audio_stream_player) { dict["audio_stream_player"] = p_audio_stream_player; dict["jitter_buffer"] = Array(); dict["sequence_id"] = -1; + #ifdef GODOT_MODULE_COMPAT dict["last_update"] = OS::get_singleton()->get_ticks_msec(); + #else + dict["last_update"] = Time::get_singleton()->get_ticks_msec(); + #endif dict["packets_received_this_frame"] = 0; dict["excess_packets"] = 0; dict["speech_decoder"] = speech_decoder; @@ -560,7 +566,7 @@ void Speech::add_player_audio(int p_player_id, Node *p_audio_stream_player) { dict["playback_prev_time"] = -1; player_audio[p_player_id] = dict; } else { - print_error(vformat("Attempted to duplicate player_audio entry (%s)!", p_player_id)); + compat_print_error(vformat("Attempted to duplicate player_audio entry (%s)!", p_player_id)); } } } @@ -569,14 +575,14 @@ void Speech::vc_debug_print(String p_str) const { if (!DEBUG) { return; } - print_line(p_str); + compat_print_line(p_str); } void Speech::vc_debug_printerr(String p_str) const { if (!DEBUG) { return; } - print_error(p_str); + compat_print_error(p_str); } void Speech::on_received_audio_packet(int p_peer_id, int p_sequence_id, PackedByteArray p_packet) { @@ -622,7 +628,7 @@ Dictionary Speech::get_playback_stats(Dictionary speech_stat_dict) { continue; } Dictionary stats = playback_stats->get_playback_stats(); - stats["playback_total_time"] = (OS::get_singleton()->get_ticks_msec() - int64_t(elem["playback_start_time"])) / double(SpeechProcessor::SPEECH_SETTING_MILLISECONDS_PER_SECOND); + stats["playback_total_time"] = (Time::get_singleton()->get_ticks_msec() - int64_t(elem["playback_start_time"])) / double(SpeechProcessor::SPEECH_SETTING_MILLISECONDS_PER_SECOND); stats["excess_packets"] = elem["excess_packets"]; stats["excess_s"] = int64_t(elem["excess_packets"]) * SpeechProcessor::SPEECH_SETTING_PACKET_DELTA_TIME; stat_dict[key] = stats; @@ -636,7 +642,7 @@ void Speech::remove_player_audio(int p_player_id) { return; } } - print_error(vformat("Attempted to remove a non-existant player_audio entry (%s)", p_player_id)); + compat_print_error(vformat("Attempted to remove a non-existant player_audio entry (%s)", p_player_id)); } void Speech::clear_all_player_audio() { diff --git a/speech.h b/speech.h index c3a7972..e6d7433 100644 --- a/speech.h +++ b/speech.h @@ -35,19 +35,24 @@ #include #include #include -#include "modules/speech/thirdparty/jitter.h" +#include "thirdparty/jitter.h" #include "playback_stats.h" #include #include #include #include #include +#include #include "speech_decoder.h" #include "speech_processor.h" class SpeechProcessor; +#ifndef GODOT_MODULE_COMPAT +using namespace godot; +#endif + class Speech : public Node { GDCLASS(Speech, Node); diff --git a/speech_decoder.h b/speech_decoder.h index ee7fa21..f641012 100644 --- a/speech_decoder.h +++ b/speech_decoder.h @@ -37,6 +37,10 @@ #include "thirdparty/opus/opus/opus.h" +#ifndef GODOT_MODULE_COMPAT +using namespace godot; +#endif + class SpeechDecoder : public RefCounted { GDCLASS(SpeechDecoder, RefCounted); @@ -44,6 +48,9 @@ class SpeechDecoder : public RefCounted { ::OpusDecoder *decoder = nullptr; bool is_compressed = false; +protected: + static void _bind_methods() {} + public: SpeechDecoder(); ~SpeechDecoder(); diff --git a/speech_processor.cpp b/speech_processor.cpp index 9cca9f2..a2dd1c6 100644 --- a/speech_processor.cpp +++ b/speech_processor.cpp @@ -28,10 +28,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ +#include + #include "speech_processor.h" #include "opus_custom.h" #include +#include "godot_compat_helper.h" #define STEREO_CHANNEL_COUNT 2 @@ -223,7 +226,7 @@ void SpeechProcessor::_mix_audio(const Vector2 *p_capture_buffer, const Vector2 void SpeechProcessor::start() { if (!ProjectSettings::get_singleton()->get("audio/enable_audio_input")) { - print_line("Need to enable Project settings > Audio > Enable Audio Input " + compat_print_line("Need to enable Project settings > Audio > Enable Audio Input " "option to use capturing."); return; } @@ -231,9 +234,16 @@ void SpeechProcessor::start() { if (!audio_input_stream_player || !audio_effect_capture.is_valid() || !audio_effect_error_cancellation_capture.is_valid()) { return; } + #ifdef GODOT_MODULE_COMPAT if (AudioDriver::get_singleton()) { mix_rate = AudioDriver::get_singleton()->get_mix_rate(); } + #else + if (AudioServer::get_singleton()) { + mix_rate = AudioServer::get_singleton()->get_mix_rate(); + } + #endif + audio_input_stream_player->play(); audio_effect_capture->clear_buffer(); audio_effect_error_cancellation_capture->clear_buffer(); @@ -501,28 +511,28 @@ Dictionary SpeechProcessor::get_stats() const { void SpeechProcessor::print_opus_error(int error_code) { switch (error_code) { case OPUS_OK: - print_line("OpusCodec::OPUS_OK"); + compat_print_line("OpusCodec::OPUS_OK"); break; case OPUS_BAD_ARG: - print_line("OpusCodec::OPUS_BAD_ARG"); + compat_print_line("OpusCodec::OPUS_BAD_ARG"); break; case OPUS_BUFFER_TOO_SMALL: - print_line("OpusCodec::OPUS_BUFFER_TOO_SMALL"); + compat_print_line("OpusCodec::OPUS_BUFFER_TOO_SMALL"); break; case OPUS_INTERNAL_ERROR: - print_line("OpusCodec::OPUS_INTERNAL_ERROR"); + compat_print_line("OpusCodec::OPUS_INTERNAL_ERROR"); break; case OPUS_INVALID_PACKET: - print_line("OpusCodec::OPUS_INVALID_PACKET"); + compat_print_line("OpusCodec::OPUS_INVALID_PACKET"); break; case OPUS_UNIMPLEMENTED: - print_line("OpusCodec::OPUS_UNIMPLEMENTED"); + compat_print_line("OpusCodec::OPUS_UNIMPLEMENTED"); break; case OPUS_INVALID_STATE: - print_line("OpusCodec::OPUS_INVALID_STATE"); + compat_print_line("OpusCodec::OPUS_INVALID_STATE"); break; case OPUS_ALLOC_FAIL: - print_line("OpusCodec::OPUS_ALLOC_FAIL"); + compat_print_line("OpusCodec::OPUS_ALLOC_FAIL"); break; } } diff --git a/speech_processor.h b/speech_processor.h index f1275b3..619128b 100644 --- a/speech_processor.h +++ b/speech_processor.h @@ -73,6 +73,10 @@ namespace webrtc { struct EchoCanceller3Config; } +#ifndef GODOT_MODULE_COMPAT +using namespace godot; +#endif + class SpeechProcessor : public Node { GDCLASS(SpeechProcessor, Node); Mutex mutex; diff --git a/tests/test_speech.h b/tests/test_speech.h index 8c3f583..cf56fc3 100644 --- a/tests/test_speech.h +++ b/tests/test_speech.h @@ -34,7 +34,7 @@ #include #include "tests/test_macros.h" -#include "modules/speech/thirdparty/jitter.h" +#include "thirdparty/jitter.h" namespace TestJitter { TEST_CASE("[Modules][Speech] Basic Tests") { diff --git a/thirdparty/jitter.h b/thirdparty/jitter.h index f855dbb..029cd5f 100644 --- a/thirdparty/jitter.h +++ b/thirdparty/jitter.h @@ -122,6 +122,8 @@ #include +using namespace godot; + /** Definition of an incoming packet */ class JitterBufferPacket : public RefCounted { GDCLASS(JitterBufferPacket, RefCounted); @@ -269,7 +271,9 @@ class JitterBuffer : public RefCounted { } ~JitterBuffer() { for (int i = 0; i < MAX_BUFFERS; ++i) { - memdelete_notnull(_tb[i]); + if (_tb[i]) { + memdelete(_tb[i]); + } _tb[i] = nullptr; timeBuffers[i] = nullptr; } From 3b2a0ee8a59d3d75a773b1a9b00b5d2e24ee7003 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Sat, 6 Apr 2024 16:43:12 +0200 Subject: [PATCH 03/25] upd --- .github/workflows/build_android.yml | 2 +- .github/workflows/build_ios.yml | 2 +- .github/workflows/build_linux.yml | 2 +- .github/workflows/build_macos.yml | 4 ++-- .github/workflows/build_web.yml | 2 +- .github/workflows/build_windows.yml | 4 +--- 6 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_android.yml b/.github/workflows/build_android.yml index 802e1a3..283557d 100644 --- a/.github/workflows/build_android.yml +++ b/.github/workflows/build_android.yml @@ -35,7 +35,7 @@ jobs: fetch-depth: 0 - name: 🔗 GDExtension Build - uses: godot/godot-cpp-template/.github/actions/build + uses: godotengine/godot-cpp-template/.github/actions/build@main with: platform: android arch: ${{ matrix.arch }} diff --git a/.github/workflows/build_ios.yml b/.github/workflows/build_ios.yml index 852a22c..e2dbe1d 100644 --- a/.github/workflows/build_ios.yml +++ b/.github/workflows/build_ios.yml @@ -24,7 +24,7 @@ jobs: fetch-depth: 0 - name: 🔗 GDExtension Build - uses: godot/godot-cpp-template/.github/actions/build + uses: godotengine/godot-cpp-template/.github/actions/build@main with: platform: ios arch: ${{ matrix.arch }} diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index b17b5e9..badf609 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -23,7 +23,7 @@ jobs: fetch-depth: 0 - name: 🔗 GDExtension Build - uses: godot/godot-cpp-template/.github/actions/build + uses: godotengine/godot-cpp-template/.github/actions/build@main with: platform: linux arch: ${{ matrix.arch }} diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index c8c50e0..8a19290 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -36,7 +36,7 @@ jobs: submodules: true fetch-depth: 0 - name: 🔗 GDExtension Build - uses: godot/godot-cpp-template/.github/actions/build + uses: godotengine/godot-cpp-template/.github/actions/build@main with: platform: macos arch: ${{ matrix.arch }} @@ -45,7 +45,7 @@ jobs: build-target-type: template_release - name: Mac Sign - uses: godot/godot-cpp-template/.github/actions/sign + uses: godotengine/godot-cpp-template/.github/actions/sign@main with: FRAMEWORK_PATH: bin/addons/godot_speech/bin/libgodot_speech.macos.template_release${{ matrix.mac_precision_extension }}.universal.framework SIGN_FLAGS: "--deep" diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index 95308d1..04a94af 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -22,7 +22,7 @@ jobs: fetch-depth: 0 - name: 🔗 GDExtension Build - uses: godot/godot-cpp-template/.github/actions/build + uses: godotengine/godot-cpp-template/.github/actions/build@main with: platform: web arch: ${{ matrix.arch }} diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 1479f8f..812cfac 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -30,7 +30,7 @@ jobs: fetch-depth: 0 - name: 🔗 GDExtension Build - uses: godot/godot-cpp-template/.github/actions/build + uses: godotengine/godot-cpp-template/.github/actions/build@main with: platform: windows arch: ${{ matrix.arch }} @@ -44,7 +44,5 @@ jobs: name: Godot_Speech path: | ${{ github.workspace }}/bin/**/*.dll - ${{ github.workspace }}/bin/samples/** ${{ github.workspace }}/bin/addons/godot_speech/godot_speech.gdextension if-no-files-found: error - compression-level: 9 From f0c0650c75a49c01c96eab783a317438222ee3f1 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Sat, 6 Apr 2024 19:46:20 +0200 Subject: [PATCH 04/25] lint --- godot_compat_helper.h | 22 +++++++++++----------- playback_stats.h | 2 +- register_types.cpp | 2 +- scripts/clang-format.sh | 31 +++++++++++++++++++++++++++++++ scripts/clang-tidy.sh | 34 ++++++++++++++++++++++++++++++++++ speech.cpp | 8 ++++---- speech.h | 14 +++++++------- speech_decoder.h | 2 +- speech_processor.cpp | 14 +++++++------- speech_processor.h | 26 +++++++++++++------------- tests/test_speech.h | 2 +- 11 files changed, 111 insertions(+), 46 deletions(-) create mode 100755 scripts/clang-format.sh create mode 100755 scripts/clang-tidy.sh diff --git a/godot_compat_helper.h b/godot_compat_helper.h index a1ed0ed..a541373 100644 --- a/godot_compat_helper.h +++ b/godot_compat_helper.h @@ -1,7 +1,7 @@ #pragma once -#include #include +#include #ifndef GODOT_MODULE_COMPAT #include @@ -10,17 +10,17 @@ using namespace godot; inline void compat_print_line(const Variant &v) { - #ifdef GODOT_MODULE_COMPAT - print_line(v); - #else - UtilityFunctions::print(v); - #endif +#ifdef GODOT_MODULE_COMPAT + print_line(v); +#else + UtilityFunctions::print(v); +#endif } inline void compat_print_error(const Variant &v) { - #ifdef GODOT_MODULE_COMPAT - print_error(v); - #else - ERR_PRINT(v); - #endif +#ifdef GODOT_MODULE_COMPAT + print_error(v); +#else + ERR_PRINT(v); +#endif } diff --git a/playback_stats.h b/playback_stats.h index d2aa95f..9be8203 100644 --- a/playback_stats.h +++ b/playback_stats.h @@ -1,7 +1,7 @@ #pragma once #include -#include #include +#include #ifndef GODOT_MODULE_COMPAT using namespace godot; diff --git a/register_types.cpp b/register_types.cpp index 9a84e47..4953053 100644 --- a/register_types.cpp +++ b/register_types.cpp @@ -30,8 +30,8 @@ #include "register_types.h" -#include #include "speech.h" +#include #include "speech_decoder.h" #include "speech_processor.h" diff --git a/scripts/clang-format.sh b/scripts/clang-format.sh new file mode 100755 index 0000000..cf056c5 --- /dev/null +++ b/scripts/clang-format.sh @@ -0,0 +1,31 @@ +#!/usr/bin/env bash +# This is based on Godot's clang-format.sh + +# This script runs clang-format on all relevant files in the repo. +# This is the primary script responsible for fixing style violations. + +set -uo pipefail + +# Loop through all code files tracked by Git. +files=$(git ls-files -- '*.h' '*.cpp' ':!thirdparty') + + +if [ ! -z "$files" ]; then + clang-format --Wno-error=unknown -i $files +fi + +diff=$(git diff --color) + +# If no diff has been generated all is OK, clean up, and exit. +if [ -z "$diff" ] ; then + printf "\e[1;32m*** Files in this commit comply with the clang-format style rules.\e[0m\n" + exit 0 +fi + +# A diff has been created, notify the user, clean up, and exit. +printf "\n\e[1;33m*** The following changes must be made to comply with the formatting rules:\e[0m\n\n" +# Perl commands replace trailing spaces with `·` and tabs with ``. +printf "$diff\n" | perl -pe 's/(.*[^ ])( +)(\e\[m)$/my $spaces="·" x length($2); sprintf("$1$spaces$3")/ge' | perl -pe 's/(.*[^\t])(\t+)(\e\[m)$/my $tabs="" x length($2); sprintf("$1$tabs$3")/ge' + +printf "\n\e[1;91m*** Please fix your commit(s) with 'git commit --amend' or 'git rebase -i '\e[0m\n" +exit 1 diff --git a/scripts/clang-tidy.sh b/scripts/clang-tidy.sh new file mode 100755 index 0000000..a1ef860 --- /dev/null +++ b/scripts/clang-tidy.sh @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +# This is based on Godot's clang-tidy.sh + +# This script runs clang-tidy on all relevant files in the repo. +# This is more thorough than clang-format and thus slower; it should only be run manually. + +set -uo pipefail + +# Loops through all code files tracked by Git. + +git ls-files -- '*.h' '*.cpp' ':!thirdparty' | +while read -r f; do + # Run clang-tidy. + clang-tidy --quiet --fix "$f" &> /dev/null + + # Run clang-format. This also fixes the output of clang-tidy. + clang-format --Wno-error=unknown -i "$f" +done + +diff=$(git diff --color) + +# If no diff has been generated all is OK, clean up, and exit. +if [ -z "$diff" ] ; then + printf "\e[1;32m*** Files in this commit comply with the clang-tidy style rules.\e[0m\n" + exit 0 +fi + +# A diff has been created, notify the user, clean up, and exit. +printf "\n\e[1;33m*** The following changes must be made to comply with the formatting rules:\e[0m\n\n" +# Perl commands replace trailing spaces with `·` and tabs with ``. +printf "$diff\n" | perl -pe 's/(.*[^ ])( +)(\e\[m)$/my $spaces="·" x length($2); sprintf("$1$spaces$3")/ge' | perl -pe 's/(.*[^\t])(\t+)(\e\[m)$/my $tabs="" x length($2); sprintf("$1$tabs$3")/ge' + +printf "\n\e[1;91m*** Please fix your commit(s) with 'git commit --amend' or 'git rebase -i '\e[0m\n" +exit 1 diff --git a/speech.cpp b/speech.cpp index 5a99540..7d65984 100644 --- a/speech.cpp +++ b/speech.cpp @@ -33,9 +33,9 @@ #include #include +#include "godot_compat_helper.h" #include "speech.h" #include "speech_processor.h" -#include "godot_compat_helper.h" void Speech::preallocate_buffers() { input_byte_array.resize(SpeechProcessor::SPEECH_SETTING_PCM_BUFFER_SIZE); @@ -553,11 +553,11 @@ void Speech::add_player_audio(int p_player_id, Node *p_audio_stream_player) { dict["audio_stream_player"] = p_audio_stream_player; dict["jitter_buffer"] = Array(); dict["sequence_id"] = -1; - #ifdef GODOT_MODULE_COMPAT +#ifdef GODOT_MODULE_COMPAT dict["last_update"] = OS::get_singleton()->get_ticks_msec(); - #else +#else dict["last_update"] = Time::get_singleton()->get_ticks_msec(); - #endif +#endif dict["packets_received_this_frame"] = 0; dict["excess_packets"] = 0; dict["speech_decoder"] = speech_decoder; diff --git a/speech.h b/speech.h index e6d7433..4285506 100644 --- a/speech.h +++ b/speech.h @@ -31,17 +31,17 @@ #ifndef SPEECH_H #define SPEECH_H +#include "playback_stats.h" +#include "thirdparty/jitter.h" +#include +#include +#include #include +#include #include #include -#include -#include "thirdparty/jitter.h" -#include "playback_stats.h" -#include #include -#include -#include -#include +#include #include #include "speech_decoder.h" diff --git a/speech_decoder.h b/speech_decoder.h index f641012..a054ed3 100644 --- a/speech_decoder.h +++ b/speech_decoder.h @@ -32,8 +32,8 @@ #define SPEECH_DECODER_H #include -#include #include +#include #include "thirdparty/opus/opus/opus.h" diff --git a/speech_processor.cpp b/speech_processor.cpp index a2dd1c6..a49711a 100644 --- a/speech_processor.cpp +++ b/speech_processor.cpp @@ -30,11 +30,11 @@ #include -#include "speech_processor.h" #include "opus_custom.h" +#include "speech_processor.h" -#include #include "godot_compat_helper.h" +#include #define STEREO_CHANNEL_COUNT 2 @@ -227,23 +227,23 @@ void SpeechProcessor::_mix_audio(const Vector2 *p_capture_buffer, const Vector2 void SpeechProcessor::start() { if (!ProjectSettings::get_singleton()->get("audio/enable_audio_input")) { compat_print_line("Need to enable Project settings > Audio > Enable Audio Input " - "option to use capturing."); + "option to use capturing."); return; } if (!audio_input_stream_player || !audio_effect_capture.is_valid() || !audio_effect_error_cancellation_capture.is_valid()) { return; } - #ifdef GODOT_MODULE_COMPAT +#ifdef GODOT_MODULE_COMPAT if (AudioDriver::get_singleton()) { mix_rate = AudioDriver::get_singleton()->get_mix_rate(); } - #else +#else if (AudioServer::get_singleton()) { mix_rate = AudioServer::get_singleton()->get_mix_rate(); } - #endif - +#endif + audio_input_stream_player->play(); audio_effect_capture->clear_buffer(); audio_effect_error_cancellation_capture->clear_buffer(); diff --git a/speech_processor.h b/speech_processor.h index 619128b..ab143ae 100644 --- a/speech_processor.h +++ b/speech_processor.h @@ -31,25 +31,25 @@ #ifndef SPEECH_PROCESSOR_H #define SPEECH_PROCESSOR_H +#include +#include +#include +#include +#include +#include +#include +#include +#include #include +#include #include -#include #include -#include #include -#include -#include +#include +#include #include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include #include diff --git a/tests/test_speech.h b/tests/test_speech.h index cf56fc3..db269eb 100644 --- a/tests/test_speech.h +++ b/tests/test_speech.h @@ -31,8 +31,8 @@ #ifndef TEST_SPEECH_H #define TEST_SPEECH_H -#include #include "tests/test_macros.h" +#include #include "thirdparty/jitter.h" From 50d83166bc32e2d06aca22ec61d5821b45f0f8d1 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Sat, 6 Apr 2024 19:47:44 +0200 Subject: [PATCH 05/25] Update lint.yml --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 60fe37b..1042c2f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,4 +17,4 @@ jobs: - name: Run clang-format shell: bash run: | - clang-format --style=file:.clang-format src/** --dry-run --Werror + clang-format --style=file:.clang-format ./** --dry-run --Werror From 8e10503d28a18450ed2b3a0b3ee6344a4823abbe Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Sat, 6 Apr 2024 19:49:43 +0200 Subject: [PATCH 06/25] Update lint.yml --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1042c2f..2d454d5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,4 +17,4 @@ jobs: - name: Run clang-format shell: bash run: | - clang-format --style=file:.clang-format ./** --dry-run --Werror + clang-format --style=file:.clang-format *.cpp *.h --dry-run --Werror From 874d330e72cd2ea1fd0390f29816e4724e844cde Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Sat, 6 Apr 2024 10:59:21 -0700 Subject: [PATCH 07/25] git subrepo pull (merge) --remote=https://github.com/Ughuuu/godot-cpp --branch=master --force thirdparty/godot-cpp subrepo: subdir: "thirdparty/godot-cpp" merged: "b021245" upstream: origin: "https://github.com/Ughuuu/godot-cpp" branch: "master" commit: "b021245" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "73a0129" --- thirdparty/godot-cpp/.gitrepo | 8 +- thirdparty/godot-cpp/CMakeLists.txt | 2 +- thirdparty/godot-cpp/README.md | 15 ---- thirdparty/godot-cpp/binding_generator.py | 54 ++---------- thirdparty/godot-cpp/compat_generator.py | 57 ------------- .../gdextension/gdextension_interface.h | 4 + thirdparty/godot-cpp/header_matcher.py | 36 -------- .../classes/editor_plugin_registration.hpp | 4 +- .../include/godot_cpp/classes/ref.hpp | 16 ++-- .../include/godot_cpp/classes/wrapped.hpp | 8 +- .../include/godot_cpp/core/binder_common.hpp | 82 +++++++++---------- .../godot_cpp/core/builtin_ptrcall.hpp | 12 +-- .../include/godot_cpp/core/class_db.hpp | 36 ++++---- .../godot-cpp/include/godot_cpp/core/defs.hpp | 2 +- .../include/godot_cpp/core/engine_ptrcall.hpp | 14 ++-- .../godot-cpp/include/godot_cpp/core/math.hpp | 4 +- .../include/godot_cpp/core/memory.hpp | 14 ++-- .../include/godot_cpp/core/method_bind.hpp | 42 +++++----- .../include/godot_cpp/core/method_ptrcall.hpp | 6 +- .../include/godot_cpp/core/object.hpp | 16 ++-- .../include/godot_cpp/core/type_info.hpp | 8 +- .../include/godot_cpp/templates/cowdata.hpp | 32 ++++---- .../include/godot_cpp/templates/hash_map.hpp | 10 +-- .../include/godot_cpp/templates/hash_set.hpp | 6 +- .../include/godot_cpp/templates/hashfuncs.hpp | 10 +-- .../include/godot_cpp/templates/list.hpp | 10 +-- .../godot_cpp/templates/local_vector.hpp | 6 +- .../include/godot_cpp/templates/pair.hpp | 16 ++-- .../include/godot_cpp/templates/rb_map.hpp | 2 +- .../include/godot_cpp/templates/rb_set.hpp | 2 +- .../include/godot_cpp/templates/rid_owner.hpp | 6 +- .../godot_cpp/templates/safe_refcount.hpp | 4 +- .../godot_cpp/templates/search_array.hpp | 2 +- .../include/godot_cpp/templates/self_list.hpp | 2 +- .../godot_cpp/templates/sort_array.hpp | 4 +- .../godot_cpp/templates/thread_work_pool.hpp | 6 +- .../include/godot_cpp/templates/vector.hpp | 16 ++-- .../include/godot_cpp/templates/vmap.hpp | 2 +- .../include/godot_cpp/templates/vset.hpp | 2 +- .../variant/callable_method_pointer.hpp | 20 ++--- .../include/godot_cpp/variant/char_string.hpp | 8 +- .../include/godot_cpp/variant/typed_array.hpp | 2 +- .../include/godot_cpp/variant/variant.hpp | 4 +- .../godot-cpp/src/variant/char_string.cpp | 8 +- thirdparty/godot-cpp/test/CMakeLists.txt | 2 +- 45 files changed, 239 insertions(+), 383 deletions(-) delete mode 100644 thirdparty/godot-cpp/compat_generator.py delete mode 100644 thirdparty/godot-cpp/header_matcher.py diff --git a/thirdparty/godot-cpp/.gitrepo b/thirdparty/godot-cpp/.gitrepo index dcd02b5..a582c73 100644 --- a/thirdparty/godot-cpp/.gitrepo +++ b/thirdparty/godot-cpp/.gitrepo @@ -4,9 +4,9 @@ ; git-subrepo command. See https://github.com/ingydotnet/git-subrepo#readme ; [subrepo] - remote = https://github.com/V-Sekai/godot-cpp.git - branch = compat-layer - commit = df3188ed23ee999dc41cce2af93f885feb8a5552 - parent = 65e4630bb405a61d78fc49f982068b03d0725cad + remote = https://github.com/Ughuuu/godot-cpp + branch = master + commit = b02124595f46ec9bf35d6b0636c9bf16750fbfb6 + parent = 8e10503d28a18450ed2b3a0b3ee6344a4823abbe method = merge cmdver = 0.4.6 diff --git a/thirdparty/godot-cpp/CMakeLists.txt b/thirdparty/godot-cpp/CMakeLists.txt index e715102..cf564d0 100644 --- a/thirdparty/godot-cpp/CMakeLists.txt +++ b/thirdparty/godot-cpp/CMakeLists.txt @@ -37,7 +37,7 @@ # Todo # Test build for Windows, Mac and mingw. -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.13) project(godot-cpp LANGUAGES CXX) option(GENERATE_TEMPLATE_GET_NODE "Generate a template version of the Node class's get_node." ON) diff --git a/thirdparty/godot-cpp/README.md b/thirdparty/godot-cpp/README.md index fa28b20..f4f3be0 100644 --- a/thirdparty/godot-cpp/README.md +++ b/thirdparty/godot-cpp/README.md @@ -62,21 +62,6 @@ and the [godot-cpp issue tracker](https://github.com/godotengine/godot-cpp/issue for a list of known issues, and be sure to provide feedback on issues and PRs which affect your use of this extension. -## Godot and Godot Cpp Compatibility - -If you intend to target both building as a GDExtension and as a module using godot repo, you can generate compatibility includes that will target either GDExtension or module, based on the GODOT_MODULE_COMPAT define. - -If you want such a thing built, when running the build command, `scons`, make sure you have a file called `output_header_mapping.json` at root level of this repo. This file needs to have the mappings from `godot` repo. The mappings can be generated by running the compat_generator.py script. - -Example of how to obtain them: - -``` -git clone godotengine/godot -python compat_generator.py godot -``` - -Then run the SConstruct build command as usual, and in the `gen/` folder you will now have a new folder, `include/godot_compat` which mirrors the `include/godot_cpp` includes, but have ifdef inside them and either include godot header or godot_cpp header. - ## Contributing We greatly appreciate help in maintaining and extending this project. If you diff --git a/thirdparty/godot-cpp/binding_generator.py b/thirdparty/godot-cpp/binding_generator.py index 219cef8..e4e827e 100644 --- a/thirdparty/godot-cpp/binding_generator.py +++ b/thirdparty/godot-cpp/binding_generator.py @@ -3,9 +3,6 @@ import json import re import shutil -import os -from compat_generator import map_header_files -from header_matcher import match_headers from pathlib import Path @@ -208,7 +205,6 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False): core_gen_folder = Path(output_dir) / "gen" / "include" / "godot_cpp" / "core" include_gen_folder = Path(output_dir) / "gen" / "include" / "godot_cpp" - include_gen_compat_folder = Path(output_dir) / "gen" / "include" / "godot_compat" source_gen_folder = Path(output_dir) / "gen" / "src" files.append(str((core_gen_folder / "ext_wrappers.gen.inc").as_posix())) @@ -311,7 +307,6 @@ def generate_bindings(api_filepath, use_template_get_node, bits="64", precision= generate_builtin_bindings(api, target_dir, real_t + "_" + bits) generate_engine_classes_bindings(api, target_dir, use_template_get_node) generate_utility_functions(api, target_dir) - generate_compat_includes(target_dir) builtin_classes = [] @@ -701,7 +696,7 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl vararg = method["is_vararg"] if vararg: - result.append("\ttemplate") + result.append("\ttemplate") method_signature = "\t" if "is_static" in method and method["is_static"]: @@ -800,7 +795,7 @@ def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_cl result.append("\tchar32_t *ptrw();") if class_name == "Array": - result.append("\ttemplate ") + result.append("\ttemplate ") result.append("\tstatic Array make(Args... args) {") result.append("\t\treturn helpers::append_all(Array(), args...);") result.append("\t}") @@ -1445,41 +1440,6 @@ def generate_engine_classes_bindings(api, output_dir, use_template_get_node): header_file.write("\n".join(result)) -def generate_compat_includes(output_dir): - file_types_mapping_godot_cpp = map_header_files("gen/include") - godot_compat = Path("output_header_mapping.json") - if not godot_compat.exists(): - return - with godot_compat.open() as file: - mapping2 = json.load(file) - # Match the headers - file_types_mapping = match_headers(file_types_mapping_godot_cpp, mapping2) - - include_gen_folder = Path(output_dir) / "include" - for file_godot_cpp_name, file_godot_names in file_types_mapping.items(): - header_filename = file_godot_cpp_name.replace("godot_cpp", "godot_compat") - header_filepath = include_gen_folder / header_filename - Path(os.path.dirname(header_filepath)).mkdir(parents=True, exist_ok=True) - result = [] - snake_header_name = camel_to_snake(header_filename) - add_header(f"{snake_header_name}.hpp", result) - - header_guard = f"GODOT_COMPAT_{os.path.splitext(os.path.basename(header_filepath).upper())[0]}_HPP" - result.append(f"#ifndef {header_guard}") - result.append(f"#define {header_guard}") - result.append("") - result.append(f"#ifdef GODOT_MODULE_COMPAT") - for file_godot_name in file_godot_names: - result.append(f"#include <{file_godot_name}>") - result.append(f"#else") - result.append(f"#include <{file_godot_cpp_name}>") - result.append(f"#endif") - result.append("") - result.append(f"#endif // ! {header_guard}") - with header_filepath.open("w+", encoding="utf-8") as header_file: - header_file.write("\n".join(result)) - - def generate_engine_class_header(class_api, used_classes, fully_used_classes, use_template_get_node): global singletons result = [] @@ -1596,7 +1556,7 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us result.append("protected:") # T is the custom class we want to register (from which the call initiates, going up the inheritance chain), # B is its base class (can be a custom class too, that's why we pass it). - result.append("\ttemplate ") + result.append("\ttemplate ") result.append("\tstatic void register_virtuals() {") if class_name != "Object": result.append(f"\t\t{inherits}::register_virtuals();") @@ -1642,16 +1602,16 @@ def generate_engine_class_header(class_api, used_classes, fully_used_classes, us if class_name == "Object": result.append("") - result.append("\ttemplate") + result.append("\ttemplate") result.append("\tstatic T *cast_to(Object *p_object);") - result.append("\ttemplate") + result.append("\ttemplate") result.append("\tstatic const T *cast_to(const Object *p_object);") result.append("\tvirtual ~Object() = default;") elif use_template_get_node and class_name == "Node": - result.append("\ttemplate") + result.append("\ttemplate") result.append( "\tT *get_node(const NodePath &p_path) const { return Object::cast_to(get_node_internal(p_path)); }" ) @@ -2285,7 +2245,7 @@ def make_varargs_template( if with_public_declare: function_signature = "public: " - function_signature += "template " + function_signature += "template " if static: function_signature += "static " diff --git a/thirdparty/godot-cpp/compat_generator.py b/thirdparty/godot-cpp/compat_generator.py deleted file mode 100644 index 938663e..0000000 --- a/thirdparty/godot-cpp/compat_generator.py +++ /dev/null @@ -1,57 +0,0 @@ -import re -import os -import json -import sys - - -def parse_header_file(file_path): - print(file_path) - types = {"classes": [], "structs": []} - # print(file_path) - - with open(file_path, "r", encoding="utf-8") as file: - content = file.read() - - # Regular expressions to match different types - class_pattern = r"class\s+([a-zA-Z_]\w*)\s*[:{]" - struct_pattern = r"struct\s+([a-zA-Z_]\w*)\s*[:{]" - - # Extract classes - types["classes"] += re.findall(class_pattern, content) - - # Extract structs - types["structs"] += re.findall(struct_pattern, content) - if len(types["classes"]) == 0 and len(types["structs"]) == 0: - print(f"{file_path} missing things") - return types - - -def map_header_files(directory): - file_types_mapping = {} - - for root, dirs, files in os.walk(directory): - if "thirdparty" in dirs: - dirs.remove("thirdparty") - if "tests" in dirs: - dirs.remove("tests") - if "misc" in dirs: - dirs.remove("misc") - for file in files: - if file.endswith(".h") or file.endswith(".hpp"): - relative_path = os.path.relpath(root, directory) - file_path = os.path.join(root, file) - file_types_mapping[f"{relative_path}/{file}"] = parse_header_file(file_path) - - return file_types_mapping - - -if __name__ == "__main__": - # Get current directory - current_directory = os.getcwd() - - if len(sys.argv) > 1: - current_directory = os.path.join(os.getcwd(), sys.argv[1]) - - file_types_mapping = map_header_files(current_directory) - with open("output_header_mapping.json", "w") as json_file: - json.dump(file_types_mapping, json_file, indent=4) diff --git a/thirdparty/godot-cpp/gdextension/gdextension_interface.h b/thirdparty/godot-cpp/gdextension/gdextension_interface.h index c3e64ef..60ec8d4 100644 --- a/thirdparty/godot-cpp/gdextension/gdextension_interface.h +++ b/thirdparty/godot-cpp/gdextension/gdextension_interface.h @@ -535,6 +535,8 @@ typedef void (*GDExtensionScriptInstanceFreeMethodList2)(GDExtensionScriptInstan typedef GDExtensionBool (*GDExtensionScriptInstanceHasMethod)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name); +typedef GDExtensionInt (*GDExtensionScriptInstanceGetMethodArgumentCount)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionBool *r_is_valid); + typedef void (*GDExtensionScriptInstanceCall)(GDExtensionScriptInstanceDataPtr p_self, GDExtensionConstStringNamePtr p_method, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionVariantPtr r_return, GDExtensionCallError *r_error); typedef void (*GDExtensionScriptInstanceNotification)(GDExtensionScriptInstanceDataPtr p_instance, int32_t p_what); // Deprecated. Use GDExtensionScriptInstanceNotification2 instead. typedef void (*GDExtensionScriptInstanceNotification2)(GDExtensionScriptInstanceDataPtr p_instance, int32_t p_what, GDExtensionBool p_reversed); @@ -654,6 +656,8 @@ typedef struct { GDExtensionScriptInstanceHasMethod has_method_func; + GDExtensionScriptInstanceGetMethodArgumentCount get_method_argument_count_func; + GDExtensionScriptInstanceCall call_func; GDExtensionScriptInstanceNotification2 notification_func; diff --git a/thirdparty/godot-cpp/header_matcher.py b/thirdparty/godot-cpp/header_matcher.py deleted file mode 100644 index cd9047f..0000000 --- a/thirdparty/godot-cpp/header_matcher.py +++ /dev/null @@ -1,36 +0,0 @@ -import json - - -def match_headers(mapping1, mapping2): - matches = {} - for header_file, data1 in mapping1.items(): - for header_file2, data2 in mapping2.items(): - # Check if classes in header_file1 are present in header_file2 - if any(class_name in data2["classes"] for class_name in data1["classes"]): - if header_file not in matches: - matches[header_file] = [] - matches[header_file].append(header_file2) - return matches - - -if __name__ == "__main__": - # Load the two header mappings - with open("output_header_mapping.json", "r") as file: - mapping1 = json.load(file) - - with open("output_header_mapping_godot.json", "r") as file: - mapping2 = json.load(file) - - # Match the headers - matches = match_headers(mapping1, mapping2) - - # Output the matches - for header_file, matching_files in matches.items(): - print(f"{header_file} matches with:") - for matching_file in matching_files: - print(f"- {matching_file}") - print() - - # Optionally, you can save the matches to a file - with open("header_matches.json", "w") as outfile: - json.dump(matches, outfile, indent=4) diff --git a/thirdparty/godot-cpp/include/godot_cpp/classes/editor_plugin_registration.hpp b/thirdparty/godot-cpp/include/godot_cpp/classes/editor_plugin_registration.hpp index 1ccde31..7870bfc 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/classes/editor_plugin_registration.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/classes/editor_plugin_registration.hpp @@ -47,11 +47,11 @@ class EditorPlugins { static void remove_plugin_class(const StringName &p_class_name); static void deinitialize(GDExtensionInitializationLevel p_level); - template + template static void add_by_type() { add_plugin_class(T::get_class_static()); } - template + template static void remove_by_type() { remove_plugin_class(T::get_class_static()); } diff --git a/thirdparty/godot-cpp/include/godot_cpp/classes/ref.hpp b/thirdparty/godot-cpp/include/godot_cpp/classes/ref.hpp index f3fc3e9..c4682bc 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/classes/ref.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/classes/ref.hpp @@ -45,7 +45,7 @@ namespace godot { class RefCounted; -template +template class Ref { T *reference = nullptr; @@ -108,7 +108,7 @@ class Ref { ref(p_from); } - template + template void operator=(const Ref &p_from) { RefCounted *refb = const_cast(static_cast(p_from.ptr())); if (!refb) { @@ -144,7 +144,7 @@ class Ref { } } - template + template void reference_ptr(T_Other *p_ptr) { if (reference == p_ptr) { return; @@ -161,7 +161,7 @@ class Ref { ref(p_from); } - template + template Ref(const Ref &p_from) { RefCounted *refb = const_cast(static_cast(p_from.ptr())); if (!refb) { @@ -226,7 +226,7 @@ class Ref { } }; -template +template struct PtrToArg> { _FORCE_INLINE_ static Ref convert(const void *p_ptr) { GDExtensionRefPtr ref = (GDExtensionRefPtr)p_ptr; @@ -248,7 +248,7 @@ struct PtrToArg> { } }; -template +template struct PtrToArg &> { typedef Ref EncodeT; @@ -259,7 +259,7 @@ struct PtrToArg &> { } }; -template +template struct GetTypeInfo, typename EnableIf::value>::type> { static const GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_OBJECT; static const GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; @@ -269,7 +269,7 @@ struct GetTypeInfo, typename EnableIf::value> } }; -template +template struct GetTypeInfo &, typename EnableIf::value>::type> { static const GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_OBJECT; static const GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; diff --git a/thirdparty/godot-cpp/include/godot_cpp/classes/wrapped.hpp b/thirdparty/godot-cpp/include/godot_cpp/classes/wrapped.hpp index fba855d..97f9a6e 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/classes/wrapped.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/classes/wrapped.hpp @@ -115,13 +115,13 @@ _FORCE_INLINE_ void snarray_add_str(Vector &arr, const StringName &p arr.push_back(p_str); } -template +template _FORCE_INLINE_ void snarray_add_str(Vector &arr, const StringName &p_str, P... p_args) { arr.push_back(p_str); snarray_add_str(arr, p_args...); } -template +template _FORCE_INLINE_ Vector snarray(P... p_args) { Vector arr; snarray_add_str(arr, p_args...); @@ -138,7 +138,7 @@ void add_engine_class_registration_callback(EngineClassRegistrationCallback p_ca void register_engine_class(const StringName &p_name, const GDExtensionInstanceBindingCallbacks *p_callbacks); void register_engine_classes(); -template +template struct EngineClassRegistration { EngineClassRegistration() { add_engine_class_registration_callback(&EngineClassRegistration::callback); @@ -207,7 +207,7 @@ protected: return (::godot::String(::godot::Wrapped::*)() const) & m_class::_to_string; \ } \ \ - template \ + template \ static void register_virtuals() { \ m_inherits::register_virtuals(); \ } \ diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/binder_common.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/binder_common.hpp index ce90acd..26ed4ca 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/binder_common.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/binder_common.hpp @@ -83,7 +83,7 @@ namespace godot { }; \ } -template +template struct VariantCaster { static _FORCE_INLINE_ T cast(const Variant &p_variant) { using TStripped = std::remove_pointer_t; @@ -95,7 +95,7 @@ struct VariantCaster { } }; -template +template struct VariantCaster { static _FORCE_INLINE_ T cast(const Variant &p_variant) { using TStripped = std::remove_pointer_t; @@ -107,7 +107,7 @@ struct VariantCaster { } }; -template +template struct VariantCaster { static _FORCE_INLINE_ T cast(const Variant &p_variant) { using TStripped = std::remove_pointer_t; @@ -144,7 +144,7 @@ struct VariantObjectClassChecker &> { } }; -template +template struct VariantCasterAndValidate { static _FORCE_INLINE_ T cast(const Variant **p_args, uint32_t p_arg_idx, GDExtensionCallError &r_error) { GDExtensionVariantType argtype = GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); @@ -159,7 +159,7 @@ struct VariantCasterAndValidate { } }; -template +template struct VariantCasterAndValidate { static _FORCE_INLINE_ T cast(const Variant **p_args, uint32_t p_arg_idx, GDExtensionCallError &r_error) { GDExtensionVariantType argtype = GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); @@ -174,7 +174,7 @@ struct VariantCasterAndValidate { } }; -template +template struct VariantCasterAndValidate { static _FORCE_INLINE_ T cast(const Variant **p_args, uint32_t p_arg_idx, GDExtensionCallError &r_error) { GDExtensionVariantType argtype = GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); @@ -189,47 +189,47 @@ struct VariantCasterAndValidate { } }; -template +template void call_with_ptr_args_helper(T *p_instance, void (T::*p_method)(P...), const GDExtensionConstTypePtr *p_args, IndexSequence) { (p_instance->*p_method)(PtrToArg

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

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

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

::convert(p_args[Is])...), r_ret); } -template +template void call_with_ptr_args(T *p_instance, void (T::*p_method)(P...), const GDExtensionConstTypePtr *p_args, void * /*ret*/) { call_with_ptr_args_helper(p_instance, p_method, p_args, BuildIndexSequence{}); } -template +template void call_with_ptr_args(T *p_instance, void (T::*p_method)(P...) const, const GDExtensionConstTypePtr *p_args, void * /*ret*/) { call_with_ptr_argsc_helper(p_instance, p_method, p_args, BuildIndexSequence{}); } -template +template void call_with_ptr_args(T *p_instance, R (T::*p_method)(P...), const GDExtensionConstTypePtr *p_args, void *r_ret) { call_with_ptr_args_ret_helper(p_instance, p_method, p_args, r_ret, BuildIndexSequence{}); } -template +template void call_with_ptr_args(T *p_instance, R (T::*p_method)(P...) const, const GDExtensionConstTypePtr *p_args, void *r_ret) { call_with_ptr_args_retc_helper(p_instance, p_method, p_args, r_ret, BuildIndexSequence{}); } -template +template void call_with_variant_args_helper(T *p_instance, void (T::*p_method)(P...), const Variant **p_args, GDExtensionCallError &r_error, IndexSequence) { r_error.error = GDEXTENSION_CALL_OK; @@ -241,7 +241,7 @@ void call_with_variant_args_helper(T *p_instance, void (T::*p_method)(P...), con (void)(p_args); // Avoid warning. } -template +template void call_with_variant_argsc_helper(T *p_instance, void (T::*p_method)(P...) const, const Variant **p_args, GDExtensionCallError &r_error, IndexSequence) { r_error.error = GDEXTENSION_CALL_OK; @@ -253,7 +253,7 @@ void call_with_variant_argsc_helper(T *p_instance, void (T::*p_method)(P...) con (void)(p_args); // Avoid warning. } -template +template void call_with_variant_args_ret_helper(T *p_instance, R (T::*p_method)(P...), const Variant **p_args, Variant &r_ret, GDExtensionCallError &r_error, IndexSequence) { r_error.error = GDEXTENSION_CALL_OK; @@ -264,7 +264,7 @@ void call_with_variant_args_ret_helper(T *p_instance, R (T::*p_method)(P...), co #endif } -template +template void call_with_variant_args_retc_helper(T *p_instance, R (T::*p_method)(P...) const, const Variant **p_args, Variant &r_ret, GDExtensionCallError &r_error, IndexSequence) { r_error.error = GDEXTENSION_CALL_OK; @@ -276,7 +276,7 @@ void call_with_variant_args_retc_helper(T *p_instance, R (T::*p_method)(P...) co (void)p_args; } -template +template void call_with_variant_args(T *p_instance, void (T::*p_method)(P...), const Variant **p_args, int p_argcount, GDExtensionCallError &r_error) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -294,7 +294,7 @@ void call_with_variant_args(T *p_instance, void (T::*p_method)(P...), const Vari call_with_variant_args_helper(p_instance, p_method, p_args, r_error, BuildIndexSequence{}); } -template +template void call_with_variant_args_ret(T *p_instance, R (T::*p_method)(P...), const Variant **p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -312,7 +312,7 @@ void call_with_variant_args_ret(T *p_instance, R (T::*p_method)(P...), const Var call_with_variant_args_ret_helper(p_instance, p_method, p_args, r_ret, r_error, BuildIndexSequence{}); } -template +template void call_with_variant_args_retc(T *p_instance, R (T::*p_method)(P...) const, const Variant **p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -330,7 +330,7 @@ void call_with_variant_args_retc(T *p_instance, R (T::*p_method)(P...) const, co call_with_variant_args_retc_helper(p_instance, p_method, p_args, r_ret, r_error, BuildIndexSequence{}); } -template +template void call_with_variant_args_dv(T *p_instance, void (T::*p_method)(P...), const GDExtensionConstVariantPtr *p_args, int p_argcount, GDExtensionCallError &r_error, const std::vector &default_values) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -365,7 +365,7 @@ void call_with_variant_args_dv(T *p_instance, void (T::*p_method)(P...), const G call_with_variant_args_helper(p_instance, p_method, argsp.data(), r_error, BuildIndexSequence{}); } -template +template void call_with_variant_argsc_dv(T *p_instance, void (T::*p_method)(P...) const, const GDExtensionConstVariantPtr *p_args, int p_argcount, GDExtensionCallError &r_error, const std::vector &default_values) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -400,7 +400,7 @@ void call_with_variant_argsc_dv(T *p_instance, void (T::*p_method)(P...) const, call_with_variant_argsc_helper(p_instance, p_method, argsp.data(), r_error, BuildIndexSequence{}); } -template +template void call_with_variant_args_ret_dv(T *p_instance, R (T::*p_method)(P...), const GDExtensionConstVariantPtr *p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error, const std::vector &default_values) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -435,7 +435,7 @@ void call_with_variant_args_ret_dv(T *p_instance, R (T::*p_method)(P...), const call_with_variant_args_ret_helper(p_instance, p_method, argsp.data(), r_ret, r_error, BuildIndexSequence{}); } -template +template void call_with_variant_args_retc_dv(T *p_instance, R (T::*p_method)(P...) const, const GDExtensionConstVariantPtr *p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error, const std::vector &default_values) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -477,7 +477,7 @@ void call_with_variant_args_retc_dv(T *p_instance, R (T::*p_method)(P...) const, #pragma GCC diagnostic ignored "-Wunused-but-set-parameter" #endif -template +template void call_get_argument_type_helper(int p_arg, int &index, GDExtensionVariantType &type) { if (p_arg == index) { type = GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); @@ -485,7 +485,7 @@ void call_get_argument_type_helper(int p_arg, int &index, GDExtensionVariantType index++; } -template +template GDExtensionVariantType call_get_argument_type(int p_arg) { GDExtensionVariantType type = GDEXTENSION_VARIANT_TYPE_NIL; int index = 0; @@ -497,7 +497,7 @@ GDExtensionVariantType call_get_argument_type(int p_arg) { return type; } -template +template void call_get_argument_type_info_helper(int p_arg, int &index, PropertyInfo &info) { if (p_arg == index) { info = GetTypeInfo::get_class_info(); @@ -505,7 +505,7 @@ void call_get_argument_type_info_helper(int p_arg, int &index, PropertyInfo &inf index++; } -template +template void call_get_argument_type_info(int p_arg, PropertyInfo &info) { int index = 0; // I think rocket science is simpler than modern C++. @@ -515,7 +515,7 @@ void call_get_argument_type_info(int p_arg, PropertyInfo &info) { (void)index; // Suppress GCC warning. } -template +template void call_get_argument_metadata_helper(int p_arg, int &index, GDExtensionClassMethodArgumentMetadata &md) { if (p_arg == index) { md = GetTypeInfo::METADATA; @@ -523,7 +523,7 @@ void call_get_argument_metadata_helper(int p_arg, int &index, GDExtensionClassMe index++; } -template +template GDExtensionClassMethodArgumentMetadata call_get_argument_metadata(int p_arg) { GDExtensionClassMethodArgumentMetadata md = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; @@ -536,7 +536,7 @@ GDExtensionClassMethodArgumentMetadata call_get_argument_metadata(int p_arg) { return md; } -template +template void call_with_variant_args_static(void (*p_method)(P...), const Variant **p_args, GDExtensionCallError &r_error, IndexSequence) { r_error.error = GDEXTENSION_CALL_OK; @@ -547,7 +547,7 @@ void call_with_variant_args_static(void (*p_method)(P...), const Variant **p_arg #endif } -template +template void call_with_variant_args_static_dv(void (*p_method)(P...), const GDExtensionConstVariantPtr *p_args, int p_argcount, GDExtensionCallError &r_error, const std::vector &default_values) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -582,17 +582,17 @@ void call_with_variant_args_static_dv(void (*p_method)(P...), const GDExtensionC call_with_variant_args_static(p_method, argsp.data(), r_error, BuildIndexSequence{}); } -template +template void call_with_ptr_args_static_method_helper(void (*p_method)(P...), const GDExtensionConstTypePtr *p_args, IndexSequence) { p_method(PtrToArg

::convert(p_args[Is])...); } -template +template void call_with_ptr_args_static_method(void (*p_method)(P...), const GDExtensionConstTypePtr *p_args) { call_with_ptr_args_static_method_helper(p_method, p_args, BuildIndexSequence{}); } -template +template void call_with_variant_args_static_ret(R (*p_method)(P...), const Variant **p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -610,7 +610,7 @@ void call_with_variant_args_static_ret(R (*p_method)(P...), const Variant **p_ar call_with_variant_args_static_ret(p_method, p_args, r_ret, r_error, BuildIndexSequence{}); } -template +template void call_with_variant_args_static_ret(void (*p_method)(P...), const Variant **p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -628,7 +628,7 @@ void call_with_variant_args_static_ret(void (*p_method)(P...), const Variant **p call_with_variant_args_static(p_method, p_args, r_error, BuildIndexSequence{}); } -template +template void call_with_variant_args_static_ret(R (*p_method)(P...), const Variant **p_args, Variant &r_ret, GDExtensionCallError &r_error, IndexSequence) { r_error.error = GDEXTENSION_CALL_OK; @@ -639,7 +639,7 @@ void call_with_variant_args_static_ret(R (*p_method)(P...), const Variant **p_ar #endif } -template +template void call_with_variant_args_static_ret_dv(R (*p_method)(P...), const GDExtensionConstVariantPtr *p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error, const std::vector &default_values) { #ifdef DEBUG_ENABLED if ((size_t)p_argcount > sizeof...(P)) { @@ -674,12 +674,12 @@ void call_with_variant_args_static_ret_dv(R (*p_method)(P...), const GDExtension call_with_variant_args_static_ret(p_method, argsp.data(), r_ret, r_error, BuildIndexSequence{}); } -template +template void call_with_ptr_args_static_method_ret_helper(R (*p_method)(P...), const GDExtensionConstTypePtr *p_args, void *r_ret, IndexSequence) { PtrToArg::encode(p_method(PtrToArg

::convert(p_args[Is])...), r_ret); } -template +template void call_with_ptr_args_static_method_ret(R (*p_method)(P...), const GDExtensionConstTypePtr *p_args, void *r_ret) { call_with_ptr_args_static_method_ret_helper(p_method, p_args, r_ret, BuildIndexSequence{}); } diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/builtin_ptrcall.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/builtin_ptrcall.hpp index 19250d8..286051f 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/builtin_ptrcall.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/builtin_ptrcall.hpp @@ -40,7 +40,7 @@ namespace godot { namespace internal { -template +template O *_call_builtin_method_ptr_ret_obj(const GDExtensionPtrBuiltInMethod method, GDExtensionTypePtr base, const Args &...args) { GodotObject *ret = nullptr; std::array call_args = { { (GDExtensionConstTypePtr)args... } }; @@ -51,13 +51,13 @@ O *_call_builtin_method_ptr_ret_obj(const GDExtensionPtrBuiltInMethod method, GD return reinterpret_cast(internal::get_object_instance_binding(ret)); } -template +template void _call_builtin_constructor(const GDExtensionPtrConstructor constructor, GDExtensionTypePtr base, Args... args) { std::array call_args = { { (GDExtensionConstTypePtr)args... } }; constructor(base, call_args.data()); } -template +template T _call_builtin_method_ptr_ret(const GDExtensionPtrBuiltInMethod method, GDExtensionTypePtr base, Args... args) { T ret; std::array call_args = { { (GDExtensionConstTypePtr)args... } }; @@ -65,20 +65,20 @@ T _call_builtin_method_ptr_ret(const GDExtensionPtrBuiltInMethod method, GDExten return ret; } -template +template void _call_builtin_method_ptr_no_ret(const GDExtensionPtrBuiltInMethod method, GDExtensionTypePtr base, Args... args) { std::array call_args = { { (GDExtensionConstTypePtr)args... } }; method(base, call_args.data(), nullptr, sizeof...(Args)); } -template +template T _call_builtin_operator_ptr(const GDExtensionPtrOperatorEvaluator op, GDExtensionConstTypePtr left, GDExtensionConstTypePtr right) { T ret; op(left, right, &ret); return ret; } -template +template T _call_builtin_ptr_getter(const GDExtensionPtrGetter getter, GDExtensionConstTypePtr base) { T ret; getter(base, &ret); diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/class_db.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/class_db.hpp index 65960a8..e240193 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/class_db.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/class_db.hpp @@ -109,10 +109,10 @@ class ClassDB { static void initialize_class(const ClassInfo &cl); static void bind_method_godot(const StringName &p_class_name, MethodBind *p_method); - template + template static void _register_class(bool p_virtual = false, bool p_exposed = true, bool p_runtime = false); - template + template static GDExtensionObjectPtr _create_instance_func(void *data) { if constexpr (!std::is_abstract_v) { T *new_object = memnew(T); @@ -122,7 +122,7 @@ class ClassDB { } } - template + template static GDExtensionClassInstancePtr _recreate_instance_func(void *data, GDExtensionObjectPtr obj) { if constexpr (!std::is_abstract_v) { #ifdef HOT_RELOAD_ENABLED @@ -140,26 +140,26 @@ class ClassDB { } public: - template + template static void register_class(bool p_virtual = false); - template + template static void register_abstract_class(); - template + template static void register_internal_class(); - template + template static void register_runtime_class(); _FORCE_INLINE_ static void _register_engine_class(const StringName &p_name, const GDExtensionInstanceBindingCallbacks *p_callbacks) { instance_binding_callbacks[p_name] = p_callbacks; } - template + template static MethodBind *bind_method(N p_method_name, M p_method, VarArgs... p_args); - template + template static MethodBind *bind_static_method(StringName p_class, N p_method_name, M p_method, VarArgs... p_args); - template + template static MethodBind *bind_vararg_method(uint32_t p_flags, StringName 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_group(const StringName &p_class, const String &p_name, const String &p_prefix); @@ -200,7 +200,7 @@ class ClassDB { ::godot::ClassDB::bind_virtual_method(m_class::get_class_static(), #m_method, _call##m_method); \ } -template +template void ClassDB::_register_class(bool p_virtual, bool p_exposed, bool p_runtime) { static_assert(TypesAreSame::value, "Class not declared properly, please use GDCLASS."); instance_binding_callbacks[T::get_class_static()] = &T::_gde_binding_callbacks; @@ -254,27 +254,27 @@ void ClassDB::_register_class(bool p_virtual, bool p_exposed, bool p_runtime) { initialize_class(classes[cl.name]); } -template +template void ClassDB::register_class(bool p_virtual) { ClassDB::_register_class(p_virtual); } -template +template void ClassDB::register_abstract_class() { ClassDB::_register_class(); } -template +template void ClassDB::register_internal_class() { ClassDB::_register_class(false, false); } -template +template void ClassDB::register_runtime_class() { ClassDB::_register_class(false, true, true); } -template +template MethodBind *ClassDB::bind_method(N p_method_name, M p_method, VarArgs... p_args) { Variant args[sizeof...(p_args) + 1] = { p_args..., Variant() }; // +1 makes sure zero sized arrays are also supported. const Variant *argptrs[sizeof...(p_args) + 1]; @@ -285,7 +285,7 @@ MethodBind *ClassDB::bind_method(N p_method_name, M p_method, VarArgs... p_args) return bind_methodfi(METHOD_FLAGS_DEFAULT, bind, p_method_name, sizeof...(p_args) == 0 ? nullptr : (const void **)argptrs, sizeof...(p_args)); } -template +template MethodBind *ClassDB::bind_static_method(StringName p_class, N p_method_name, M p_method, VarArgs... p_args) { Variant args[sizeof...(p_args) + 1] = { p_args..., Variant() }; // +1 makes sure zero sized arrays are also supported. const Variant *argptrs[sizeof...(p_args) + 1]; @@ -297,7 +297,7 @@ MethodBind *ClassDB::bind_static_method(StringName p_class, N p_method_name, M p return bind_methodfi(0, bind, p_method_name, sizeof...(p_args) == 0 ? nullptr : (const void **)argptrs, sizeof...(p_args)); } -template +template MethodBind *ClassDB::bind_vararg_method(uint32_t p_flags, StringName 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_NULL_V(bind, nullptr); diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/defs.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/defs.hpp index c03db50..16812c2 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/defs.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/defs.hpp @@ -108,7 +108,7 @@ typedef float real_t; // Generic swap template. #ifndef SWAP #define SWAP(m_x, m_y) __swap_tmpl((m_x), (m_y)) -template +template inline void __swap_tmpl(T &x, T &y) { T aux = x; x = y; diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/engine_ptrcall.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/engine_ptrcall.hpp index 69ab196..555806b 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/engine_ptrcall.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/engine_ptrcall.hpp @@ -43,7 +43,7 @@ namespace godot { namespace internal { -template +template O *_call_native_mb_ret_obj(const GDExtensionMethodBindPtr mb, void *instance, const Args &...args) { GodotObject *ret = nullptr; std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; @@ -54,7 +54,7 @@ O *_call_native_mb_ret_obj(const GDExtensionMethodBindPtr mb, void *instance, co return reinterpret_cast(internal::get_object_instance_binding(ret)); } -template +template R _call_native_mb_ret(const GDExtensionMethodBindPtr mb, void *instance, const Args &...args) { R ret; std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; @@ -62,13 +62,13 @@ R _call_native_mb_ret(const GDExtensionMethodBindPtr mb, void *instance, const A return ret; } -template +template void _call_native_mb_no_ret(const GDExtensionMethodBindPtr mb, void *instance, const Args &...args) { std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; internal::gdextension_interface_object_method_bind_ptrcall(mb, instance, mb_args.data(), nullptr); } -template +template R _call_utility_ret(GDExtensionPtrUtilityFunction func, const Args &...args) { R ret; std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; @@ -76,15 +76,15 @@ R _call_utility_ret(GDExtensionPtrUtilityFunction func, const Args &...args) { return ret; } -template -Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, void *instance, const Args &...args) { +template +Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, const Args &...args) { GodotObject *ret = nullptr; std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; func(&ret, mb_args.data(), mb_args.size()); return (Object *)internal::get_object_instance_binding(ret); } -template +template void _call_utility_no_ret(const GDExtensionPtrUtilityFunction func, const Args &...args) { std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; func(nullptr, mb_args.data(), mb_args.size()); diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/math.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/math.hpp index db97ba5..2cbbe27 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/math.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/math.hpp @@ -84,7 +84,7 @@ constexpr auto CLAMP(const T m_a, const T2 m_min, const T3 m_max) { // Generic swap template. #ifndef SWAP #define SWAP(m_x, m_y) __swap_tmpl((m_x), (m_y)) -template +template inline void __swap_tmpl(T &x, T &y) { T aux = x; x = y; @@ -138,7 +138,7 @@ static inline int get_shift_from_power_of_2(unsigned int p_bits) { return -1; } -template +template static _FORCE_INLINE_ T nearest_power_of_2_templated(T x) { --x; diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/memory.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/memory.hpp index 6775cf7..3c98c19 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/memory.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/memory.hpp @@ -84,7 +84,7 @@ class Memory { _ALWAYS_INLINE_ void postinitialize_handler(void *) {} -template +template _ALWAYS_INLINE_ T *_post_initialize(T *p_obj) { postinitialize_handler(p_obj); return p_obj; @@ -100,12 +100,12 @@ _ALWAYS_INLINE_ T *_post_initialize(T *p_obj) { #define memnew_placement(m_placement, m_class) ::godot::_post_initialize(new ("", m_placement, sizeof(m_class), "") m_class) // Generic comparator used in Map, List, etc. -template +template struct Comparator { _ALWAYS_INLINE_ bool operator()(const T &p_a, const T &p_b) const { return (p_a < p_b); } }; -template +template void memdelete(T *p_class, typename std::enable_if>::type * = nullptr) { if constexpr (!std::is_trivially_destructible_v) { p_class->~T(); @@ -114,12 +114,12 @@ void memdelete(T *p_class, typename std::enable_if, bool> = true> +template , bool> = true> void memdelete(T *p_class) { godot::internal::gdextension_interface_object_destroy(p_class->_owner); } -template +template void memdelete_allocator(T *p_class) { if constexpr (!std::is_trivially_destructible_v) { p_class->~T(); @@ -134,10 +134,10 @@ class DefaultAllocator { _ALWAYS_INLINE_ static void free(void *p_ptr) { Memory::free_static(p_ptr); } }; -template +template class DefaultTypedAllocator { public: - template + template _ALWAYS_INLINE_ T *new_allocation(const Args &&...p_args) { return memnew(T(p_args...)); } _ALWAYS_INLINE_ void delete_allocation(T *p_allocation) { memdelete(p_allocation); } }; diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/method_bind.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/method_bind.hpp index 37ae731..4afd7b8 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/method_bind.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/method_bind.hpp @@ -147,7 +147,7 @@ class MethodBind { virtual ~MethodBind(); }; -template +template class MethodBindVarArgBase : public MethodBind { protected: R(T::*method) @@ -208,7 +208,7 @@ class MethodBindVarArgBase : public MethodBind { } }; -template +template class MethodBindVarArgT : public MethodBindVarArgBase, T, void, false> { friend class MethodBindVarArgBase, T, void, false>; @@ -231,14 +231,14 @@ class MethodBindVarArgT : public MethodBindVarArgBase, T, v } }; -template +template MethodBind *create_vararg_method_bind(void (T::*p_method)(const Variant **, GDExtensionInt, GDExtensionCallError &), const MethodInfo &p_info, bool p_return_nil_is_variant) { MethodBind *a = memnew((MethodBindVarArgT)(p_method, p_info, p_return_nil_is_variant)); a->set_instance_class(T::get_class_static()); return a; } -template +template class MethodBindVarArgTR : public MethodBindVarArgBase, T, R, true> { friend class MethodBindVarArgBase, T, R, true>; @@ -260,7 +260,7 @@ class MethodBindVarArgTR : public MethodBindVarArgBase, } }; -template +template MethodBind *create_vararg_method_bind(R (T::*p_method)(const Variant **, GDExtensionInt, GDExtensionCallError &), const MethodInfo &p_info, bool p_return_nil_is_variant) { MethodBind *a = memnew((MethodBindVarArgTR)(p_method, p_info, p_return_nil_is_variant)); a->set_instance_class(T::get_class_static()); @@ -277,9 +277,9 @@ class _gde_UnexistingClass; // No return, not const. #ifdef TYPED_METHOD_BIND -template +template #else -template +template #endif // TYPED_METHOD_BIND class MethodBindT : public MethodBind { void (MB_T::*method)(P...); @@ -339,7 +339,7 @@ class MethodBindT : public MethodBind { } }; -template +template MethodBind *create_method_bind(void (T::*p_method)(P...)) { #ifdef TYPED_METHOD_BIND MethodBind *a = memnew((MethodBindT)(p_method)); @@ -353,9 +353,9 @@ MethodBind *create_method_bind(void (T::*p_method)(P...)) { // No return, const. #ifdef TYPED_METHOD_BIND -template +template #else -template +template #endif // TYPED_METHOD_BIND class MethodBindTC : public MethodBind { void (MB_T::*method)(P...) const; @@ -415,7 +415,7 @@ class MethodBindTC : public MethodBind { } }; -template +template MethodBind *create_method_bind(void (T::*p_method)(P...) const) { #ifdef TYPED_METHOD_BIND MethodBind *a = memnew((MethodBindTC)(p_method)); @@ -429,9 +429,9 @@ MethodBind *create_method_bind(void (T::*p_method)(P...) const) { // Return, not const. #ifdef TYPED_METHOD_BIND -template +template #else -template +template #endif // TYPED_METHOD_BIND class MethodBindTR : public MethodBind { R(MB_T::*method) @@ -498,7 +498,7 @@ class MethodBindTR : public MethodBind { } }; -template +template MethodBind *create_method_bind(R (T::*p_method)(P...)) { #ifdef TYPED_METHOD_BIND MethodBind *a = memnew((MethodBindTR)(p_method)); @@ -512,9 +512,9 @@ MethodBind *create_method_bind(R (T::*p_method)(P...)) { // Return, const. #ifdef TYPED_METHOD_BIND -template +template #else -template +template #endif // TYPED_METHOD_BIND class MethodBindTRC : public MethodBind { R(MB_T::*method) @@ -581,7 +581,7 @@ class MethodBindTRC : public MethodBind { } }; -template +template MethodBind *create_method_bind(R (T::*p_method)(P...) const) { #ifdef TYPED_METHOD_BIND MethodBind *a = memnew((MethodBindTRC)(p_method)); @@ -596,7 +596,7 @@ MethodBind *create_method_bind(R (T::*p_method)(P...) const) { // no return -template +template class MethodBindTS : public MethodBind { void (*function)(P...); @@ -652,7 +652,7 @@ class MethodBindTS : public MethodBind { } }; -template +template MethodBind *create_static_method_bind(void (*p_method)(P...)) { MethodBind *a = memnew((MethodBindTS)(p_method)); return a; @@ -660,7 +660,7 @@ MethodBind *create_static_method_bind(void (*p_method)(P...)) { // return -template +template class MethodBindTRS : public MethodBind { R(*function) (P...); @@ -722,7 +722,7 @@ class MethodBindTRS : public MethodBind { } }; -template +template MethodBind *create_static_method_bind(R (*p_method)(P...)) { MethodBind *a = memnew((MethodBindTRS)(p_method)); return a; diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/method_ptrcall.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/method_ptrcall.hpp index 32f3f45..ca3327e 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/method_ptrcall.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/method_ptrcall.hpp @@ -39,7 +39,7 @@ namespace godot { -template +template struct PtrToArg {}; #define MAKE_PTRARG(m_type) \ @@ -166,7 +166,7 @@ MAKE_PTRARG_BY_REFERENCE(Variant); // This is for Object. -template +template struct PtrToArg { static_assert(std::is_base_of::value, "Cannot encode non-Object value as an Object"); _FORCE_INLINE_ static T *convert(const void *p_ptr) { @@ -178,7 +178,7 @@ struct PtrToArg { } }; -template +template struct PtrToArg { static_assert(std::is_base_of::value, "Cannot encode non-Object value as an Object"); _FORCE_INLINE_ static const T *convert(const void *p_ptr) { diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/object.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/object.hpp index 12de658..917ec6c 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/object.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/object.hpp @@ -80,31 +80,31 @@ struct MethodInfo { MethodInfo(); MethodInfo(StringName p_name); - template + template MethodInfo(StringName p_name, const Args &...args); MethodInfo(Variant::Type ret); MethodInfo(Variant::Type ret, StringName p_name); - template + template MethodInfo(Variant::Type ret, StringName p_name, const Args &...args); MethodInfo(const PropertyInfo &p_ret, StringName p_name); - template + template MethodInfo(const PropertyInfo &p_ret, StringName p_name, const Args &...); }; -template +template MethodInfo::MethodInfo(StringName p_name, const Args &...args) : name(p_name), flags(GDEXTENSION_METHOD_FLAG_NORMAL) { arguments = { args... }; } -template +template MethodInfo::MethodInfo(Variant::Type ret, StringName p_name, const Args &...args) : name(p_name), flags(GDEXTENSION_METHOD_FLAG_NORMAL) { return_val.type = ret; arguments = { args... }; } -template +template MethodInfo::MethodInfo(const PropertyInfo &p_ret, StringName p_name, const Args &...args) : name(p_name), return_val(p_ret), flags(GDEXTENSION_METHOD_FLAG_NORMAL) { arguments = { args... }; @@ -121,7 +121,7 @@ class ObjectDB { } }; -template +template T *Object::cast_to(Object *p_object) { if (p_object == nullptr) { return nullptr; @@ -134,7 +134,7 @@ T *Object::cast_to(Object *p_object) { return dynamic_cast(internal::get_object_instance_binding(casted)); } -template +template const T *Object::cast_to(const Object *p_object) { if (p_object == nullptr) { return nullptr; diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/type_info.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/type_info.hpp index 9a8b840..5896651 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/core/type_info.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/core/type_info.hpp @@ -90,7 +90,7 @@ static PropertyInfo make_property_info(Variant::Type p_type, const StringName &p // 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 +template struct GetTypeInfo; #define MAKE_TYPE_INFO(m_type, m_var_type) \ @@ -248,7 +248,7 @@ inline StringName _gde_constant_get_enum_name(T param, StringName p_constant) { return GetTypeInfo::get_class_info().class_name; } -template +template class BitField { int64_t value = 0; @@ -295,7 +295,7 @@ inline StringName _gde_constant_get_bitfield_name(T param, StringName p_constant return GetTypeInfo>::get_class_info().class_name; } -template +template struct PtrToArg> { _FORCE_INLINE_ static TypedArray convert(const void *p_ptr) { return TypedArray(*reinterpret_cast(p_ptr)); @@ -306,7 +306,7 @@ struct PtrToArg> { } }; -template +template struct PtrToArg &> { typedef Array EncodeT; _FORCE_INLINE_ static TypedArray diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/cowdata.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/cowdata.hpp index f2959d1..dcb74ec 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/cowdata.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/cowdata.hpp @@ -43,13 +43,13 @@ namespace godot { -template +template class Vector; -template +template class VMap; -template +template class CharStringT; static_assert(std::is_trivially_destructible_v>); @@ -60,15 +60,15 @@ static_assert(std::is_trivially_destructible_v>); #pragma GCC diagnostic ignored "-Wplacement-new" #endif -template +template class CowData { - template + template friend class Vector; - template + template friend class VMap; - template + template friend class CharStringT; public: @@ -248,7 +248,7 @@ class CowData { _FORCE_INLINE_ CowData(CowData &p_from) { _ref(p_from); }; }; -template +template void CowData::_unref(void *p_data) { if (!p_data) { return; @@ -275,7 +275,7 @@ void CowData::_unref(void *p_data) { Memory::free_static(((uint8_t *)p_data) - DATA_OFFSET, false); } -template +template typename CowData::USize CowData::_copy_on_write() { if (!_ptr) { return 0; @@ -315,7 +315,7 @@ typename CowData::USize CowData::_copy_on_write() { return rc; } -template +template template Error CowData::resize(Size p_size) { ERR_FAIL_COND_V(p_size < 0, ERR_INVALID_PARAMETER); @@ -407,7 +407,7 @@ Error CowData::resize(Size p_size) { return OK; } -template +template typename CowData::Size CowData::find(const T &p_val, Size p_from) const { Size ret = -1; @@ -425,7 +425,7 @@ typename CowData::Size CowData::find(const T &p_val, Size p_from) const { return ret; } -template +template typename CowData::Size CowData::rfind(const T &p_val, Size p_from) const { const Size s = size(); @@ -444,7 +444,7 @@ typename CowData::Size CowData::rfind(const T &p_val, Size p_from) const { return -1; } -template +template typename CowData::Size CowData::count(const T &p_val) const { Size amount = 0; for (Size i = 0; i < size(); i++) { @@ -455,12 +455,12 @@ typename CowData::Size CowData::count(const T &p_val) const { return amount; } -template +template void CowData::_ref(const CowData *p_from) { _ref(*p_from); } -template +template void CowData::_ref(const CowData &p_from) { if (_ptr == p_from._ptr) { return; // self assign, do nothing. @@ -478,7 +478,7 @@ void CowData::_ref(const CowData &p_from) { } } -template +template CowData::~CowData() { _unref(_ptr); } diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/hash_map.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/hash_map.hpp index 77c7b7a..59cd8e0 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/hash_map.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/hash_map.hpp @@ -52,7 +52,7 @@ namespace godot { * The assignment operator copy the pairs from one map to the other. */ -template +template struct HashMapElement { HashMapElement *next = nullptr; HashMapElement *prev = nullptr; @@ -62,10 +62,10 @@ struct HashMapElement { data(p_key, p_value) {} }; -template , - class Allocator = DefaultTypedAllocator>> +template , + typename Allocator = DefaultTypedAllocator>> class HashMap { public: const uint32_t MIN_CAPACITY_INDEX = 2; // Use a prime. diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/hash_set.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/hash_set.hpp index 884ae4d..1845a1b 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/hash_set.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/hash_set.hpp @@ -48,9 +48,9 @@ namespace godot { * */ -template > +template > class HashSet { public: static constexpr uint32_t MIN_CAPACITY_INDEX = 2; // Use a prime. diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/hashfuncs.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/hashfuncs.hpp index d6f3400..40b10a9 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/hashfuncs.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/hashfuncs.hpp @@ -253,7 +253,7 @@ static _FORCE_INLINE_ uint32_t hash_djb2_one_float(double p_in, uint32_t p_prev return ((p_prev << 5) + p_prev) + hash_one_uint64(u.i); } -template +template static _FORCE_INLINE_ uint32_t hash_make_uint32_t(T p_in) { union { T t; @@ -286,7 +286,7 @@ static _FORCE_INLINE_ uint64_t hash_djb2_one_64(uint64_t p_in, uint64_t p_prev = return ((p_prev << 5) + p_prev) ^ p_in; } -template +template static _FORCE_INLINE_ uint64_t hash_make_uint64_t(T p_in) { union { T t; @@ -298,15 +298,15 @@ static _FORCE_INLINE_ uint64_t hash_make_uint64_t(T p_in) { return _u._u64; } -template +template class Ref; struct HashMapHasherDefault { // Generic hash function for any type. - template + template static _FORCE_INLINE_ uint32_t hash(const T *p_pointer) { return hash_one_uint64((uint64_t)p_pointer); } - template + template static _FORCE_INLINE_ uint32_t hash(const Ref &p_ref) { return hash_one_uint64((uint64_t)p_ref.operator->()); } static _FORCE_INLINE_ uint32_t hash(const String &p_string) { return p_string.hash(); } diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/list.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/list.hpp index 2c8a7c8..376e3ea 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/list.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/list.hpp @@ -45,7 +45,7 @@ namespace godot { -template +template class List { struct _Data; @@ -410,7 +410,7 @@ class List { /** * find an element in the list, */ - template + template Element *find(const T_v &p_val) { Element *it = front(); while (it) { @@ -646,7 +646,7 @@ class List { sort_custom>(); } - template + template void sort_custom_inplace() { if (size() < 2) { return; @@ -693,7 +693,7 @@ class List { _data->last = to; } - template + template struct AuxiliaryComparator { C compare; _FORCE_INLINE_ bool operator()(const Element *a, const Element *b) const { @@ -701,7 +701,7 @@ class List { } }; - template + template void sort_custom() { // this version uses auxiliary memory for speed. // if you don't want to use auxiliary memory, use the in_place version diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/local_vector.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/local_vector.hpp index 8ce4e65..5dad32e 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/local_vector.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/local_vector.hpp @@ -43,7 +43,7 @@ namespace godot { // If tight, it grows strictly as much as needed. // Otherwise, it grows exponentially (the default and what you want in most cases). -template +template class LocalVector { private: U count = 0; @@ -257,7 +257,7 @@ class LocalVector { return -1; } - template + template void sort_custom() { U len = count; if (len == 0) { @@ -331,7 +331,7 @@ class LocalVector { } }; -template +template using TightLocalVector = LocalVector; } // namespace godot diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/pair.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/pair.hpp index ed35302..f875413 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/pair.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/pair.hpp @@ -33,7 +33,7 @@ namespace godot { -template +template struct Pair { F first; S second; @@ -49,17 +49,17 @@ struct Pair { } }; -template +template bool operator==(const Pair &pair, const Pair &other) { return (pair.first == other.first) && (pair.second == other.second); } -template +template bool operator!=(const Pair &pair, const Pair &other) { return (pair.first != other.first) || (pair.second != other.second); } -template +template struct PairSort { bool operator()(const Pair &A, const Pair &B) const { if (A.first != B.first) { @@ -69,7 +69,7 @@ struct PairSort { } }; -template +template struct KeyValue { const K key; V value; @@ -85,17 +85,17 @@ struct KeyValue { } }; -template +template bool operator==(const KeyValue &pair, const KeyValue &other) { return (pair.key == other.key) && (pair.value == other.value); } -template +template bool operator!=(const KeyValue &pair, const KeyValue &other) { return (pair.key != other.key) || (pair.value != other.value); } -template +template struct KeyValueSort { bool operator()(const KeyValue &A, const KeyValue &B) const { return A.key < B.key; diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/rb_map.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/rb_map.hpp index cce1e91..6ab71fd 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/rb_map.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/rb_map.hpp @@ -40,7 +40,7 @@ namespace godot { // based on the very nice implementation of rb-trees by: // https://web.archive.org/web/20120507164830/https://web.mit.edu/~emin/www/source_code/red_black_tree/index.html -template , class A = DefaultAllocator> +template , typename A = DefaultAllocator> class RBMap { enum Color { RED, diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/rb_set.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/rb_set.hpp index c803f81..69aa8d7 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/rb_set.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/rb_set.hpp @@ -38,7 +38,7 @@ namespace godot { -template , class A = DefaultAllocator> +template , typename A = DefaultAllocator> class RBSet { enum Color { RED, diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/rid_owner.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/rid_owner.hpp index 005fc87..1dd4a39 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/rid_owner.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/rid_owner.hpp @@ -42,7 +42,7 @@ namespace godot { -template +template class RID_Alloc { T **chunks = nullptr; uint32_t **free_list_chunks = nullptr; @@ -347,7 +347,7 @@ class RID_Alloc { } }; -template +template class RID_PtrOwner { RID_Alloc alloc; @@ -406,7 +406,7 @@ class RID_PtrOwner { alloc(p_target_chunk_byte_size) {} }; -template +template class RID_Owner { RID_Alloc alloc; diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/safe_refcount.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/safe_refcount.hpp index 519bbf7..12e6840 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/safe_refcount.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/safe_refcount.hpp @@ -57,7 +57,7 @@ namespace godot { static_assert(sizeof(SafeFlag) == sizeof(bool)); \ static_assert(alignof(SafeFlag) == alignof(bool)); -template +template class SafeNumeric { std::atomic value; @@ -195,7 +195,7 @@ class SafeRefCount { #else -template +template class SafeNumeric { protected: T value; diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/search_array.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/search_array.hpp index ce2713b..11a9db5 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/search_array.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/search_array.hpp @@ -35,7 +35,7 @@ namespace godot { -template > +template > class SearchArray { public: Comparator compare; diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/self_list.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/self_list.hpp index 3bb13a3..f7a65f6 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/self_list.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/self_list.hpp @@ -36,7 +36,7 @@ namespace godot { -template +template class SelfList { public: class List { diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/sort_array.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/sort_array.hpp index 5dda578..7ce5c78 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/sort_array.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/sort_array.hpp @@ -41,7 +41,7 @@ namespace godot { break; \ } -template +template struct _DefaultComparator { _FORCE_INLINE_ bool operator()(const T &a, const T &b) const { return (a < b); } }; @@ -52,7 +52,7 @@ struct _DefaultComparator { #define SORT_ARRAY_VALIDATE_ENABLED false #endif -template , bool Validate = SORT_ARRAY_VALIDATE_ENABLED> +template , bool Validate = SORT_ARRAY_VALIDATE_ENABLED> class SortArray { enum { INTROSORT_THRESHOLD = 16 diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/thread_work_pool.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/thread_work_pool.hpp index a3efd42..cb20c6e 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/thread_work_pool.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/thread_work_pool.hpp @@ -52,7 +52,7 @@ class ThreadWorkPool { virtual ~BaseWork() = default; }; - template + template struct Work : public BaseWork { C *instance; M method; @@ -94,7 +94,7 @@ class ThreadWorkPool { } public: - template + template void begin_work(uint32_t p_elements, C *p_instance, M p_method, U p_userdata) { ERR_FAIL_NULL(threads); // Never initialized. ERR_FAIL_COND(current_work != nullptr); @@ -145,7 +145,7 @@ class ThreadWorkPool { current_work = nullptr; } - template + template void do_work(uint32_t p_elements, C *p_instance, M p_method, U p_userdata) { switch (p_elements) { case 0: diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/vector.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/vector.hpp index 05b7184..aaa84f3 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/vector.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/vector.hpp @@ -47,7 +47,7 @@ namespace godot { -template +template class VectorWriteProxy { public: _FORCE_INLINE_ T &operator[](typename CowData::Size p_index) { @@ -57,7 +57,7 @@ class VectorWriteProxy { } }; -template +template class Vector { friend class VectorWriteProxy; @@ -110,7 +110,7 @@ class Vector { sort_custom<_DefaultComparator>(); } - template + template void sort_custom(Args &&...args) { Size len = _cowdata.size(); if (len == 0) { @@ -126,7 +126,7 @@ class Vector { return bsearch_custom<_DefaultComparator>(p_value, p_before); } - template + template Size bsearch_custom(const Value &p_value, bool p_before, Args &&...args) { SearchArray search{ args... }; return search.bisect(ptrw(), size(), p_value, p_before); @@ -293,7 +293,7 @@ class Vector { _FORCE_INLINE_ ~Vector() {} }; -template +template void Vector::reverse() { for (Size i = 0; i < size() / 2; i++) { T *p = ptrw(); @@ -301,7 +301,7 @@ void Vector::reverse() { } } -template +template void Vector::append_array(Vector p_other) { const Size ds = p_other.size(); if (ds == 0) { @@ -314,7 +314,7 @@ void Vector::append_array(Vector p_other) { } } -template +template bool Vector::push_back(T p_elem) { Error err = resize(size() + 1); ERR_FAIL_COND_V(err, true); @@ -323,7 +323,7 @@ bool Vector::push_back(T p_elem) { return false; } -template +template void Vector::fill(T p_elem) { T *p = ptrw(); for (Size i = 0; i < size(); i++) { diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/vmap.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/vmap.hpp index 881ac25..926ccd3 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/vmap.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/vmap.hpp @@ -35,7 +35,7 @@ namespace godot { -template +template class VMap { public: struct Pair { diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/vset.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/vset.hpp index 29f0cef..ce21ba8 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/vset.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/templates/vset.hpp @@ -35,7 +35,7 @@ namespace godot { -template +template class VSet { Vector _data; diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/callable_method_pointer.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/callable_method_pointer.hpp index 0c0ff34..f3d688b 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/callable_method_pointer.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/variant/callable_method_pointer.hpp @@ -60,7 +60,7 @@ Callable create_callable_from_ccmp(CallableCustomMethodPointerBase *p_callable_m // No return value. // -template +template class CallableCustomMethodPointer : public CallableCustomMethodPointerBase { struct Data { T *instance; @@ -90,7 +90,7 @@ class CallableCustomMethodPointer : public CallableCustomMethodPointerBase { } }; -template +template Callable create_custom_callable_function_pointer(T *p_instance, void (T::*p_method)(P...)) { typedef CallableCustomMethodPointer CCMP; CCMP *ccmp = memnew(CCMP(p_instance, p_method)); @@ -101,7 +101,7 @@ Callable create_custom_callable_function_pointer(T *p_instance, void (T::*p_meth // With return value. // -template +template class CallableCustomMethodPointerRet : public CallableCustomMethodPointerBase { struct Data { T *instance; @@ -132,7 +132,7 @@ class CallableCustomMethodPointerRet : public CallableCustomMethodPointerBase { } }; -template +template Callable create_custom_callable_function_pointer(T *p_instance, R (T::*p_method)(P...)) { typedef CallableCustomMethodPointerRet CCMP; // Messes with memnew otherwise. CCMP *ccmp = memnew(CCMP(p_instance, p_method)); @@ -143,7 +143,7 @@ Callable create_custom_callable_function_pointer(T *p_instance, R (T::*p_method) // Const with return value. // -template +template class CallableCustomMethodPointerRetC : public CallableCustomMethodPointerBase { struct Data { T *instance; @@ -174,7 +174,7 @@ class CallableCustomMethodPointerRetC : public CallableCustomMethodPointerBase { } }; -template +template Callable create_custom_callable_function_pointer(const T *p_instance, R (T::*p_method)(P...) const) { typedef CallableCustomMethodPointerRetC CCMP; // Messes with memnew otherwise. CCMP *ccmp = memnew(CCMP(p_instance, p_method)); @@ -185,7 +185,7 @@ Callable create_custom_callable_function_pointer(const T *p_instance, R (T::*p_m // Static method with no return value. // -template +template class CallableCustomStaticMethodPointer : public CallableCustomMethodPointerBase { struct Data { void (*method)(P...); @@ -214,7 +214,7 @@ class CallableCustomStaticMethodPointer : public CallableCustomMethodPointerBase } }; -template +template Callable create_custom_callable_static_function_pointer(void (*p_method)(P...)) { typedef CallableCustomStaticMethodPointer CCMP; CCMP *ccmp = memnew(CCMP(p_method)); @@ -225,7 +225,7 @@ Callable create_custom_callable_static_function_pointer(void (*p_method)(P...)) // Static method with return value. // -template +template class CallableCustomStaticMethodPointerRet : public CallableCustomMethodPointerBase { struct Data { R(*method) @@ -254,7 +254,7 @@ class CallableCustomStaticMethodPointerRet : public CallableCustomMethodPointerB } }; -template +template Callable create_custom_callable_static_function_pointer(R (*p_method)(P...)) { typedef CallableCustomStaticMethodPointerRet CCMP; CCMP *ccmp = memnew(CCMP(p_method)); diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/char_string.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/char_string.hpp index 993d046..991c039 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/char_string.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/variant/char_string.hpp @@ -38,12 +38,12 @@ namespace godot { -template +template class CharStringT; -template +template class CharProxy { - template + template friend class CharStringT; const int64_t _index; @@ -80,7 +80,7 @@ class CharProxy { } }; -template +template class CharStringT { friend class String; diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/typed_array.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/typed_array.hpp index 2261509..47b7410 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/typed_array.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/variant/typed_array.hpp @@ -36,7 +36,7 @@ namespace godot { -template +template class TypedArray : public Array { public: _FORCE_INLINE_ void operator=(const Array &p_array) { diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/variant.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/variant.hpp index 7ec04d2..5b09a15 100644 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/variant.hpp +++ b/thirdparty/godot-cpp/include/godot_cpp/variant/variant.hpp @@ -269,7 +269,7 @@ class Variant { void callp(const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDExtensionCallError &r_error); - template + template Variant call(const StringName &method, Args... args) { std::array vargs = { args... }; std::array argptrs; @@ -284,7 +284,7 @@ class Variant { static void callp_static(Variant::Type type, const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDExtensionCallError &r_error); - template + template static Variant call_static(Variant::Type type, const StringName &method, Args... args) { std::array vargs = { args... }; std::array argptrs; diff --git a/thirdparty/godot-cpp/src/variant/char_string.cpp b/thirdparty/godot-cpp/src/variant/char_string.cpp index 3c1ac10..cac46cf 100644 --- a/thirdparty/godot-cpp/src/variant/char_string.cpp +++ b/thirdparty/godot-cpp/src/variant/char_string.cpp @@ -65,7 +65,7 @@ _FORCE_INLINE_ bool is_str_less(const L *l_ptr, const R *r_ptr) { } } -template +template bool CharStringT::operator<(const CharStringT &p_right) const { if (length() == 0) { return p_right.length() != 0; @@ -74,7 +74,7 @@ bool CharStringT::operator<(const CharStringT &p_right) const { return is_str_less(get_data(), p_right.get_data()); } -template +template CharStringT &CharStringT::operator+=(T p_char) { const int64_t lhs_len = length(); resize(lhs_len + 2); @@ -86,7 +86,7 @@ CharStringT &CharStringT::operator+=(T p_char) { return *this; } -template +template void CharStringT::operator=(const T *p_cstr) { copy_from(p_cstr); } @@ -127,7 +127,7 @@ const wchar_t *CharStringT::get_data() const { } } -template +template void CharStringT::copy_from(const T *p_cstr) { if (!p_cstr) { resize(0); diff --git a/thirdparty/godot-cpp/test/CMakeLists.txt b/thirdparty/godot-cpp/test/CMakeLists.txt index 67f3c5c..42ea6e0 100644 --- a/thirdparty/godot-cpp/test/CMakeLists.txt +++ b/thirdparty/godot-cpp/test/CMakeLists.txt @@ -1,5 +1,5 @@ +cmake_minimum_required(VERSION 3.13) project(godot-cpp-test) -cmake_minimum_required(VERSION 3.6) set(GODOT_GDEXTENSION_DIR ../gdextension/ CACHE STRING "Path to GDExtension interface header directory") set(CPP_BINDINGS_PATH ../ CACHE STRING "Path to C++ bindings") From 56600e5e84edaa0c4462cc266df43c4f85bd1119 Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Sat, 6 Apr 2024 11:00:32 -0700 Subject: [PATCH 08/25] git subrepo pull --remote=https://github.com/Ughuuu/godot-cpp --branch=compat-layer thirdparty/godot-cpp subrepo: subdir: "thirdparty/godot-cpp" merged: "841edd2" upstream: origin: "https://github.com/Ughuuu/godot-cpp" branch: "compat-layer" commit: "841edd2" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "73a0129" --- thirdparty/godot-cpp/.github/workflows/ci.yml | 11 ++++ thirdparty/godot-cpp/.gitrepo | 6 +- thirdparty/godot-cpp/README.md | 15 +++++ thirdparty/godot-cpp/binding_generator.py | 46 ++++++++++++++ thirdparty/godot-cpp/compat_generator.py | 63 +++++++++++++++++++ thirdparty/godot-cpp/header_matcher.py | 31 +++++++++ thirdparty/godot-cpp/module_converter.py | 46 ++++++++++++++ 7 files changed, 215 insertions(+), 3 deletions(-) create mode 100644 thirdparty/godot-cpp/compat_generator.py create mode 100644 thirdparty/godot-cpp/header_matcher.py create mode 100644 thirdparty/godot-cpp/module_converter.py diff --git a/thirdparty/godot-cpp/.github/workflows/ci.yml b/thirdparty/godot-cpp/.github/workflows/ci.yml index ada01e9..ad661b9 100644 --- a/thirdparty/godot-cpp/.github/workflows/ci.yml +++ b/thirdparty/godot-cpp/.github/workflows/ci.yml @@ -108,6 +108,17 @@ jobs: with: python-version: '3.x' + - name: Clone Godot + uses: actions/checkout@v4 + with: + repository: godotengine/godot + path: godot + #ref: TODO take tag + + - name: Generate compat mappings for godot + run: | + python compat_generator.py godot + - name: Android dependencies if: ${{ matrix.platform == 'android' }} uses: nttld/setup-ndk@v1 diff --git a/thirdparty/godot-cpp/.gitrepo b/thirdparty/godot-cpp/.gitrepo index a582c73..7d34493 100644 --- a/thirdparty/godot-cpp/.gitrepo +++ b/thirdparty/godot-cpp/.gitrepo @@ -5,8 +5,8 @@ ; [subrepo] remote = https://github.com/Ughuuu/godot-cpp - branch = master - commit = b02124595f46ec9bf35d6b0636c9bf16750fbfb6 - parent = 8e10503d28a18450ed2b3a0b3ee6344a4823abbe + branch = compat-layer + commit = 841edd2d476028ba5f33780d871c01651ae59d41 + parent = 874d330e72cd2ea1fd0390f29816e4724e844cde method = merge cmdver = 0.4.6 diff --git a/thirdparty/godot-cpp/README.md b/thirdparty/godot-cpp/README.md index f4f3be0..fa28b20 100644 --- a/thirdparty/godot-cpp/README.md +++ b/thirdparty/godot-cpp/README.md @@ -62,6 +62,21 @@ and the [godot-cpp issue tracker](https://github.com/godotengine/godot-cpp/issue for a list of known issues, and be sure to provide feedback on issues and PRs which affect your use of this extension. +## Godot and Godot Cpp Compatibility + +If you intend to target both building as a GDExtension and as a module using godot repo, you can generate compatibility includes that will target either GDExtension or module, based on the GODOT_MODULE_COMPAT define. + +If you want such a thing built, when running the build command, `scons`, make sure you have a file called `output_header_mapping.json` at root level of this repo. This file needs to have the mappings from `godot` repo. The mappings can be generated by running the compat_generator.py script. + +Example of how to obtain them: + +``` +git clone godotengine/godot +python compat_generator.py godot +``` + +Then run the SConstruct build command as usual, and in the `gen/` folder you will now have a new folder, `include/godot_compat` which mirrors the `include/godot_cpp` includes, but have ifdef inside them and either include godot header or godot_cpp header. + ## Contributing We greatly appreciate help in maintaining and extending this project. If you diff --git a/thirdparty/godot-cpp/binding_generator.py b/thirdparty/godot-cpp/binding_generator.py index e4e827e..652d294 100644 --- a/thirdparty/godot-cpp/binding_generator.py +++ b/thirdparty/godot-cpp/binding_generator.py @@ -3,6 +3,9 @@ import json import re import shutil +import os +from compat_generator import map_header_files +from header_matcher import match_headers from pathlib import Path @@ -205,6 +208,7 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False): core_gen_folder = Path(output_dir) / "gen" / "include" / "godot_cpp" / "core" include_gen_folder = Path(output_dir) / "gen" / "include" / "godot_cpp" + include_gen_compat_folder = Path(output_dir) / "gen" / "include" / "godot_compat" source_gen_folder = Path(output_dir) / "gen" / "src" files.append(str((core_gen_folder / "ext_wrappers.gen.inc").as_posix())) @@ -307,6 +311,7 @@ def generate_bindings(api_filepath, use_template_get_node, bits="64", precision= generate_builtin_bindings(api, target_dir, real_t + "_" + bits) generate_engine_classes_bindings(api, target_dir, use_template_get_node) generate_utility_functions(api, target_dir) + generate_compat_includes(Path(output_dir), target_dir) builtin_classes = [] @@ -1440,6 +1445,47 @@ def generate_engine_classes_bindings(api, output_dir, use_template_get_node): header_file.write("\n".join(result)) +def generate_compat_includes(output_dir: Path, target_dir: Path): + file_types_mapping_godot_cpp_gen = map_header_files(target_dir / "include") + file_types_mapping_godot_cpp = map_header_files(output_dir / "include") | file_types_mapping_godot_cpp_gen + godot_compat = Path("output_header_mapping_godot.json") + levels_to_look_back = 3 + while not godot_compat.exists(): + godot_compat = ".." / godot_compat + levels_to_look_back -= 1 + if levels_to_look_back == 0: + print("Skipping godot_compat") + return + with godot_compat.open() as file: + mapping2 = json.load(file) + # Match the headers + file_types_mapping = match_headers(file_types_mapping_godot_cpp, mapping2) + + include_gen_folder = Path(target_dir) / "include" + for file_godot_cpp_name, file_godot_names in file_types_mapping.items(): + header_filename = file_godot_cpp_name.replace("godot_cpp", "godot_compat") + header_filepath = include_gen_folder / header_filename + Path(os.path.dirname(header_filepath)).mkdir(parents=True, exist_ok=True) + result = [] + snake_header_name = camel_to_snake(header_filename) + add_header(f"{snake_header_name}.hpp", result) + + header_guard = f"GODOT_COMPAT_{os.path.splitext(os.path.basename(header_filepath).upper())[0]}_HPP" + result.append(f"#ifndef {header_guard}") + result.append(f"#define {header_guard}") + result.append("") + result.append(f"#ifdef GODOT_MODULE_COMPAT") + for file_godot_name in file_godot_names: + result.append(f"#include <{file_godot_name}>") + result.append(f"#else") + result.append(f"#include <{file_godot_cpp_name}>") + result.append(f"#endif") + result.append("") + result.append(f"#endif // ! {header_guard}") + with header_filepath.open("w+", encoding="utf-8") as header_file: + header_file.write("\n".join(result)) + + def generate_engine_class_header(class_api, used_classes, fully_used_classes, use_template_get_node): global singletons result = [] diff --git a/thirdparty/godot-cpp/compat_generator.py b/thirdparty/godot-cpp/compat_generator.py new file mode 100644 index 0000000..b9ae848 --- /dev/null +++ b/thirdparty/godot-cpp/compat_generator.py @@ -0,0 +1,63 @@ +import re +import os +import json +import sys + + +def parse_header_file(file_path): + types = {"classes": [], "structs": [], "defines": []} + + with open(file_path, "r", encoding="utf-8") as file: + content = file.read() + + # Regular expressions to match different types + class_pattern = r"class\s+([a-zA-Z_]\w*)\s*[:{]" + struct_pattern = r"struct\s+([a-zA-Z_]\w*)\s*[:{]" + define_pattern = r"#define\s+([a-zA-Z_]\w*)" + + # Extract classes + types["classes"] += re.findall(class_pattern, content) + + # Extract structs + types["structs"] += re.findall(struct_pattern, content) + + # Extract defines + define_matches = re.findall(define_pattern, content) + types["defines"] += define_matches + + if len(types["classes"]) == 0 and len(types["structs"]) == 0 and len(types["defines"]) == 0: + print(f"{file_path} missing things") + return types + + +def map_header_files(directory): + file_types_mapping = {} + + for root, dirs, files in os.walk(directory): + if "thirdparty" in dirs: + dirs.remove("thirdparty") + if "tests" in dirs: + dirs.remove("tests") + if "test" in dirs: + dirs.remove("test") + if "misc" in dirs: + dirs.remove("misc") + for file in files: + if file.endswith(".h") or file.endswith(".hpp"): + relative_path = os.path.relpath(root, directory) + file_path = os.path.join(root, file) + file_types_mapping[f"{relative_path}/{file}"] = parse_header_file(file_path) + + return file_types_mapping + + +if __name__ == "__main__": + # Get current directory + current_directory = os.getcwd() + + if len(sys.argv) > 1: + current_directory = os.path.join(os.getcwd(), sys.argv[1]) + + file_types_mapping = map_header_files(current_directory) + with open("output_header_mapping.json", "w") as json_file: + json.dump(file_types_mapping, json_file, indent=4) diff --git a/thirdparty/godot-cpp/header_matcher.py b/thirdparty/godot-cpp/header_matcher.py new file mode 100644 index 0000000..3fe7dcb --- /dev/null +++ b/thirdparty/godot-cpp/header_matcher.py @@ -0,0 +1,31 @@ +import json + + +def match_headers(mapping1, mapping2): + matches = {} + for header_file, data1 in mapping1.items(): + for header_file2, data2 in mapping2.items(): + # Check if classes/defines/structs in header_file1 are present in header_file2 + if (any(class_name in data2["classes"] for class_name in data1["classes"]) or + any(define_name in data2["defines"] for define_name in data1["defines"]) or + any(define_name in data2["structs"] for define_name in data1["structs"])): + if header_file not in matches: + matches[header_file] = [] + matches[header_file].append(header_file2) + return matches + + +if __name__ == "__main__": + # Load the two header mappings + with open("output_header_mapping.json", "r") as file: + mapping1 = json.load(file) + + with open("output_header_mapping_godot.json", "r") as file: + mapping2 = json.load(file) + + # Match the headers + matches = match_headers(mapping1, mapping2) + + # Optionally, you can save the matches to a file + with open("header_matches.json", "w") as outfile: + json.dump(matches, outfile, indent=4) diff --git a/thirdparty/godot-cpp/module_converter.py b/thirdparty/godot-cpp/module_converter.py new file mode 100644 index 0000000..9d157df --- /dev/null +++ b/thirdparty/godot-cpp/module_converter.py @@ -0,0 +1,46 @@ +# Using output_header_mapping.json convert all imports in specified source folder location from godot imports to godot-compat imports + + +import json +import os +import sys + +from compat_generator import map_header_files +from header_matcher import match_headers + +if __name__ == "__main__": + if len(sys.argv) > 2: + current_directory = os.path.join(os.getcwd(), sys.argv[1]) + godot_cpp_directory = os.path.join(os.getcwd(), sys.argv[2]) + # Load the godot mappings + with open(f"{godot_cpp_directory}/output_header_mapping.json", "r") as file: + godot_mappings = json.load(file) + + # Generate mappings for godot-cpp + godot_cpp_mappings = map_header_files(godot_cpp_directory) + matches = match_headers(godot_mappings, godot_cpp_mappings) + # Save matches to a file + with open("header_matches.json", "w") as outfile: + json.dump(matches, outfile, indent=4) + current_directory = os.getcwd() + # Go through folder specified through all files with .cpp, .h or .hpp + for root, dirs, files in os.walk(current_directory): + for file in files: + if file.endswith(".cpp") or file.endswith(".h") or file.endswith(".hpp"): + with open(os.path.join(root, file), "r") as f: + content = f.read() + + # Replace imports to godot imports with godot_compat imports + for match in matches: + generate_imports = matches[match] + godot_compat_imports = "" + for generate_import in generate_imports: + godot_compat_import = generate_import.replace("gen/include/godot_cpp/", "godot_compat/") + godot_compat_import = godot_compat_import.replace("include/godot_cpp/", "godot_compat/") + godot_compat_imports += f"#include <{godot_compat_import}>\n" + # Remove last 'n from imports + godot_compat_imports = godot_compat_imports[:-1] + content = content.replace(f"#include \"{match}\"", godot_compat_imports) + # Write the modified content back to the file + with open(os.path.join(root, file), "w") as f: + f.write(content) From 7e3bb99b0d7ed1b283792a0c60d07a0a791697b9 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Sun, 7 Apr 2024 10:45:47 +0200 Subject: [PATCH 09/25] update addon --- register_types.cpp | 33 +++++++++++++++++++++++++++++++++ register_types.h | 11 +++++++++++ 2 files changed, 44 insertions(+) diff --git a/register_types.cpp b/register_types.cpp index 4953053..ddd5251 100644 --- a/register_types.cpp +++ b/register_types.cpp @@ -38,6 +38,7 @@ #include "thirdparty/jitter.h" +#ifdef GODOT_MODULE_COMPAT extern "C" #ifdef __GNUC__ __attribute__((noreturn)) @@ -68,3 +69,35 @@ void uninitialize_speech_module(ModuleInitializationLevel p_level) { return; } } +#else +void initialize_speech_module(ModuleInitializationLevel p_level) { + if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) { + return; + } + GDREGISTER_CLASS(PlaybackStats); + GDREGISTER_CLASS(SpeechProcessor); + GDREGISTER_CLASS(SpeechDecoder); + GDREGISTER_CLASS(Speech); + GDREGISTER_CLASS(JitterBuffer); + GDREGISTER_CLASS(JitterBufferPacket); +} + +void uninitialize_speech_module(ModuleInitializationLevel p_level) { + if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) { + return; + } +} + +extern "C" { + +GDExtensionBool GDE_EXPORT godot_speech_library_init(const GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization) { + godot::GDExtensionBinding::InitObject init_obj(p_get_proc_address, p_library, r_initialization); + + init_obj.register_initializer(initialize_speech_module); + init_obj.register_terminator(uninitialize_speech_module); + init_obj.set_minimum_library_initialization_level(MODULE_INITIALIZATION_LEVEL_SCENE); + + return init_obj.init(); +} +} +#endif diff --git a/register_types.h b/register_types.h index 834da57..9dbf882 100644 --- a/register_types.h +++ b/register_types.h @@ -30,7 +30,18 @@ #pragma once +#ifdef GODOT_MODULE_COMPAT #include "modules/register_module_types.h" void initialize_speech_module(ModuleInitializationLevel p_level); void uninitialize_speech_module(ModuleInitializationLevel p_level); +#else + +#include +#include + +using namespace godot; + +void initialize_speech_module(ModuleInitializationLevel p_level); +void uninitialize_speech_module(ModuleInitializationLevel p_level); +#endif From a15061bd41b3eb7255a2264cb12e205faaaedcba Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Sun, 7 Apr 2024 10:56:01 +0200 Subject: [PATCH 10/25] upd --- .github/workflows/build_android.yml | 1 - .github/workflows/build_ios.yml | 1 - .github/workflows/build_linux.yml | 1 - .github/workflows/build_macos.yml | 1 - .github/workflows/build_web.yml | 1 - .github/workflows/build_windows.yml | 1 - 6 files changed, 6 deletions(-) diff --git a/.github/workflows/build_android.yml b/.github/workflows/build_android.yml index 283557d..19739d8 100644 --- a/.github/workflows/build_android.yml +++ b/.github/workflows/build_android.yml @@ -39,7 +39,6 @@ jobs: with: platform: android arch: ${{ matrix.arch }} - godot-cpp-location: godot-cpp float-precision: ${{ matrix.precision }} build-target-type: template_release diff --git a/.github/workflows/build_ios.yml b/.github/workflows/build_ios.yml index e2dbe1d..4146b1d 100644 --- a/.github/workflows/build_ios.yml +++ b/.github/workflows/build_ios.yml @@ -28,7 +28,6 @@ jobs: with: platform: ios arch: ${{ matrix.arch }} - godot-cpp-location: godot-cpp float-precision: ${{ matrix.precision }} build-target-type: template_release diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index badf609..76d226d 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -27,7 +27,6 @@ jobs: with: platform: linux arch: ${{ matrix.arch }} - godot-cpp-location: godot-cpp float-precision: ${{ matrix.precision }} build-target-type: template_release diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index 8a19290..efcfc68 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -40,7 +40,6 @@ jobs: with: platform: macos arch: ${{ matrix.arch }} - godot-cpp-location: godot-cpp float-precision: ${{ matrix.precision }} build-target-type: template_release diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index 04a94af..171e4be 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -26,7 +26,6 @@ jobs: with: platform: web arch: ${{ matrix.arch }} - godot-cpp-location: godot-cpp float-precision: ${{ matrix.precision }} build-target-type: template_release diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 812cfac..6064253 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -34,7 +34,6 @@ jobs: with: platform: windows arch: ${{ matrix.arch }} - godot-cpp-location: godot-cpp float-precision: ${{ matrix.precision }} build-target-type: template_release From 523b6508d10bbe805982db158dc6021854a7a803 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Sun, 7 Apr 2024 11:54:32 +0200 Subject: [PATCH 11/25] Update binding_generator.py --- thirdparty/godot-cpp/binding_generator.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/thirdparty/godot-cpp/binding_generator.py b/thirdparty/godot-cpp/binding_generator.py index 652d294..ad06a3a 100644 --- a/thirdparty/godot-cpp/binding_generator.py +++ b/thirdparty/godot-cpp/binding_generator.py @@ -222,9 +222,11 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False): continue header_filename = include_gen_folder / "variant" / (camel_to_snake(builtin_class["name"]) + ".hpp") + header_compat_filename = include_gen_compat_folder / "variant" / (camel_to_snake(builtin_class["name"]) + ".hpp") source_filename = source_gen_folder / "variant" / (camel_to_snake(builtin_class["name"]) + ".cpp") if headers: files.append(str(header_filename.as_posix())) + files.append(str(header_compat_filename.as_posix())) if sources: files.append(str(source_filename.as_posix())) @@ -234,9 +236,11 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False): engine_class["name"] = "ClassDBSingleton" engine_class["alias_for"] = "ClassDB" header_filename = include_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".hpp") + header_compat_filename = include_gen_compat_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".hpp") source_filename = source_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".cpp") if headers: files.append(str(header_filename.as_posix())) + files.append(str(header_compat_filename.as_posix())) if sources: files.append(str(source_filename.as_posix())) @@ -247,8 +251,10 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False): snake_struct_name = camel_to_snake(struct_name) header_filename = include_gen_folder / "classes" / (snake_struct_name + ".hpp") + header_compat_filename = include_gen_compat_folder / "classes" / (snake_struct_name + ".hpp") if headers: files.append(str(header_filename.as_posix())) + files.append(str(header_compat_filename.as_posix())) if headers: for path in [ From 78c0a15095e0d256580e46a0626f0d4d3c30f080 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Mon, 8 Apr 2024 00:20:32 +0200 Subject: [PATCH 12/25] add ogg. --- thirdparty/libogg/COPYING | 28 + thirdparty/libogg/bitwise.c | 1087 +++++++++++++ thirdparty/libogg/crctable.h | 278 ++++ thirdparty/libogg/framing.c | 2114 ++++++++++++++++++++++++++ thirdparty/libogg/ogg/config_types.h | 26 + thirdparty/libogg/ogg/ogg.h | 209 +++ thirdparty/libogg/ogg/os_types.h | 158 ++ 7 files changed, 3900 insertions(+) create mode 100644 thirdparty/libogg/COPYING create mode 100644 thirdparty/libogg/bitwise.c create mode 100644 thirdparty/libogg/crctable.h create mode 100644 thirdparty/libogg/framing.c create mode 100644 thirdparty/libogg/ogg/config_types.h create mode 100644 thirdparty/libogg/ogg/ogg.h create mode 100644 thirdparty/libogg/ogg/os_types.h diff --git a/thirdparty/libogg/COPYING b/thirdparty/libogg/COPYING new file mode 100644 index 0000000..6111c6c --- /dev/null +++ b/thirdparty/libogg/COPYING @@ -0,0 +1,28 @@ +Copyright (c) 2002, Xiph.org Foundation + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +- Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +- Neither the name of the Xiph.org Foundation nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/thirdparty/libogg/bitwise.c b/thirdparty/libogg/bitwise.c new file mode 100644 index 0000000..f5ef791 --- /dev/null +++ b/thirdparty/libogg/bitwise.c @@ -0,0 +1,1087 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg CONTAINER SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2014 * + * by the Xiph.Org Foundation http://www.xiph.org/ * + * * + ******************************************************************** + + function: packing variable sized words into an octet stream + + ********************************************************************/ + +/* We're 'LSb' endian; if we write a word but read individual bits, + then we'll read the lsb first */ + +#include +#include +#include +#include + +#define BUFFER_INCREMENT 256 + +static const unsigned long mask[]= +{0x00000000,0x00000001,0x00000003,0x00000007,0x0000000f, + 0x0000001f,0x0000003f,0x0000007f,0x000000ff,0x000001ff, + 0x000003ff,0x000007ff,0x00000fff,0x00001fff,0x00003fff, + 0x00007fff,0x0000ffff,0x0001ffff,0x0003ffff,0x0007ffff, + 0x000fffff,0x001fffff,0x003fffff,0x007fffff,0x00ffffff, + 0x01ffffff,0x03ffffff,0x07ffffff,0x0fffffff,0x1fffffff, + 0x3fffffff,0x7fffffff,0xffffffff }; + +static const unsigned int mask8B[]= +{0x00,0x80,0xc0,0xe0,0xf0,0xf8,0xfc,0xfe,0xff}; + +void oggpack_writeinit(oggpack_buffer *b){ + memset(b,0,sizeof(*b)); + b->ptr=b->buffer=_ogg_malloc(BUFFER_INCREMENT); + b->buffer[0]='\0'; + b->storage=BUFFER_INCREMENT; +} + +void oggpackB_writeinit(oggpack_buffer *b){ + oggpack_writeinit(b); +} + +int oggpack_writecheck(oggpack_buffer *b){ + if(!b->ptr || !b->storage)return -1; + return 0; +} + +int oggpackB_writecheck(oggpack_buffer *b){ + return oggpack_writecheck(b); +} + +void oggpack_writetrunc(oggpack_buffer *b,long bits){ + long bytes=bits>>3; + if(b->ptr){ + bits-=bytes*8; + b->ptr=b->buffer+bytes; + b->endbit=bits; + b->endbyte=bytes; + *b->ptr&=mask[bits]; + } +} + +void oggpackB_writetrunc(oggpack_buffer *b,long bits){ + long bytes=bits>>3; + if(b->ptr){ + bits-=bytes*8; + b->ptr=b->buffer+bytes; + b->endbit=bits; + b->endbyte=bytes; + *b->ptr&=mask8B[bits]; + } +} + +/* Takes only up to 32 bits. */ +void oggpack_write(oggpack_buffer *b,unsigned long value,int bits){ + if(bits<0 || bits>32) goto err; + if(b->endbyte>=b->storage-4){ + void *ret; + if(!b->ptr)return; + if(b->storage>LONG_MAX-BUFFER_INCREMENT) goto err; + ret=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT); + if(!ret) goto err; + b->buffer=ret; + b->storage+=BUFFER_INCREMENT; + b->ptr=b->buffer+b->endbyte; + } + + value&=mask[bits]; + bits+=b->endbit; + + b->ptr[0]|=value<endbit; + + if(bits>=8){ + b->ptr[1]=(unsigned char)(value>>(8-b->endbit)); + if(bits>=16){ + b->ptr[2]=(unsigned char)(value>>(16-b->endbit)); + if(bits>=24){ + b->ptr[3]=(unsigned char)(value>>(24-b->endbit)); + if(bits>=32){ + if(b->endbit) + b->ptr[4]=(unsigned char)(value>>(32-b->endbit)); + else + b->ptr[4]=0; + } + } + } + } + + b->endbyte+=bits/8; + b->ptr+=bits/8; + b->endbit=bits&7; + return; + err: + oggpack_writeclear(b); +} + +/* Takes only up to 32 bits. */ +void oggpackB_write(oggpack_buffer *b,unsigned long value,int bits){ + if(bits<0 || bits>32) goto err; + if(b->endbyte>=b->storage-4){ + void *ret; + if(!b->ptr)return; + if(b->storage>LONG_MAX-BUFFER_INCREMENT) goto err; + ret=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT); + if(!ret) goto err; + b->buffer=ret; + b->storage+=BUFFER_INCREMENT; + b->ptr=b->buffer+b->endbyte; + } + + value=(value&mask[bits])<<(32-bits); + bits+=b->endbit; + + b->ptr[0]|=value>>(24+b->endbit); + + if(bits>=8){ + b->ptr[1]=(unsigned char)(value>>(16+b->endbit)); + if(bits>=16){ + b->ptr[2]=(unsigned char)(value>>(8+b->endbit)); + if(bits>=24){ + b->ptr[3]=(unsigned char)(value>>(b->endbit)); + if(bits>=32){ + if(b->endbit) + b->ptr[4]=(unsigned char)(value<<(8-b->endbit)); + else + b->ptr[4]=0; + } + } + } + } + + b->endbyte+=bits/8; + b->ptr+=bits/8; + b->endbit=bits&7; + return; + err: + oggpack_writeclear(b); +} + +void oggpack_writealign(oggpack_buffer *b){ + int bits=8-b->endbit; + if(bits<8) + oggpack_write(b,0,bits); +} + +void oggpackB_writealign(oggpack_buffer *b){ + int bits=8-b->endbit; + if(bits<8) + oggpackB_write(b,0,bits); +} + +static void oggpack_writecopy_helper(oggpack_buffer *b, + void *source, + long bits, + void (*w)(oggpack_buffer *, + unsigned long, + int), + int msb){ + unsigned char *ptr=(unsigned char *)source; + + long bytes=bits/8; + long pbytes=(b->endbit+bits)/8; + bits-=bytes*8; + + /* expand storage up-front */ + if(b->endbyte+pbytes>=b->storage){ + void *ret; + if(!b->ptr) goto err; + if(b->storage>b->endbyte+pbytes+BUFFER_INCREMENT) goto err; + b->storage=b->endbyte+pbytes+BUFFER_INCREMENT; + ret=_ogg_realloc(b->buffer,b->storage); + if(!ret) goto err; + b->buffer=ret; + b->ptr=b->buffer+b->endbyte; + } + + /* copy whole octets */ + if(b->endbit){ + int i; + /* unaligned copy. Do it the hard way. */ + for(i=0;iptr,source,bytes); + b->ptr+=bytes; + b->endbyte+=bytes; + *b->ptr=0; + } + + /* copy trailing bits */ + if(bits){ + if(msb) + w(b,(unsigned long)(ptr[bytes]>>(8-bits)),bits); + else + w(b,(unsigned long)(ptr[bytes]),bits); + } + return; + err: + oggpack_writeclear(b); +} + +void oggpack_writecopy(oggpack_buffer *b,void *source,long bits){ + oggpack_writecopy_helper(b,source,bits,oggpack_write,0); +} + +void oggpackB_writecopy(oggpack_buffer *b,void *source,long bits){ + oggpack_writecopy_helper(b,source,bits,oggpackB_write,1); +} + +void oggpack_reset(oggpack_buffer *b){ + if(!b->ptr)return; + b->ptr=b->buffer; + b->buffer[0]=0; + b->endbit=b->endbyte=0; +} + +void oggpackB_reset(oggpack_buffer *b){ + oggpack_reset(b); +} + +void oggpack_writeclear(oggpack_buffer *b){ + if(b->buffer)_ogg_free(b->buffer); + memset(b,0,sizeof(*b)); +} + +void oggpackB_writeclear(oggpack_buffer *b){ + oggpack_writeclear(b); +} + +void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes){ + memset(b,0,sizeof(*b)); + b->buffer=b->ptr=buf; + b->storage=bytes; +} + +void oggpackB_readinit(oggpack_buffer *b,unsigned char *buf,int bytes){ + oggpack_readinit(b,buf,bytes); +} + +/* Read in bits without advancing the bitptr; bits <= 32 */ +long oggpack_look(oggpack_buffer *b,int bits){ + unsigned long ret; + unsigned long m; + + if(bits<0 || bits>32) return -1; + m=mask[bits]; + bits+=b->endbit; + + if(b->endbyte >= b->storage-4){ + /* not the main path */ + if(b->endbyte > b->storage-((bits+7)>>3)) return -1; + /* special case to avoid reading b->ptr[0], which might be past the end of + the buffer; also skips some useless accounting */ + else if(!bits)return(0L); + } + + ret=b->ptr[0]>>b->endbit; + if(bits>8){ + ret|=b->ptr[1]<<(8-b->endbit); + if(bits>16){ + ret|=b->ptr[2]<<(16-b->endbit); + if(bits>24){ + ret|=b->ptr[3]<<(24-b->endbit); + if(bits>32 && b->endbit) + ret|=b->ptr[4]<<(32-b->endbit); + } + } + } + return(m&ret); +} + +/* Read in bits without advancing the bitptr; bits <= 32 */ +long oggpackB_look(oggpack_buffer *b,int bits){ + unsigned long ret; + int m=32-bits; + + if(m<0 || m>32) return -1; + bits+=b->endbit; + + if(b->endbyte >= b->storage-4){ + /* not the main path */ + if(b->endbyte > b->storage-((bits+7)>>3)) return -1; + /* special case to avoid reading b->ptr[0], which might be past the end of + the buffer; also skips some useless accounting */ + else if(!bits)return(0L); + } + + ret=b->ptr[0]<<(24+b->endbit); + if(bits>8){ + ret|=b->ptr[1]<<(16+b->endbit); + if(bits>16){ + ret|=b->ptr[2]<<(8+b->endbit); + if(bits>24){ + ret|=b->ptr[3]<<(b->endbit); + if(bits>32 && b->endbit) + ret|=b->ptr[4]>>(8-b->endbit); + } + } + } + return ((ret&0xffffffff)>>(m>>1))>>((m+1)>>1); +} + +long oggpack_look1(oggpack_buffer *b){ + if(b->endbyte>=b->storage)return(-1); + return((b->ptr[0]>>b->endbit)&1); +} + +long oggpackB_look1(oggpack_buffer *b){ + if(b->endbyte>=b->storage)return(-1); + return((b->ptr[0]>>(7-b->endbit))&1); +} + +void oggpack_adv(oggpack_buffer *b,int bits){ + bits+=b->endbit; + + if(b->endbyte > b->storage-((bits+7)>>3)) goto overflow; + + b->ptr+=bits/8; + b->endbyte+=bits/8; + b->endbit=bits&7; + return; + + overflow: + b->ptr=NULL; + b->endbyte=b->storage; + b->endbit=1; +} + +void oggpackB_adv(oggpack_buffer *b,int bits){ + oggpack_adv(b,bits); +} + +void oggpack_adv1(oggpack_buffer *b){ + if(++(b->endbit)>7){ + b->endbit=0; + b->ptr++; + b->endbyte++; + } +} + +void oggpackB_adv1(oggpack_buffer *b){ + oggpack_adv1(b); +} + +/* bits <= 32 */ +long oggpack_read(oggpack_buffer *b,int bits){ + long ret; + unsigned long m; + + if(bits<0 || bits>32) goto err; + m=mask[bits]; + bits+=b->endbit; + + if(b->endbyte >= b->storage-4){ + /* not the main path */ + if(b->endbyte > b->storage-((bits+7)>>3)) goto overflow; + /* special case to avoid reading b->ptr[0], which might be past the end of + the buffer; also skips some useless accounting */ + else if(!bits)return(0L); + } + + ret=b->ptr[0]>>b->endbit; + if(bits>8){ + ret|=b->ptr[1]<<(8-b->endbit); + if(bits>16){ + ret|=b->ptr[2]<<(16-b->endbit); + if(bits>24){ + ret|=b->ptr[3]<<(24-b->endbit); + if(bits>32 && b->endbit){ + ret|=b->ptr[4]<<(32-b->endbit); + } + } + } + } + ret&=m; + b->ptr+=bits/8; + b->endbyte+=bits/8; + b->endbit=bits&7; + return ret; + + overflow: + err: + b->ptr=NULL; + b->endbyte=b->storage; + b->endbit=1; + return -1L; +} + +/* bits <= 32 */ +long oggpackB_read(oggpack_buffer *b,int bits){ + long ret; + long m=32-bits; + + if(m<0 || m>32) goto err; + bits+=b->endbit; + + if(b->endbyte+4>=b->storage){ + /* not the main path */ + if(b->endbyte > b->storage-((bits+7)>>3)) goto overflow; + /* special case to avoid reading b->ptr[0], which might be past the end of + the buffer; also skips some useless accounting */ + else if(!bits)return(0L); + } + + ret=b->ptr[0]<<(24+b->endbit); + if(bits>8){ + ret|=b->ptr[1]<<(16+b->endbit); + if(bits>16){ + ret|=b->ptr[2]<<(8+b->endbit); + if(bits>24){ + ret|=b->ptr[3]<<(b->endbit); + if(bits>32 && b->endbit) + ret|=b->ptr[4]>>(8-b->endbit); + } + } + } + ret=((ret&0xffffffffUL)>>(m>>1))>>((m+1)>>1); + + b->ptr+=bits/8; + b->endbyte+=bits/8; + b->endbit=bits&7; + return ret; + + overflow: + err: + b->ptr=NULL; + b->endbyte=b->storage; + b->endbit=1; + return -1L; +} + +long oggpack_read1(oggpack_buffer *b){ + long ret; + + if(b->endbyte >= b->storage) goto overflow; + ret=(b->ptr[0]>>b->endbit)&1; + + b->endbit++; + if(b->endbit>7){ + b->endbit=0; + b->ptr++; + b->endbyte++; + } + return ret; + + overflow: + b->ptr=NULL; + b->endbyte=b->storage; + b->endbit=1; + return -1L; +} + +long oggpackB_read1(oggpack_buffer *b){ + long ret; + + if(b->endbyte >= b->storage) goto overflow; + ret=(b->ptr[0]>>(7-b->endbit))&1; + + b->endbit++; + if(b->endbit>7){ + b->endbit=0; + b->ptr++; + b->endbyte++; + } + return ret; + + overflow: + b->ptr=NULL; + b->endbyte=b->storage; + b->endbit=1; + return -1L; +} + +long oggpack_bytes(oggpack_buffer *b){ + return(b->endbyte+(b->endbit+7)/8); +} + +long oggpack_bits(oggpack_buffer *b){ + return(b->endbyte*8+b->endbit); +} + +long oggpackB_bytes(oggpack_buffer *b){ + return oggpack_bytes(b); +} + +long oggpackB_bits(oggpack_buffer *b){ + return oggpack_bits(b); +} + +unsigned char *oggpack_get_buffer(oggpack_buffer *b){ + return(b->buffer); +} + +unsigned char *oggpackB_get_buffer(oggpack_buffer *b){ + return oggpack_get_buffer(b); +} + +/* Self test of the bitwise routines; everything else is based on + them, so they damned well better be solid. */ + +#ifdef _V_SELFTEST +#include + +static int ilog(unsigned int v){ + int ret=0; + while(v){ + ret++; + v>>=1; + } + return(ret); +} + +oggpack_buffer o; +oggpack_buffer r; + +void report(char *in){ + fprintf(stderr,"%s",in); + exit(1); +} + +void cliptest(unsigned long *b,int vals,int bits,int *comp,int compsize){ + long bytes,i; + unsigned char *buffer; + + oggpack_reset(&o); + for(i=0;i + +static const ogg_uint32_t crc_lookup[8][256]={ +{0x00000000,0x04c11db7,0x09823b6e,0x0d4326d9,0x130476dc,0x17c56b6b,0x1a864db2,0x1e475005, + 0x2608edb8,0x22c9f00f,0x2f8ad6d6,0x2b4bcb61,0x350c9b64,0x31cd86d3,0x3c8ea00a,0x384fbdbd, + 0x4c11db70,0x48d0c6c7,0x4593e01e,0x4152fda9,0x5f15adac,0x5bd4b01b,0x569796c2,0x52568b75, + 0x6a1936c8,0x6ed82b7f,0x639b0da6,0x675a1011,0x791d4014,0x7ddc5da3,0x709f7b7a,0x745e66cd, + 0x9823b6e0,0x9ce2ab57,0x91a18d8e,0x95609039,0x8b27c03c,0x8fe6dd8b,0x82a5fb52,0x8664e6e5, + 0xbe2b5b58,0xbaea46ef,0xb7a96036,0xb3687d81,0xad2f2d84,0xa9ee3033,0xa4ad16ea,0xa06c0b5d, + 0xd4326d90,0xd0f37027,0xddb056fe,0xd9714b49,0xc7361b4c,0xc3f706fb,0xceb42022,0xca753d95, + 0xf23a8028,0xf6fb9d9f,0xfbb8bb46,0xff79a6f1,0xe13ef6f4,0xe5ffeb43,0xe8bccd9a,0xec7dd02d, + 0x34867077,0x30476dc0,0x3d044b19,0x39c556ae,0x278206ab,0x23431b1c,0x2e003dc5,0x2ac12072, + 0x128e9dcf,0x164f8078,0x1b0ca6a1,0x1fcdbb16,0x018aeb13,0x054bf6a4,0x0808d07d,0x0cc9cdca, + 0x7897ab07,0x7c56b6b0,0x71159069,0x75d48dde,0x6b93dddb,0x6f52c06c,0x6211e6b5,0x66d0fb02, + 0x5e9f46bf,0x5a5e5b08,0x571d7dd1,0x53dc6066,0x4d9b3063,0x495a2dd4,0x44190b0d,0x40d816ba, + 0xaca5c697,0xa864db20,0xa527fdf9,0xa1e6e04e,0xbfa1b04b,0xbb60adfc,0xb6238b25,0xb2e29692, + 0x8aad2b2f,0x8e6c3698,0x832f1041,0x87ee0df6,0x99a95df3,0x9d684044,0x902b669d,0x94ea7b2a, + 0xe0b41de7,0xe4750050,0xe9362689,0xedf73b3e,0xf3b06b3b,0xf771768c,0xfa325055,0xfef34de2, + 0xc6bcf05f,0xc27dede8,0xcf3ecb31,0xcbffd686,0xd5b88683,0xd1799b34,0xdc3abded,0xd8fba05a, + 0x690ce0ee,0x6dcdfd59,0x608edb80,0x644fc637,0x7a089632,0x7ec98b85,0x738aad5c,0x774bb0eb, + 0x4f040d56,0x4bc510e1,0x46863638,0x42472b8f,0x5c007b8a,0x58c1663d,0x558240e4,0x51435d53, + 0x251d3b9e,0x21dc2629,0x2c9f00f0,0x285e1d47,0x36194d42,0x32d850f5,0x3f9b762c,0x3b5a6b9b, + 0x0315d626,0x07d4cb91,0x0a97ed48,0x0e56f0ff,0x1011a0fa,0x14d0bd4d,0x19939b94,0x1d528623, + 0xf12f560e,0xf5ee4bb9,0xf8ad6d60,0xfc6c70d7,0xe22b20d2,0xe6ea3d65,0xeba91bbc,0xef68060b, + 0xd727bbb6,0xd3e6a601,0xdea580d8,0xda649d6f,0xc423cd6a,0xc0e2d0dd,0xcda1f604,0xc960ebb3, + 0xbd3e8d7e,0xb9ff90c9,0xb4bcb610,0xb07daba7,0xae3afba2,0xaafbe615,0xa7b8c0cc,0xa379dd7b, + 0x9b3660c6,0x9ff77d71,0x92b45ba8,0x9675461f,0x8832161a,0x8cf30bad,0x81b02d74,0x857130c3, + 0x5d8a9099,0x594b8d2e,0x5408abf7,0x50c9b640,0x4e8ee645,0x4a4ffbf2,0x470cdd2b,0x43cdc09c, + 0x7b827d21,0x7f436096,0x7200464f,0x76c15bf8,0x68860bfd,0x6c47164a,0x61043093,0x65c52d24, + 0x119b4be9,0x155a565e,0x18197087,0x1cd86d30,0x029f3d35,0x065e2082,0x0b1d065b,0x0fdc1bec, + 0x3793a651,0x3352bbe6,0x3e119d3f,0x3ad08088,0x2497d08d,0x2056cd3a,0x2d15ebe3,0x29d4f654, + 0xc5a92679,0xc1683bce,0xcc2b1d17,0xc8ea00a0,0xd6ad50a5,0xd26c4d12,0xdf2f6bcb,0xdbee767c, + 0xe3a1cbc1,0xe760d676,0xea23f0af,0xeee2ed18,0xf0a5bd1d,0xf464a0aa,0xf9278673,0xfde69bc4, + 0x89b8fd09,0x8d79e0be,0x803ac667,0x84fbdbd0,0x9abc8bd5,0x9e7d9662,0x933eb0bb,0x97ffad0c, + 0xafb010b1,0xab710d06,0xa6322bdf,0xa2f33668,0xbcb4666d,0xb8757bda,0xb5365d03,0xb1f740b4}, + +{0x00000000,0xd219c1dc,0xa0f29e0f,0x72eb5fd3,0x452421a9,0x973de075,0xe5d6bfa6,0x37cf7e7a, + 0x8a484352,0x5851828e,0x2abadd5d,0xf8a31c81,0xcf6c62fb,0x1d75a327,0x6f9efcf4,0xbd873d28, + 0x10519b13,0xc2485acf,0xb0a3051c,0x62bac4c0,0x5575baba,0x876c7b66,0xf58724b5,0x279ee569, + 0x9a19d841,0x4800199d,0x3aeb464e,0xe8f28792,0xdf3df9e8,0x0d243834,0x7fcf67e7,0xadd6a63b, + 0x20a33626,0xf2baf7fa,0x8051a829,0x524869f5,0x6587178f,0xb79ed653,0xc5758980,0x176c485c, + 0xaaeb7574,0x78f2b4a8,0x0a19eb7b,0xd8002aa7,0xefcf54dd,0x3dd69501,0x4f3dcad2,0x9d240b0e, + 0x30f2ad35,0xe2eb6ce9,0x9000333a,0x4219f2e6,0x75d68c9c,0xa7cf4d40,0xd5241293,0x073dd34f, + 0xbabaee67,0x68a32fbb,0x1a487068,0xc851b1b4,0xff9ecfce,0x2d870e12,0x5f6c51c1,0x8d75901d, + 0x41466c4c,0x935fad90,0xe1b4f243,0x33ad339f,0x04624de5,0xd67b8c39,0xa490d3ea,0x76891236, + 0xcb0e2f1e,0x1917eec2,0x6bfcb111,0xb9e570cd,0x8e2a0eb7,0x5c33cf6b,0x2ed890b8,0xfcc15164, + 0x5117f75f,0x830e3683,0xf1e56950,0x23fca88c,0x1433d6f6,0xc62a172a,0xb4c148f9,0x66d88925, + 0xdb5fb40d,0x094675d1,0x7bad2a02,0xa9b4ebde,0x9e7b95a4,0x4c625478,0x3e890bab,0xec90ca77, + 0x61e55a6a,0xb3fc9bb6,0xc117c465,0x130e05b9,0x24c17bc3,0xf6d8ba1f,0x8433e5cc,0x562a2410, + 0xebad1938,0x39b4d8e4,0x4b5f8737,0x994646eb,0xae893891,0x7c90f94d,0x0e7ba69e,0xdc626742, + 0x71b4c179,0xa3ad00a5,0xd1465f76,0x035f9eaa,0x3490e0d0,0xe689210c,0x94627edf,0x467bbf03, + 0xfbfc822b,0x29e543f7,0x5b0e1c24,0x8917ddf8,0xbed8a382,0x6cc1625e,0x1e2a3d8d,0xcc33fc51, + 0x828cd898,0x50951944,0x227e4697,0xf067874b,0xc7a8f931,0x15b138ed,0x675a673e,0xb543a6e2, + 0x08c49bca,0xdadd5a16,0xa83605c5,0x7a2fc419,0x4de0ba63,0x9ff97bbf,0xed12246c,0x3f0be5b0, + 0x92dd438b,0x40c48257,0x322fdd84,0xe0361c58,0xd7f96222,0x05e0a3fe,0x770bfc2d,0xa5123df1, + 0x189500d9,0xca8cc105,0xb8679ed6,0x6a7e5f0a,0x5db12170,0x8fa8e0ac,0xfd43bf7f,0x2f5a7ea3, + 0xa22feebe,0x70362f62,0x02dd70b1,0xd0c4b16d,0xe70bcf17,0x35120ecb,0x47f95118,0x95e090c4, + 0x2867adec,0xfa7e6c30,0x889533e3,0x5a8cf23f,0x6d438c45,0xbf5a4d99,0xcdb1124a,0x1fa8d396, + 0xb27e75ad,0x6067b471,0x128ceba2,0xc0952a7e,0xf75a5404,0x254395d8,0x57a8ca0b,0x85b10bd7, + 0x383636ff,0xea2ff723,0x98c4a8f0,0x4add692c,0x7d121756,0xaf0bd68a,0xdde08959,0x0ff94885, + 0xc3cab4d4,0x11d37508,0x63382adb,0xb121eb07,0x86ee957d,0x54f754a1,0x261c0b72,0xf405caae, + 0x4982f786,0x9b9b365a,0xe9706989,0x3b69a855,0x0ca6d62f,0xdebf17f3,0xac544820,0x7e4d89fc, + 0xd39b2fc7,0x0182ee1b,0x7369b1c8,0xa1707014,0x96bf0e6e,0x44a6cfb2,0x364d9061,0xe45451bd, + 0x59d36c95,0x8bcaad49,0xf921f29a,0x2b383346,0x1cf74d3c,0xceee8ce0,0xbc05d333,0x6e1c12ef, + 0xe36982f2,0x3170432e,0x439b1cfd,0x9182dd21,0xa64da35b,0x74546287,0x06bf3d54,0xd4a6fc88, + 0x6921c1a0,0xbb38007c,0xc9d35faf,0x1bca9e73,0x2c05e009,0xfe1c21d5,0x8cf77e06,0x5eeebfda, + 0xf33819e1,0x2121d83d,0x53ca87ee,0x81d34632,0xb61c3848,0x6405f994,0x16eea647,0xc4f7679b, + 0x79705ab3,0xab699b6f,0xd982c4bc,0x0b9b0560,0x3c547b1a,0xee4dbac6,0x9ca6e515,0x4ebf24c9}, + +{0x00000000,0x01d8ac87,0x03b1590e,0x0269f589,0x0762b21c,0x06ba1e9b,0x04d3eb12,0x050b4795, + 0x0ec56438,0x0f1dc8bf,0x0d743d36,0x0cac91b1,0x09a7d624,0x087f7aa3,0x0a168f2a,0x0bce23ad, + 0x1d8ac870,0x1c5264f7,0x1e3b917e,0x1fe33df9,0x1ae87a6c,0x1b30d6eb,0x19592362,0x18818fe5, + 0x134fac48,0x129700cf,0x10fef546,0x112659c1,0x142d1e54,0x15f5b2d3,0x179c475a,0x1644ebdd, + 0x3b1590e0,0x3acd3c67,0x38a4c9ee,0x397c6569,0x3c7722fc,0x3daf8e7b,0x3fc67bf2,0x3e1ed775, + 0x35d0f4d8,0x3408585f,0x3661add6,0x37b90151,0x32b246c4,0x336aea43,0x31031fca,0x30dbb34d, + 0x269f5890,0x2747f417,0x252e019e,0x24f6ad19,0x21fdea8c,0x2025460b,0x224cb382,0x23941f05, + 0x285a3ca8,0x2982902f,0x2beb65a6,0x2a33c921,0x2f388eb4,0x2ee02233,0x2c89d7ba,0x2d517b3d, + 0x762b21c0,0x77f38d47,0x759a78ce,0x7442d449,0x714993dc,0x70913f5b,0x72f8cad2,0x73206655, + 0x78ee45f8,0x7936e97f,0x7b5f1cf6,0x7a87b071,0x7f8cf7e4,0x7e545b63,0x7c3daeea,0x7de5026d, + 0x6ba1e9b0,0x6a794537,0x6810b0be,0x69c81c39,0x6cc35bac,0x6d1bf72b,0x6f7202a2,0x6eaaae25, + 0x65648d88,0x64bc210f,0x66d5d486,0x670d7801,0x62063f94,0x63de9313,0x61b7669a,0x606fca1d, + 0x4d3eb120,0x4ce61da7,0x4e8fe82e,0x4f5744a9,0x4a5c033c,0x4b84afbb,0x49ed5a32,0x4835f6b5, + 0x43fbd518,0x4223799f,0x404a8c16,0x41922091,0x44996704,0x4541cb83,0x47283e0a,0x46f0928d, + 0x50b47950,0x516cd5d7,0x5305205e,0x52dd8cd9,0x57d6cb4c,0x560e67cb,0x54679242,0x55bf3ec5, + 0x5e711d68,0x5fa9b1ef,0x5dc04466,0x5c18e8e1,0x5913af74,0x58cb03f3,0x5aa2f67a,0x5b7a5afd, + 0xec564380,0xed8eef07,0xefe71a8e,0xee3fb609,0xeb34f19c,0xeaec5d1b,0xe885a892,0xe95d0415, + 0xe29327b8,0xe34b8b3f,0xe1227eb6,0xe0fad231,0xe5f195a4,0xe4293923,0xe640ccaa,0xe798602d, + 0xf1dc8bf0,0xf0042777,0xf26dd2fe,0xf3b57e79,0xf6be39ec,0xf766956b,0xf50f60e2,0xf4d7cc65, + 0xff19efc8,0xfec1434f,0xfca8b6c6,0xfd701a41,0xf87b5dd4,0xf9a3f153,0xfbca04da,0xfa12a85d, + 0xd743d360,0xd69b7fe7,0xd4f28a6e,0xd52a26e9,0xd021617c,0xd1f9cdfb,0xd3903872,0xd24894f5, + 0xd986b758,0xd85e1bdf,0xda37ee56,0xdbef42d1,0xdee40544,0xdf3ca9c3,0xdd555c4a,0xdc8df0cd, + 0xcac91b10,0xcb11b797,0xc978421e,0xc8a0ee99,0xcdaba90c,0xcc73058b,0xce1af002,0xcfc25c85, + 0xc40c7f28,0xc5d4d3af,0xc7bd2626,0xc6658aa1,0xc36ecd34,0xc2b661b3,0xc0df943a,0xc10738bd, + 0x9a7d6240,0x9ba5cec7,0x99cc3b4e,0x981497c9,0x9d1fd05c,0x9cc77cdb,0x9eae8952,0x9f7625d5, + 0x94b80678,0x9560aaff,0x97095f76,0x96d1f3f1,0x93dab464,0x920218e3,0x906bed6a,0x91b341ed, + 0x87f7aa30,0x862f06b7,0x8446f33e,0x859e5fb9,0x8095182c,0x814db4ab,0x83244122,0x82fceda5, + 0x8932ce08,0x88ea628f,0x8a839706,0x8b5b3b81,0x8e507c14,0x8f88d093,0x8de1251a,0x8c39899d, + 0xa168f2a0,0xa0b05e27,0xa2d9abae,0xa3010729,0xa60a40bc,0xa7d2ec3b,0xa5bb19b2,0xa463b535, + 0xafad9698,0xae753a1f,0xac1ccf96,0xadc46311,0xa8cf2484,0xa9178803,0xab7e7d8a,0xaaa6d10d, + 0xbce23ad0,0xbd3a9657,0xbf5363de,0xbe8bcf59,0xbb8088cc,0xba58244b,0xb831d1c2,0xb9e97d45, + 0xb2275ee8,0xb3fff26f,0xb19607e6,0xb04eab61,0xb545ecf4,0xb49d4073,0xb6f4b5fa,0xb72c197d}, + +{0x00000000,0xdc6d9ab7,0xbc1a28d9,0x6077b26e,0x7cf54c05,0xa098d6b2,0xc0ef64dc,0x1c82fe6b, + 0xf9ea980a,0x258702bd,0x45f0b0d3,0x999d2a64,0x851fd40f,0x59724eb8,0x3905fcd6,0xe5686661, + 0xf7142da3,0x2b79b714,0x4b0e057a,0x97639fcd,0x8be161a6,0x578cfb11,0x37fb497f,0xeb96d3c8, + 0x0efeb5a9,0xd2932f1e,0xb2e49d70,0x6e8907c7,0x720bf9ac,0xae66631b,0xce11d175,0x127c4bc2, + 0xeae946f1,0x3684dc46,0x56f36e28,0x8a9ef49f,0x961c0af4,0x4a719043,0x2a06222d,0xf66bb89a, + 0x1303defb,0xcf6e444c,0xaf19f622,0x73746c95,0x6ff692fe,0xb39b0849,0xd3ecba27,0x0f812090, + 0x1dfd6b52,0xc190f1e5,0xa1e7438b,0x7d8ad93c,0x61082757,0xbd65bde0,0xdd120f8e,0x017f9539, + 0xe417f358,0x387a69ef,0x580ddb81,0x84604136,0x98e2bf5d,0x448f25ea,0x24f89784,0xf8950d33, + 0xd1139055,0x0d7e0ae2,0x6d09b88c,0xb164223b,0xade6dc50,0x718b46e7,0x11fcf489,0xcd916e3e, + 0x28f9085f,0xf49492e8,0x94e32086,0x488eba31,0x540c445a,0x8861deed,0xe8166c83,0x347bf634, + 0x2607bdf6,0xfa6a2741,0x9a1d952f,0x46700f98,0x5af2f1f3,0x869f6b44,0xe6e8d92a,0x3a85439d, + 0xdfed25fc,0x0380bf4b,0x63f70d25,0xbf9a9792,0xa31869f9,0x7f75f34e,0x1f024120,0xc36fdb97, + 0x3bfad6a4,0xe7974c13,0x87e0fe7d,0x5b8d64ca,0x470f9aa1,0x9b620016,0xfb15b278,0x277828cf, + 0xc2104eae,0x1e7dd419,0x7e0a6677,0xa267fcc0,0xbee502ab,0x6288981c,0x02ff2a72,0xde92b0c5, + 0xcceefb07,0x108361b0,0x70f4d3de,0xac994969,0xb01bb702,0x6c762db5,0x0c019fdb,0xd06c056c, + 0x3504630d,0xe969f9ba,0x891e4bd4,0x5573d163,0x49f12f08,0x959cb5bf,0xf5eb07d1,0x29869d66, + 0xa6e63d1d,0x7a8ba7aa,0x1afc15c4,0xc6918f73,0xda137118,0x067eebaf,0x660959c1,0xba64c376, + 0x5f0ca517,0x83613fa0,0xe3168dce,0x3f7b1779,0x23f9e912,0xff9473a5,0x9fe3c1cb,0x438e5b7c, + 0x51f210be,0x8d9f8a09,0xede83867,0x3185a2d0,0x2d075cbb,0xf16ac60c,0x911d7462,0x4d70eed5, + 0xa81888b4,0x74751203,0x1402a06d,0xc86f3ada,0xd4edc4b1,0x08805e06,0x68f7ec68,0xb49a76df, + 0x4c0f7bec,0x9062e15b,0xf0155335,0x2c78c982,0x30fa37e9,0xec97ad5e,0x8ce01f30,0x508d8587, + 0xb5e5e3e6,0x69887951,0x09ffcb3f,0xd5925188,0xc910afe3,0x157d3554,0x750a873a,0xa9671d8d, + 0xbb1b564f,0x6776ccf8,0x07017e96,0xdb6ce421,0xc7ee1a4a,0x1b8380fd,0x7bf43293,0xa799a824, + 0x42f1ce45,0x9e9c54f2,0xfeebe69c,0x22867c2b,0x3e048240,0xe26918f7,0x821eaa99,0x5e73302e, + 0x77f5ad48,0xab9837ff,0xcbef8591,0x17821f26,0x0b00e14d,0xd76d7bfa,0xb71ac994,0x6b775323, + 0x8e1f3542,0x5272aff5,0x32051d9b,0xee68872c,0xf2ea7947,0x2e87e3f0,0x4ef0519e,0x929dcb29, + 0x80e180eb,0x5c8c1a5c,0x3cfba832,0xe0963285,0xfc14ccee,0x20795659,0x400ee437,0x9c637e80, + 0x790b18e1,0xa5668256,0xc5113038,0x197caa8f,0x05fe54e4,0xd993ce53,0xb9e47c3d,0x6589e68a, + 0x9d1cebb9,0x4171710e,0x2106c360,0xfd6b59d7,0xe1e9a7bc,0x3d843d0b,0x5df38f65,0x819e15d2, + 0x64f673b3,0xb89be904,0xd8ec5b6a,0x0481c1dd,0x18033fb6,0xc46ea501,0xa419176f,0x78748dd8, + 0x6a08c61a,0xb6655cad,0xd612eec3,0x0a7f7474,0x16fd8a1f,0xca9010a8,0xaae7a2c6,0x768a3871, + 0x93e25e10,0x4f8fc4a7,0x2ff876c9,0xf395ec7e,0xef171215,0x337a88a2,0x530d3acc,0x8f60a07b}, + +{0x00000000,0x490d678d,0x921acf1a,0xdb17a897,0x20f48383,0x69f9e40e,0xb2ee4c99,0xfbe32b14, + 0x41e90706,0x08e4608b,0xd3f3c81c,0x9afeaf91,0x611d8485,0x2810e308,0xf3074b9f,0xba0a2c12, + 0x83d20e0c,0xcadf6981,0x11c8c116,0x58c5a69b,0xa3268d8f,0xea2bea02,0x313c4295,0x78312518, + 0xc23b090a,0x8b366e87,0x5021c610,0x192ca19d,0xe2cf8a89,0xabc2ed04,0x70d54593,0x39d8221e, + 0x036501af,0x4a686622,0x917fceb5,0xd872a938,0x2391822c,0x6a9ce5a1,0xb18b4d36,0xf8862abb, + 0x428c06a9,0x0b816124,0xd096c9b3,0x999bae3e,0x6278852a,0x2b75e2a7,0xf0624a30,0xb96f2dbd, + 0x80b70fa3,0xc9ba682e,0x12adc0b9,0x5ba0a734,0xa0438c20,0xe94eebad,0x3259433a,0x7b5424b7, + 0xc15e08a5,0x88536f28,0x5344c7bf,0x1a49a032,0xe1aa8b26,0xa8a7ecab,0x73b0443c,0x3abd23b1, + 0x06ca035e,0x4fc764d3,0x94d0cc44,0xddddabc9,0x263e80dd,0x6f33e750,0xb4244fc7,0xfd29284a, + 0x47230458,0x0e2e63d5,0xd539cb42,0x9c34accf,0x67d787db,0x2edae056,0xf5cd48c1,0xbcc02f4c, + 0x85180d52,0xcc156adf,0x1702c248,0x5e0fa5c5,0xa5ec8ed1,0xece1e95c,0x37f641cb,0x7efb2646, + 0xc4f10a54,0x8dfc6dd9,0x56ebc54e,0x1fe6a2c3,0xe40589d7,0xad08ee5a,0x761f46cd,0x3f122140, + 0x05af02f1,0x4ca2657c,0x97b5cdeb,0xdeb8aa66,0x255b8172,0x6c56e6ff,0xb7414e68,0xfe4c29e5, + 0x444605f7,0x0d4b627a,0xd65ccaed,0x9f51ad60,0x64b28674,0x2dbfe1f9,0xf6a8496e,0xbfa52ee3, + 0x867d0cfd,0xcf706b70,0x1467c3e7,0x5d6aa46a,0xa6898f7e,0xef84e8f3,0x34934064,0x7d9e27e9, + 0xc7940bfb,0x8e996c76,0x558ec4e1,0x1c83a36c,0xe7608878,0xae6deff5,0x757a4762,0x3c7720ef, + 0x0d9406bc,0x44996131,0x9f8ec9a6,0xd683ae2b,0x2d60853f,0x646de2b2,0xbf7a4a25,0xf6772da8, + 0x4c7d01ba,0x05706637,0xde67cea0,0x976aa92d,0x6c898239,0x2584e5b4,0xfe934d23,0xb79e2aae, + 0x8e4608b0,0xc74b6f3d,0x1c5cc7aa,0x5551a027,0xaeb28b33,0xe7bfecbe,0x3ca84429,0x75a523a4, + 0xcfaf0fb6,0x86a2683b,0x5db5c0ac,0x14b8a721,0xef5b8c35,0xa656ebb8,0x7d41432f,0x344c24a2, + 0x0ef10713,0x47fc609e,0x9cebc809,0xd5e6af84,0x2e058490,0x6708e31d,0xbc1f4b8a,0xf5122c07, + 0x4f180015,0x06156798,0xdd02cf0f,0x940fa882,0x6fec8396,0x26e1e41b,0xfdf64c8c,0xb4fb2b01, + 0x8d23091f,0xc42e6e92,0x1f39c605,0x5634a188,0xadd78a9c,0xe4daed11,0x3fcd4586,0x76c0220b, + 0xccca0e19,0x85c76994,0x5ed0c103,0x17dda68e,0xec3e8d9a,0xa533ea17,0x7e244280,0x3729250d, + 0x0b5e05e2,0x4253626f,0x9944caf8,0xd049ad75,0x2baa8661,0x62a7e1ec,0xb9b0497b,0xf0bd2ef6, + 0x4ab702e4,0x03ba6569,0xd8adcdfe,0x91a0aa73,0x6a438167,0x234ee6ea,0xf8594e7d,0xb15429f0, + 0x888c0bee,0xc1816c63,0x1a96c4f4,0x539ba379,0xa878886d,0xe175efe0,0x3a624777,0x736f20fa, + 0xc9650ce8,0x80686b65,0x5b7fc3f2,0x1272a47f,0xe9918f6b,0xa09ce8e6,0x7b8b4071,0x328627fc, + 0x083b044d,0x413663c0,0x9a21cb57,0xd32cacda,0x28cf87ce,0x61c2e043,0xbad548d4,0xf3d82f59, + 0x49d2034b,0x00df64c6,0xdbc8cc51,0x92c5abdc,0x692680c8,0x202be745,0xfb3c4fd2,0xb231285f, + 0x8be90a41,0xc2e46dcc,0x19f3c55b,0x50fea2d6,0xab1d89c2,0xe210ee4f,0x390746d8,0x700a2155, + 0xca000d47,0x830d6aca,0x581ac25d,0x1117a5d0,0xeaf48ec4,0xa3f9e949,0x78ee41de,0x31e32653}, + +{0x00000000,0x1b280d78,0x36501af0,0x2d781788,0x6ca035e0,0x77883898,0x5af02f10,0x41d82268, + 0xd9406bc0,0xc26866b8,0xef107130,0xf4387c48,0xb5e05e20,0xaec85358,0x83b044d0,0x989849a8, + 0xb641ca37,0xad69c74f,0x8011d0c7,0x9b39ddbf,0xdae1ffd7,0xc1c9f2af,0xecb1e527,0xf799e85f, + 0x6f01a1f7,0x7429ac8f,0x5951bb07,0x4279b67f,0x03a19417,0x1889996f,0x35f18ee7,0x2ed9839f, + 0x684289d9,0x736a84a1,0x5e129329,0x453a9e51,0x04e2bc39,0x1fcab141,0x32b2a6c9,0x299aabb1, + 0xb102e219,0xaa2aef61,0x8752f8e9,0x9c7af591,0xdda2d7f9,0xc68ada81,0xebf2cd09,0xf0dac071, + 0xde0343ee,0xc52b4e96,0xe853591e,0xf37b5466,0xb2a3760e,0xa98b7b76,0x84f36cfe,0x9fdb6186, + 0x0743282e,0x1c6b2556,0x311332de,0x2a3b3fa6,0x6be31dce,0x70cb10b6,0x5db3073e,0x469b0a46, + 0xd08513b2,0xcbad1eca,0xe6d50942,0xfdfd043a,0xbc252652,0xa70d2b2a,0x8a753ca2,0x915d31da, + 0x09c57872,0x12ed750a,0x3f956282,0x24bd6ffa,0x65654d92,0x7e4d40ea,0x53355762,0x481d5a1a, + 0x66c4d985,0x7decd4fd,0x5094c375,0x4bbcce0d,0x0a64ec65,0x114ce11d,0x3c34f695,0x271cfbed, + 0xbf84b245,0xa4acbf3d,0x89d4a8b5,0x92fca5cd,0xd32487a5,0xc80c8add,0xe5749d55,0xfe5c902d, + 0xb8c79a6b,0xa3ef9713,0x8e97809b,0x95bf8de3,0xd467af8b,0xcf4fa2f3,0xe237b57b,0xf91fb803, + 0x6187f1ab,0x7aaffcd3,0x57d7eb5b,0x4cffe623,0x0d27c44b,0x160fc933,0x3b77debb,0x205fd3c3, + 0x0e86505c,0x15ae5d24,0x38d64aac,0x23fe47d4,0x622665bc,0x790e68c4,0x54767f4c,0x4f5e7234, + 0xd7c63b9c,0xccee36e4,0xe196216c,0xfabe2c14,0xbb660e7c,0xa04e0304,0x8d36148c,0x961e19f4, + 0xa5cb3ad3,0xbee337ab,0x939b2023,0x88b32d5b,0xc96b0f33,0xd243024b,0xff3b15c3,0xe41318bb, + 0x7c8b5113,0x67a35c6b,0x4adb4be3,0x51f3469b,0x102b64f3,0x0b03698b,0x267b7e03,0x3d53737b, + 0x138af0e4,0x08a2fd9c,0x25daea14,0x3ef2e76c,0x7f2ac504,0x6402c87c,0x497adff4,0x5252d28c, + 0xcaca9b24,0xd1e2965c,0xfc9a81d4,0xe7b28cac,0xa66aaec4,0xbd42a3bc,0x903ab434,0x8b12b94c, + 0xcd89b30a,0xd6a1be72,0xfbd9a9fa,0xe0f1a482,0xa12986ea,0xba018b92,0x97799c1a,0x8c519162, + 0x14c9d8ca,0x0fe1d5b2,0x2299c23a,0x39b1cf42,0x7869ed2a,0x6341e052,0x4e39f7da,0x5511faa2, + 0x7bc8793d,0x60e07445,0x4d9863cd,0x56b06eb5,0x17684cdd,0x0c4041a5,0x2138562d,0x3a105b55, + 0xa28812fd,0xb9a01f85,0x94d8080d,0x8ff00575,0xce28271d,0xd5002a65,0xf8783ded,0xe3503095, + 0x754e2961,0x6e662419,0x431e3391,0x58363ee9,0x19ee1c81,0x02c611f9,0x2fbe0671,0x34960b09, + 0xac0e42a1,0xb7264fd9,0x9a5e5851,0x81765529,0xc0ae7741,0xdb867a39,0xf6fe6db1,0xedd660c9, + 0xc30fe356,0xd827ee2e,0xf55ff9a6,0xee77f4de,0xafafd6b6,0xb487dbce,0x99ffcc46,0x82d7c13e, + 0x1a4f8896,0x016785ee,0x2c1f9266,0x37379f1e,0x76efbd76,0x6dc7b00e,0x40bfa786,0x5b97aafe, + 0x1d0ca0b8,0x0624adc0,0x2b5cba48,0x3074b730,0x71ac9558,0x6a849820,0x47fc8fa8,0x5cd482d0, + 0xc44ccb78,0xdf64c600,0xf21cd188,0xe934dcf0,0xa8ecfe98,0xb3c4f3e0,0x9ebce468,0x8594e910, + 0xab4d6a8f,0xb06567f7,0x9d1d707f,0x86357d07,0xc7ed5f6f,0xdcc55217,0xf1bd459f,0xea9548e7, + 0x720d014f,0x69250c37,0x445d1bbf,0x5f7516c7,0x1ead34af,0x058539d7,0x28fd2e5f,0x33d52327}, + +{0x00000000,0x4f576811,0x9eaed022,0xd1f9b833,0x399cbdf3,0x76cbd5e2,0xa7326dd1,0xe86505c0, + 0x73397be6,0x3c6e13f7,0xed97abc4,0xa2c0c3d5,0x4aa5c615,0x05f2ae04,0xd40b1637,0x9b5c7e26, + 0xe672f7cc,0xa9259fdd,0x78dc27ee,0x378b4fff,0xdfee4a3f,0x90b9222e,0x41409a1d,0x0e17f20c, + 0x954b8c2a,0xda1ce43b,0x0be55c08,0x44b23419,0xacd731d9,0xe38059c8,0x3279e1fb,0x7d2e89ea, + 0xc824f22f,0x87739a3e,0x568a220d,0x19dd4a1c,0xf1b84fdc,0xbeef27cd,0x6f169ffe,0x2041f7ef, + 0xbb1d89c9,0xf44ae1d8,0x25b359eb,0x6ae431fa,0x8281343a,0xcdd65c2b,0x1c2fe418,0x53788c09, + 0x2e5605e3,0x61016df2,0xb0f8d5c1,0xffafbdd0,0x17cab810,0x589dd001,0x89646832,0xc6330023, + 0x5d6f7e05,0x12381614,0xc3c1ae27,0x8c96c636,0x64f3c3f6,0x2ba4abe7,0xfa5d13d4,0xb50a7bc5, + 0x9488f9e9,0xdbdf91f8,0x0a2629cb,0x457141da,0xad14441a,0xe2432c0b,0x33ba9438,0x7cedfc29, + 0xe7b1820f,0xa8e6ea1e,0x791f522d,0x36483a3c,0xde2d3ffc,0x917a57ed,0x4083efde,0x0fd487cf, + 0x72fa0e25,0x3dad6634,0xec54de07,0xa303b616,0x4b66b3d6,0x0431dbc7,0xd5c863f4,0x9a9f0be5, + 0x01c375c3,0x4e941dd2,0x9f6da5e1,0xd03acdf0,0x385fc830,0x7708a021,0xa6f11812,0xe9a67003, + 0x5cac0bc6,0x13fb63d7,0xc202dbe4,0x8d55b3f5,0x6530b635,0x2a67de24,0xfb9e6617,0xb4c90e06, + 0x2f957020,0x60c21831,0xb13ba002,0xfe6cc813,0x1609cdd3,0x595ea5c2,0x88a71df1,0xc7f075e0, + 0xbadefc0a,0xf589941b,0x24702c28,0x6b274439,0x834241f9,0xcc1529e8,0x1dec91db,0x52bbf9ca, + 0xc9e787ec,0x86b0effd,0x574957ce,0x181e3fdf,0xf07b3a1f,0xbf2c520e,0x6ed5ea3d,0x2182822c, + 0x2dd0ee65,0x62878674,0xb37e3e47,0xfc295656,0x144c5396,0x5b1b3b87,0x8ae283b4,0xc5b5eba5, + 0x5ee99583,0x11befd92,0xc04745a1,0x8f102db0,0x67752870,0x28224061,0xf9dbf852,0xb68c9043, + 0xcba219a9,0x84f571b8,0x550cc98b,0x1a5ba19a,0xf23ea45a,0xbd69cc4b,0x6c907478,0x23c71c69, + 0xb89b624f,0xf7cc0a5e,0x2635b26d,0x6962da7c,0x8107dfbc,0xce50b7ad,0x1fa90f9e,0x50fe678f, + 0xe5f41c4a,0xaaa3745b,0x7b5acc68,0x340da479,0xdc68a1b9,0x933fc9a8,0x42c6719b,0x0d91198a, + 0x96cd67ac,0xd99a0fbd,0x0863b78e,0x4734df9f,0xaf51da5f,0xe006b24e,0x31ff0a7d,0x7ea8626c, + 0x0386eb86,0x4cd18397,0x9d283ba4,0xd27f53b5,0x3a1a5675,0x754d3e64,0xa4b48657,0xebe3ee46, + 0x70bf9060,0x3fe8f871,0xee114042,0xa1462853,0x49232d93,0x06744582,0xd78dfdb1,0x98da95a0, + 0xb958178c,0xf60f7f9d,0x27f6c7ae,0x68a1afbf,0x80c4aa7f,0xcf93c26e,0x1e6a7a5d,0x513d124c, + 0xca616c6a,0x8536047b,0x54cfbc48,0x1b98d459,0xf3fdd199,0xbcaab988,0x6d5301bb,0x220469aa, + 0x5f2ae040,0x107d8851,0xc1843062,0x8ed35873,0x66b65db3,0x29e135a2,0xf8188d91,0xb74fe580, + 0x2c139ba6,0x6344f3b7,0xb2bd4b84,0xfdea2395,0x158f2655,0x5ad84e44,0x8b21f677,0xc4769e66, + 0x717ce5a3,0x3e2b8db2,0xefd23581,0xa0855d90,0x48e05850,0x07b73041,0xd64e8872,0x9919e063, + 0x02459e45,0x4d12f654,0x9ceb4e67,0xd3bc2676,0x3bd923b6,0x748e4ba7,0xa577f394,0xea209b85, + 0x970e126f,0xd8597a7e,0x09a0c24d,0x46f7aa5c,0xae92af9c,0xe1c5c78d,0x303c7fbe,0x7f6b17af, + 0xe4376989,0xab600198,0x7a99b9ab,0x35ced1ba,0xddabd47a,0x92fcbc6b,0x43050458,0x0c526c49}, + +{0x00000000,0x5ba1dcca,0xb743b994,0xece2655e,0x6a466e9f,0x31e7b255,0xdd05d70b,0x86a40bc1, + 0xd48cdd3e,0x8f2d01f4,0x63cf64aa,0x386eb860,0xbecab3a1,0xe56b6f6b,0x09890a35,0x5228d6ff, + 0xadd8a7cb,0xf6797b01,0x1a9b1e5f,0x413ac295,0xc79ec954,0x9c3f159e,0x70dd70c0,0x2b7cac0a, + 0x79547af5,0x22f5a63f,0xce17c361,0x95b61fab,0x1312146a,0x48b3c8a0,0xa451adfe,0xfff07134, + 0x5f705221,0x04d18eeb,0xe833ebb5,0xb392377f,0x35363cbe,0x6e97e074,0x8275852a,0xd9d459e0, + 0x8bfc8f1f,0xd05d53d5,0x3cbf368b,0x671eea41,0xe1bae180,0xba1b3d4a,0x56f95814,0x0d5884de, + 0xf2a8f5ea,0xa9092920,0x45eb4c7e,0x1e4a90b4,0x98ee9b75,0xc34f47bf,0x2fad22e1,0x740cfe2b, + 0x262428d4,0x7d85f41e,0x91679140,0xcac64d8a,0x4c62464b,0x17c39a81,0xfb21ffdf,0xa0802315, + 0xbee0a442,0xe5417888,0x09a31dd6,0x5202c11c,0xd4a6cadd,0x8f071617,0x63e57349,0x3844af83, + 0x6a6c797c,0x31cda5b6,0xdd2fc0e8,0x868e1c22,0x002a17e3,0x5b8bcb29,0xb769ae77,0xecc872bd, + 0x13380389,0x4899df43,0xa47bba1d,0xffda66d7,0x797e6d16,0x22dfb1dc,0xce3dd482,0x959c0848, + 0xc7b4deb7,0x9c15027d,0x70f76723,0x2b56bbe9,0xadf2b028,0xf6536ce2,0x1ab109bc,0x4110d576, + 0xe190f663,0xba312aa9,0x56d34ff7,0x0d72933d,0x8bd698fc,0xd0774436,0x3c952168,0x6734fda2, + 0x351c2b5d,0x6ebdf797,0x825f92c9,0xd9fe4e03,0x5f5a45c2,0x04fb9908,0xe819fc56,0xb3b8209c, + 0x4c4851a8,0x17e98d62,0xfb0be83c,0xa0aa34f6,0x260e3f37,0x7dafe3fd,0x914d86a3,0xcaec5a69, + 0x98c48c96,0xc365505c,0x2f873502,0x7426e9c8,0xf282e209,0xa9233ec3,0x45c15b9d,0x1e608757, + 0x79005533,0x22a189f9,0xce43eca7,0x95e2306d,0x13463bac,0x48e7e766,0xa4058238,0xffa45ef2, + 0xad8c880d,0xf62d54c7,0x1acf3199,0x416eed53,0xc7cae692,0x9c6b3a58,0x70895f06,0x2b2883cc, + 0xd4d8f2f8,0x8f792e32,0x639b4b6c,0x383a97a6,0xbe9e9c67,0xe53f40ad,0x09dd25f3,0x527cf939, + 0x00542fc6,0x5bf5f30c,0xb7179652,0xecb64a98,0x6a124159,0x31b39d93,0xdd51f8cd,0x86f02407, + 0x26700712,0x7dd1dbd8,0x9133be86,0xca92624c,0x4c36698d,0x1797b547,0xfb75d019,0xa0d40cd3, + 0xf2fcda2c,0xa95d06e6,0x45bf63b8,0x1e1ebf72,0x98bab4b3,0xc31b6879,0x2ff90d27,0x7458d1ed, + 0x8ba8a0d9,0xd0097c13,0x3ceb194d,0x674ac587,0xe1eece46,0xba4f128c,0x56ad77d2,0x0d0cab18, + 0x5f247de7,0x0485a12d,0xe867c473,0xb3c618b9,0x35621378,0x6ec3cfb2,0x8221aaec,0xd9807626, + 0xc7e0f171,0x9c412dbb,0x70a348e5,0x2b02942f,0xada69fee,0xf6074324,0x1ae5267a,0x4144fab0, + 0x136c2c4f,0x48cdf085,0xa42f95db,0xff8e4911,0x792a42d0,0x228b9e1a,0xce69fb44,0x95c8278e, + 0x6a3856ba,0x31998a70,0xdd7bef2e,0x86da33e4,0x007e3825,0x5bdfe4ef,0xb73d81b1,0xec9c5d7b, + 0xbeb48b84,0xe515574e,0x09f73210,0x5256eeda,0xd4f2e51b,0x8f5339d1,0x63b15c8f,0x38108045, + 0x9890a350,0xc3317f9a,0x2fd31ac4,0x7472c60e,0xf2d6cdcf,0xa9771105,0x4595745b,0x1e34a891, + 0x4c1c7e6e,0x17bda2a4,0xfb5fc7fa,0xa0fe1b30,0x265a10f1,0x7dfbcc3b,0x9119a965,0xcab875af, + 0x3548049b,0x6ee9d851,0x820bbd0f,0xd9aa61c5,0x5f0e6a04,0x04afb6ce,0xe84dd390,0xb3ec0f5a, + 0xe1c4d9a5,0xba65056f,0x56876031,0x0d26bcfb,0x8b82b73a,0xd0236bf0,0x3cc10eae,0x6760d264}}; diff --git a/thirdparty/libogg/framing.c b/thirdparty/libogg/framing.c new file mode 100644 index 0000000..724d116 --- /dev/null +++ b/thirdparty/libogg/framing.c @@ -0,0 +1,2114 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE Ogg CONTAINER SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2018 * + * by the Xiph.Org Foundation http://www.xiph.org/ * + * * + ******************************************************************** + + function: code raw packets into framed OggSquish stream and + decode Ogg streams back into raw packets + + note: The CRC code is directly derived from public domain code by + Ross Williams (ross@guest.adelaide.edu.au). See docs/framing.html + for details. + + ********************************************************************/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include +#include +#include +#include + +/* A complete description of Ogg framing exists in docs/framing.html */ + +int ogg_page_version(const ogg_page *og){ + return((int)(og->header[4])); +} + +int ogg_page_continued(const ogg_page *og){ + return((int)(og->header[5]&0x01)); +} + +int ogg_page_bos(const ogg_page *og){ + return((int)(og->header[5]&0x02)); +} + +int ogg_page_eos(const ogg_page *og){ + return((int)(og->header[5]&0x04)); +} + +ogg_int64_t ogg_page_granulepos(const ogg_page *og){ + unsigned char *page=og->header; + ogg_uint64_t granulepos=page[13]&(0xff); + granulepos= (granulepos<<8)|(page[12]&0xff); + granulepos= (granulepos<<8)|(page[11]&0xff); + granulepos= (granulepos<<8)|(page[10]&0xff); + granulepos= (granulepos<<8)|(page[9]&0xff); + granulepos= (granulepos<<8)|(page[8]&0xff); + granulepos= (granulepos<<8)|(page[7]&0xff); + granulepos= (granulepos<<8)|(page[6]&0xff); + return((ogg_int64_t)granulepos); +} + +int ogg_page_serialno(const ogg_page *og){ + return((int)((ogg_uint32_t)og->header[14]) | + ((ogg_uint32_t)og->header[15]<<8) | + ((ogg_uint32_t)og->header[16]<<16) | + ((ogg_uint32_t)og->header[17]<<24)); +} + +long ogg_page_pageno(const ogg_page *og){ + return((long)((ogg_uint32_t)og->header[18]) | + ((ogg_uint32_t)og->header[19]<<8) | + ((ogg_uint32_t)og->header[20]<<16) | + ((ogg_uint32_t)og->header[21]<<24)); +} + + + +/* returns the number of packets that are completed on this page (if + the leading packet is begun on a previous page, but ends on this + page, it's counted */ + +/* NOTE: + If a page consists of a packet begun on a previous page, and a new + packet begun (but not completed) on this page, the return will be: + ogg_page_packets(page) ==1, + ogg_page_continued(page) !=0 + + If a page happens to be a single packet that was begun on a + previous page, and spans to the next page (in the case of a three or + more page packet), the return will be: + ogg_page_packets(page) ==0, + ogg_page_continued(page) !=0 +*/ + +int ogg_page_packets(const ogg_page *og){ + int i,n=og->header[26],count=0; + for(i=0;iheader[27+i]<255)count++; + return(count); +} + + +#if 0 +/* helper to initialize lookup for direct-table CRC (illustrative; we + use the static init in crctable.h) */ + +static void _ogg_crc_init(){ + int i, j; + ogg_uint32_t polynomial, crc; + polynomial = 0x04c11db7; /* The same as the ethernet generator + polynomial, although we use an + unreflected alg and an init/final + of 0, not 0xffffffff */ + for (i = 0; i <= 0xFF; i++){ + crc = i << 24; + + for (j = 0; j < 8; j++) + crc = (crc << 1) ^ (crc & (1 << 31) ? polynomial : 0); + + crc_lookup[0][i] = crc; + } + + for (i = 0; i <= 0xFF; i++) + for (j = 1; j < 8; j++) + crc_lookup[j][i] = crc_lookup[0][(crc_lookup[j - 1][i] >> 24) & 0xFF] ^ (crc_lookup[j - 1][i] << 8); +} +#endif + +#include "crctable.h" + +/* init the encode/decode logical stream state */ + +int ogg_stream_init(ogg_stream_state *os,int serialno){ + if(os){ + memset(os,0,sizeof(*os)); + os->body_storage=16*1024; + os->lacing_storage=1024; + + os->body_data=_ogg_malloc(os->body_storage*sizeof(*os->body_data)); + os->lacing_vals=_ogg_malloc(os->lacing_storage*sizeof(*os->lacing_vals)); + os->granule_vals=_ogg_malloc(os->lacing_storage*sizeof(*os->granule_vals)); + + if(!os->body_data || !os->lacing_vals || !os->granule_vals){ + ogg_stream_clear(os); + return -1; + } + + os->serialno=serialno; + + return(0); + } + return(-1); +} + +/* async/delayed error detection for the ogg_stream_state */ +int ogg_stream_check(ogg_stream_state *os){ + if(!os || !os->body_data) return -1; + return 0; +} + +/* _clear does not free os, only the non-flat storage within */ +int ogg_stream_clear(ogg_stream_state *os){ + if(os){ + if(os->body_data)_ogg_free(os->body_data); + if(os->lacing_vals)_ogg_free(os->lacing_vals); + if(os->granule_vals)_ogg_free(os->granule_vals); + + memset(os,0,sizeof(*os)); + } + return(0); +} + +int ogg_stream_destroy(ogg_stream_state *os){ + if(os){ + ogg_stream_clear(os); + _ogg_free(os); + } + return(0); +} + +/* Helpers for ogg_stream_encode; this keeps the structure and + what's happening fairly clear */ + +static int _os_body_expand(ogg_stream_state *os,long needed){ + if(os->body_storage-needed<=os->body_fill){ + long body_storage; + void *ret; + if(os->body_storage>LONG_MAX-needed){ + ogg_stream_clear(os); + return -1; + } + body_storage=os->body_storage+needed; + if(body_storagebody_data,body_storage*sizeof(*os->body_data)); + if(!ret){ + ogg_stream_clear(os); + return -1; + } + os->body_storage=body_storage; + os->body_data=ret; + } + return 0; +} + +static int _os_lacing_expand(ogg_stream_state *os,long needed){ + if(os->lacing_storage-needed<=os->lacing_fill){ + long lacing_storage; + void *ret; + if(os->lacing_storage>LONG_MAX-needed){ + ogg_stream_clear(os); + return -1; + } + lacing_storage=os->lacing_storage+needed; + if(lacing_storagelacing_vals,lacing_storage*sizeof(*os->lacing_vals)); + if(!ret){ + ogg_stream_clear(os); + return -1; + } + os->lacing_vals=ret; + ret=_ogg_realloc(os->granule_vals,lacing_storage* + sizeof(*os->granule_vals)); + if(!ret){ + ogg_stream_clear(os); + return -1; + } + os->granule_vals=ret; + os->lacing_storage=lacing_storage; + } + return 0; +} + +/* checksum the page */ +/* Direct table CRC; note that this will be faster in the future if we + perform the checksum simultaneously with other copies */ + +static ogg_uint32_t _os_update_crc(ogg_uint32_t crc, unsigned char *buffer, int size){ + while (size>=8){ + crc^=((ogg_uint32_t)buffer[0]<<24)|((ogg_uint32_t)buffer[1]<<16)|((ogg_uint32_t)buffer[2]<<8)|((ogg_uint32_t)buffer[3]); + + crc=crc_lookup[7][ crc>>24 ]^crc_lookup[6][(crc>>16)&0xFF]^ + crc_lookup[5][(crc>> 8)&0xFF]^crc_lookup[4][ crc &0xFF]^ + crc_lookup[3][buffer[4] ]^crc_lookup[2][buffer[5] ]^ + crc_lookup[1][buffer[6] ]^crc_lookup[0][buffer[7] ]; + + buffer+=8; + size-=8; + } + + while (size--) + crc=(crc<<8)^crc_lookup[0][((crc >> 24)&0xff)^*buffer++]; + return crc; +} + +void ogg_page_checksum_set(ogg_page *og){ + if(og){ + ogg_uint32_t crc_reg=0; + + /* safety; needed for API behavior, but not framing code */ + og->header[22]=0; + og->header[23]=0; + og->header[24]=0; + og->header[25]=0; + + crc_reg=_os_update_crc(crc_reg,og->header,og->header_len); + crc_reg=_os_update_crc(crc_reg,og->body,og->body_len); + + og->header[22]=(unsigned char)(crc_reg&0xff); + og->header[23]=(unsigned char)((crc_reg>>8)&0xff); + og->header[24]=(unsigned char)((crc_reg>>16)&0xff); + og->header[25]=(unsigned char)((crc_reg>>24)&0xff); + } +} + +/* submit data to the internal buffer of the framing engine */ +int ogg_stream_iovecin(ogg_stream_state *os, ogg_iovec_t *iov, int count, + long e_o_s, ogg_int64_t granulepos){ + + long bytes = 0, lacing_vals; + int i; + + if(ogg_stream_check(os)) return -1; + if(!iov) return 0; + + for (i = 0; i < count; ++i){ + if(iov[i].iov_len>LONG_MAX) return -1; + if(bytes>LONG_MAX-(long)iov[i].iov_len) return -1; + bytes += (long)iov[i].iov_len; + } + lacing_vals=bytes/255+1; + + if(os->body_returned){ + /* advance packet data according to the body_returned pointer. We + had to keep it around to return a pointer into the buffer last + call */ + + os->body_fill-=os->body_returned; + if(os->body_fill) + memmove(os->body_data,os->body_data+os->body_returned, + os->body_fill); + os->body_returned=0; + } + + /* make sure we have the buffer storage */ + if(_os_body_expand(os,bytes) || _os_lacing_expand(os,lacing_vals)) + return -1; + + /* Copy in the submitted packet. Yes, the copy is a waste; this is + the liability of overly clean abstraction for the time being. It + will actually be fairly easy to eliminate the extra copy in the + future */ + + for (i = 0; i < count; ++i) { + memcpy(os->body_data+os->body_fill, iov[i].iov_base, iov[i].iov_len); + os->body_fill += (int)iov[i].iov_len; + } + + /* Store lacing vals for this packet */ + for(i=0;ilacing_vals[os->lacing_fill+i]=255; + os->granule_vals[os->lacing_fill+i]=os->granulepos; + } + os->lacing_vals[os->lacing_fill+i]=bytes%255; + os->granulepos=os->granule_vals[os->lacing_fill+i]=granulepos; + + /* flag the first segment as the beginning of the packet */ + os->lacing_vals[os->lacing_fill]|= 0x100; + + os->lacing_fill+=lacing_vals; + + /* for the sake of completeness */ + os->packetno++; + + if(e_o_s)os->e_o_s=1; + + return(0); +} + +int ogg_stream_packetin(ogg_stream_state *os,ogg_packet *op){ + ogg_iovec_t iov; + iov.iov_base = op->packet; + iov.iov_len = op->bytes; + return ogg_stream_iovecin(os, &iov, 1, op->e_o_s, op->granulepos); +} + +/* Conditionally flush a page; force==0 will only flush nominal-size + pages, force==1 forces us to flush a page regardless of page size + so long as there's any data available at all. */ +static int ogg_stream_flush_i(ogg_stream_state *os,ogg_page *og, int force, int nfill){ + int i; + int vals=0; + int maxvals=(os->lacing_fill>255?255:os->lacing_fill); + int bytes=0; + long acc=0; + ogg_int64_t granule_pos=-1; + + if(ogg_stream_check(os)) return(0); + if(maxvals==0) return(0); + + /* construct a page */ + /* decide how many segments to include */ + + /* If this is the initial header case, the first page must only include + the initial header packet */ + if(os->b_o_s==0){ /* 'initial header page' case */ + granule_pos=0; + for(vals=0;valslacing_vals[vals]&0x0ff)<255){ + vals++; + break; + } + } + }else{ + + /* The extra packets_done, packet_just_done logic here attempts to do two things: + 1) Don't unnecessarily span pages. + 2) Unless necessary, don't flush pages if there are less than four packets on + them; this expands page size to reduce unnecessary overhead if incoming packets + are large. + These are not necessary behaviors, just 'always better than naive flushing' + without requiring an application to explicitly request a specific optimized + behavior. We'll want an explicit behavior setup pathway eventually as well. */ + + int packets_done=0; + int packet_just_done=0; + for(vals=0;valsnfill && packet_just_done>=4){ + force=1; + break; + } + acc+=os->lacing_vals[vals]&0x0ff; + if((os->lacing_vals[vals]&0xff)<255){ + granule_pos=os->granule_vals[vals]; + packet_just_done=++packets_done; + }else + packet_just_done=0; + } + if(vals==255)force=1; + } + + if(!force) return(0); + + /* construct the header in temp storage */ + memcpy(os->header,"OggS",4); + + /* stream structure version */ + os->header[4]=0x00; + + /* continued packet flag? */ + os->header[5]=0x00; + if((os->lacing_vals[0]&0x100)==0)os->header[5]|=0x01; + /* first page flag? */ + if(os->b_o_s==0)os->header[5]|=0x02; + /* last page flag? */ + if(os->e_o_s && os->lacing_fill==vals)os->header[5]|=0x04; + os->b_o_s=1; + + /* 64 bits of PCM position */ + for(i=6;i<14;i++){ + os->header[i]=(unsigned char)(granule_pos&0xff); + granule_pos>>=8; + } + + /* 32 bits of stream serial number */ + { + long serialno=os->serialno; + for(i=14;i<18;i++){ + os->header[i]=(unsigned char)(serialno&0xff); + serialno>>=8; + } + } + + /* 32 bits of page counter (we have both counter and page header + because this val can roll over) */ + if(os->pageno==-1)os->pageno=0; /* because someone called + stream_reset; this would be a + strange thing to do in an + encode stream, but it has + plausible uses */ + { + long pageno=os->pageno++; + for(i=18;i<22;i++){ + os->header[i]=(unsigned char)(pageno&0xff); + pageno>>=8; + } + } + + /* zero for computation; filled in later */ + os->header[22]=0; + os->header[23]=0; + os->header[24]=0; + os->header[25]=0; + + /* segment table */ + os->header[26]=(unsigned char)(vals&0xff); + for(i=0;iheader[i+27]=(unsigned char)(os->lacing_vals[i]&0xff); + + /* set pointers in the ogg_page struct */ + og->header=os->header; + og->header_len=os->header_fill=vals+27; + og->body=os->body_data+os->body_returned; + og->body_len=bytes; + + /* advance the lacing data and set the body_returned pointer */ + + os->lacing_fill-=vals; + memmove(os->lacing_vals,os->lacing_vals+vals,os->lacing_fill*sizeof(*os->lacing_vals)); + memmove(os->granule_vals,os->granule_vals+vals,os->lacing_fill*sizeof(*os->granule_vals)); + os->body_returned+=bytes; + + /* calculate the checksum */ + + ogg_page_checksum_set(og); + + /* done */ + return(1); +} + +/* This will flush remaining packets into a page (returning nonzero), + even if there is not enough data to trigger a flush normally + (undersized page). If there are no packets or partial packets to + flush, ogg_stream_flush returns 0. Note that ogg_stream_flush will + try to flush a normal sized page like ogg_stream_pageout; a call to + ogg_stream_flush does not guarantee that all packets have flushed. + Only a return value of 0 from ogg_stream_flush indicates all packet + data is flushed into pages. + + since ogg_stream_flush will flush the last page in a stream even if + it's undersized, you almost certainly want to use ogg_stream_pageout + (and *not* ogg_stream_flush) unless you specifically need to flush + a page regardless of size in the middle of a stream. */ + +int ogg_stream_flush(ogg_stream_state *os,ogg_page *og){ + return ogg_stream_flush_i(os,og,1,4096); +} + +/* Like the above, but an argument is provided to adjust the nominal + page size for applications which are smart enough to provide their + own delay based flushing */ + +int ogg_stream_flush_fill(ogg_stream_state *os,ogg_page *og, int nfill){ + return ogg_stream_flush_i(os,og,1,nfill); +} + +/* This constructs pages from buffered packet segments. The pointers +returned are to static buffers; do not free. The returned buffers are +good only until the next call (using the same ogg_stream_state) */ + +int ogg_stream_pageout(ogg_stream_state *os, ogg_page *og){ + int force=0; + if(ogg_stream_check(os)) return 0; + + if((os->e_o_s&&os->lacing_fill) || /* 'were done, now flush' case */ + (os->lacing_fill&&!os->b_o_s)) /* 'initial header page' case */ + force=1; + + return(ogg_stream_flush_i(os,og,force,4096)); +} + +/* Like the above, but an argument is provided to adjust the nominal +page size for applications which are smart enough to provide their +own delay based flushing */ + +int ogg_stream_pageout_fill(ogg_stream_state *os, ogg_page *og, int nfill){ + int force=0; + if(ogg_stream_check(os)) return 0; + + if((os->e_o_s&&os->lacing_fill) || /* 'were done, now flush' case */ + (os->lacing_fill&&!os->b_o_s)) /* 'initial header page' case */ + force=1; + + return(ogg_stream_flush_i(os,og,force,nfill)); +} + +int ogg_stream_eos(ogg_stream_state *os){ + if(ogg_stream_check(os)) return 1; + return os->e_o_s; +} + +/* DECODING PRIMITIVES: packet streaming layer **********************/ + +/* This has two layers to place more of the multi-serialno and paging + control in the application's hands. First, we expose a data buffer + using ogg_sync_buffer(). The app either copies into the + buffer, or passes it directly to read(), etc. We then call + ogg_sync_wrote() to tell how many bytes we just added. + + Pages are returned (pointers into the buffer in ogg_sync_state) + by ogg_sync_pageout(). The page is then submitted to + ogg_stream_pagein() along with the appropriate + ogg_stream_state* (ie, matching serialno). We then get raw + packets out calling ogg_stream_packetout() with a + ogg_stream_state. */ + +/* initialize the struct to a known state */ +int ogg_sync_init(ogg_sync_state *oy){ + if(oy){ + oy->storage = -1; /* used as a readiness flag */ + memset(oy,0,sizeof(*oy)); + } + return(0); +} + +/* clear non-flat storage within */ +int ogg_sync_clear(ogg_sync_state *oy){ + if(oy){ + if(oy->data)_ogg_free(oy->data); + memset(oy,0,sizeof(*oy)); + } + return(0); +} + +int ogg_sync_destroy(ogg_sync_state *oy){ + if(oy){ + ogg_sync_clear(oy); + _ogg_free(oy); + } + return(0); +} + +int ogg_sync_check(ogg_sync_state *oy){ + if(oy->storage<0) return -1; + return 0; +} + +char *ogg_sync_buffer(ogg_sync_state *oy, long size){ + if(ogg_sync_check(oy)) return NULL; + + /* first, clear out any space that has been previously returned */ + if(oy->returned){ + oy->fill-=oy->returned; + if(oy->fill>0) + memmove(oy->data,oy->data+oy->returned,oy->fill); + oy->returned=0; + } + + if(size>oy->storage-oy->fill){ + /* We need to extend the internal buffer */ + long newsize; + void *ret; + + if(size>INT_MAX-4096-oy->fill){ + ogg_sync_clear(oy); + return NULL; + } + newsize=size+oy->fill+4096; /* an extra page to be nice */ + if(oy->data) + ret=_ogg_realloc(oy->data,newsize); + else + ret=_ogg_malloc(newsize); + if(!ret){ + ogg_sync_clear(oy); + return NULL; + } + oy->data=ret; + oy->storage=newsize; + } + + /* expose a segment at least as large as requested at the fill mark */ + return((char *)oy->data+oy->fill); +} + +int ogg_sync_wrote(ogg_sync_state *oy, long bytes){ + if(ogg_sync_check(oy))return -1; + if(oy->fill+bytes>oy->storage)return -1; + oy->fill+=bytes; + return(0); +} + +/* sync the stream. This is meant to be useful for finding page + boundaries. + + return values for this: + -n) skipped n bytes + 0) page not ready; more data (no bytes skipped) + n) page synced at current location; page length n bytes + +*/ + +long ogg_sync_pageseek(ogg_sync_state *oy,ogg_page *og){ + unsigned char *page=oy->data+oy->returned; + unsigned char *next; + long bytes=oy->fill-oy->returned; + + if(ogg_sync_check(oy))return 0; + + if(oy->headerbytes==0){ + int headerbytes,i; + if(bytes<27)return(0); /* not enough for a header */ + + /* verify capture pattern */ + if(memcmp(page,"OggS",4))goto sync_fail; + + headerbytes=page[26]+27; + if(bytesbodybytes+=page[27+i]; + oy->headerbytes=headerbytes; + } + + if(oy->bodybytes+oy->headerbytes>bytes)return(0); + + /* The whole test page is buffered. Verify the checksum */ + { + /* Grab the checksum bytes, set the header field to zero */ + char chksum[4]; + ogg_page log; + + memcpy(chksum,page+22,4); + memset(page+22,0,4); + + /* set up a temp page struct and recompute the checksum */ + log.header=page; + log.header_len=oy->headerbytes; + log.body=page+oy->headerbytes; + log.body_len=oy->bodybytes; + ogg_page_checksum_set(&log); + + /* Compare */ + if(memcmp(chksum,page+22,4)){ + /* D'oh. Mismatch! Corrupt page (or miscapture and not a page + at all) */ + /* replace the computed checksum with the one actually read in */ + memcpy(page+22,chksum,4); + +#ifndef DISABLE_CRC + /* Bad checksum. Lose sync */ + goto sync_fail; +#endif + } + } + + /* yes, have a whole page all ready to go */ + { + if(og){ + og->header=page; + og->header_len=oy->headerbytes; + og->body=page+oy->headerbytes; + og->body_len=oy->bodybytes; + } + + oy->unsynced=0; + oy->returned+=(bytes=oy->headerbytes+oy->bodybytes); + oy->headerbytes=0; + oy->bodybytes=0; + return(bytes); + } + + sync_fail: + + oy->headerbytes=0; + oy->bodybytes=0; + + /* search for possible capture */ + next=memchr(page+1,'O',bytes-1); + if(!next) + next=oy->data+oy->fill; + + oy->returned=(int)(next-oy->data); + return((long)-(next-page)); +} + +/* sync the stream and get a page. Keep trying until we find a page. + Suppress 'sync errors' after reporting the first. + + return values: + -1) recapture (hole in data) + 0) need more data + 1) page returned + + Returns pointers into buffered data; invalidated by next call to + _stream, _clear, _init, or _buffer */ + +int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og){ + + if(ogg_sync_check(oy))return 0; + + /* all we need to do is verify a page at the head of the stream + buffer. If it doesn't verify, we look for the next potential + frame */ + + for(;;){ + long ret=ogg_sync_pageseek(oy,og); + if(ret>0){ + /* have a page */ + return(1); + } + if(ret==0){ + /* need more data */ + return(0); + } + + /* head did not start a synced page... skipped some bytes */ + if(!oy->unsynced){ + oy->unsynced=1; + return(-1); + } + + /* loop. keep looking */ + + } +} + +/* add the incoming page to the stream state; we decompose the page + into packet segments here as well. */ + +int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og){ + unsigned char *header=og->header; + unsigned char *body=og->body; + long bodysize=og->body_len; + int segptr=0; + + int version=ogg_page_version(og); + int continued=ogg_page_continued(og); + int bos=ogg_page_bos(og); + int eos=ogg_page_eos(og); + ogg_int64_t granulepos=ogg_page_granulepos(og); + int serialno=ogg_page_serialno(og); + long pageno=ogg_page_pageno(og); + int segments=header[26]; + + if(ogg_stream_check(os)) return -1; + + /* clean up 'returned data' */ + { + long lr=os->lacing_returned; + long br=os->body_returned; + + /* body data */ + if(br){ + os->body_fill-=br; + if(os->body_fill) + memmove(os->body_data,os->body_data+br,os->body_fill); + os->body_returned=0; + } + + if(lr){ + /* segment table */ + if(os->lacing_fill-lr){ + memmove(os->lacing_vals,os->lacing_vals+lr, + (os->lacing_fill-lr)*sizeof(*os->lacing_vals)); + memmove(os->granule_vals,os->granule_vals+lr, + (os->lacing_fill-lr)*sizeof(*os->granule_vals)); + } + os->lacing_fill-=lr; + os->lacing_packet-=lr; + os->lacing_returned=0; + } + } + + /* check the serial number */ + if(serialno!=os->serialno)return(-1); + if(version>0)return(-1); + + if(_os_lacing_expand(os,segments+1)) return -1; + + /* are we in sequence? */ + if(pageno!=os->pageno){ + int i; + + /* unroll previous partial packet (if any) */ + for(i=os->lacing_packet;ilacing_fill;i++) + os->body_fill-=os->lacing_vals[i]&0xff; + os->lacing_fill=os->lacing_packet; + + /* make a note of dropped data in segment table */ + if(os->pageno!=-1){ + os->lacing_vals[os->lacing_fill++]=0x400; + os->lacing_packet++; + } + } + + /* are we a 'continued packet' page? If so, we may need to skip + some segments */ + if(continued){ + if(os->lacing_fill<1 || + (os->lacing_vals[os->lacing_fill-1]&0xff)<255 || + os->lacing_vals[os->lacing_fill-1]==0x400){ + bos=0; + for(;segptrbody_data+os->body_fill,body,bodysize); + os->body_fill+=bodysize; + } + + { + int saved=-1; + while(segptrlacing_vals[os->lacing_fill]=val; + os->granule_vals[os->lacing_fill]=-1; + + if(bos){ + os->lacing_vals[os->lacing_fill]|=0x100; + bos=0; + } + + if(val<255)saved=os->lacing_fill; + + os->lacing_fill++; + segptr++; + + if(val<255)os->lacing_packet=os->lacing_fill; + } + + /* set the granulepos on the last granuleval of the last full packet */ + if(saved!=-1){ + os->granule_vals[saved]=granulepos; + } + + } + + if(eos){ + os->e_o_s=1; + if(os->lacing_fill>0) + os->lacing_vals[os->lacing_fill-1]|=0x200; + } + + os->pageno=pageno+1; + + return(0); +} + +/* clear things to an initial state. Good to call, eg, before seeking */ +int ogg_sync_reset(ogg_sync_state *oy){ + if(ogg_sync_check(oy))return -1; + + oy->fill=0; + oy->returned=0; + oy->unsynced=0; + oy->headerbytes=0; + oy->bodybytes=0; + return(0); +} + +int ogg_stream_reset(ogg_stream_state *os){ + if(ogg_stream_check(os)) return -1; + + os->body_fill=0; + os->body_returned=0; + + os->lacing_fill=0; + os->lacing_packet=0; + os->lacing_returned=0; + + os->header_fill=0; + + os->e_o_s=0; + os->b_o_s=0; + os->pageno=-1; + os->packetno=0; + os->granulepos=0; + + return(0); +} + +int ogg_stream_reset_serialno(ogg_stream_state *os,int serialno){ + if(ogg_stream_check(os)) return -1; + ogg_stream_reset(os); + os->serialno=serialno; + return(0); +} + +static int _packetout(ogg_stream_state *os,ogg_packet *op,int adv){ + + /* The last part of decode. We have the stream broken into packet + segments. Now we need to group them into packets (or return the + out of sync markers) */ + + int ptr=os->lacing_returned; + + if(os->lacing_packet<=ptr)return(0); + + if(os->lacing_vals[ptr]&0x400){ + /* we need to tell the codec there's a gap; it might need to + handle previous packet dependencies. */ + os->lacing_returned++; + os->packetno++; + return(-1); + } + + if(!op && !adv)return(1); /* just using peek as an inexpensive way + to ask if there's a whole packet + waiting */ + + /* Gather the whole packet. We'll have no holes or a partial packet */ + { + int size=os->lacing_vals[ptr]&0xff; + long bytes=size; + int eos=os->lacing_vals[ptr]&0x200; /* last packet of the stream? */ + int bos=os->lacing_vals[ptr]&0x100; /* first packet of the stream? */ + + while(size==255){ + int val=os->lacing_vals[++ptr]; + size=val&0xff; + if(val&0x200)eos=0x200; + bytes+=size; + } + + if(op){ + op->e_o_s=eos; + op->b_o_s=bos; + op->packet=os->body_data+os->body_returned; + op->packetno=os->packetno; + op->granulepos=os->granule_vals[ptr]; + op->bytes=bytes; + } + + if(adv){ + os->body_returned+=bytes; + os->lacing_returned=ptr+1; + os->packetno++; + } + } + return(1); +} + +int ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op){ + if(ogg_stream_check(os)) return 0; + return _packetout(os,op,1); +} + +int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op){ + if(ogg_stream_check(os)) return 0; + return _packetout(os,op,0); +} + +void ogg_packet_clear(ogg_packet *op) { + _ogg_free(op->packet); + memset(op, 0, sizeof(*op)); +} + +#ifdef _V_SELFTEST +#include + +ogg_stream_state os_en, os_de; +ogg_sync_state oy; + +void checkpacket(ogg_packet *op,long len, int no, long pos){ + long j; + static int sequence=0; + static int lastno=0; + + if(op->bytes!=len){ + fprintf(stderr,"incorrect packet length (%ld != %ld)!\n",op->bytes,len); + exit(1); + } + if(op->granulepos!=pos){ + fprintf(stderr,"incorrect packet granpos (%ld != %ld)!\n",(long)op->granulepos,pos); + exit(1); + } + + /* packet number just follows sequence/gap; adjust the input number + for that */ + if(no==0){ + sequence=0; + }else{ + sequence++; + if(no>lastno+1) + sequence++; + } + lastno=no; + if(op->packetno!=sequence){ + fprintf(stderr,"incorrect packet sequence %ld != %d\n", + (long)(op->packetno),sequence); + exit(1); + } + + /* Test data */ + for(j=0;jbytes;j++) + if(op->packet[j]!=((j+no)&0xff)){ + fprintf(stderr,"body data mismatch (1) at pos %ld: %x!=%lx!\n\n", + j,op->packet[j],(j+no)&0xff); + exit(1); + } +} + +void check_page(unsigned char *data,const int *header,ogg_page *og){ + long j; + /* Test data */ + for(j=0;jbody_len;j++) + if(og->body[j]!=data[j]){ + fprintf(stderr,"body data mismatch (2) at pos %ld: %x!=%x!\n\n", + j,data[j],og->body[j]); + exit(1); + } + + /* Test header */ + for(j=0;jheader_len;j++){ + if(og->header[j]!=header[j]){ + fprintf(stderr,"header content mismatch at pos %ld:\n",j); + for(j=0;jheader[j]); + fprintf(stderr,"\n"); + exit(1); + } + } + if(og->header_len!=header[26]+27){ + fprintf(stderr,"header length incorrect! (%ld!=%d)\n", + og->header_len,header[26]+27); + exit(1); + } +} + +void print_header(ogg_page *og){ + int j; + fprintf(stderr,"\nHEADER:\n"); + fprintf(stderr," capture: %c %c %c %c version: %d flags: %x\n", + og->header[0],og->header[1],og->header[2],og->header[3], + (int)og->header[4],(int)og->header[5]); + + fprintf(stderr," granulepos: %d serialno: %d pageno: %ld\n", + (og->header[9]<<24)|(og->header[8]<<16)| + (og->header[7]<<8)|og->header[6], + (og->header[17]<<24)|(og->header[16]<<16)| + (og->header[15]<<8)|og->header[14], + ((long)(og->header[21])<<24)|(og->header[20]<<16)| + (og->header[19]<<8)|og->header[18]); + + fprintf(stderr," checksum: %02x:%02x:%02x:%02x\n segments: %d (", + (int)og->header[22],(int)og->header[23], + (int)og->header[24],(int)og->header[25], + (int)og->header[26]); + + for(j=27;jheader_len;j++) + fprintf(stderr,"%d ",(int)og->header[j]); + fprintf(stderr,")\n\n"); +} + +void copy_page(ogg_page *og){ + unsigned char *temp=_ogg_malloc(og->header_len); + memcpy(temp,og->header,og->header_len); + og->header=temp; + + temp=_ogg_malloc(og->body_len); + memcpy(temp,og->body,og->body_len); + og->body=temp; +} + +void free_page(ogg_page *og){ + _ogg_free (og->header); + _ogg_free (og->body); +} + +void error(void){ + fprintf(stderr,"error!\n"); + exit(1); +} + +/* 17 only */ +const int head1_0[] = {0x4f,0x67,0x67,0x53,0,0x06, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0,0,0,0, + 0x15,0xed,0xec,0x91, + 1, + 17}; + +/* 17, 254, 255, 256, 500, 510, 600 byte, pad */ +const int head1_1[] = {0x4f,0x67,0x67,0x53,0,0x02, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0,0,0,0, + 0x59,0x10,0x6c,0x2c, + 1, + 17}; +const int head2_1[] = {0x4f,0x67,0x67,0x53,0,0x04, + 0x07,0x18,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,1,0,0,0, + 0x89,0x33,0x85,0xce, + 13, + 254,255,0,255,1,255,245,255,255,0, + 255,255,90}; + +/* nil packets; beginning,middle,end */ +const int head1_2[] = {0x4f,0x67,0x67,0x53,0,0x02, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0,0,0,0, + 0xff,0x7b,0x23,0x17, + 1, + 0}; +const int head2_2[] = {0x4f,0x67,0x67,0x53,0,0x04, + 0x07,0x28,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,1,0,0,0, + 0x5c,0x3f,0x66,0xcb, + 17, + 17,254,255,0,0,255,1,0,255,245,255,255,0, + 255,255,90,0}; + +/* large initial packet */ +const int head1_3[] = {0x4f,0x67,0x67,0x53,0,0x02, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0,0,0,0, + 0x01,0x27,0x31,0xaa, + 18, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,10}; + +const int head2_3[] = {0x4f,0x67,0x67,0x53,0,0x04, + 0x07,0x08,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,1,0,0,0, + 0x7f,0x4e,0x8a,0xd2, + 4, + 255,4,255,0}; + + +/* continuing packet test */ +const int head1_4[] = {0x4f,0x67,0x67,0x53,0,0x02, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0,0,0,0, + 0xff,0x7b,0x23,0x17, + 1, + 0}; + +const int head2_4[] = {0x4f,0x67,0x67,0x53,0,0x00, + 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, + 0x01,0x02,0x03,0x04,1,0,0,0, + 0xf8,0x3c,0x19,0x79, + 255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255}; + +const int head3_4[] = {0x4f,0x67,0x67,0x53,0,0x05, + 0x07,0x0c,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,2,0,0,0, + 0x38,0xe6,0xb6,0x28, + 6, + 255,220,255,4,255,0}; + + +/* spill expansion test */ +const int head1_4b[] = {0x4f,0x67,0x67,0x53,0,0x02, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0,0,0,0, + 0xff,0x7b,0x23,0x17, + 1, + 0}; + +const int head2_4b[] = {0x4f,0x67,0x67,0x53,0,0x00, + 0x07,0x10,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,1,0,0,0, + 0xce,0x8f,0x17,0x1a, + 23, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255,255,10,255,4,255,0,0}; + + +const int head3_4b[] = {0x4f,0x67,0x67,0x53,0,0x04, + 0x07,0x14,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,2,0,0,0, + 0x9b,0xb2,0x50,0xa1, + 1, + 0}; + +/* page with the 255 segment limit */ +const int head1_5[] = {0x4f,0x67,0x67,0x53,0,0x02, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0,0,0,0, + 0xff,0x7b,0x23,0x17, + 1, + 0}; + +const int head2_5[] = {0x4f,0x67,0x67,0x53,0,0x00, + 0x07,0xfc,0x03,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,1,0,0,0, + 0xed,0x2a,0x2e,0xa7, + 255, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10}; + +const int head3_5[] = {0x4f,0x67,0x67,0x53,0,0x04, + 0x07,0x00,0x04,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,2,0,0,0, + 0x6c,0x3b,0x82,0x3d, + 1, + 50}; + + +/* packet that overspans over an entire page */ +const int head1_6[] = {0x4f,0x67,0x67,0x53,0,0x02, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0,0,0,0, + 0xff,0x7b,0x23,0x17, + 1, + 0}; + +const int head2_6[] = {0x4f,0x67,0x67,0x53,0,0x00, + 0x07,0x04,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,1,0,0,0, + 0x68,0x22,0x7c,0x3d, + 255, + 100, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255}; + +const int head3_6[] = {0x4f,0x67,0x67,0x53,0,0x01, + 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, + 0x01,0x02,0x03,0x04,2,0,0,0, + 0xf4,0x87,0xba,0xf3, + 255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255}; + +const int head4_6[] = {0x4f,0x67,0x67,0x53,0,0x05, + 0x07,0x10,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,3,0,0,0, + 0xf7,0x2f,0x6c,0x60, + 5, + 254,255,4,255,0}; + +/* packet that overspans over an entire page */ +const int head1_7[] = {0x4f,0x67,0x67,0x53,0,0x02, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,0,0,0,0, + 0xff,0x7b,0x23,0x17, + 1, + 0}; + +const int head2_7[] = {0x4f,0x67,0x67,0x53,0,0x00, + 0x07,0x04,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,1,0,0,0, + 0x68,0x22,0x7c,0x3d, + 255, + 100, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255,255,255, + 255,255,255,255,255,255}; + +const int head3_7[] = {0x4f,0x67,0x67,0x53,0,0x05, + 0x07,0x08,0x00,0x00,0x00,0x00,0x00,0x00, + 0x01,0x02,0x03,0x04,2,0,0,0, + 0xd4,0xe0,0x60,0xe5, + 1, + 0}; + +int compare_packet(const ogg_packet *op1, const ogg_packet *op2){ + if(op1->packet!=op2->packet){ + fprintf(stderr,"op1->packet != op2->packet\n"); + return(1); + } + if(op1->bytes!=op2->bytes){ + fprintf(stderr,"op1->bytes != op2->bytes\n"); + return(1); + } + if(op1->b_o_s!=op2->b_o_s){ + fprintf(stderr,"op1->b_o_s != op2->b_o_s\n"); + return(1); + } + if(op1->e_o_s!=op2->e_o_s){ + fprintf(stderr,"op1->e_o_s != op2->e_o_s\n"); + return(1); + } + if(op1->granulepos!=op2->granulepos){ + fprintf(stderr,"op1->granulepos != op2->granulepos\n"); + return(1); + } + if(op1->packetno!=op2->packetno){ + fprintf(stderr,"op1->packetno != op2->packetno\n"); + return(1); + } + return(0); +} + +void test_pack(const int *pl, const int **headers, int byteskip, + int pageskip, int packetskip){ + unsigned char *data=_ogg_malloc(1024*1024); /* for scripted test cases only */ + long inptr=0; + long outptr=0; + long deptr=0; + long depacket=0; + long granule_pos=7,pageno=0; + int i,j,packets,pageout=pageskip; + int eosflag=0; + int bosflag=0; + + int byteskipcount=0; + + ogg_stream_reset(&os_en); + ogg_stream_reset(&os_de); + ogg_sync_reset(&oy); + + for(packets=0;packetsbyteskip){ + memcpy(next,og.header,byteskipcount-byteskip); + next+=byteskipcount-byteskip; + byteskipcount=byteskip; + } + + byteskipcount+=og.body_len; + if(byteskipcount>byteskip){ + memcpy(next,og.body,byteskipcount-byteskip); + next+=byteskipcount-byteskip; + byteskipcount=byteskip; + } + + ogg_sync_wrote(&oy,(long)(next-buf)); + + while(1){ + int ret=ogg_sync_pageout(&oy,&og_de); + if(ret==0)break; + if(ret<0)continue; + /* got a page. Happy happy. Verify that it's good. */ + + fprintf(stderr,"(%d), ",pageout); + + check_page(data+deptr,headers[pageout],&og_de); + deptr+=og_de.body_len; + pageout++; + + /* submit it to deconstitution */ + ogg_stream_pagein(&os_de,&og_de); + + /* packets out? */ + while(ogg_stream_packetpeek(&os_de,&op_de2)>0){ + ogg_stream_packetpeek(&os_de,NULL); + ogg_stream_packetout(&os_de,&op_de); /* just catching them all */ + + /* verify peek and out match */ + if(compare_packet(&op_de,&op_de2)){ + fprintf(stderr,"packetout != packetpeek! pos=%ld\n", + depacket); + exit(1); + } + + /* verify the packet! */ + /* check data */ + if(memcmp(data+depacket,op_de.packet,op_de.bytes)){ + fprintf(stderr,"packet data mismatch in decode! pos=%ld\n", + depacket); + exit(1); + } + /* check bos flag */ + if(bosflag==0 && op_de.b_o_s==0){ + fprintf(stderr,"b_o_s flag not set on packet!\n"); + exit(1); + } + if(bosflag && op_de.b_o_s){ + fprintf(stderr,"b_o_s flag incorrectly set on packet!\n"); + exit(1); + } + bosflag=1; + depacket+=op_de.bytes; + + /* check eos flag */ + if(eosflag){ + fprintf(stderr,"Multiple decoded packets with eos flag!\n"); + exit(1); + } + + if(op_de.e_o_s)eosflag=1; + + /* check granulepos flag */ + if(op_de.granulepos!=-1){ + fprintf(stderr," granule:%ld ",(long)op_de.granulepos); + } + } + } + } + } + } + } + _ogg_free(data); + if(headers[pageno]!=NULL){ + fprintf(stderr,"did not write last page!\n"); + exit(1); + } + if(headers[pageout]!=NULL){ + fprintf(stderr,"did not decode last page!\n"); + exit(1); + } + if(inptr!=outptr){ + fprintf(stderr,"encoded page data incomplete!\n"); + exit(1); + } + if(inptr!=deptr){ + fprintf(stderr,"decoded page data incomplete!\n"); + exit(1); + } + if(inptr!=depacket){ + fprintf(stderr,"decoded packet data incomplete!\n"); + exit(1); + } + if(!eosflag){ + fprintf(stderr,"Never got a packet with EOS set!\n"); + exit(1); + } + fprintf(stderr,"ok.\n"); +} + +int main(void){ + + ogg_stream_init(&os_en,0x04030201); + ogg_stream_init(&os_de,0x04030201); + ogg_sync_init(&oy); + + /* Exercise each code path in the framing code. Also verify that + the checksums are working. */ + + { + /* 17 only */ + const int packets[]={17, -1}; + const int *headret[]={head1_0,NULL}; + + fprintf(stderr,"testing single page encoding... "); + test_pack(packets,headret,0,0,0); + } + + { + /* 17, 254, 255, 256, 500, 510, 600 byte, pad */ + const int packets[]={17, 254, 255, 256, 500, 510, 600, -1}; + const int *headret[]={head1_1,head2_1,NULL}; + + fprintf(stderr,"testing basic page encoding... "); + test_pack(packets,headret,0,0,0); + } + + { + /* nil packets; beginning,middle,end */ + const int packets[]={0,17, 254, 255, 0, 256, 0, 500, 510, 600, 0, -1}; + const int *headret[]={head1_2,head2_2,NULL}; + + fprintf(stderr,"testing basic nil packets... "); + test_pack(packets,headret,0,0,0); + } + + { + /* large initial packet */ + const int packets[]={4345,259,255,-1}; + const int *headret[]={head1_3,head2_3,NULL}; + + fprintf(stderr,"testing initial-packet lacing > 4k... "); + test_pack(packets,headret,0,0,0); + } + + { + /* continuing packet test; with page spill expansion, we have to + overflow the lacing table. */ + const int packets[]={0,65500,259,255,-1}; + const int *headret[]={head1_4,head2_4,head3_4,NULL}; + + fprintf(stderr,"testing single packet page span... "); + test_pack(packets,headret,0,0,0); + } + + { + /* spill expand packet test */ + const int packets[]={0,4345,259,255,0,0,-1}; + const int *headret[]={head1_4b,head2_4b,head3_4b,NULL}; + + fprintf(stderr,"testing page spill expansion... "); + test_pack(packets,headret,0,0,0); + } + + /* page with the 255 segment limit */ + { + + const int packets[]={0,10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,10, + 10,10,10,10,10,10,10,50,-1}; + const int *headret[]={head1_5,head2_5,head3_5,NULL}; + + fprintf(stderr,"testing max packet segments... "); + test_pack(packets,headret,0,0,0); + } + + { + /* packet that overspans over an entire page */ + const int packets[]={0,100,130049,259,255,-1}; + const int *headret[]={head1_6,head2_6,head3_6,head4_6,NULL}; + + fprintf(stderr,"testing very large packets... "); + test_pack(packets,headret,0,0,0); + } + +#ifndef DISABLE_CRC + { + /* test for the libogg 1.1.1 resync in large continuation bug + found by Josh Coalson) */ + const int packets[]={0,100,130049,259,255,-1}; + const int *headret[]={head1_6,head2_6,head3_6,head4_6,NULL}; + + fprintf(stderr,"testing continuation resync in very large packets... "); + test_pack(packets,headret,100,2,3); + } +#else + fprintf(stderr,"Skipping continuation resync test due to --disable-crc\n"); +#endif + + { + /* term only page. why not? */ + const int packets[]={0,100,64770,-1}; + const int *headret[]={head1_7,head2_7,head3_7,NULL}; + + fprintf(stderr,"testing zero data page (1 nil packet)... "); + test_pack(packets,headret,0,0,0); + } + + + + { + /* build a bunch of pages for testing */ + unsigned char *data=_ogg_malloc(1024*1024); + int pl[]={0, 1,1,98,4079, 1,1,2954,2057, 76,34,912,0,234,1000,1000, 1000,300,-1}; + int inptr=0,i,j; + ogg_page og[5]; + + ogg_stream_reset(&os_en); + + for(i=0;pl[i]!=-1;i++){ + ogg_packet op; + int len=pl[i]; + + op.packet=data+inptr; + op.bytes=len; + op.e_o_s=(pl[i+1]<0?1:0); + op.granulepos=(i+1)*1000; + + for(j=0;j0)error(); + + /* Test fractional page inputs: incomplete fixed header */ + memcpy(ogg_sync_buffer(&oy,og[1].header_len),og[1].header+3, + 20); + ogg_sync_wrote(&oy,20); + if(ogg_sync_pageout(&oy,&og_de)>0)error(); + + /* Test fractional page inputs: incomplete header */ + memcpy(ogg_sync_buffer(&oy,og[1].header_len),og[1].header+23, + 5); + ogg_sync_wrote(&oy,5); + if(ogg_sync_pageout(&oy,&og_de)>0)error(); + + /* Test fractional page inputs: incomplete body */ + + memcpy(ogg_sync_buffer(&oy,og[1].header_len),og[1].header+28, + og[1].header_len-28); + ogg_sync_wrote(&oy,og[1].header_len-28); + if(ogg_sync_pageout(&oy,&og_de)>0)error(); + + memcpy(ogg_sync_buffer(&oy,og[1].body_len),og[1].body,1000); + ogg_sync_wrote(&oy,1000); + if(ogg_sync_pageout(&oy,&og_de)>0)error(); + + memcpy(ogg_sync_buffer(&oy,og[1].body_len),og[1].body+1000, + og[1].body_len-1000); + ogg_sync_wrote(&oy,og[1].body_len-1000); + if(ogg_sync_pageout(&oy,&og_de)<=0)error(); + + fprintf(stderr,"ok.\n"); + } + + /* Test fractional page inputs: page + incomplete capture */ + { + ogg_page og_de; + fprintf(stderr,"Testing sync on 1+partial inputs... "); + ogg_sync_reset(&oy); + + memcpy(ogg_sync_buffer(&oy,og[1].header_len),og[1].header, + og[1].header_len); + ogg_sync_wrote(&oy,og[1].header_len); + + memcpy(ogg_sync_buffer(&oy,og[1].body_len),og[1].body, + og[1].body_len); + ogg_sync_wrote(&oy,og[1].body_len); + + memcpy(ogg_sync_buffer(&oy,og[1].header_len),og[1].header, + 20); + ogg_sync_wrote(&oy,20); + if(ogg_sync_pageout(&oy,&og_de)<=0)error(); + if(ogg_sync_pageout(&oy,&og_de)>0)error(); + + memcpy(ogg_sync_buffer(&oy,og[1].header_len),og[1].header+20, + og[1].header_len-20); + ogg_sync_wrote(&oy,og[1].header_len-20); + memcpy(ogg_sync_buffer(&oy,og[1].body_len),og[1].body, + og[1].body_len); + ogg_sync_wrote(&oy,og[1].body_len); + if(ogg_sync_pageout(&oy,&og_de)<=0)error(); + + fprintf(stderr,"ok.\n"); + } + + /* Test recapture: garbage + page */ + { + ogg_page og_de; + fprintf(stderr,"Testing search for capture... "); + ogg_sync_reset(&oy); + + /* 'garbage' */ + memcpy(ogg_sync_buffer(&oy,og[1].body_len),og[1].body, + og[1].body_len); + ogg_sync_wrote(&oy,og[1].body_len); + + memcpy(ogg_sync_buffer(&oy,og[1].header_len),og[1].header, + og[1].header_len); + ogg_sync_wrote(&oy,og[1].header_len); + + memcpy(ogg_sync_buffer(&oy,og[1].body_len),og[1].body, + og[1].body_len); + ogg_sync_wrote(&oy,og[1].body_len); + + memcpy(ogg_sync_buffer(&oy,og[2].header_len),og[2].header, + 20); + ogg_sync_wrote(&oy,20); + if(ogg_sync_pageout(&oy,&og_de)>0)error(); + if(ogg_sync_pageout(&oy,&og_de)<=0)error(); + if(ogg_sync_pageout(&oy,&og_de)>0)error(); + + memcpy(ogg_sync_buffer(&oy,og[2].header_len),og[2].header+20, + og[2].header_len-20); + ogg_sync_wrote(&oy,og[2].header_len-20); + memcpy(ogg_sync_buffer(&oy,og[2].body_len),og[2].body, + og[2].body_len); + ogg_sync_wrote(&oy,og[2].body_len); + if(ogg_sync_pageout(&oy,&og_de)<=0)error(); + + fprintf(stderr,"ok.\n"); + } + +#ifndef DISABLE_CRC + /* Test recapture: page + garbage + page */ + { + ogg_page og_de; + fprintf(stderr,"Testing recapture... "); + ogg_sync_reset(&oy); + + memcpy(ogg_sync_buffer(&oy,og[1].header_len),og[1].header, + og[1].header_len); + ogg_sync_wrote(&oy,og[1].header_len); + + memcpy(ogg_sync_buffer(&oy,og[1].body_len),og[1].body, + og[1].body_len); + ogg_sync_wrote(&oy,og[1].body_len); + + memcpy(ogg_sync_buffer(&oy,og[2].header_len),og[2].header, + og[2].header_len); + ogg_sync_wrote(&oy,og[2].header_len); + + memcpy(ogg_sync_buffer(&oy,og[2].header_len),og[2].header, + og[2].header_len); + ogg_sync_wrote(&oy,og[2].header_len); + + if(ogg_sync_pageout(&oy,&og_de)<=0)error(); + + memcpy(ogg_sync_buffer(&oy,og[2].body_len),og[2].body, + og[2].body_len-5); + ogg_sync_wrote(&oy,og[2].body_len-5); + + memcpy(ogg_sync_buffer(&oy,og[3].header_len),og[3].header, + og[3].header_len); + ogg_sync_wrote(&oy,og[3].header_len); + + memcpy(ogg_sync_buffer(&oy,og[3].body_len),og[3].body, + og[3].body_len); + ogg_sync_wrote(&oy,og[3].body_len); + + if(ogg_sync_pageout(&oy,&og_de)>0)error(); + if(ogg_sync_pageout(&oy,&og_de)<=0)error(); + + fprintf(stderr,"ok.\n"); + } +#else + fprintf(stderr,"Skipping recapture test due to --disable-crc\n"); +#endif + + /* Free page data that was previously copied */ + { + for(i=0;i<5;i++){ + free_page(&og[i]); + } + } + } + ogg_sync_clear(&oy); + ogg_stream_clear(&os_en); + ogg_stream_clear(&os_de); + + return(0); +} + +#endif diff --git a/thirdparty/libogg/ogg/config_types.h b/thirdparty/libogg/ogg/config_types.h new file mode 100644 index 0000000..1a87df6 --- /dev/null +++ b/thirdparty/libogg/ogg/config_types.h @@ -0,0 +1,26 @@ +#ifndef __CONFIG_TYPES_H__ +#define __CONFIG_TYPES_H__ + +/* these are filled in by configure or cmake*/ +#define INCLUDE_INTTYPES_H 1 +#define INCLUDE_STDINT_H 1 +#define INCLUDE_SYS_TYPES_H 1 + +#if INCLUDE_INTTYPES_H +# include +#endif +#if INCLUDE_STDINT_H +# include +#endif +#if INCLUDE_SYS_TYPES_H +# include +#endif + +typedef int16_t ogg_int16_t; +typedef uint16_t ogg_uint16_t; +typedef int32_t ogg_int32_t; +typedef uint32_t ogg_uint32_t; +typedef int64_t ogg_int64_t; +typedef uint64_t ogg_uint64_t; + +#endif diff --git a/thirdparty/libogg/ogg/ogg.h b/thirdparty/libogg/ogg/ogg.h new file mode 100644 index 0000000..c4325aa --- /dev/null +++ b/thirdparty/libogg/ogg/ogg.h @@ -0,0 +1,209 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2007 * + * by the Xiph.Org Foundation http://www.xiph.org/ * + * * + ******************************************************************** + + function: toplevel libogg include + + ********************************************************************/ +#ifndef _OGG_H +#define _OGG_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include +#include + +typedef struct { + void *iov_base; + size_t iov_len; +} ogg_iovec_t; + +typedef struct { + long endbyte; + int endbit; + + unsigned char *buffer; + unsigned char *ptr; + long storage; +} oggpack_buffer; + +/* ogg_page is used to encapsulate the data in one Ogg bitstream page *****/ + +typedef struct { + unsigned char *header; + long header_len; + unsigned char *body; + long body_len; +} ogg_page; + +/* ogg_stream_state contains the current encode/decode state of a logical + Ogg bitstream **********************************************************/ + +typedef struct { + unsigned char *body_data; /* bytes from packet bodies */ + long body_storage; /* storage elements allocated */ + long body_fill; /* elements stored; fill mark */ + long body_returned; /* elements of fill returned */ + + + int *lacing_vals; /* The values that will go to the segment table */ + ogg_int64_t *granule_vals; /* granulepos values for headers. Not compact + this way, but it is simple coupled to the + lacing fifo */ + long lacing_storage; + long lacing_fill; + long lacing_packet; + long lacing_returned; + + unsigned char header[282]; /* working space for header encode */ + int header_fill; + + int e_o_s; /* set when we have buffered the last packet in the + logical bitstream */ + int b_o_s; /* set after we've written the initial page + of a logical bitstream */ + long serialno; + long pageno; + ogg_int64_t packetno; /* sequence number for decode; the framing + knows where there's a hole in the data, + but we need coupling so that the codec + (which is in a separate abstraction + layer) also knows about the gap */ + ogg_int64_t granulepos; + +} ogg_stream_state; + +/* ogg_packet is used to encapsulate the data and metadata belonging + to a single raw Ogg/Vorbis packet *************************************/ + +typedef struct { + unsigned char *packet; + long bytes; + long b_o_s; + long e_o_s; + + ogg_int64_t granulepos; + + ogg_int64_t packetno; /* sequence number for decode; the framing + knows where there's a hole in the data, + but we need coupling so that the codec + (which is in a separate abstraction + layer) also knows about the gap */ +} ogg_packet; + +typedef struct { + unsigned char *data; + int storage; + int fill; + int returned; + + int unsynced; + int headerbytes; + int bodybytes; +} ogg_sync_state; + +/* Ogg BITSTREAM PRIMITIVES: bitstream ************************/ + +extern void oggpack_writeinit(oggpack_buffer *b); +extern int oggpack_writecheck(oggpack_buffer *b); +extern void oggpack_writetrunc(oggpack_buffer *b,long bits); +extern void oggpack_writealign(oggpack_buffer *b); +extern void oggpack_writecopy(oggpack_buffer *b,void *source,long bits); +extern void oggpack_reset(oggpack_buffer *b); +extern void oggpack_writeclear(oggpack_buffer *b); +extern void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes); +extern void oggpack_write(oggpack_buffer *b,unsigned long value,int bits); +extern long oggpack_look(oggpack_buffer *b,int bits); +extern long oggpack_look1(oggpack_buffer *b); +extern void oggpack_adv(oggpack_buffer *b,int bits); +extern void oggpack_adv1(oggpack_buffer *b); +extern long oggpack_read(oggpack_buffer *b,int bits); +extern long oggpack_read1(oggpack_buffer *b); +extern long oggpack_bytes(oggpack_buffer *b); +extern long oggpack_bits(oggpack_buffer *b); +extern unsigned char *oggpack_get_buffer(oggpack_buffer *b); + +extern void oggpackB_writeinit(oggpack_buffer *b); +extern int oggpackB_writecheck(oggpack_buffer *b); +extern void oggpackB_writetrunc(oggpack_buffer *b,long bits); +extern void oggpackB_writealign(oggpack_buffer *b); +extern void oggpackB_writecopy(oggpack_buffer *b,void *source,long bits); +extern void oggpackB_reset(oggpack_buffer *b); +extern void oggpackB_writeclear(oggpack_buffer *b); +extern void oggpackB_readinit(oggpack_buffer *b,unsigned char *buf,int bytes); +extern void oggpackB_write(oggpack_buffer *b,unsigned long value,int bits); +extern long oggpackB_look(oggpack_buffer *b,int bits); +extern long oggpackB_look1(oggpack_buffer *b); +extern void oggpackB_adv(oggpack_buffer *b,int bits); +extern void oggpackB_adv1(oggpack_buffer *b); +extern long oggpackB_read(oggpack_buffer *b,int bits); +extern long oggpackB_read1(oggpack_buffer *b); +extern long oggpackB_bytes(oggpack_buffer *b); +extern long oggpackB_bits(oggpack_buffer *b); +extern unsigned char *oggpackB_get_buffer(oggpack_buffer *b); + +/* Ogg BITSTREAM PRIMITIVES: encoding **************************/ + +extern int ogg_stream_packetin(ogg_stream_state *os, ogg_packet *op); +extern int ogg_stream_iovecin(ogg_stream_state *os, ogg_iovec_t *iov, + int count, long e_o_s, ogg_int64_t granulepos); +extern int ogg_stream_pageout(ogg_stream_state *os, ogg_page *og); +extern int ogg_stream_pageout_fill(ogg_stream_state *os, ogg_page *og, int nfill); +extern int ogg_stream_flush(ogg_stream_state *os, ogg_page *og); +extern int ogg_stream_flush_fill(ogg_stream_state *os, ogg_page *og, int nfill); + +/* Ogg BITSTREAM PRIMITIVES: decoding **************************/ + +extern int ogg_sync_init(ogg_sync_state *oy); +extern int ogg_sync_clear(ogg_sync_state *oy); +extern int ogg_sync_reset(ogg_sync_state *oy); +extern int ogg_sync_destroy(ogg_sync_state *oy); +extern int ogg_sync_check(ogg_sync_state *oy); + +extern char *ogg_sync_buffer(ogg_sync_state *oy, long size); +extern int ogg_sync_wrote(ogg_sync_state *oy, long bytes); +extern long ogg_sync_pageseek(ogg_sync_state *oy,ogg_page *og); +extern int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og); +extern int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og); +extern int ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op); +extern int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op); + +/* Ogg BITSTREAM PRIMITIVES: general ***************************/ + +extern int ogg_stream_init(ogg_stream_state *os,int serialno); +extern int ogg_stream_clear(ogg_stream_state *os); +extern int ogg_stream_reset(ogg_stream_state *os); +extern int ogg_stream_reset_serialno(ogg_stream_state *os,int serialno); +extern int ogg_stream_destroy(ogg_stream_state *os); +extern int ogg_stream_check(ogg_stream_state *os); +extern int ogg_stream_eos(ogg_stream_state *os); + +extern void ogg_page_checksum_set(ogg_page *og); + +extern int ogg_page_version(const ogg_page *og); +extern int ogg_page_continued(const ogg_page *og); +extern int ogg_page_bos(const ogg_page *og); +extern int ogg_page_eos(const ogg_page *og); +extern ogg_int64_t ogg_page_granulepos(const ogg_page *og); +extern int ogg_page_serialno(const ogg_page *og); +extern long ogg_page_pageno(const ogg_page *og); +extern int ogg_page_packets(const ogg_page *og); + +extern void ogg_packet_clear(ogg_packet *op); + + +#ifdef __cplusplus +} +#endif + +#endif /* _OGG_H */ diff --git a/thirdparty/libogg/ogg/os_types.h b/thirdparty/libogg/ogg/os_types.h new file mode 100644 index 0000000..e655a1d --- /dev/null +++ b/thirdparty/libogg/ogg/os_types.h @@ -0,0 +1,158 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * + * * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * + * by the Xiph.Org Foundation http://www.xiph.org/ * + * * + ******************************************************************** + + function: Define a consistent set of types on each platform. + + ********************************************************************/ +#ifndef _OS_TYPES_H +#define _OS_TYPES_H + +/* make it easy on the folks that want to compile the libs with a + different malloc than stdlib */ +#define _ogg_malloc malloc +#define _ogg_calloc calloc +#define _ogg_realloc realloc +#define _ogg_free free + +#if defined(_WIN32) + +# if defined(__CYGWIN__) +# include + typedef int16_t ogg_int16_t; + typedef uint16_t ogg_uint16_t; + typedef int32_t ogg_int32_t; + typedef uint32_t ogg_uint32_t; + typedef int64_t ogg_int64_t; + typedef uint64_t ogg_uint64_t; +# elif defined(__MINGW32__) +# include + typedef short ogg_int16_t; + typedef unsigned short ogg_uint16_t; + typedef int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef long long ogg_int64_t; + typedef unsigned long long ogg_uint64_t; +# elif defined(__MWERKS__) + typedef long long ogg_int64_t; + typedef unsigned long long ogg_uint64_t; + typedef int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef short ogg_int16_t; + typedef unsigned short ogg_uint16_t; +# else +# if defined(_MSC_VER) && (_MSC_VER >= 1800) /* MSVC 2013 and newer */ +# include + typedef int16_t ogg_int16_t; + typedef uint16_t ogg_uint16_t; + typedef int32_t ogg_int32_t; + typedef uint32_t ogg_uint32_t; + typedef int64_t ogg_int64_t; + typedef uint64_t ogg_uint64_t; +# else + /* MSVC/Borland */ + typedef __int64 ogg_int64_t; + typedef __int32 ogg_int32_t; + typedef unsigned __int32 ogg_uint32_t; + typedef unsigned __int64 ogg_uint64_t; + typedef __int16 ogg_int16_t; + typedef unsigned __int16 ogg_uint16_t; +# endif +# endif + +#elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */ + +# include + typedef int16_t ogg_int16_t; + typedef u_int16_t ogg_uint16_t; + typedef int32_t ogg_int32_t; + typedef u_int32_t ogg_uint32_t; + typedef int64_t ogg_int64_t; + typedef u_int64_t ogg_uint64_t; + +#elif defined(__HAIKU__) + + /* Haiku */ +# include + typedef short ogg_int16_t; + typedef unsigned short ogg_uint16_t; + typedef int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef long long ogg_int64_t; + typedef unsigned long long ogg_uint64_t; + +#elif defined(__BEOS__) + + /* Be */ +# include + typedef int16_t ogg_int16_t; + typedef uint16_t ogg_uint16_t; + typedef int32_t ogg_int32_t; + typedef uint32_t ogg_uint32_t; + typedef int64_t ogg_int64_t; + typedef uint64_t ogg_uint64_t; + +#elif defined (__EMX__) + + /* OS/2 GCC */ + typedef short ogg_int16_t; + typedef unsigned short ogg_uint16_t; + typedef int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef long long ogg_int64_t; + typedef unsigned long long ogg_uint64_t; + + +#elif defined (DJGPP) + + /* DJGPP */ + typedef short ogg_int16_t; + typedef int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef long long ogg_int64_t; + typedef unsigned long long ogg_uint64_t; + +#elif defined(R5900) + + /* PS2 EE */ + typedef long ogg_int64_t; + typedef unsigned long ogg_uint64_t; + typedef int ogg_int32_t; + typedef unsigned ogg_uint32_t; + typedef short ogg_int16_t; + +#elif defined(__SYMBIAN32__) + + /* Symbian GCC */ + typedef signed short ogg_int16_t; + typedef unsigned short ogg_uint16_t; + typedef signed int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef long long int ogg_int64_t; + typedef unsigned long long int ogg_uint64_t; + +#elif defined(__TMS320C6X__) + + /* TI C64x compiler */ + typedef signed short ogg_int16_t; + typedef unsigned short ogg_uint16_t; + typedef signed int ogg_int32_t; + typedef unsigned int ogg_uint32_t; + typedef long long int ogg_int64_t; + typedef unsigned long long int ogg_uint64_t; + +#else + +# include + +#endif + +#endif /* _OS_TYPES_H */ From d3722029c60d9f5792f2e73f05ca9299322125d7 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Mon, 8 Apr 2024 00:34:20 +0200 Subject: [PATCH 13/25] print verbose --- godot_compat_helper.h | 8 ++++++++ thirdparty/jitter.cpp | 27 ++++++++++++++------------- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/godot_compat_helper.h b/godot_compat_helper.h index a541373..5d47903 100644 --- a/godot_compat_helper.h +++ b/godot_compat_helper.h @@ -9,6 +9,14 @@ using namespace godot; +inline void compat_print_verbose(const Variant &v) { +#ifdef GODOT_MODULE_COMPAT + print_verbose(v); +#else + UtilityFunctions::print_verbose(v); +#endif +} + inline void compat_print_line(const Variant &v) { #ifdef GODOT_MODULE_COMPAT print_line(v); diff --git a/thirdparty/jitter.cpp b/thirdparty/jitter.cpp index c77bba7..3f26164 100644 --- a/thirdparty/jitter.cpp +++ b/thirdparty/jitter.cpp @@ -82,6 +82,7 @@ #include "jitter.h" #include +#include void VoipJitterBuffer::jitter_buffer_reset(Ref jitter) { if (jitter.is_null()) { @@ -108,7 +109,7 @@ void VoipJitterBuffer::jitter_buffer_reset(Ref jitter) { tb_init(jitter->_tb[i]); jitter->timeBuffers[i] = jitter->_tb[i]; } - print_verbose("reset"); + compat_print_verbose("reset"); } int VoipJitterBuffer::jitter_buffer_ctl(Ref jitter, int request, int32_t *ptr) { @@ -286,7 +287,7 @@ void VoipJitterBuffer::jitter_buffer_put(Ref jitter, const Refpackets[i_jitter] != nullptr) { jitter->packets[i_jitter]->get_data().clear(); } - print_verbose(vformat("Buffer is full, discarding earliest frame %d (currently at %d)", packet->get_timestamp(), jitter->pointer_timestamp)); + compat_print_verbose(vformat("Buffer is full, discarding earliest frame %d (currently at %d)", packet->get_timestamp(), jitter->pointer_timestamp)); } // Check if the packet object is valid before copying data and setting properties @@ -366,7 +367,7 @@ Array VoipJitterBuffer::jitter_buffer_get(Ref jitter, Refpointer_timestamp += jitter->interp_requested; packet->get_data().clear(); - print_verbose("Deferred interpolate"); + compat_print_verbose("Deferred interpolate"); jitter->interp_requested = 0; @@ -499,10 +500,10 @@ Array VoipJitterBuffer::jitter_buffer_get(Ref jitter, Reflost_count++; - print_verbose("m"); - print_verbose(vformat("lost_count = %d\n", jitter->lost_count)); + compat_print_verbose("m"); + compat_print_verbose(vformat("lost_count = %d\n", jitter->lost_count)); opt = compute_opt_delay(jitter); @@ -523,7 +524,7 @@ Array VoipJitterBuffer::jitter_buffer_get(Ref jitter, Refpointer_timestamp -= jitter->delay_step;*/ - print_verbose(vformat("Forced to interpolate.")); + compat_print_verbose(vformat("Forced to interpolate.")); } else { /* Normal packet loss */ packet->set_timestamp(jitter->pointer_timestamp); @@ -722,7 +723,7 @@ int16_t VoipJitterBuffer::compute_opt_delay(Ref jitter) { late_factor = jitter->auto_tradeoff * jitter->window_size / tot_count; } - print_verbose(vformat("late_factor = %f\n", late_factor)); + compat_print_verbose(vformat("late_factor = %f\n", late_factor)); for (i = 0; i < MAX_BUFFERS; i++) { pos[i] = 0; } @@ -773,7 +774,7 @@ int16_t VoipJitterBuffer::compute_opt_delay(Ref jitter) { deltaT = best - worst; /* This is a default "automatic latency tradeoff" when none is provided */ jitter->auto_tradeoff = 1 + deltaT / TOP_DELAY; - print_verbose(vformat("auto_tradeoff = %d (%d %d %d)\n", jitter->auto_tradeoff, best, worst, i)); + compat_print_verbose(vformat("auto_tradeoff = %d (%d %d %d)\n", jitter->auto_tradeoff, best, worst, i)); /* FIXME: Compute a short-term estimate too and combine with the long-term one */ @@ -797,7 +798,7 @@ void VoipJitterBuffer::update_timings(Ref jitter, int32_t timing) /* If the current sub-window is full, perform a rotation and discard oldest sub-window */ if (jitter->timeBuffers[0]->get_curr_count() >= jitter->subwindow_size) { int i; - print_verbose("Rotate buffer"); + compat_print_verbose("Rotate buffer"); TimingBuffer *tmp = jitter->timeBuffers[MAX_BUFFERS - 1]; for (i = MAX_BUFFERS - 1; i >= 1; i--) { jitter->timeBuffers[i] = jitter->timeBuffers[i - 1]; @@ -828,16 +829,16 @@ int32_t VoipJitterBuffer::_jitter_buffer_update_delay(Ref jitter, return 0; } int16_t opt = compute_opt_delay(jitter); - print_verbose(vformat("opt adjustment is %d ", opt)); + compat_print_verbose(vformat("opt adjustment is %d ", opt)); if (opt < 0) { shift_timings(jitter, -opt); jitter->pointer_timestamp += opt; jitter->interp_requested = -opt; - print_verbose(vformat("Decision to interpolate %d samples\n", -opt)); + compat_print_verbose(vformat("Decision to interpolate %d samples\n", -opt)); } else if (opt > 0) { shift_timings(jitter, -opt); jitter->pointer_timestamp += opt; - print_verbose(vformat("Decision to drop %d samples\n", opt)); + compat_print_verbose(vformat("Decision to drop %d samples\n", opt)); } return opt; } From f9442d90a6aa62356c5954de4982d05b7218f255 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Mon, 8 Apr 2024 00:41:07 +0200 Subject: [PATCH 14/25] Update jitter.cpp --- thirdparty/jitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/jitter.cpp b/thirdparty/jitter.cpp index 3f26164..61bafbc 100644 --- a/thirdparty/jitter.cpp +++ b/thirdparty/jitter.cpp @@ -82,7 +82,7 @@ #include "jitter.h" #include -#include +#include "../godot_compat_helper.h" void VoipJitterBuffer::jitter_buffer_reset(Ref jitter) { if (jitter.is_null()) { From d8a42a83cfbfc486326c7ec6640954fc114e8c57 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Mon, 8 Apr 2024 00:52:15 +0200 Subject: [PATCH 15/25] Update SConstruct --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 7426e94..4d1bfac 100644 --- a/SConstruct +++ b/SConstruct @@ -30,7 +30,7 @@ elif env["platform"] == "ios": env.Append(CPPDEFINES=["WEBRTC_POSIX", "WEBRTC_IOS"]) elif env["platform"] == "macos": env.Append(CPPDEFINES=["WEBRTC_POSIX", "WEBRTC_MAC"]) -elif env["platform"] == "linuxbsd": +elif env["platform"] == "linux": env.Append(CPPDEFINES=["WEBRTC_POSIX", "WEBRTC_LINUX"]) elif env["platform"] == "android": env.Append(CPPDEFINES=["WEBRTC_POSIX", "WEBRTC_ANDROID"]) From 5f2f631e654cb42ad5a3660bf9b5f101a7939dbe Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Wed, 10 Apr 2024 21:23:31 +0200 Subject: [PATCH 16/25] git subrepo pull --remote=https://github.com/Ughuuu/godot-cpp --branch=compat-layer --force thirdparty/godot-cpp subrepo: subdir: "thirdparty/godot-cpp" merged: "71f745c" upstream: origin: "https://github.com/Ughuuu/godot-cpp" branch: "compat-layer" commit: "71f745c" git-subrepo: version: "0.4.6" origin: "https://github.com/Homebrew/brew" commit: "0476c2e5e4" --- thirdparty/godot-cpp/.gitrepo | 4 ++-- thirdparty/godot-cpp/binding_generator.py | 7 +------ thirdparty/godot-cpp/compat_generator.py | 4 ++-- thirdparty/godot-cpp/module_converter.py | 15 +++++++++------ 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/thirdparty/godot-cpp/.gitrepo b/thirdparty/godot-cpp/.gitrepo index 7d34493..3e54349 100644 --- a/thirdparty/godot-cpp/.gitrepo +++ b/thirdparty/godot-cpp/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = https://github.com/Ughuuu/godot-cpp branch = compat-layer - commit = 841edd2d476028ba5f33780d871c01651ae59d41 - parent = 874d330e72cd2ea1fd0390f29816e4724e844cde + commit = 71f745cdd69693f022a024a24fd9c475dfd9a689 + parent = d8a42a83cfbfc486326c7ec6640954fc114e8c57 method = merge cmdver = 0.4.6 diff --git a/thirdparty/godot-cpp/binding_generator.py b/thirdparty/godot-cpp/binding_generator.py index ad06a3a..816aec2 100644 --- a/thirdparty/godot-cpp/binding_generator.py +++ b/thirdparty/godot-cpp/binding_generator.py @@ -222,11 +222,9 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False): continue header_filename = include_gen_folder / "variant" / (camel_to_snake(builtin_class["name"]) + ".hpp") - header_compat_filename = include_gen_compat_folder / "variant" / (camel_to_snake(builtin_class["name"]) + ".hpp") source_filename = source_gen_folder / "variant" / (camel_to_snake(builtin_class["name"]) + ".cpp") if headers: files.append(str(header_filename.as_posix())) - files.append(str(header_compat_filename.as_posix())) if sources: files.append(str(source_filename.as_posix())) @@ -236,11 +234,9 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False): engine_class["name"] = "ClassDBSingleton" engine_class["alias_for"] = "ClassDB" header_filename = include_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".hpp") - header_compat_filename = include_gen_compat_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".hpp") source_filename = source_gen_folder / "classes" / (camel_to_snake(engine_class["name"]) + ".cpp") if headers: files.append(str(header_filename.as_posix())) - files.append(str(header_compat_filename.as_posix())) if sources: files.append(str(source_filename.as_posix())) @@ -251,10 +247,8 @@ def get_file_list(api_filepath, output_dir, headers=False, sources=False): snake_struct_name = camel_to_snake(struct_name) header_filename = include_gen_folder / "classes" / (snake_struct_name + ".hpp") - header_compat_filename = include_gen_compat_folder / "classes" / (snake_struct_name + ".hpp") if headers: files.append(str(header_filename.as_posix())) - files.append(str(header_compat_filename.as_posix())) if headers: for path in [ @@ -1485,6 +1479,7 @@ def generate_compat_includes(output_dir: Path, target_dir: Path): result.append(f"#include <{file_godot_name}>") result.append(f"#else") result.append(f"#include <{file_godot_cpp_name}>") + result.append(f"using namespace godot;") result.append(f"#endif") result.append("") result.append(f"#endif // ! {header_guard}") diff --git a/thirdparty/godot-cpp/compat_generator.py b/thirdparty/godot-cpp/compat_generator.py index b9ae848..13fd114 100644 --- a/thirdparty/godot-cpp/compat_generator.py +++ b/thirdparty/godot-cpp/compat_generator.py @@ -11,8 +11,8 @@ def parse_header_file(file_path): content = file.read() # Regular expressions to match different types - class_pattern = r"class\s+([a-zA-Z_]\w*)\s*[:{]" - struct_pattern = r"struct\s+([a-zA-Z_]\w*)\s*[:{]" + struct_pattern = r"struct\s+[\w\s]*?([a-zA-Z_]\w*)\s*[:{]" + class_pattern = r"class\s+[\w\s]*?([a-zA-Z_]\w*)\s*[:{]" define_pattern = r"#define\s+([a-zA-Z_]\w*)" # Extract classes diff --git a/thirdparty/godot-cpp/module_converter.py b/thirdparty/godot-cpp/module_converter.py index 9d157df..3a91e79 100644 --- a/thirdparty/godot-cpp/module_converter.py +++ b/thirdparty/godot-cpp/module_converter.py @@ -9,11 +9,14 @@ from header_matcher import match_headers if __name__ == "__main__": - if len(sys.argv) > 2: - current_directory = os.path.join(os.getcwd(), sys.argv[1]) - godot_cpp_directory = os.path.join(os.getcwd(), sys.argv[2]) + if len(sys.argv) > 3: + src_directory = os.path.join(os.getcwd(), sys.argv[1]) + godot_directory = os.path.join(os.getcwd(), sys.argv[2]) + godot_cpp_directory = os.path.join(os.getcwd(), sys.argv[3]) + else: + raise Exception("Usage: python module_converter.py ") # Load the godot mappings - with open(f"{godot_cpp_directory}/output_header_mapping.json", "r") as file: + with open(f"{godot_directory}/output_header_mapping_godot.json", "r") as file: godot_mappings = json.load(file) # Generate mappings for godot-cpp @@ -22,9 +25,9 @@ # Save matches to a file with open("header_matches.json", "w") as outfile: json.dump(matches, outfile, indent=4) - current_directory = os.getcwd() + src_directory = os.getcwd() # Go through folder specified through all files with .cpp, .h or .hpp - for root, dirs, files in os.walk(current_directory): + for root, dirs, files in os.walk(src_directory): for file in files: if file.endswith(".cpp") or file.endswith(".h") or file.endswith(".hpp"): with open(os.path.join(root, file), "r") as f: From 826d956e15a627ea005c5eeb3b64861726ce16ca Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Wed, 10 Apr 2024 21:29:01 +0200 Subject: [PATCH 17/25] remove addon only thing --- godot_compat_helper.h | 2 -- playback_stats.h | 4 ---- register_types.h | 2 -- speech.h | 4 ---- speech_decoder.h | 4 ---- speech_processor.h | 4 ---- thirdparty/jitter.h | 2 -- 7 files changed, 22 deletions(-) diff --git a/godot_compat_helper.h b/godot_compat_helper.h index 5d47903..58fe4c5 100644 --- a/godot_compat_helper.h +++ b/godot_compat_helper.h @@ -7,8 +7,6 @@ #include #endif -using namespace godot; - inline void compat_print_verbose(const Variant &v) { #ifdef GODOT_MODULE_COMPAT print_verbose(v); diff --git a/playback_stats.h b/playback_stats.h index 9be8203..5392296 100644 --- a/playback_stats.h +++ b/playback_stats.h @@ -3,10 +3,6 @@ #include #include -#ifndef GODOT_MODULE_COMPAT -using namespace godot; -#endif - class PlaybackStats : public RefCounted { GDCLASS(PlaybackStats, RefCounted); diff --git a/register_types.h b/register_types.h index 9dbf882..e5675ca 100644 --- a/register_types.h +++ b/register_types.h @@ -40,8 +40,6 @@ void uninitialize_speech_module(ModuleInitializationLevel p_level); #include #include -using namespace godot; - void initialize_speech_module(ModuleInitializationLevel p_level); void uninitialize_speech_module(ModuleInitializationLevel p_level); #endif diff --git a/speech.h b/speech.h index 4285506..e30e41e 100644 --- a/speech.h +++ b/speech.h @@ -49,10 +49,6 @@ class SpeechProcessor; -#ifndef GODOT_MODULE_COMPAT -using namespace godot; -#endif - class Speech : public Node { GDCLASS(Speech, Node); diff --git a/speech_decoder.h b/speech_decoder.h index a054ed3..3bf8de8 100644 --- a/speech_decoder.h +++ b/speech_decoder.h @@ -37,10 +37,6 @@ #include "thirdparty/opus/opus/opus.h" -#ifndef GODOT_MODULE_COMPAT -using namespace godot; -#endif - class SpeechDecoder : public RefCounted { GDCLASS(SpeechDecoder, RefCounted); diff --git a/speech_processor.h b/speech_processor.h index ab143ae..2adc316 100644 --- a/speech_processor.h +++ b/speech_processor.h @@ -73,10 +73,6 @@ namespace webrtc { struct EchoCanceller3Config; } -#ifndef GODOT_MODULE_COMPAT -using namespace godot; -#endif - class SpeechProcessor : public Node { GDCLASS(SpeechProcessor, Node); Mutex mutex; diff --git a/thirdparty/jitter.h b/thirdparty/jitter.h index 029cd5f..5df08d6 100644 --- a/thirdparty/jitter.h +++ b/thirdparty/jitter.h @@ -122,8 +122,6 @@ #include -using namespace godot; - /** Definition of an incoming packet */ class JitterBufferPacket : public RefCounted { GDCLASS(JitterBufferPacket, RefCounted); From 3b1a81bc3b5354440e7814bc7382e28321d94614 Mon Sep 17 00:00:00 2001 From: Dragos Daian Date: Mon, 24 Jun 2024 14:51:14 +0200 Subject: [PATCH 18/25] remove and re-add godot-cpp --- thirdparty/godot-cpp/.clang-format | 199 - thirdparty/godot-cpp/.gdignore | 0 thirdparty/godot-cpp/.gitattributes | 6 - thirdparty/godot-cpp/.github/CODEOWNERS | 6 - .../.github/ISSUE_TEMPLATE/bug_report.yml | 71 - .../.github/ISSUE_TEMPLATE/config.yml | 14 - .../.github/actions/godot-cache/action.yml | 22 - thirdparty/godot-cpp/.github/dependabot.yml | 6 - thirdparty/godot-cpp/.github/workflows/ci.yml | 262 - .../.github/workflows/static_checks.yml | 54 - thirdparty/godot-cpp/.gitignore | 197 - thirdparty/godot-cpp/.gitmodules | 0 thirdparty/godot-cpp/.gitrepo | 12 - thirdparty/godot-cpp/CMakeLists.txt | 216 - thirdparty/godot-cpp/LICENSE.md | 21 - thirdparty/godot-cpp/Makefile | 40 - thirdparty/godot-cpp/README.md | 162 - thirdparty/godot-cpp/SConstruct | 56 - thirdparty/godot-cpp/binding_generator.py | 2735 - .../cmake/GodotCompilerWarnings.cmake | 94 - thirdparty/godot-cpp/compat_generator.py | 63 - thirdparty/godot-cpp/gdextension/README.md | 20 - .../godot-cpp/gdextension/extension_api.json | 283797 --------------- .../gdextension/gdextension_interface.h | 2842 - thirdparty/godot-cpp/header_matcher.py | 31 - .../classes/editor_plugin_registration.hpp | 62 - .../include/godot_cpp/classes/ref.hpp | 284 - .../include/godot_cpp/classes/wrapped.hpp | 484 - .../include/godot_cpp/core/binder_common.hpp | 696 - .../godot_cpp/core/builtin_ptrcall.hpp | 92 - .../include/godot_cpp/core/class_db.hpp | 340 - .../godot-cpp/include/godot_cpp/core/defs.hpp | 130 - .../include/godot_cpp/core/engine_ptrcall.hpp | 97 - .../include/godot_cpp/core/error_macros.hpp | 806 - .../godot-cpp/include/godot_cpp/core/math.hpp | 811 - .../include/godot_cpp/core/memory.hpp | 217 - .../include/godot_cpp/core/method_bind.hpp | 733 - .../include/godot_cpp/core/method_ptrcall.hpp | 237 - .../include/godot_cpp/core/mutex_lock.hpp | 59 - .../include/godot_cpp/core/object.hpp | 152 - .../include/godot_cpp/core/object_id.hpp | 62 - .../include/godot_cpp/core/property_info.hpp | 98 - .../include/godot_cpp/core/type_info.hpp | 408 - .../godot-cpp/include/godot_cpp/godot.hpp | 252 - .../include/godot_cpp/templates/cowdata.hpp | 492 - .../include/godot_cpp/templates/hash_map.hpp | 591 - .../include/godot_cpp/templates/hash_set.hpp | 477 - .../include/godot_cpp/templates/hashfuncs.hpp | 526 - .../include/godot_cpp/templates/list.hpp | 769 - .../godot_cpp/templates/local_vector.hpp | 339 - .../include/godot_cpp/templates/pair.hpp | 107 - .../include/godot_cpp/templates/rb_map.hpp | 765 - .../include/godot_cpp/templates/rb_set.hpp | 714 - .../include/godot_cpp/templates/rid_owner.hpp | 465 - .../godot_cpp/templates/safe_refcount.hpp | 335 - .../godot_cpp/templates/search_array.hpp | 71 - .../include/godot_cpp/templates/self_list.hpp | 143 - .../godot_cpp/templates/sort_array.hpp | 323 - .../include/godot_cpp/templates/spin_lock.hpp | 54 - .../godot_cpp/templates/thread_work_pool.hpp | 205 - .../include/godot_cpp/templates/vector.hpp | 336 - .../include/godot_cpp/templates/vmap.hpp | 204 - .../include/godot_cpp/templates/vset.hpp | 145 - .../include/godot_cpp/variant/aabb.hpp | 494 - .../godot_cpp/variant/array_helpers.hpp | 50 - .../include/godot_cpp/variant/basis.hpp | 318 - .../godot_cpp/variant/callable_custom.hpp | 65 - .../variant/callable_method_pointer.hpp | 273 - .../include/godot_cpp/variant/char_string.hpp | 142 - .../include/godot_cpp/variant/char_utils.hpp | 90 - .../include/godot_cpp/variant/color.hpp | 289 - .../godot_cpp/variant/color_names.inc.hpp | 191 - .../include/godot_cpp/variant/plane.hpp | 140 - .../include/godot_cpp/variant/projection.hpp | 171 - .../include/godot_cpp/variant/quaternion.hpp | 237 - .../include/godot_cpp/variant/rect2.hpp | 376 - .../include/godot_cpp/variant/rect2i.hpp | 249 - .../include/godot_cpp/variant/transform2d.hpp | 250 - .../include/godot_cpp/variant/transform3d.hpp | 275 - .../include/godot_cpp/variant/typed_array.hpp | 131 - .../include/godot_cpp/variant/variant.hpp | 367 - .../include/godot_cpp/variant/vector2.hpp | 323 - .../include/godot_cpp/variant/vector2i.hpp | 161 - .../include/godot_cpp/variant/vector3.hpp | 529 - .../include/godot_cpp/variant/vector3i.hpp | 332 - .../include/godot_cpp/variant/vector4.hpp | 310 - .../include/godot_cpp/variant/vector4i.hpp | 360 - thirdparty/godot-cpp/misc/ci/sources.list | 4 - thirdparty/godot-cpp/misc/hooks/README.md | 37 - .../misc/hooks/canonicalize_filename.sh | 48 - thirdparty/godot-cpp/misc/hooks/pre-commit | 50 - .../godot-cpp/misc/hooks/pre-commit-black | 202 - .../misc/hooks/pre-commit-clang-format | 242 - .../godot-cpp/misc/hooks/winmessage.ps1 | 103 - .../godot-cpp/misc/scripts/black_format.sh | 25 - .../godot-cpp/misc/scripts/check_ci_log.py | 65 - .../misc/scripts/check_get_file_list.py | 31 - .../godot-cpp/misc/scripts/clang_format.sh | 38 - .../godot-cpp/misc/scripts/codespell.sh | 5 - .../misc/scripts/copyright_headers.py | 95 - .../godot-cpp/misc/scripts/file_format.sh | 41 - .../godot-cpp/misc/scripts/header_guards.sh | 60 - .../godot-cpp/misc/scripts/make_tarball.sh | 66 - thirdparty/godot-cpp/misc/scripts/mypy.ini | 11 - .../godot-cpp/misc/scripts/mypy_check.sh | 6 - thirdparty/godot-cpp/module_converter.py | 49 - .../classes/editor_plugin_registration.cpp | 61 - .../godot-cpp/src/classes/low_level.cpp | 58 - thirdparty/godot-cpp/src/classes/wrapped.cpp | 142 - thirdparty/godot-cpp/src/core/class_db.cpp | 424 - .../godot-cpp/src/core/error_macros.cpp | 86 - thirdparty/godot-cpp/src/core/memory.cpp | 133 - thirdparty/godot-cpp/src/core/method_bind.cpp | 113 - thirdparty/godot-cpp/src/core/object.cpp | 84 - thirdparty/godot-cpp/src/godot.cpp | 534 - thirdparty/godot-cpp/src/variant/aabb.cpp | 421 - thirdparty/godot-cpp/src/variant/basis.cpp | 1054 - .../godot-cpp/src/variant/callable_custom.cpp | 127 - .../src/variant/callable_method_pointer.cpp | 123 - .../godot-cpp/src/variant/char_string.cpp | 486 - thirdparty/godot-cpp/src/variant/color.cpp | 572 - .../godot-cpp/src/variant/packed_arrays.cpp | 230 - thirdparty/godot-cpp/src/variant/plane.cpp | 185 - .../godot-cpp/src/variant/projection.cpp | 941 - .../godot-cpp/src/variant/quaternion.cpp | 353 - thirdparty/godot-cpp/src/variant/rect2.cpp | 291 - thirdparty/godot-cpp/src/variant/rect2i.cpp | 46 - .../godot-cpp/src/variant/transform2d.cpp | 323 - .../godot-cpp/src/variant/transform3d.cpp | 232 - thirdparty/godot-cpp/src/variant/variant.cpp | 784 - thirdparty/godot-cpp/src/variant/vector2.cpp | 199 - thirdparty/godot-cpp/src/variant/vector2i.cpp | 137 - thirdparty/godot-cpp/src/variant/vector3.cpp | 152 - thirdparty/godot-cpp/src/variant/vector3i.cpp | 61 - thirdparty/godot-cpp/src/variant/vector4.cpp | 196 - thirdparty/godot-cpp/src/variant/vector4i.cpp | 87 - thirdparty/godot-cpp/test/.gitignore | 25 - thirdparty/godot-cpp/test/CMakeLists.txt | 143 - thirdparty/godot-cpp/test/README.md | 31 - thirdparty/godot-cpp/test/SConstruct | 43 - .../godot-cpp/test/generate_xcframework.sh | 7 - .../Resources/Info.plist | 26 - .../Resources/Info.plist | 26 - .../godot-cpp/test/project/default_env.tres | 7 - thirdparty/godot-cpp/test/project/example.gd | 5 - .../test/project/example.gdextension | 41 - thirdparty/godot-cpp/test/project/icon.png | Bin 3305 -> 0 bytes .../godot-cpp/test/project/icon.png.import | 34 - thirdparty/godot-cpp/test/project/main.gd | 266 - thirdparty/godot-cpp/test/project/main.tscn | 29 - .../godot-cpp/test/project/project.godot | 25 - .../godot-cpp/test/project/test_base.gd | 59 - thirdparty/godot-cpp/test/run-tests.sh | 24 - thirdparty/godot-cpp/test/src/example.cpp | 692 - thirdparty/godot-cpp/test/src/example.h | 265 - .../godot-cpp/test/src/register_types.cpp | 52 - .../godot-cpp/test/src/register_types.h | 16 - thirdparty/godot-cpp/test/src/tests.h | 28 - thirdparty/godot-cpp/tools/android.py | 123 - .../godot-cpp/tools/common_compiler_flags.py | 94 - thirdparty/godot-cpp/tools/godotcpp.py | 430 - thirdparty/godot-cpp/tools/ios.py | 109 - thirdparty/godot-cpp/tools/linux.py | 42 - thirdparty/godot-cpp/tools/macos.py | 75 - thirdparty/godot-cpp/tools/my_spawn.py | 52 - thirdparty/godot-cpp/tools/web.py | 47 - thirdparty/godot-cpp/tools/windows.py | 93 - 167 files changed, 322852 deletions(-) delete mode 100644 thirdparty/godot-cpp/.clang-format delete mode 100644 thirdparty/godot-cpp/.gdignore delete mode 100644 thirdparty/godot-cpp/.gitattributes delete mode 100644 thirdparty/godot-cpp/.github/CODEOWNERS delete mode 100644 thirdparty/godot-cpp/.github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 thirdparty/godot-cpp/.github/ISSUE_TEMPLATE/config.yml delete mode 100644 thirdparty/godot-cpp/.github/actions/godot-cache/action.yml delete mode 100644 thirdparty/godot-cpp/.github/dependabot.yml delete mode 100644 thirdparty/godot-cpp/.github/workflows/ci.yml delete mode 100644 thirdparty/godot-cpp/.github/workflows/static_checks.yml delete mode 100644 thirdparty/godot-cpp/.gitignore delete mode 100644 thirdparty/godot-cpp/.gitmodules delete mode 100644 thirdparty/godot-cpp/.gitrepo delete mode 100644 thirdparty/godot-cpp/CMakeLists.txt delete mode 100644 thirdparty/godot-cpp/LICENSE.md delete mode 100644 thirdparty/godot-cpp/Makefile delete mode 100644 thirdparty/godot-cpp/README.md delete mode 100644 thirdparty/godot-cpp/SConstruct delete mode 100644 thirdparty/godot-cpp/binding_generator.py delete mode 100644 thirdparty/godot-cpp/cmake/GodotCompilerWarnings.cmake delete mode 100644 thirdparty/godot-cpp/compat_generator.py delete mode 100644 thirdparty/godot-cpp/gdextension/README.md delete mode 100644 thirdparty/godot-cpp/gdextension/extension_api.json delete mode 100644 thirdparty/godot-cpp/gdextension/gdextension_interface.h delete mode 100644 thirdparty/godot-cpp/header_matcher.py delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/classes/editor_plugin_registration.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/classes/ref.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/classes/wrapped.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/binder_common.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/builtin_ptrcall.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/class_db.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/defs.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/engine_ptrcall.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/error_macros.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/math.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/memory.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/method_bind.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/method_ptrcall.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/mutex_lock.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/object.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/object_id.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/property_info.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/core/type_info.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/godot.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/cowdata.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/hash_map.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/hash_set.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/hashfuncs.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/list.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/local_vector.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/pair.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/rb_map.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/rb_set.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/rid_owner.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/safe_refcount.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/search_array.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/self_list.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/sort_array.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/spin_lock.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/thread_work_pool.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/vector.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/vmap.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/templates/vset.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/aabb.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/array_helpers.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/basis.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/callable_custom.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/callable_method_pointer.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/char_string.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/char_utils.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/color.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/color_names.inc.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/plane.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/projection.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/quaternion.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/rect2.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/rect2i.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/transform2d.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/transform3d.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/typed_array.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/variant.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/vector2.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/vector2i.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/vector3.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/vector3i.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/vector4.hpp delete mode 100644 thirdparty/godot-cpp/include/godot_cpp/variant/vector4i.hpp delete mode 100644 thirdparty/godot-cpp/misc/ci/sources.list delete mode 100644 thirdparty/godot-cpp/misc/hooks/README.md delete mode 100755 thirdparty/godot-cpp/misc/hooks/canonicalize_filename.sh delete mode 100755 thirdparty/godot-cpp/misc/hooks/pre-commit delete mode 100755 thirdparty/godot-cpp/misc/hooks/pre-commit-black delete mode 100755 thirdparty/godot-cpp/misc/hooks/pre-commit-clang-format delete mode 100644 thirdparty/godot-cpp/misc/hooks/winmessage.ps1 delete mode 100755 thirdparty/godot-cpp/misc/scripts/black_format.sh delete mode 100755 thirdparty/godot-cpp/misc/scripts/check_ci_log.py delete mode 100755 thirdparty/godot-cpp/misc/scripts/check_get_file_list.py delete mode 100755 thirdparty/godot-cpp/misc/scripts/clang_format.sh delete mode 100644 thirdparty/godot-cpp/misc/scripts/codespell.sh delete mode 100755 thirdparty/godot-cpp/misc/scripts/copyright_headers.py delete mode 100755 thirdparty/godot-cpp/misc/scripts/file_format.sh delete mode 100755 thirdparty/godot-cpp/misc/scripts/header_guards.sh delete mode 100755 thirdparty/godot-cpp/misc/scripts/make_tarball.sh delete mode 100644 thirdparty/godot-cpp/misc/scripts/mypy.ini delete mode 100755 thirdparty/godot-cpp/misc/scripts/mypy_check.sh delete mode 100644 thirdparty/godot-cpp/module_converter.py delete mode 100644 thirdparty/godot-cpp/src/classes/editor_plugin_registration.cpp delete mode 100644 thirdparty/godot-cpp/src/classes/low_level.cpp delete mode 100644 thirdparty/godot-cpp/src/classes/wrapped.cpp delete mode 100644 thirdparty/godot-cpp/src/core/class_db.cpp delete mode 100644 thirdparty/godot-cpp/src/core/error_macros.cpp delete mode 100644 thirdparty/godot-cpp/src/core/memory.cpp delete mode 100644 thirdparty/godot-cpp/src/core/method_bind.cpp delete mode 100644 thirdparty/godot-cpp/src/core/object.cpp delete mode 100644 thirdparty/godot-cpp/src/godot.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/aabb.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/basis.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/callable_custom.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/callable_method_pointer.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/char_string.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/color.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/packed_arrays.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/plane.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/projection.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/quaternion.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/rect2.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/rect2i.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/transform2d.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/transform3d.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/variant.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/vector2.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/vector2i.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/vector3.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/vector3i.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/vector4.cpp delete mode 100644 thirdparty/godot-cpp/src/variant/vector4i.cpp delete mode 100644 thirdparty/godot-cpp/test/.gitignore delete mode 100644 thirdparty/godot-cpp/test/CMakeLists.txt delete mode 100644 thirdparty/godot-cpp/test/README.md delete mode 100644 thirdparty/godot-cpp/test/SConstruct delete mode 100755 thirdparty/godot-cpp/test/generate_xcframework.sh delete mode 100644 thirdparty/godot-cpp/test/project/bin/libgdexample.macos.template_debug.framework/Resources/Info.plist delete mode 100644 thirdparty/godot-cpp/test/project/bin/libgdexample.macos.template_release.framework/Resources/Info.plist delete mode 100644 thirdparty/godot-cpp/test/project/default_env.tres delete mode 100644 thirdparty/godot-cpp/test/project/example.gd delete mode 100644 thirdparty/godot-cpp/test/project/example.gdextension delete mode 100644 thirdparty/godot-cpp/test/project/icon.png delete mode 100644 thirdparty/godot-cpp/test/project/icon.png.import delete mode 100644 thirdparty/godot-cpp/test/project/main.gd delete mode 100644 thirdparty/godot-cpp/test/project/main.tscn delete mode 100644 thirdparty/godot-cpp/test/project/project.godot delete mode 100644 thirdparty/godot-cpp/test/project/test_base.gd delete mode 100755 thirdparty/godot-cpp/test/run-tests.sh delete mode 100644 thirdparty/godot-cpp/test/src/example.cpp delete mode 100644 thirdparty/godot-cpp/test/src/example.h delete mode 100644 thirdparty/godot-cpp/test/src/register_types.cpp delete mode 100644 thirdparty/godot-cpp/test/src/register_types.h delete mode 100644 thirdparty/godot-cpp/test/src/tests.h delete mode 100644 thirdparty/godot-cpp/tools/android.py delete mode 100644 thirdparty/godot-cpp/tools/common_compiler_flags.py delete mode 100644 thirdparty/godot-cpp/tools/godotcpp.py delete mode 100644 thirdparty/godot-cpp/tools/ios.py delete mode 100644 thirdparty/godot-cpp/tools/linux.py delete mode 100644 thirdparty/godot-cpp/tools/macos.py delete mode 100644 thirdparty/godot-cpp/tools/my_spawn.py delete mode 100644 thirdparty/godot-cpp/tools/web.py delete mode 100644 thirdparty/godot-cpp/tools/windows.py diff --git a/thirdparty/godot-cpp/.clang-format b/thirdparty/godot-cpp/.clang-format deleted file mode 100644 index 1df6c35..0000000 --- a/thirdparty/godot-cpp/.clang-format +++ /dev/null @@ -1,199 +0,0 @@ -# Commented out parameters are those with the same value as base LLVM style. -# We can uncomment them if we want to change their value, or enforce the -# chosen value in case the base style changes (last sync: Clang 14.0). ---- -### General config, applies to all languages ### -BasedOnStyle: LLVM -AccessModifierOffset: -4 -AlignAfterOpenBracket: DontAlign -# AlignArrayOfStructures: None -# AlignConsecutiveMacros: None -# AlignConsecutiveAssignments: None -# AlignConsecutiveBitFields: None -# AlignConsecutiveDeclarations: None -# AlignEscapedNewlines: Right -AlignOperands: DontAlign -AlignTrailingComments: false -# AllowAllArgumentsOnNextLine: true -AllowAllParametersOfDeclarationOnNextLine: false -# AllowShortEnumsOnASingleLine: true -# AllowShortBlocksOnASingleLine: Never -# AllowShortCaseLabelsOnASingleLine: false -# AllowShortFunctionsOnASingleLine: All -# AllowShortLambdasOnASingleLine: All -# AllowShortIfStatementsOnASingleLine: Never -# AllowShortLoopsOnASingleLine: false -# AlwaysBreakAfterDefinitionReturnType: None -# AlwaysBreakAfterReturnType: None -# AlwaysBreakBeforeMultilineStrings: false -# AlwaysBreakTemplateDeclarations: MultiLine -# AttributeMacros: -# - __capability -# BinPackArguments: true -# BinPackParameters: true -# BraceWrapping: -# AfterCaseLabel: false -# AfterClass: false -# AfterControlStatement: Never -# AfterEnum: false -# AfterFunction: false -# AfterNamespace: false -# AfterObjCDeclaration: false -# AfterStruct: false -# AfterUnion: false -# AfterExternBlock: false -# BeforeCatch: false -# BeforeElse: false -# BeforeLambdaBody: false -# BeforeWhile: false -# IndentBraces: false -# SplitEmptyFunction: true -# SplitEmptyRecord: true -# SplitEmptyNamespace: true -# BreakBeforeBinaryOperators: None -# BreakBeforeConceptDeclarations: true -# BreakBeforeBraces: Attach -# BreakBeforeInheritanceComma: false -# BreakInheritanceList: BeforeColon -# BreakBeforeTernaryOperators: true -# BreakConstructorInitializersBeforeComma: false -BreakConstructorInitializers: AfterColon -# BreakStringLiterals: true -ColumnLimit: 0 -# CommentPragmas: '^ IWYU pragma:' -# QualifierAlignment: Leave -# CompactNamespaces: false -ConstructorInitializerIndentWidth: 8 -ContinuationIndentWidth: 8 -Cpp11BracedListStyle: false -# DeriveLineEnding: true -# DerivePointerAlignment: false -# DisableFormat: false -# EmptyLineAfterAccessModifier: Never -# EmptyLineBeforeAccessModifier: LogicalBlock -# ExperimentalAutoDetectBinPacking: false -# PackConstructorInitializers: BinPack -ConstructorInitializerAllOnOneLineOrOnePerLine: true -# AllowAllConstructorInitializersOnNextLine: true -# FixNamespaceComments: true -# ForEachMacros: -# - foreach -# - Q_FOREACH -# - BOOST_FOREACH -# IfMacros: -# - KJ_IF_MAYBE -# IncludeBlocks: Preserve -IncludeCategories: - - Regex: '".*"' - Priority: 1 - - Regex: '^<.*\.h>' - Priority: 2 - - Regex: '^<.*' - Priority: 3 -# IncludeIsMainRegex: '(Test)?$' -# IncludeIsMainSourceRegex: '' -# IndentAccessModifiers: false -IndentCaseLabels: true -# IndentCaseBlocks: false -# IndentGotoLabels: true -# IndentPPDirectives: None -# IndentExternBlock: AfterExternBlock -# IndentRequires: false -IndentWidth: 4 -# IndentWrappedFunctionNames: false -# InsertTrailingCommas: None -# JavaScriptQuotes: Leave -# JavaScriptWrapImports: true -KeepEmptyLinesAtTheStartOfBlocks: false -# LambdaBodyIndentation: Signature -# MacroBlockBegin: '' -# MacroBlockEnd: '' -# MaxEmptyLinesToKeep: 1 -# NamespaceIndentation: None -# PenaltyBreakAssignment: 2 -# PenaltyBreakBeforeFirstCallParameter: 19 -# PenaltyBreakComment: 300 -# PenaltyBreakFirstLessLess: 120 -# PenaltyBreakOpenParenthesis: 0 -# PenaltyBreakString: 1000 -# PenaltyBreakTemplateDeclaration: 10 -# PenaltyExcessCharacter: 1000000 -# PenaltyReturnTypeOnItsOwnLine: 60 -# PenaltyIndentedWhitespace: 0 -# PointerAlignment: Right -# PPIndentWidth: -1 -# ReferenceAlignment: Pointer -# ReflowComments: true -# RemoveBracesLLVM: false -# SeparateDefinitionBlocks: Leave -# ShortNamespaceLines: 1 -# SortIncludes: CaseSensitive -# SortJavaStaticImport: Before -# SortUsingDeclarations: true -# SpaceAfterCStyleCast: false -# SpaceAfterLogicalNot: false -# SpaceAfterTemplateKeyword: true -# SpaceBeforeAssignmentOperators: true -# SpaceBeforeCaseColon: false -# SpaceBeforeCpp11BracedList: false -# SpaceBeforeCtorInitializerColon: true -# SpaceBeforeInheritanceColon: true -# SpaceBeforeParens: ControlStatements -# SpaceBeforeParensOptions: -# AfterControlStatements: true -# AfterForeachMacros: true -# AfterFunctionDefinitionName: false -# AfterFunctionDeclarationName: false -# AfterIfMacros: true -# AfterOverloadedOperator: false -# BeforeNonEmptyParentheses: false -# SpaceAroundPointerQualifiers: Default -# SpaceBeforeRangeBasedForLoopColon: true -# SpaceInEmptyBlock: false -# SpaceInEmptyParentheses: false -# SpacesBeforeTrailingComments: 1 -# SpacesInAngles: Never -# SpacesInConditionalStatement: false -# SpacesInContainerLiterals: true -# SpacesInCStyleCastParentheses: false -## Godot TODO: We'll want to use a min of 1, but we need to see how to fix -## our comment capitalization at the same time. -SpacesInLineCommentPrefix: - Minimum: 0 - Maximum: -1 -# SpacesInParentheses: false -# SpacesInSquareBrackets: false -# SpaceBeforeSquareBrackets: false -# BitFieldColonSpacing: Both -# StatementAttributeLikeMacros: -# - Q_EMIT -# StatementMacros: -# - Q_UNUSED -# - QT_REQUIRE_VERSION -TabWidth: 4 -# UseCRLF: false -UseTab: Always -# WhitespaceSensitiveMacros: -# - STRINGIZE -# - PP_STRINGIZE -# - BOOST_PP_STRINGIZE -# - NS_SWIFT_NAME -# - CF_SWIFT_NAME ---- -### C++ specific config ### -Language: Cpp -Standard: c++17 ---- -### ObjC specific config ### -Language: ObjC -# ObjCBinPackProtocolList: Auto -ObjCBlockIndentWidth: 4 -# ObjCBreakBeforeNestedBlockParam: true -# ObjCSpaceAfterProperty: false -# ObjCSpaceBeforeProtocolList: true ---- -### Java specific config ### -Language: Java -# BreakAfterJavaFieldAnnotations: false -JavaImportGroups: ['org.godotengine', 'android', 'androidx', 'com.android', 'com.google', 'java', 'javax'] -... diff --git a/thirdparty/godot-cpp/.gdignore b/thirdparty/godot-cpp/.gdignore deleted file mode 100644 index e69de29..0000000 diff --git a/thirdparty/godot-cpp/.gitattributes b/thirdparty/godot-cpp/.gitattributes deleted file mode 100644 index 9abe13e..0000000 --- a/thirdparty/godot-cpp/.gitattributes +++ /dev/null @@ -1,6 +0,0 @@ -*.c eol=lf -*.cpp eol=lf -*.gd eol=lf -*.tscn eol=lf -*.cfg eol=lf -*.godot eol=lf diff --git a/thirdparty/godot-cpp/.github/CODEOWNERS b/thirdparty/godot-cpp/.github/CODEOWNERS deleted file mode 100644 index f30a44c..0000000 --- a/thirdparty/godot-cpp/.github/CODEOWNERS +++ /dev/null @@ -1,6 +0,0 @@ -# Lines starting with '#' are comments. -# Each line is a file pattern followed by one or more owners. -# Owners can be @users, @org/teams or emails - -* @godotengine/gdextension -.github/ @godotengine/buildsystem diff --git a/thirdparty/godot-cpp/.github/ISSUE_TEMPLATE/bug_report.yml b/thirdparty/godot-cpp/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index b52ad6f..0000000 --- a/thirdparty/godot-cpp/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: Bug report -description: Report a bug in the godot-cpp GDExtension/GDNative integration -body: - -- type: markdown - attributes: - value: | - - When reporting bugs, you'll make our life simpler (and the fix will come sooner) if you follow the guidelines in this template. - - Write a descriptive issue title above. - - The golden rule is to **always open *one* issue for *one* bug**. If you notice several bugs and want to report them, make sure to create one new issue for each of them. - - Search [open](https://github.com/godotengine/godot-cpp/issues) and [closed](https://github.com/godotengine/godot-cpp/issues?q=is%3Aissue+is%3Aclosed) issues to ensure it has not already been reported. If you don't find a relevant match or if you're unsure, don't hesitate to **open a new issue**. The bugsquad will handle it from there if it's a duplicate. - - Verify that you are using a [supported Godot version](https://docs.godotengine.org/en/latest/about/release_policy.html). - -- type: input - attributes: - label: Godot version - description: > - Specify the Git commit hash if using a development or non-official build. - If you use a custom build, please test if your issue is reproducible in official builds too. - placeholder: 3.3.stable, 4.0.dev (3041becc6) - validations: - required: true - -- type: input - attributes: - label: godot-cpp version - description: > - Specify the Git commit hash if using a development build. - placeholder: 3.3.stable, 4.0.dev (3041becc6) - validations: - required: true - -- type: input - attributes: - label: System information - description: | - - Specify the OS version, and when relevant hardware information. - - For issues that are likely OS-specific and/or graphics-related, please specify the CPU model and architecture. - - **Bug reports not including the required information may be closed at the maintainers' discretion.** If in doubt, always include all the requested information; it's better to include too much information than not enough information. - placeholder: Windows 10, Intel Core i5-7200U - validations: - required: true - -- type: textarea - attributes: - label: Issue description - description: | - Describe your issue briefly. What doesn't work, and how do you expect it to work instead? - You can include images or videos with drag and drop, and format code blocks or logs with ``` tags. - validations: - required: true - -- type: textarea - attributes: - label: Steps to reproduce - description: | - List of steps or sample code that reproduces the issue. Having reproducible issues is a prerequisite for contributors to be able to solve them. - If you include a minimal reproduction project below, you can detail how to use it here. - validations: - required: true - -- type: textarea - attributes: - label: Minimal reproduction project - description: | - - A small Godot project which reproduces the issue, with no unnecessary files included. Be sure to not include the `.godot` folder in the archive (but keep `project.godot`). - - Required, unless the reproduction steps are trivial and don't require any project files to be followed. In this case, write "N/A" in the field. - - Drag and drop a ZIP archive to upload it. **Do not select another field until the project is done uploading.** - - **If you've been asked by a maintainer to upload a minimal reproduction project, you *must* do so within 7 days.** Otherwise, your bug report will be closed as it'll be considered too difficult to diagnose. - validations: - required: true diff --git a/thirdparty/godot-cpp/.github/ISSUE_TEMPLATE/config.yml b/thirdparty/godot-cpp/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index f787bec..0000000 --- a/thirdparty/godot-cpp/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,14 +0,0 @@ -blank_issues_enabled: false - -contact_links: - - name: Godot proposals - url: https://github.com/godotengine/godot-proposals - about: Please submit feature proposals on the Godot proposals repository, not here. - - - name: Godot documentation repository - url: https://github.com/godotengine/godot-docs - about: Please report issues with documentation on the Godot documentation repository, not here. - - - name: Godot community channels - url: https://godotengine.org/community - about: Please ask for technical support on one of the other community channels, not here. diff --git a/thirdparty/godot-cpp/.github/actions/godot-cache/action.yml b/thirdparty/godot-cpp/.github/actions/godot-cache/action.yml deleted file mode 100644 index 2d7afc8..0000000 --- a/thirdparty/godot-cpp/.github/actions/godot-cache/action.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Setup Godot build cache -description: Setup Godot build cache. -inputs: - cache-name: - description: The cache base name (job name by default). - default: "${{github.job}}" - scons-cache: - description: The scons cache path. - default: "${{github.workspace}}/.scons-cache/" -runs: - using: "composite" - steps: - # Upload cache on completion and check it out now - - name: Load .scons_cache directory - uses: actions/cache@v3 - with: - path: ${{inputs.scons-cache}} - key: ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} - restore-keys: | - ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}} - ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}} - ${{inputs.cache-name}}-${{env.GODOT_BASE_BRANCH}} diff --git a/thirdparty/godot-cpp/.github/dependabot.yml b/thirdparty/godot-cpp/.github/dependabot.yml deleted file mode 100644 index 1230149..0000000 --- a/thirdparty/godot-cpp/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" diff --git a/thirdparty/godot-cpp/.github/workflows/ci.yml b/thirdparty/godot-cpp/.github/workflows/ci.yml deleted file mode 100644 index ad661b9..0000000 --- a/thirdparty/godot-cpp/.github/workflows/ci.yml +++ /dev/null @@ -1,262 +0,0 @@ -name: Continuous integration -on: [push, pull_request] - -env: - # Only used for the cache key. Increment version to force clean build. - GODOT_BASE_BRANCH: master - -concurrency: - group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}} - cancel-in-progress: true - -jobs: - build: - name: ${{ matrix.name }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - include: - - name: 🐧 Linux (GCC) - os: ubuntu-20.04 - platform: linux - artifact-name: godot-cpp-linux-glibc2.27-x86_64-release - artifact-path: bin/libgodot-cpp.linux.template_release.x86_64.a - run-tests: true - cache-name: linux-x86_64 - - - name: 🐧 Linux (GCC, Double Precision) - os: ubuntu-20.04 - platform: linux - artifact-name: godot-cpp-linux-glibc2.27-x86_64-double-release - artifact-path: bin/libgodot-cpp.linux.template_release.double.x86_64.a - flags: precision=double - run-tests: false - cache-name: linux-x86_64-f64 - - - name: 🏁 Windows (x86_64, MSVC) - os: windows-2019 - platform: windows - artifact-name: godot-cpp-windows-msvc2019-x86_64-release - artifact-path: bin/libgodot-cpp.windows.template_release.x86_64.lib - run-tests: false - cache-name: windows-x86_64-msvc - - - name: 🏁 Windows (x86_64, MinGW) - os: windows-2019 - platform: windows - artifact-name: godot-cpp-linux-mingw-x86_64-release - artifact-path: bin/libgodot-cpp.windows.template_release.x86_64.a - flags: use_mingw=yes - run-tests: false - cache-name: windows-x86_64-mingw - - - name: 🍎 macOS (universal) - os: macos-11 - platform: macos - artifact-name: godot-cpp-macos-universal-release - artifact-path: bin/libgodot-cpp.macos.template_release.universal.a - flags: arch=universal - run-tests: false - cache-name: macos-universal - - - name: 🤖 Android (arm64) - os: ubuntu-20.04 - platform: android - artifact-name: godot-cpp-android-arm64-release - artifact-path: bin/libgodot-cpp.android.template_release.arm64.a - flags: arch=arm64 - run-tests: false - cache-name: android-arm64 - - - name: 🍏 iOS (arm64) - os: macos-11 - platform: ios - artifact-name: godot-cpp-ios-arm64-release - artifact-path: bin/libgodot-cpp.ios.template_release.arm64.a - flags: arch=arm64 - run-tests: false - cache-name: ios-arm64 - - - name: 🌐 Web (wasm32) - os: ubuntu-20.04 - platform: web - artifact-name: godot-cpp-web-wasm32-release - artifact-path: bin/libgodot-cpp.web.template_release.wasm32.a - run-tests: false - cache-name: web-wasm32 - - env: - SCONS_CACHE: ${{ github.workspace }}/.scons-cache/ - EM_VERSION: 3.1.39 - EM_CACHE_FOLDER: "emsdk-cache" - - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Setup Godot build cache - uses: ./.github/actions/godot-cache - with: - cache-name: ${{ matrix.cache-name }} - continue-on-error: true - - - name: Set up Python (for SCons) - uses: actions/setup-python@v5 - with: - python-version: '3.x' - - - name: Clone Godot - uses: actions/checkout@v4 - with: - repository: godotengine/godot - path: godot - #ref: TODO take tag - - - name: Generate compat mappings for godot - run: | - python compat_generator.py godot - - - name: Android dependencies - if: ${{ matrix.platform == 'android' }} - uses: nttld/setup-ndk@v1 - with: - ndk-version: r23c - link-to-sdk: true - - - name: Web dependencies - if: ${{ matrix.platform == 'web' }} - uses: mymindstorm/setup-emsdk@v13 - with: - version: ${{env.EM_VERSION}} - actions-cache-folder: ${{env.EM_CACHE_FOLDER}} - - - name: Setup MinGW for Windows/MinGW build - if: ${{ matrix.platform == 'windows' && matrix.flags == 'use_mingw=yes' }} - uses: egor-tensin/setup-mingw@v2 - with: - version: 12.2.0 - - - name: Install scons - run: | - python -m pip install scons==4.0.0 - - - name: Generate godot-cpp sources only - run: | - scons platform=${{ matrix.platform }} build_library=no ${{ matrix.flags }} - scons -c - - - name: Build godot-cpp (debug) - run: | - scons platform=${{ matrix.platform }} target=template_debug ${{ matrix.flags }} - - - name: Build test without rebuilding godot-cpp (debug) - run: | - cd test - scons platform=${{ matrix.platform }} target=template_debug ${{ matrix.flags }} build_library=no - - - name: Build test and godot-cpp (release) - run: | - cd test - scons platform=${{ matrix.platform }} target=template_release ${{ matrix.flags }} - - - name: Download latest Godot artifacts - uses: dsnopek/action-download-artifact@1322f74e2dac9feed2ee76a32d9ae1ca3b4cf4e9 - if: ${{ matrix.run-tests }} - with: - repo: godotengine/godot - branch: master - event: push - workflow: linux_builds.yml - workflow_conclusion: success - name: linux-editor-mono - search_artifacts: true - check_artifacts: true - ensure_latest: true - path: godot-artifacts - - - name: Run tests - if: ${{ matrix.run-tests }} - run: | - chmod +x ./godot-artifacts/godot.linuxbsd.editor.x86_64.mono - ./godot-artifacts/godot.linuxbsd.editor.x86_64.mono --headless --version - cd test - # Need to run the editor so .godot is generated... but it crashes! Ignore that :-) - (cd project && (timeout 10 ../../godot-artifacts/godot.linuxbsd.editor.x86_64.mono --editor --headless --quit >/dev/null 2>&1 || true)) - GODOT=../godot-artifacts/godot.linuxbsd.editor.x86_64.mono ./run-tests.sh - - - name: Upload artifact - uses: actions/upload-artifact@v3 - with: - name: ${{ matrix.artifact-name }} - path: ${{ matrix.artifact-path }} - if-no-files-found: error - - linux-cmake: - name: 🐧 Build (Linux, GCC, CMake) - runs-on: ubuntu-20.04 - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Install dependencies - run: | - sudo apt-get update -qq - sudo apt-get install -qqq build-essential pkg-config cmake - - - name: Build godot-cpp - run: | - cmake -DCMAKE_BUILD_TYPE=Release . - make -j $(nproc) VERBOSE=1 - - - name: Build test GDExtension library - run: | - cd test && cmake -DCMAKE_BUILD_TYPE=Release -DGODOT_HEADERS_PATH="../godot-headers" -DCPP_BINDINGS_PATH=".." . - make -j $(nproc) VERBOSE=1 - - linux-cmake-ninja: - name: 🐧 Build (Linux, GCC, CMake Ninja) - runs-on: ubuntu-20.04 - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Install dependencies - run: | - sudo apt-get update -qq - sudo apt-get install -qqq build-essential pkg-config cmake ninja-build - - - name: Build godot-cpp - run: | - cmake -DCMAKE_BUILD_TYPE=Release -GNinja . - cmake --build . -j $(nproc) --verbose - - - name: Build test GDExtension library - run: | - cd test && cmake -DCMAKE_BUILD_TYPE=Release -DGODOT_HEADERS_PATH="../godot-headers" -DCPP_BINDINGS_PATH=".." -GNinja . - cmake --build . -j $(nproc) --verbose - - windows-msvc-cmake: - name: 🏁 Build (Windows, MSVC, CMake) - runs-on: windows-2019 - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Build godot-cpp - run: | - cmake -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 16 2019" . - cmake --build . --verbose - - - name: Build test GDExtension library - run: | - cd test && cmake -DCMAKE_BUILD_TYPE=Release -DGODOT_HEADERS_PATH="../godot-headers" -DCPP_BINDINGS_PATH=".." -G"Visual Studio 16 2019" . - cmake --build . --verbose diff --git a/thirdparty/godot-cpp/.github/workflows/static_checks.yml b/thirdparty/godot-cpp/.github/workflows/static_checks.yml deleted file mode 100644 index f3c588a..0000000 --- a/thirdparty/godot-cpp/.github/workflows/static_checks.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: 📊 Static Checks -on: [push, pull_request] - -concurrency: - group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-static - cancel-in-progress: true - -jobs: - static-checks: - name: Format (clang-format, black format, file format) - runs-on: ubuntu-20.04 - steps: - - name: Checkout - uses: actions/checkout@v4 - - # Azure repositories are not reliable, we need to prevent Azure giving us packages. - - name: Make apt sources.list use the default Ubuntu repositories - run: | - sudo rm -f /etc/apt/sources.list.d/* - sudo cp -f misc/ci/sources.list /etc/apt/sources.list - wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - - sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main" - sudo apt-get update - - - name: Install dependencies - run: | - sudo apt-get install -qq dos2unix recode clang-format-15 libxml2-utils python3-pip moreutils - sudo update-alternatives --remove-all clang-format || true - sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 100 - sudo pip3 install black==22.3.0 pygments pytest==7.1.2 mypy==0.971 - - - name: File formatting checks (file_format.sh) - run: | - bash ./misc/scripts/file_format.sh - - - name: Header guards formatting checks (header_guards.sh) - run: | - bash ./misc/scripts/header_guards.sh - - - name: Python style checks via black (black_format.sh) - run: | - bash ./misc/scripts/black_format.sh - - - name: Python scripts static analysis (mypy_check.sh) - run: | - bash ./misc/scripts/mypy_check.sh - - - name: Bindings generation checks (ensures get_file_list returns all generated files) - run: | - python ./misc/scripts/check_get_file_list.py - - - name: Style checks via clang-format (clang_format.sh) - run: | - bash ./misc/scripts/clang_format.sh diff --git a/thirdparty/godot-cpp/.gitignore b/thirdparty/godot-cpp/.gitignore deleted file mode 100644 index d4b5748..0000000 --- a/thirdparty/godot-cpp/.gitignore +++ /dev/null @@ -1,197 +0,0 @@ -# Godot auto generated files -*.gen.* -.import/ -.godot/ -/gen/ - -# Godot 3.x ignores -include/gen -src/gen - -# Build configuarion. -/custom.py - -# Misc -logs/* -*.log - -# The default cache directory -cache/ - -# Binaries -*.o -*.os -*.so -*.obj -*.bc -*.pyc -*.dblite -*.pdb -*.lib -bin -*.config -*.creator -*.creator.user -*.files -*.includes -*.idb - -# Gprof output -gmon.out - -# Vim temp files -*.swo -*.swp - -# Qt project files -*.config -*.creator -*.creator.* -*.files -*.includes -*.cflags -*.cxxflags - -# Eclipse CDT files -.cproject -.settings/ - -# Geany/geany-plugins files -*.geany -.geanyprj - -# Misc -.DS_Store -logs/ - -# for projects that use SCons for building: http://http://www.scons.org/ -.sconf_temp -.sconsign.dblite -*.pyc - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.opendb -*.VC.VC.opendb -enc_temp_folder/ - -# Visual Studio profiler -*.psess -*.vsp -*.vspx - -# CodeLite project files -*.project -*.workspace -.codelite/ - -# Windows Azure Build Output -csx/ -*.build.csdef - -# Windows Store app package directory -AppPackages/ - -# Others -sql/ -*.[Cc]ache -ClientBin/ -[Ss]tyle[Cc]op.* -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -node_modules/ -__pycache__/ - -# KDE -.directory - -#Kdevelop project files -*.kdev4 - -# xCode -xcuserdata - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file to a newer -# Visual Studio version. Backup files are not needed, because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -App_Data/*.mdf -App_Data/*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# ========================= -# Windows detritus -# ========================= - -# Windows image file caches -Thumbs.db -ehthumbs.db - -# Folder config file -Desktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ -logo.h -*.autosave - -# https://github.com/github/gitignore/blob/master/Global/Tags.gitignore -# Ignore tags created by etags, ctags, gtags (GNU global) and cscope -TAGS -!TAGS/ -tags -*.tags -!tags/ -gtags.files -GTAGS -GRTAGS -GPATH -cscope.files -cscope.out -cscope.in.out -cscope.po.out -godot.creator.* - -# Visual Studio 2017 and Visual Studio Code workspace folder -/.vs -/.vscode - -# Visual Studio Code workspace file -*.code-workspace - -# Scons progress indicator -.scons_node_count - -# ccls cache (https://github.com/MaskRay/ccls) -.ccls-cache/ - -# compile commands (https://clang.llvm.org/docs/JSONCompilationDatabase.html) -compile_commands.json - -# Python development -.venv -venv diff --git a/thirdparty/godot-cpp/.gitmodules b/thirdparty/godot-cpp/.gitmodules deleted file mode 100644 index e69de29..0000000 diff --git a/thirdparty/godot-cpp/.gitrepo b/thirdparty/godot-cpp/.gitrepo deleted file mode 100644 index 3e54349..0000000 --- a/thirdparty/godot-cpp/.gitrepo +++ /dev/null @@ -1,12 +0,0 @@ -; DO NOT EDIT (unless you know what you are doing) -; -; This subdirectory is a git "subrepo", and this file is maintained by the -; git-subrepo command. See https://github.com/ingydotnet/git-subrepo#readme -; -[subrepo] - remote = https://github.com/Ughuuu/godot-cpp - branch = compat-layer - commit = 71f745cdd69693f022a024a24fd9c475dfd9a689 - parent = d8a42a83cfbfc486326c7ec6640954fc114e8c57 - method = merge - cmdver = 0.4.6 diff --git a/thirdparty/godot-cpp/CMakeLists.txt b/thirdparty/godot-cpp/CMakeLists.txt deleted file mode 100644 index cf564d0..0000000 --- a/thirdparty/godot-cpp/CMakeLists.txt +++ /dev/null @@ -1,216 +0,0 @@ -# cmake arguments -# CMAKE_BUILD_TYPE: Compilation target (Debug or Release defaults to Debug) -# -# godot-cpp cmake arguments -# GODOT_GDEXTENSION_DIR: Path to the directory containing GDExtension interface header and API JSON file -# GODOT_CPP_SYSTEM_HEADERS Mark the header files as SYSTEM. This may be useful to supress warnings in projects including this one. -# GODOT_CPP_WARNING_AS_ERROR Treat any warnings as errors -# GODOT_CUSTOM_API_FILE: Path to a custom GDExtension API JSON file (takes precedence over `gdextension_dir`) -# FLOAT_PRECISION: Floating-point precision level ("single", "double") -# -# 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. - -cmake_minimum_required(VERSION 3.13) -project(godot-cpp LANGUAGES CXX) - -option(GENERATE_TEMPLATE_GET_NODE "Generate a template version of the Node class's get_node." ON) -option(GODOT_CPP_SYSTEM_HEADERS "Expose headers as SYSTEM." ON) -option(GODOT_CPP_WARNING_AS_ERROR "Treat warnings as errors" OFF) - -# Add path to modules -list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" ) - -# Set some helper variables for readability -set( compiler_is_clang "$,$>" ) -set( compiler_is_gnu "$" ) -set( compiler_is_msvc "$" ) - -# Default build type is Debug in the SConstruct -if("${CMAKE_BUILD_TYPE}" STREQUAL "") - set(CMAKE_BUILD_TYPE Debug) -endif() - -if(NOT DEFINED BITS) - set(BITS 32) - if(CMAKE_SIZEOF_VOID_P EQUAL 8) - set(BITS 64) - endif(CMAKE_SIZEOF_VOID_P EQUAL 8) -endif() - -# Input from user for GDExtension interface header and the API JSON file -set(GODOT_GDEXTENSION_DIR "gdextension" CACHE STRING "") -set(GODOT_CUSTOM_API_FILE "" CACHE STRING "") - -set(GODOT_GDEXTENSION_API_FILE "${GODOT_GDEXTENSION_DIR}/extension_api.json") -if (NOT "${GODOT_CUSTOM_API_FILE}" STREQUAL "") # User-defined override. - set(GODOT_GDEXTENSION_API_FILE "${GODOT_CUSTOM_API_FILE}") -endif() - -set(FLOAT_PRECISION "single" CACHE STRING "") -if ("${FLOAT_PRECISION}" STREQUAL "double") - add_definitions(-DREAL_T_IS_DOUBLE) -endif() - -set(GODOT_COMPILE_FLAGS ) - -if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") - # using Visual Studio C++ - set(GODOT_COMPILE_FLAGS "/utf-8") # /GF /MP - - if(CMAKE_BUILD_TYPE MATCHES Debug) - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} /MDd") # /Od /RTC1 /Zi - else() - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} /MD /O2") # /Oy /GL /Gy - STRING(REGEX REPLACE "/RTC(su|[1su])" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - string(REPLACE "/RTC1" "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG}) - endif(CMAKE_BUILD_TYPE MATCHES Debug) - - add_definitions(-DNOMINMAX) -else() # GCC/Clang - if(CMAKE_BUILD_TYPE MATCHES Debug) - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -fno-omit-frame-pointer -O0 -g") - else() - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -O3") - endif(CMAKE_BUILD_TYPE MATCHES Debug) -endif() - -# Disable exception handling. Godot doesn't use exceptions anywhere, and this -# saves around 20% of binary size and very significant build time (GH-80513). -option(GODOT_DISABLE_EXCEPTIONS ON "Force disabling exception handling code") -if (GODOT_DISABLE_EXCEPTIONS) - if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -D_HAS_EXCEPTIONS=0") - else() - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -fno-exceptions") - endif() -else() - if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} /EHsc") - endif() -endif() - -# Generate source from the bindings file -find_package(Python3 3.4 REQUIRED) # pathlib should be present -if(GENERATE_TEMPLATE_GET_NODE) - set(GENERATE_BINDING_PARAMETERS "True") -else() - set(GENERATE_BINDING_PARAMETERS "False") -endif() - -execute_process(COMMAND "${Python3_EXECUTABLE}" "-c" "import binding_generator; binding_generator.print_file_list(\"${GODOT_GDEXTENSION_API_FILE}\", \"${CMAKE_CURRENT_BINARY_DIR}\", headers=True, sources=True)" - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - OUTPUT_VARIABLE GENERATED_FILES_LIST - OUTPUT_STRIP_TRAILING_WHITESPACE -) - -add_custom_command(OUTPUT ${GENERATED_FILES_LIST} - COMMAND "${Python3_EXECUTABLE}" "-c" "import binding_generator; binding_generator.generate_bindings(\"${GODOT_GDEXTENSION_API_FILE}\", \"${GENERATE_BINDING_PARAMETERS}\", \"${BITS}\", \"${FLOAT_PRECISION}\", \"${CMAKE_CURRENT_BINARY_DIR}\")" - VERBATIM - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - MAIN_DEPENDENCY ${GODOT_GDEXTENSION_API_FILE} - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/binding_generator.py - COMMENT "Generating bindings" -) - -# Get Sources -file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS src/*.c**) -file(GLOB_RECURSE HEADERS CONFIGURE_DEPENDS include/*.h**) - -# Define our godot-cpp library -add_library(${PROJECT_NAME} STATIC - ${SOURCES} - ${HEADERS} - ${GENERATED_FILES_LIST} -) -add_library(godot::cpp ALIAS ${PROJECT_NAME}) - -include(GodotCompilerWarnings) - -target_compile_features(${PROJECT_NAME} - PRIVATE - cxx_std_17 -) - -target_compile_definitions(${PROJECT_NAME} PUBLIC - $<$: - DEBUG_ENABLED - DEBUG_METHODS_ENABLED - > - $<${compiler_is_msvc}: - TYPED_METHOD_BIND - > -) - -target_link_options(${PROJECT_NAME} PRIVATE - $<$: - -static-libgcc - -static-libstdc++ - -Wl,-R,'$$ORIGIN' - > -) - -# Optionally mark headers as SYSTEM -set(GODOT_CPP_SYSTEM_HEADERS_ATTRIBUTE "") -if (GODOT_CPP_SYSTEM_HEADERS) - set(GODOT_CPP_SYSTEM_HEADERS_ATTRIBUTE SYSTEM) -endif () - -target_include_directories(${PROJECT_NAME} ${GODOT_CPP_SYSTEM_HEADERS_ATTRIBUTE} PUBLIC - include - ${CMAKE_CURRENT_BINARY_DIR}/gen/include - ${GODOT_GDEXTENSION_DIR} -) - -# Add the compile flags -set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY COMPILE_FLAGS ${GODOT_COMPILE_FLAGS}) - -# Create the correct name (godot.os.build_type.system_bits) -string(TOLOWER "${CMAKE_SYSTEM_NAME}" SYSTEM_NAME) -string(TOLOWER "${CMAKE_BUILD_TYPE}" BUILD_TYPE) - -if(ANDROID) - # Added the android abi after system name - set(SYSTEM_NAME ${SYSTEM_NAME}.${ANDROID_ABI}) - - # Android does not have the bits at the end if you look at the main godot repo build - set(OUTPUT_NAME "godot-cpp.${SYSTEM_NAME}.${BUILD_TYPE}") -else() - set(OUTPUT_NAME "godot-cpp.${SYSTEM_NAME}.${BUILD_TYPE}.${BITS}") -endif() - -set_target_properties(${PROJECT_NAME} - PROPERTIES - CXX_EXTENSIONS OFF - POSITION_INDEPENDENT_CODE ON - ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin" - LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin" - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin" - OUTPUT_NAME "${OUTPUT_NAME}" -) diff --git a/thirdparty/godot-cpp/LICENSE.md b/thirdparty/godot-cpp/LICENSE.md deleted file mode 100644 index eb446fe..0000000 --- a/thirdparty/godot-cpp/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -# MIT License - -Copyright (c) 2017-present Godot Engine contributors. - -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. diff --git a/thirdparty/godot-cpp/Makefile b/thirdparty/godot-cpp/Makefile deleted file mode 100644 index 6ecdaa7..0000000 --- a/thirdparty/godot-cpp/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -TARGET = template_debug - -BASE = scons target=$(TARGET) $(EXTRA_ARGS) -LINUX = $(BASE) platform=linux -WINDOWS = $(BASE) platform=windows -MACOS = $(BASE) platform=macos - - -.PHONY: usage -usage: - @echo -e "Specify one of the available targets:\n" - # https://stackoverflow.com/a/26339924 - @LC_ALL=C $(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/(^|\n)# Files(\n|$$)/,/(^|\n)# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | grep -E -v -e '^[^[:alnum:]]' -e '^$@$$' - @echo -e "\nDefine the SCons target with TARGET, and pass extra SCons arguments with EXTRA_ARGS." - - -linux: - make linux32 - make linux64 - -linux32: SConstruct - $(LINUX) arch=x86_32 - -linux64: SConstruct - $(LINUX) arch=x86_64 - - -windows: - make windows32 - make windows64 - -windows32: SConstruct - $(WINDOWS) arch=x86_32 - -windows64: SConstruct - $(WINDOWS) arch=x86_64 - - -macos: SConstruct - $(MACOS) diff --git a/thirdparty/godot-cpp/README.md b/thirdparty/godot-cpp/README.md deleted file mode 100644 index fa28b20..0000000 --- a/thirdparty/godot-cpp/README.md +++ /dev/null @@ -1,162 +0,0 @@ -# godot-cpp - -> **Warning** -> -> This repository's `master` branch is only usable with -> [GDExtension](https://godotengine.org/article/introducing-gd-extensions) -> from Godot's `master` branch. -> -> For users of stable branches, switch to the branch matching your target Godot version: -> - [`4.2`](https://github.com/godotengine/godot-cpp/tree/4.2) -> - [`4.1`](https://github.com/godotengine/godot-cpp/tree/4.1) -> - [`4.0`](https://github.com/godotengine/godot-cpp/tree/4.0) -> -> Or check out the Git tag matching your Godot version (e.g. `godot-4.1.1-stable`). -> -> For GDNative users (Godot 3.x), switch to the [`3.x`](https://github.com/godotengine/godot-cpp/tree/3.x) -> or the [`3.5`](https://github.com/godotengine/godot-cpp/tree/3.5) branch. - -This repository contains the *C++ bindings* for the [**Godot Engine**](https://github.com/godotengine/godot)'s GDExtensions API. - -- [**Versioning**](#versioning) -- [**Compatibility**](#compatibility) -- [**Contributing**](#contributing) -- [**Getting started**](#getting-started) -- [**Included example**](#included-example) - -## Versioning - -This repositories follows the same branch versioning as the main [Godot Engine -repository](https://github.com/godotengine/godot): - -- `master` tracks the current GDExtension development branch for the next Godot - 4.x minor release. -- `3.x` tracks the development of the GDNative plugin for the next 3.x minor - release. -- Other versioned branches (e.g. `4.0`, `3.5`) track the latest stable release - in the corresponding branch. - -Stable releases are also tagged on this repository: -[**Tags**](https://github.com/godotengine/godot-cpp/tags). - -**For any project built against a stable release of Godot, we recommend using -this repository as a Git submodule, checking out the specific tag matching your -Godot version.** - -> As the `master` branch of Godot is constantly getting updated, if you are -> using `godot-cpp` against a more current version of Godot, see the instructions -> in the `gdextension` folder to update the relevant files. - -## Compatibility - -**Warning:** The GDExtension API is brand new in Godot 4.0, and is still -considered in **beta** stage, despite Godot 4.0 itself being released. - -This applies to both the GDExtension interface header, the API JSON, and this -first-party `godot-cpp` extension. - -Some compatibility breakage is to be expected as GDExtension and `godot-cpp` -get more used, documented, and critical issues get resolved. See the -[Godot issue tracker](https://github.com/godotengine/godot/issues?q=is%3Aissue+is%3Aopen+label%3Atopic%3Agdextension) -and the [godot-cpp issue tracker](https://github.com/godotengine/godot-cpp/issues) -for a list of known issues, and be sure to provide feedback on issues and PRs -which affect your use of this extension. - -## Godot and Godot Cpp Compatibility - -If you intend to target both building as a GDExtension and as a module using godot repo, you can generate compatibility includes that will target either GDExtension or module, based on the GODOT_MODULE_COMPAT define. - -If you want such a thing built, when running the build command, `scons`, make sure you have a file called `output_header_mapping.json` at root level of this repo. This file needs to have the mappings from `godot` repo. The mappings can be generated by running the compat_generator.py script. - -Example of how to obtain them: - -``` -git clone godotengine/godot -python compat_generator.py godot -``` - -Then run the SConstruct build command as usual, and in the `gen/` folder you will now have a new folder, `include/godot_compat` which mirrors the `include/godot_cpp` includes, but have ifdef inside them and either include godot header or godot_cpp header. - -## Contributing - -We greatly appreciate help in maintaining and extending this project. If you -wish to help out, ensure you have an account on GitHub and create a "fork" of -this repository. See [Pull request workflow](https://docs.godotengine.org/en/stable/community/contributing/pr_workflow.html) -for instructions. - -Please install clang-format and copy the files in `misc/hooks` into `.git/hooks` -so formatting is done before your changes are submitted. - -## Getting started - -You need the same C++ pre-requisites installed that are required for the `godot` repository. Follow the [official build instructions for your target platform](https://docs.godotengine.org/en/latest/contributing/development/compiling/index.html#building-for-target-platforms). - -Getting started with GDExtensions is a bit similar to what it was for 3.x but also a bit different. - -This new approach is much more akin to how core Godot modules are structured. - -Compiling this repository generates a static library to be linked with your shared lib, -just like before. - -To use the shared lib in your Godot project you'll need a `.gdextension` -file, which replaces what was the `.gdnlib` before. -See [example.gdextension](test/project/example.gdextension) used in the test project: - -```ini -[configuration] - -entry_symbol = "example_library_init" -compatibility_minimum = "4.1" - -[libraries] - -macos.debug = "res://bin/libgdexample.macos.debug.framework" -macos.release = "res://bin/libgdexample.macos.release.framework" -windows.debug.x86_64 = "res://bin/libgdexample.windows.debug.x86_64.dll" -windows.release.x86_64 = "res://bin/libgdexample.windows.release.x86_64.dll" -linux.debug.x86_64 = "res://bin/libgdexample.linux.debug.x86_64.so" -linux.release.x86_64 = "res://bin/libgdexample.linux.release.x86_64.so" -# Repeat for other architectures to support arm64, rv64, etc. -``` - -The `entry_symbol` is the name of the function that initializes -your library. It should be similar to following layout: - -```cpp -extern "C" { - -// Initialization. - -GDExtensionBool GDE_EXPORT example_library_init(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization) { - godot::GDExtensionBinding::InitObject init_obj(p_get_proc_address, p_library, r_initialization); - - init_obj.register_initializer(initialize_example_module); - init_obj.register_terminator(uninitialize_example_module); - init_obj.set_minimum_library_initialization_level(MODULE_INITIALIZATION_LEVEL_SCENE); - - return init_obj.init(); -} -} -``` - -The `initialize_example_module()` should register the classes in ClassDB, very like a Godot module would do. - -```cpp -using namespace godot; -void initialize_example_module(ModuleInitializationLevel p_level) { - if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) { - return; - } - ClassDB::register_class(); -} -``` - -Any node and resource you register will be available in the corresponding `Create...` dialog. Any class will be available to scripting as well. - -## Examples and templates - -See the [godot-cpp-template](https://github.com/godotengine/godot-cpp-template) project for a -generic reusable template. - -Or checkout the code for the [Summator example](https://github.com/paddy-exe/GDExtensionSummator) -as shown in the [official documentation](https://docs.godotengine.org/en/latest/tutorials/scripting/gdextension/gdextension_cpp_example.html). diff --git a/thirdparty/godot-cpp/SConstruct b/thirdparty/godot-cpp/SConstruct deleted file mode 100644 index b86ccf6..0000000 --- a/thirdparty/godot-cpp/SConstruct +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env python - -import os -import platform -import sys -import subprocess -from binding_generator import scons_generate_bindings, scons_emit_files - - -EnsureSConsVersion(4, 0) - - -try: - Import("env") -except: - # Default tools with no platform defaults to gnu toolchain. - # We apply platform specific toolchains via our custom tools. - env = Environment(tools=["default"], PLATFORM="") - -env.PrependENVPath("PATH", os.getenv("PATH")) - -# Custom options and profile flags. -customs = ["custom.py"] -try: - customs += Import("customs") -except: - pass -profile = ARGUMENTS.get("profile", "") -if profile: - if os.path.isfile(profile): - customs.append(profile) - elif os.path.isfile(profile + ".py"): - customs.append(profile + ".py") -opts = Variables(customs, ARGUMENTS) -cpp_tool = Tool("godotcpp", toolpath=["tools"]) -cpp_tool.options(opts, env) -opts.Update(env) - -Help(opts.GenerateHelpText(env)) - -# Detect and print a warning listing unknown SCons variables to ease troubleshooting. -unknown = opts.UnknownVariables() -if unknown: - print("WARNING: Unknown SCons variables were passed and will be ignored:") - for item in unknown.items(): - print(" " + item[0] + "=" + item[1]) - -scons_cache_path = os.environ.get("SCONS_CACHE") -if scons_cache_path is not None: - CacheDir(scons_cache_path) - Decider("MD5") - -cpp_tool.generate(env) -library = env.GodotCPP() - -Return("env") diff --git a/thirdparty/godot-cpp/binding_generator.py b/thirdparty/godot-cpp/binding_generator.py deleted file mode 100644 index 816aec2..0000000 --- a/thirdparty/godot-cpp/binding_generator.py +++ /dev/null @@ -1,2735 +0,0 @@ -#!/usr/bin/env python - -import json -import re -import shutil -import os -from compat_generator import map_header_files -from header_matcher import match_headers -from pathlib import Path - - -def generate_mod_version(argcount, const=False, returns=False): - s = """ -#define MODBIND$VER($RETTYPE m_name$ARG) \\ -virtual $RETVAL _##m_name($FUNCARGS) $CONST override; \\ -""" - sproto = str(argcount) - if returns: - sproto += "R" - s = s.replace("$RETTYPE", "m_ret, ") - s = s.replace("$RETVAL", "m_ret") - - else: - s = s.replace("$RETTYPE", "") - s = s.replace("$RETVAL", "void") - - if const: - sproto += "C" - s = s.replace("$CONST", "const") - else: - s = s.replace("$CONST", "") - - s = s.replace("$VER", sproto) - argtext = "" - funcargs = "" - - for i in range(argcount): - if i > 0: - funcargs += ", " - - argtext += ", m_type" + str(i + 1) - funcargs += "m_type" + str(i + 1) + " arg" + str(i + 1) - - if argcount: - s = s.replace("$ARG", argtext) - s = s.replace("$FUNCARGS", funcargs) - else: - s = s.replace("$ARG", "") - s = s.replace("$FUNCARGS", funcargs) - - return s - - -def generate_wrappers(target): - max_versions = 12 - - txt = """ -#ifndef GDEXTENSION_WRAPPERS_GEN_H -#define GDEXTENSION_WRAPPERS_GEN_H - -""" - - for i in range(max_versions + 1): - txt += "\n/* Module Wrapper " + str(i) + " Arguments */\n" - txt += generate_mod_version(i, False, False) - txt += generate_mod_version(i, False, True) - txt += generate_mod_version(i, True, False) - txt += generate_mod_version(i, True, True) - - txt += "\n#endif\n" - - with open(target, "w", encoding="utf-8") as f: - f.write(txt) - - -def generate_virtual_version(argcount, const=False, returns=False): - s = """#define GDVIRTUAL$VER($RET m_name $ARG)\\ - ::godot::StringName _gdvirtual_##m_name##_sn = #m_name;\\ - template \\ - _FORCE_INLINE_ bool _gdvirtual_##m_name##_call($CALLARGS) $CONST {\\ - if (::godot::internal::gdextension_interface_object_has_script_method(_owner, &_gdvirtual_##m_name##_sn)) { \\ - GDExtensionCallError ce;\\ - $CALLSIARGS\\ - ::godot::Variant ret;\\ - ::godot::internal::gdextension_interface_object_call_script_method(_owner, &_gdvirtual_##m_name##_sn, $CALLSIARGPASS, &ret, &ce);\\ - if (ce.error == GDEXTENSION_CALL_OK) {\\ - $CALLSIRET\\ - return true;\\ - }\\ - }\\ - if (required) {\\ - ERR_PRINT_ONCE("Required virtual method " + get_class() + "::" + #m_name + " must be overridden before calling.");\\ - $RVOID\\ - }\\ - return false;\\ - }\\ - _FORCE_INLINE_ bool _gdvirtual_##m_name##_overridden() const {\\ - return ::godot::internal::gdextension_interface_object_has_script_method(_owner, &_gdvirtual_##m_name##_sn); \\ - }\\ - _FORCE_INLINE_ static ::godot::MethodInfo _gdvirtual_##m_name##_get_method_info() {\\ - ::godot::MethodInfo method_info;\\ - method_info.name = #m_name;\\ - method_info.flags = $METHOD_FLAGS;\\ - $FILL_METHOD_INFO\\ - return method_info;\\ - } - -""" - - sproto = str(argcount) - method_info = "" - if returns: - sproto += "R" - s = s.replace("$RET", "m_ret,") - s = s.replace("$RVOID", "(void)r_ret;") # If required, may lead to uninitialized errors - method_info += "method_info.return_val = ::godot::GetTypeInfo::get_class_info();\\\n" - method_info += "\t\tmethod_info.return_val_metadata = ::godot::GetTypeInfo::METADATA;" - else: - s = s.replace("$RET ", "") - s = s.replace("\t\t\t$RVOID\\\n", "") - - if const: - sproto += "C" - s = s.replace("$CONST", "const") - s = s.replace("$METHOD_FLAGS", "::godot::METHOD_FLAG_VIRTUAL | ::godot::METHOD_FLAG_CONST") - else: - s = s.replace("$CONST ", "") - s = s.replace("$METHOD_FLAGS", "::godot::METHOD_FLAG_VIRTUAL") - - s = s.replace("$VER", sproto) - argtext = "" - callargtext = "" - callsiargs = "" - callsiargptrs = "" - if argcount > 0: - argtext += ", " - callsiargs = f"::godot::Variant vargs[{argcount}] = {{ " - callsiargptrs = f"\t\t\tconst ::godot::Variant *vargptrs[{argcount}] = {{ " - for i in range(argcount): - if i > 0: - argtext += ", " - callargtext += ", " - callsiargs += ", " - callsiargptrs += ", " - argtext += f"m_type{i + 1}" - callargtext += f"m_type{i + 1} arg{i + 1}" - callsiargs += f"::godot::Variant(arg{i + 1})" - callsiargptrs += f"&vargs[{i}]" - if method_info: - method_info += "\\\n\t\t" - method_info += f"method_info.arguments.push_back(::godot::GetTypeInfo::get_class_info());\\\n" - method_info += f"\t\tmethod_info.arguments_metadata.push_back(::godot::GetTypeInfo::METADATA);" - - if argcount: - callsiargs += " };\\\n" - callsiargptrs += " };" - s = s.replace("$CALLSIARGS", callsiargs + callsiargptrs) - s = s.replace("$CALLSIARGPASS", f"(const GDExtensionConstVariantPtr *)vargptrs, {argcount}") - else: - s = s.replace("\t\t\t$CALLSIARGS\\\n", "") - s = s.replace("$CALLSIARGPASS", "nullptr, 0") - - if returns: - if argcount > 0: - callargtext += ", " - callargtext += "m_ret &r_ret" - s = s.replace("$CALLSIRET", "r_ret = ::godot::VariantCaster::cast(ret);") - else: - s = s.replace("\t\t\t\t$CALLSIRET\\\n", "") - - s = s.replace(" $ARG", argtext) - s = s.replace("$CALLARGS", callargtext) - if method_info: - s = s.replace("$FILL_METHOD_INFO", method_info) - else: - s = s.replace("\t\t$FILL_METHOD_INFO\\\n", method_info) - - return s - - -def generate_virtuals(target): - max_versions = 12 - - txt = """/* THIS FILE IS GENERATED DO NOT EDIT */ -#ifndef GDEXTENSION_GDVIRTUAL_GEN_H -#define GDEXTENSION_GDVIRTUAL_GEN_H - -""" - - for i in range(max_versions + 1): - txt += f"/* {i} Arguments */\n\n" - txt += generate_virtual_version(i, False, False) - txt += generate_virtual_version(i, False, True) - txt += generate_virtual_version(i, True, False) - txt += generate_virtual_version(i, True, True) - - txt += "#endif // GDEXTENSION_GDVIRTUAL_GEN_H\n" - - with open(target, "w", encoding="utf-8") as f: - f.write(txt) - - -def get_file_list(api_filepath, output_dir, headers=False, sources=False): - api = {} - files = [] - with open(api_filepath, encoding="utf-8") as api_file: - api = json.load(api_file) - - core_gen_folder = Path(output_dir) / "gen" / "include" / "godot_cpp" / "core" - include_gen_folder = Path(output_dir) / "gen" / "include" / "godot_cpp" - include_gen_compat_folder = Path(output_dir) / "gen" / "include" / "godot_compat" - source_gen_folder = Path(output_dir) / "gen" / "src" - - files.append(str((core_gen_folder / "ext_wrappers.gen.inc").as_posix())) - files.append(str((core_gen_folder / "gdvirtual.gen.inc").as_posix())) - - for builtin_class in api["builtin_classes"]: - if is_pod_type(builtin_class["name"]): - continue - - if is_included_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: - files.append(str(header_filename.as_posix())) - if sources: - files.append(str(source_filename.as_posix())) - - for engine_class in api["classes"]: - # Generate code for the ClassDB singleton under a different name. - if engine_class["name"] == "ClassDB": - engine_class["name"] = "ClassDBSingleton" - engine_class["alias_for"] = "ClassDB" - 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: - files.append(str(header_filename.as_posix())) - if sources: - files.append(str(source_filename.as_posix())) - - for native_struct in api["native_structures"]: - struct_name = native_struct["name"] - if struct_name == "ObjectID": - continue - snake_struct_name = camel_to_snake(struct_name) - - header_filename = include_gen_folder / "classes" / (snake_struct_name + ".hpp") - if headers: - files.append(str(header_filename.as_posix())) - - if headers: - for path in [ - include_gen_folder / "variant" / "builtin_types.hpp", - include_gen_folder / "variant" / "builtin_binds.hpp", - include_gen_folder / "variant" / "utility_functions.hpp", - include_gen_folder / "variant" / "variant_size.hpp", - include_gen_folder / "variant" / "builtin_vararg_methods.hpp", - include_gen_folder / "classes" / "global_constants.hpp", - include_gen_folder / "classes" / "global_constants_binds.hpp", - include_gen_folder / "core" / "version.hpp", - ]: - files.append(str(path.as_posix())) - if sources: - utility_functions_source_path = source_gen_folder / "variant" / "utility_functions.cpp" - files.append(str(utility_functions_source_path.as_posix())) - - return files - - -def print_file_list(api_filepath, output_dir, headers=False, sources=False): - print(*get_file_list(api_filepath, output_dir, headers, sources), sep=";", end=None) - - -def scons_emit_files(target, source, env): - files = [env.File(f) for f in get_file_list(str(source[0]), target[0].abspath, True, True)] - env.Clean(target, files) - env["godot_cpp_gen_dir"] = target[0].abspath - return files, source - - -def scons_generate_bindings(target, source, env): - generate_bindings( - str(source[0]), - env["generate_template_get_node"], - "32" if "32" in env["arch"] else "64", - env["precision"], - env["godot_cpp_gen_dir"], - ) - return None - - -def generate_bindings(api_filepath, use_template_get_node, bits="64", precision="single", output_dir="."): - api = None - - target_dir = Path(output_dir) / "gen" - - with open(api_filepath, encoding="utf-8") as api_file: - api = json.load(api_file) - - shutil.rmtree(target_dir, ignore_errors=True) - target_dir.mkdir(parents=True) - - real_t = "double" if precision == "double" else "float" - print("Built-in type config: " + real_t + "_" + bits) - - generate_global_constants(api, target_dir) - generate_version_header(api, target_dir) - generate_global_constant_binds(api, target_dir) - generate_builtin_bindings(api, target_dir, real_t + "_" + bits) - generate_engine_classes_bindings(api, target_dir, use_template_get_node) - generate_utility_functions(api, target_dir) - generate_compat_includes(Path(output_dir), target_dir) - - -builtin_classes = [] - -# Key is class name, value is boolean where True means the class is refcounted. -engine_classes = {} - -# Type names of native structures -native_structures = [] - -singletons = [] - - -def generate_builtin_bindings(api, output_dir, build_config): - global builtin_classes - - core_gen_folder = Path(output_dir) / "include" / "godot_cpp" / "core" - include_gen_folder = Path(output_dir) / "include" / "godot_cpp" / "variant" - source_gen_folder = Path(output_dir) / "src" / "variant" - - core_gen_folder.mkdir(parents=True, exist_ok=True) - include_gen_folder.mkdir(parents=True, exist_ok=True) - source_gen_folder.mkdir(parents=True, exist_ok=True) - - generate_wrappers(core_gen_folder / "ext_wrappers.gen.inc") - generate_virtuals(core_gen_folder / "gdvirtual.gen.inc") - - # 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", encoding="utf-8") 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 - if is_included_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) - - used_classes = list(used_classes) - used_classes.sort() - fully_used_classes = list(fully_used_classes) - fully_used_classes.sort() - - with header_filename.open("w+", encoding="utf-8") as header_file: - header_file.write(generate_builtin_class_header(builtin_api, size, used_classes, fully_used_classes)) - - with source_filename.open("w+", encoding="utf-8") as source_file: - source_file.write(generate_builtin_class_source(builtin_api, size, used_classes, fully_used_classes)) - - # Create a header with all builtin types for convenience. - builtin_header_filename = include_gen_folder / "builtin_types.hpp" - with builtin_header_filename.open("w+", encoding="utf-8") as builtin_header_file: - builtin_header = [] - add_header("builtin_types.hpp", builtin_header) - - builtin_header.append("#ifndef GODOT_CPP_BUILTIN_TYPES_HPP") - builtin_header.append("#define GODOT_CPP_BUILTIN_TYPES_HPP") - - builtin_header.append("") - - for builtin in builtin_classes: - builtin_header.append(f"#include ") - - builtin_header.append("") - - builtin_header.append("#endif // ! GODOT_CPP_BUILTIN_TYPES_HPP") - - builtin_header_file.write("\n".join(builtin_header)) - - # Create a header with bindings for builtin types. - builtin_binds_filename = include_gen_folder / "builtin_binds.hpp" - with builtin_binds_filename.open("w+", encoding="utf-8") as builtin_binds_file: - builtin_binds = [] - add_header("builtin_binds.hpp", builtin_binds) - - builtin_binds.append("#ifndef GODOT_CPP_BUILTIN_BINDS_HPP") - builtin_binds.append("#define GODOT_CPP_BUILTIN_BINDS_HPP") - builtin_binds.append("") - builtin_binds.append("#include ") - builtin_binds.append("") - - for builtin_api in api["builtin_classes"]: - if is_included_type(builtin_api["name"]): - if "enums" in builtin_api: - for enum_api in builtin_api["enums"]: - builtin_binds.append(f"VARIANT_ENUM_CAST({builtin_api['name']}::{enum_api['name']});") - - builtin_binds.append("") - builtin_binds.append("#endif // ! GODOT_CPP_BUILTIN_BINDS_HPP") - - builtin_binds_file.write("\n".join(builtin_binds)) - - # Create a header to implement all builtin class vararg methods and be included in "variant.hpp". - builtin_vararg_methods_header = include_gen_folder / "builtin_vararg_methods.hpp" - builtin_vararg_methods_header.open("w+").write( - generate_builtin_class_vararg_method_implements_header(api["builtin_classes"]) - ) - - -def generate_builtin_class_vararg_method_implements_header(builtin_classes): - result = [] - - add_header("builtin_vararg_methods.hpp", result) - - header_guard = "GODOT_CPP_BUILTIN_VARARG_METHODS_HPP" - result.append(f"#ifndef {header_guard}") - result.append(f"#define {header_guard}") - result.append("") - for builtin_api in builtin_classes: - if not "methods" in builtin_api: - continue - class_name = builtin_api["name"] - for method in builtin_api["methods"]: - if not method["is_vararg"]: - continue - - result += make_varargs_template( - method, "is_static" in method and method["is_static"], class_name, False, False, True - ) - result.append("") - - result.append("") - result.append(f"#endif // ! {header_guard}") - - return "\n".join(result) - - -def generate_builtin_class_header(builtin_api, size, used_classes, fully_used_classes): - result = [] - - class_name = builtin_api["name"] - snake_class_name = camel_to_snake(class_name).upper() - - header_guard = f"GODOT_CPP_{snake_class_name}_HPP" - - add_header(f"{snake_class_name.lower()}.hpp", result) - - result.append(f"#ifndef {header_guard}") - result.append(f"#define {header_guard}") - - result.append("") - result.append("#include ") - result.append("") - - # Special cases. - if class_name == "String": - result.append("#include ") - result.append("#include ") - result.append("#include ") - - if class_name == "PackedStringArray": - result.append("#include ") - if class_name == "PackedColorArray": - result.append("#include ") - if class_name == "PackedVector2Array": - result.append("#include ") - if class_name == "PackedVector3Array": - result.append("#include ") - - if is_packed_array(class_name): - result.append("#include ") - result.append("#include ") - - if class_name == "Array": - result.append("#include ") - - if class_name == "Callable": - result.append("#include ") - - for include in fully_used_classes: - if include == "TypedArray": - result.append("#include ") - else: - result.append(f"#include ") - - if len(fully_used_classes) > 0: - result.append("") - - result.append("#include ") - result.append("") - result.append("namespace godot {") - result.append("") - - for type_name in used_classes: - if is_struct_type(type_name): - result.append(f"struct {type_name};") - else: - result.append(f"class {type_name};") - - if len(used_classes) > 0: - result.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] = {{}};") - - result.append("") - result.append("\tfriend class Variant;") - if class_name == "String": - result.append("\tfriend class StringName;") - - result.append("") - result.append("\tstatic struct _MethodBindings {") - - result.append("\t\tGDExtensionTypeFromVariantConstructorFunc from_variant_constructor;") - - if "constructors" in builtin_api: - for constructor in builtin_api["constructors"]: - result.append(f'\t\tGDExtensionPtrConstructor constructor_{constructor["index"]};') - - if builtin_api["has_destructor"]: - result.append("\t\tGDExtensionPtrDestructor destructor;") - - if "methods" in builtin_api: - for method in builtin_api["methods"]: - result.append(f'\t\tGDExtensionPtrBuiltInMethod method_{method["name"]};') - - if "members" in builtin_api: - for member in builtin_api["members"]: - result.append(f'\t\tGDExtensionPtrSetter member_{member["name"]}_setter;') - result.append(f'\t\tGDExtensionPtrGetter member_{member["name"]}_getter;') - - if "indexing_return_type" in builtin_api: - result.append("\t\tGDExtensionPtrIndexedSetter indexed_setter;") - result.append("\t\tGDExtensionPtrIndexedGetter indexed_getter;") - - if "is_keyed" in builtin_api and builtin_api["is_keyed"]: - result.append("\t\tGDExtensionPtrKeyedSetter keyed_setter;") - result.append("\t\tGDExtensionPtrKeyedGetter keyed_getter;") - result.append("\t\tGDExtensionPtrKeyedChecker keyed_checker;") - - if "operators" in builtin_api: - for operator in builtin_api["operators"]: - if "right_type" in operator: - result.append( - f'\t\tGDExtensionPtrOperatorEvaluator operator_{get_operator_id_name(operator["name"])}_{operator["right_type"]};' - ) - else: - result.append(f'\t\tGDExtensionPtrOperatorEvaluator operator_{get_operator_id_name(operator["name"])};') - - result.append("\t} _method_bindings;") - - result.append("") - result.append("\tstatic void init_bindings();") - result.append("\tstatic void _init_bindings_constructors_destructor();") - - result.append("") - result.append(f"\t{class_name}(const Variant *p_variant);") - - result.append("") - result.append("public:") - - result.append( - f"\t_FORCE_INLINE_ GDExtensionTypePtr _native_ptr() const {{ return const_cast(&opaque); }}" - ) - - copy_constructor_index = -1 - - 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 - ) - if len(constructor["arguments"]) == 1 and constructor["arguments"][0]["type"] == class_name: - copy_constructor_index = constructor["index"] - method_signature += ");" - - result.append(method_signature) - - # Move constructor. - result.append(f"\t{class_name}({class_name} &&other);") - - # Special cases. - if class_name == "String" or class_name == "StringName" or class_name == "NodePath": - if class_name == "StringName": - result.append(f"\t{class_name}(const char *from, bool p_static = false);") - else: - 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 class_name == "Callable": - result.append("\tCallable(CallableCustom *p_custom);") - result.append("\tCallableCustom *get_custom() const;") - - 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("\tstatic String utf8(const char *from, int64_t len = -1);") - result.append("\tvoid parse_utf8(const char *from, int64_t len = -1);") - result.append("\tstatic String utf16(const char16_t *from, int64_t len = -1);") - result.append("\tvoid parse_utf16(const char16_t *from, int64_t len = -1);") - 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;") - result.append("\tstatic String num_real(double p_num, bool p_trailing = true);") - result.append("\tError resize(int64_t p_size);") - - 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: - result.append( - f'\t{correct_type(operator["return_type"])} operator{operator["name"].replace("unary", "")}() const;' - ) - - # Copy assignment. - if copy_constructor_index >= 0: - result.append(f"\t{class_name} &operator=(const {class_name} &other);") - - # Move assignment. - result.append(f"\t{class_name} &operator=({class_name} &&other);") - - # Special cases. - if class_name == "String": - result.append("\tString &operator=(const char *p_str);") - result.append("\tString &operator=(const wchar_t *p_str);") - result.append("\tString &operator=(const char16_t *p_str);") - result.append("\tString &operator=(const char32_t *p_str);") - result.append("\tbool operator==(const char *p_str) const;") - result.append("\tbool operator==(const wchar_t *p_str) const;") - result.append("\tbool operator==(const char16_t *p_str) const;") - result.append("\tbool operator==(const char32_t *p_str) const;") - result.append("\tbool operator!=(const char *p_str) const;") - result.append("\tbool operator!=(const wchar_t *p_str) const;") - result.append("\tbool operator!=(const char16_t *p_str) const;") - result.append("\tbool operator!=(const char32_t *p_str) const;") - result.append("\tString operator+(const char *p_str);") - result.append("\tString operator+(const wchar_t *p_str);") - result.append("\tString operator+(const char16_t *p_str);") - result.append("\tString operator+(const char32_t *p_str);") - result.append("\tString operator+(char32_t p_char);") - result.append("\tString &operator+=(const String &p_str);") - result.append("\tString &operator+=(char32_t p_char);") - result.append("\tString &operator+=(const char *p_str);") - result.append("\tString &operator+=(const wchar_t *p_str);") - result.append("\tString &operator+=(const char32_t *p_str);") - - result.append("\tconst char32_t &operator[](int64_t p_index) const;") - result.append("\tchar32_t &operator[](int64_t p_index);") - result.append("\tconst char32_t *ptr() const;") - result.append("\tchar32_t *ptrw();") - - if class_name == "Array": - result.append("\ttemplate ") - result.append("\tstatic Array make(Args... args) {") - result.append("\t\treturn helpers::append_all(Array(), args...);") - result.append("\t}") - - if is_packed_array(class_name): - return_type = correct_type(builtin_api["indexing_return_type"]) - if class_name == "PackedByteArray": - return_type = "uint8_t" - elif class_name == "PackedInt32Array": - return_type = "int32_t" - elif class_name == "PackedFloat32Array": - return_type = "float" - result.append(f"\tconst {return_type} &operator[](int64_t p_index) const;") - result.append(f"\t{return_type} &operator[](int64_t p_index);") - result.append(f"\tconst {return_type} *ptr() const;") - result.append(f"\t{return_type} *ptrw();") - iterators = """ - struct Iterator { - _FORCE_INLINE_ $TYPE &operator*() const { - return *elem_ptr; - } - _FORCE_INLINE_ $TYPE *operator->() const { return elem_ptr; } - _FORCE_INLINE_ Iterator &operator++() { - elem_ptr++; - return *this; - } - _FORCE_INLINE_ Iterator &operator--() { - elem_ptr--; - return *this; - } - - _FORCE_INLINE_ bool operator==(const Iterator &b) const { return elem_ptr == b.elem_ptr; } - _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return elem_ptr != b.elem_ptr; } - - Iterator($TYPE *p_ptr) { elem_ptr = p_ptr; } - Iterator() {} - Iterator(const Iterator &p_it) { elem_ptr = p_it.elem_ptr; } - - private: - $TYPE *elem_ptr = nullptr; - }; - - struct ConstIterator { - _FORCE_INLINE_ const $TYPE &operator*() const { - return *elem_ptr; - } - _FORCE_INLINE_ const $TYPE *operator->() const { return elem_ptr; } - _FORCE_INLINE_ ConstIterator &operator++() { - elem_ptr++; - return *this; - } - _FORCE_INLINE_ ConstIterator &operator--() { - elem_ptr--; - return *this; - } - - _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return elem_ptr == b.elem_ptr; } - _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return elem_ptr != b.elem_ptr; } - - ConstIterator(const $TYPE *p_ptr) { elem_ptr = p_ptr; } - ConstIterator() {} - ConstIterator(const ConstIterator &p_it) { elem_ptr = p_it.elem_ptr; } - - private: - const $TYPE *elem_ptr = nullptr; - }; - - _FORCE_INLINE_ Iterator begin() { - return Iterator(ptrw()); - } - _FORCE_INLINE_ Iterator end() { - return Iterator(ptrw() + size()); - } - - _FORCE_INLINE_ ConstIterator begin() const { - return ConstIterator(ptr()); - } - _FORCE_INLINE_ ConstIterator end() const { - return ConstIterator(ptr() + size()); - } -""" - result.append(iterators.replace("$TYPE", return_type)) - init_list = """ - _FORCE_INLINE_ $CLASS(std::initializer_list<$TYPE> p_init) { - ERR_FAIL_COND(resize(p_init.size()) != 0); - - size_t i = 0; - for (const $TYPE &element : p_init) { - set(i++, element); - } - } -""" - result.append(init_list.replace("$TYPE", return_type).replace("$CLASS", class_name)) - - if class_name == "Array": - result.append("\tconst Variant &operator[](int64_t p_index) const;") - result.append("\tVariant &operator[](int64_t p_index);") - result.append("\tvoid set_typed(uint32_t p_type, const StringName &p_class_name, const Variant &p_script);") - result.append("\tvoid _ref(const Array &p_from) const;") - - if class_name == "Dictionary": - result.append("\tconst Variant &operator[](const Variant &p_key) const;") - result.append("\tVariant &operator[](const Variant &p_key);") - - 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("String operator+(char32_t p_char, const String &p_str);") - - result.append("String itos(int64_t p_val);") - result.append("String uitos(uint64_t p_val);") - result.append("String rtos(double p_val);") - result.append("String rtoss(double p_val);") - - 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"GDEXTENSION_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("#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_constructors_destructor() {{") - - result.append( - f"\t_method_bindings.from_variant_constructor = internal::gdextension_interface_get_variant_to_type_constructor({enum_type_name});" - ) - - if "constructors" in builtin_api: - for constructor in builtin_api["constructors"]: - result.append( - f'\t_method_bindings.constructor_{constructor["index"]} = internal::gdextension_interface_variant_get_ptr_constructor({enum_type_name}, {constructor["index"]});' - ) - - if builtin_api["has_destructor"]: - result.append( - f"\t_method_bindings.destructor = internal::gdextension_interface_variant_get_ptr_destructor({enum_type_name});" - ) - - result.append("}") - - result.append(f"void {class_name}::init_bindings() {{") - - # StringName's constructor internally uses String, so it constructor must be ready ! - if class_name == "StringName": - result.append("\tString::_init_bindings_constructors_destructor();") - result.append(f"\t{class_name}::_init_bindings_constructors_destructor();") - - result.append("\tStringName _gde_name;") - - if "methods" in builtin_api: - for method in builtin_api["methods"]: - # TODO: Add error check for hash mismatch. - result.append(f'\t_gde_name = StringName("{method["name"]}");') - result.append( - f'\t_method_bindings.method_{method["name"]} = internal::gdextension_interface_variant_get_ptr_builtin_method({enum_type_name}, _gde_name._native_ptr(), {method["hash"]});' - ) - - if "members" in builtin_api: - for member in builtin_api["members"]: - result.append(f'\t_gde_name = StringName("{member["name"]}");') - result.append( - f'\t_method_bindings.member_{member["name"]}_setter = internal::gdextension_interface_variant_get_ptr_setter({enum_type_name}, _gde_name._native_ptr());' - ) - result.append( - f'\t_method_bindings.member_{member["name"]}_getter = internal::gdextension_interface_variant_get_ptr_getter({enum_type_name}, _gde_name._native_ptr());' - ) - - if "indexing_return_type" in builtin_api: - result.append( - f"\t_method_bindings.indexed_setter = internal::gdextension_interface_variant_get_ptr_indexed_setter({enum_type_name});" - ) - result.append( - f"\t_method_bindings.indexed_getter = internal::gdextension_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::gdextension_interface_variant_get_ptr_keyed_setter({enum_type_name});" - ) - result.append( - f"\t_method_bindings.keyed_getter = internal::gdextension_interface_variant_get_ptr_keyed_getter({enum_type_name});" - ) - result.append( - f"\t_method_bindings.keyed_checker = internal::gdextension_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: - if operator["right_type"] == "Variant": - right_type_variant_type = "GDEXTENSION_VARIANT_TYPE_NIL" - else: - right_type_variant_type = ( - f"GDEXTENSION_VARIANT_TYPE_{camel_to_snake(operator['right_type']).upper()}" - ) - result.append( - f'\t_method_bindings.operator_{get_operator_id_name(operator["name"])}_{operator["right_type"]} = internal::gdextension_interface_variant_get_ptr_operator_evaluator(GDEXTENSION_VARIANT_OP_{get_operator_id_name(operator["name"]).upper()}, {enum_type_name}, {right_type_variant_type});' - ) - else: - result.append( - f'\t_method_bindings.operator_{get_operator_id_name(operator["name"])} = internal::gdextension_interface_variant_get_ptr_operator_evaluator(GDEXTENSION_VARIANT_OP_{get_operator_id_name(operator["name"]).upper()}, {enum_type_name}, GDEXTENSION_VARIANT_TYPE_NIL);' - ) - - result.append("}") - result.append("") - - copy_constructor_index = -1 - - result.append(f"{class_name}::{class_name}(const Variant *p_variant) {{") - result.append("\t_method_bindings.from_variant_constructor(&opaque, p_variant->_native_ptr());") - 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) - - method_call = ( - f'\tinternal::_call_builtin_constructor(_method_bindings.constructor_{constructor["index"]}, &opaque' - ) - if "arguments" in constructor: - if len(constructor["arguments"]) == 1 and constructor["arguments"][0]["type"] == class_name: - copy_constructor_index = constructor["index"] - 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 += ");" - - result.append(method_call) - result.append("}") - result.append("") - - # Move constructor. - result.append(f"{class_name}::{class_name}({class_name} &&other) {{") - if needs_copy_instead_of_move(class_name) and copy_constructor_index >= 0: - result.append( - f"\tinternal::_call_builtin_constructor(_method_bindings.constructor_{copy_constructor_index}, &opaque, &other);" - ) - else: - result.append("\tstd::swap(opaque, other.opaque);") - result.append("}") - result.append("") - - if builtin_api["has_destructor"]: - result.append(f"{class_name}::~{class_name}() {{") - result.append("\t_method_bindings.destructor(&opaque);") - result.append("}") - result.append("") - - method_list = [] - - if "methods" in builtin_api: - for method in builtin_api["methods"]: - method_list.append(method["name"]) - - if "is_vararg" in method and method["is_vararg"]: - # Done in the header because of the template. - continue - - method_signature = make_signature(class_name, method, for_builtin=True) - result.append(method_signature + "{") - - method_call = "\t" - is_ref = False - - if "return_type" in method: - return_type = method["return_type"] - if is_enum(return_type): - method_call += f"return ({get_gdextension_type(correct_type(return_type))})internal::_call_builtin_method_ptr_ret(" - elif is_pod_type(return_type) or is_variant(return_type): - method_call += f"return internal::_call_builtin_method_ptr_ret<{get_gdextension_type(correct_type(return_type))}>(" - elif is_refcounted(return_type): - method_call += f"return Ref<{return_type}>::_gde_internal_constructor(internal::_call_builtin_method_ptr_ret_obj<{return_type}>(" - is_ref = True - else: - method_call += f"return internal::_call_builtin_method_ptr_ret_obj<{return_type}>(" - else: - method_call += "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 += "(GDExtensionTypePtr)&opaque" - - 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) - - if is_ref: - method_call += ")" # Close Ref<> constructor. - method_call += ");" - - result.append(method_call) - result.append("}") - result.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, (GDExtensionConstTypePtr)&opaque);' - ) - result.append("}") - - 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((GDExtensionConstTypePtr)&opaque, (GDExtensionConstTypePtr){arg_name});' - ) - - result.append("}") - result.append("") - - 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<{get_gdextension_type(correct_type(operator["return_type"]))}>(_method_bindings.operator_{get_operator_id_name(operator["name"])}_{operator["right_type"]}, (GDExtensionConstTypePtr)&opaque, (GDExtensionConstTypePtr){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<{get_gdextension_type(correct_type(operator["return_type"]))}>(_method_bindings.operator_{get_operator_id_name(operator["name"])}, (GDExtensionConstTypePtr)&opaque, (GDExtensionConstTypePtr)nullptr);' - ) - result.append("}") - result.append("") - - # Copy assignment. - if copy_constructor_index >= 0: - result.append(f"{class_name} &{class_name}::operator=(const {class_name} &other) {{") - if builtin_api["has_destructor"]: - result.append("\t_method_bindings.destructor(&opaque);") - (encode, arg_name) = get_encoded_arg( - "other", - class_name, - None, - ) - result += encode - result.append( - f"\tinternal::_call_builtin_constructor(_method_bindings.constructor_{copy_constructor_index}, &opaque, {arg_name});" - ) - result.append("\treturn *this;") - result.append("}") - result.append("") - - # Move assignment. - result.append(f"{class_name} &{class_name}::operator=({class_name} &&other) {{") - if needs_copy_instead_of_move(class_name) and copy_constructor_index >= 0: - result.append( - f"\tinternal::_call_builtin_constructor(_method_bindings.constructor_{copy_constructor_index}, &opaque, &other);" - ) - else: - result.append("\tstd::swap(opaque, other.opaque);") - result.append("\treturn *this;") - result.append("}") - - result.append("") - result.append("} //namespace godot") - - return "\n".join(result) - - -def generate_engine_classes_bindings(api, output_dir, use_template_get_node): - global engine_classes - global singletons - global native_structures - - 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) - - # First create map of classes and singletons. - for class_api in api["classes"]: - # Generate code for the ClassDB singleton under a different name. - if class_api["name"] == "ClassDB": - class_api["name"] = "ClassDBSingleton" - class_api["alias_for"] = "ClassDB" - engine_classes[class_api["name"]] = class_api["is_refcounted"] - for native_struct in api["native_structures"]: - if native_struct["name"] == "ObjectID": - continue - engine_classes[native_struct["name"]] = False - native_structures.append(native_struct["name"]) - - for singleton in api["singletons"]: - # Generate code for the ClassDB singleton under a different name. - if singleton["name"] == "ClassDB": - singleton["name"] = "ClassDBSingleton" - singleton["alias_for"] = "ClassDB" - singletons.append(singleton["name"]) - - 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"]: - type_name = argument["type"] - if type_name.startswith("const "): - type_name = type_name[6:] - if type_name.endswith("*"): - type_name = type_name[:-1] - if is_included(type_name, class_name): - if type_name.startswith("typedarray::"): - fully_used_classes.add("TypedArray") - array_type_name = type_name.replace("typedarray::", "") - if array_type_name.startswith("const "): - array_type_name = array_type_name[6:] - if array_type_name.endswith("*"): - array_type_name = array_type_name[:-1] - if is_included(array_type_name, class_name): - if is_enum(array_type_name): - fully_used_classes.add(get_enum_class(array_type_name)) - elif "default_value" in argument: - fully_used_classes.add(array_type_name) - else: - used_classes.add(array_type_name) - elif is_enum(type_name): - fully_used_classes.add(get_enum_class(type_name)) - elif "default_value" in argument: - fully_used_classes.add(type_name) - else: - used_classes.add(type_name) - if is_refcounted(type_name): - fully_used_classes.add("Ref") - if "return_value" in method: - type_name = method["return_value"]["type"] - if type_name.startswith("const "): - type_name = type_name[6:] - if type_name.endswith("*"): - type_name = type_name[:-1] - if is_included(type_name, class_name): - if type_name.startswith("typedarray::"): - fully_used_classes.add("TypedArray") - array_type_name = type_name.replace("typedarray::", "") - if array_type_name.startswith("const "): - array_type_name = array_type_name[6:] - if array_type_name.endswith("*"): - array_type_name = array_type_name[:-1] - if is_included(array_type_name, class_name): - if is_enum(array_type_name): - fully_used_classes.add(get_enum_class(array_type_name)) - elif is_variant(array_type_name): - fully_used_classes.add(array_type_name) - else: - used_classes.add(array_type_name) - elif is_enum(type_name): - fully_used_classes.add(get_enum_class(type_name)) - elif is_variant(type_name): - fully_used_classes.add(type_name) - else: - used_classes.add(type_name) - if is_refcounted(type_name): - 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: - 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") - - # In order to ensure that PtrToArg specializations for native structs are - # always used, let's move any of them into 'fully_used_classes'. - for type_name in used_classes: - if is_struct_type(type_name) and not is_included_struct_type(type_name): - fully_used_classes.add(type_name) - - for type_name in fully_used_classes: - if type_name in used_classes: - used_classes.remove(type_name) - - used_classes = list(used_classes) - used_classes.sort() - fully_used_classes = list(fully_used_classes) - fully_used_classes.sort() - - with header_filename.open("w+", encoding="utf-8") as header_file: - header_file.write( - generate_engine_class_header(class_api, used_classes, fully_used_classes, use_template_get_node) - ) - - with source_filename.open("w+", encoding="utf-8") as source_file: - source_file.write( - generate_engine_class_source(class_api, used_classes, fully_used_classes, use_template_get_node) - ) - - for native_struct in api["native_structures"]: - struct_name = native_struct["name"] - if struct_name == "ObjectID": - continue - snake_struct_name = camel_to_snake(struct_name) - - header_filename = include_gen_folder / (snake_struct_name + ".hpp") - - result = [] - add_header(f"{snake_struct_name}.hpp", result) - - header_guard = f"GODOT_CPP_{snake_struct_name.upper()}_HPP" - result.append(f"#ifndef {header_guard}") - result.append(f"#define {header_guard}") - - used_classes = [] - expanded_format = native_struct["format"].replace("(", " ").replace(")", ";").replace(",", ";") - for field in expanded_format.split(";"): - field_type = field.strip().split(" ")[0].split("::")[0] - if field_type != "" and not is_included_type(field_type) and not is_pod_type(field_type): - if not field_type in used_classes: - used_classes.append(field_type) - - result.append("") - - for included in used_classes: - result.append(f"#include ") - - if len(used_classes) == 0: - result.append("#include ") - result.append("") - - result.append("namespace godot {") - result.append("") - - result.append(f"struct {struct_name} {{") - for field in native_struct["format"].split(";"): - if field != "": - result.append(f"\t{field};") - result.append("};") - - result.append("") - result.append(f"GDVIRTUAL_NATIVE_PTR({struct_name});") - result.append("") - result.append("} // namespace godot") - result.append("") - result.append(f"#endif // ! {header_guard}") - - with header_filename.open("w+", encoding="utf-8") as header_file: - header_file.write("\n".join(result)) - - -def generate_compat_includes(output_dir: Path, target_dir: Path): - file_types_mapping_godot_cpp_gen = map_header_files(target_dir / "include") - file_types_mapping_godot_cpp = map_header_files(output_dir / "include") | file_types_mapping_godot_cpp_gen - godot_compat = Path("output_header_mapping_godot.json") - levels_to_look_back = 3 - while not godot_compat.exists(): - godot_compat = ".." / godot_compat - levels_to_look_back -= 1 - if levels_to_look_back == 0: - print("Skipping godot_compat") - return - with godot_compat.open() as file: - mapping2 = json.load(file) - # Match the headers - file_types_mapping = match_headers(file_types_mapping_godot_cpp, mapping2) - - include_gen_folder = Path(target_dir) / "include" - for file_godot_cpp_name, file_godot_names in file_types_mapping.items(): - header_filename = file_godot_cpp_name.replace("godot_cpp", "godot_compat") - header_filepath = include_gen_folder / header_filename - Path(os.path.dirname(header_filepath)).mkdir(parents=True, exist_ok=True) - result = [] - snake_header_name = camel_to_snake(header_filename) - add_header(f"{snake_header_name}.hpp", result) - - header_guard = f"GODOT_COMPAT_{os.path.splitext(os.path.basename(header_filepath).upper())[0]}_HPP" - result.append(f"#ifndef {header_guard}") - result.append(f"#define {header_guard}") - result.append("") - result.append(f"#ifdef GODOT_MODULE_COMPAT") - for file_godot_name in file_godot_names: - result.append(f"#include <{file_godot_name}>") - result.append(f"#else") - result.append(f"#include <{file_godot_cpp_name}>") - result.append(f"using namespace godot;") - result.append(f"#endif") - result.append("") - result.append(f"#endif // ! {header_guard}") - with header_filepath.open("w+", encoding="utf-8") as header_file: - header_file.write("\n".join(result)) - - -def generate_engine_class_header(class_api, used_classes, fully_used_classes, use_template_get_node): - global singletons - result = [] - - class_name = class_api["name"] - snake_class_name = camel_to_snake(class_name).upper() - is_singleton = class_name in singletons - - add_header(f"{snake_class_name.lower()}.hpp", result) - - header_guard = f"GODOT_CPP_{snake_class_name}_HPP" - - result.append(f"#ifndef {header_guard}") - result.append(f"#define {header_guard}") - - result.append("") - - for included in fully_used_classes: - if included == "TypedArray": - result.append("#include ") - else: - result.append(f"#include ") - - if class_name == "EditorPlugin": - result.append("#include ") - - if len(fully_used_classes) > 0: - result.append("") - - if class_name != "Object" and class_name != "ClassDBSingleton": - result.append("#include ") - result.append("") - result.append("#include ") - result.append("") - - result.append("namespace godot {") - result.append("") - - for type_name in used_classes: - if is_struct_type(type_name): - result.append(f"struct {type_name};") - else: - 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} {{") - - if "alias_for" in class_api: - result.append(f"\tGDEXTENSION_CLASS_ALIAS({class_name}, {class_api['alias_for']}, {inherits})") - else: - result.append(f"\tGDEXTENSION_CLASS({class_name}, {inherits})") - result.append("") - - result.append("public:") - result.append("") - - if "enums" in class_api: - for enum_api in class_api["enums"]: - if enum_api["is_bitfield"]: - result.append(f'\tenum {enum_api["name"]} : uint64_t {{') - else: - 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("") - - if "constants" in class_api: - for value in class_api["constants"]: - if "type" not in value: - value["type"] = "int" - result.append(f'\tstatic const {value["type"]} {value["name"]} = {value["value"]};') - result.append("") - - if is_singleton: - result.append(f"\tstatic {class_name} *get_singleton();") - result.append("") - - if "methods" in class_api: - for method in class_api["methods"]: - if method["is_virtual"]: - # Will be done later. - continue - - vararg = "is_vararg" in method and method["is_vararg"] - - method_signature = "\t" - if vararg: - method_signature += "private: " - method_signature += make_signature( - class_name, method, for_header=True, use_template_get_node=use_template_get_node - ) - result.append(method_signature + ";") - - if vararg: - # Add templated version. - result += make_varargs_template(method) - - # Virtuals now. - for method in class_api["methods"]: - if not method["is_virtual"]: - continue - - method_signature = "\t" - method_signature += make_signature( - class_name, method, for_header=True, use_template_get_node=use_template_get_node - ) - result.append(method_signature + ";") - - result.append("protected:") - # T is the custom class we want to register (from which the call initiates, going up the inheritance chain), - # B is its base class (can be a custom class too, that's why we pass it). - result.append("\ttemplate ") - result.append("\tstatic void register_virtuals() {") - if class_name != "Object": - result.append(f"\t\t{inherits}::register_virtuals();") - if "methods" in class_api: - for method in class_api["methods"]: - if not method["is_virtual"]: - continue - method_name = escape_identifier(method["name"]) - result.append( - # If the method is different from the base class, it means T overrides it, so it needs to be bound. - # Note that with an `if constexpr`, the code inside the `if` will not even be compiled if the - # condition returns false (in such cases it can't compile due to ambiguity). - f"\t\tif constexpr (!std::is_same_v) {{" - ) - result.append(f"\t\t\tBIND_VIRTUAL_METHOD(T, {method_name});") - result.append("\t\t}") - - result.append("\t}") - result.append("") - result.append("public:") - - # Special cases. - if class_name == "XMLParser": - result.append("\tError _open_buffer(const uint8_t *p_buffer, size_t p_size);") - - if class_name == "FileAccess": - result.append("\tuint64_t get_buffer(uint8_t *p_dst, uint64_t p_length) const;") - result.append("\tvoid store_buffer(const uint8_t *p_src, uint64_t p_length);") - - if class_name == "WorkerThreadPool": - result.append("\tenum {") - result.append("\tINVALID_TASK_ID = -1") - result.append("\t};") - result.append("\ttypedef int64_t TaskID;") - result.append("\ttypedef int64_t GroupID;") - result.append( - "\tTaskID add_native_task(void (*p_func)(void *), void *p_userdata, bool p_high_priority = false, const String &p_description = String());" - ) - result.append( - "\tGroupID add_native_group_task(void (*p_func)(void *, uint32_t), void *p_userdata, int p_elements, int p_tasks = -1, bool p_high_priority = false, const String &p_description = String());" - ) - - if class_name == "Object": - result.append("") - - result.append("\ttemplate") - result.append("\tstatic T *cast_to(Object *p_object);") - - result.append("\ttemplate") - result.append("\tstatic const T *cast_to(const Object *p_object);") - - result.append("\tvirtual ~Object() = default;") - - elif use_template_get_node and class_name == "Node": - result.append("\ttemplate") - result.append( - "\tT *get_node(const NodePath &p_path) const { return Object::cast_to(get_node_internal(p_path)); }" - ) - - result.append("") - result.append("};") - result.append("") - - result.append("} // namespace godot") - result.append("") - - if "enums" in class_api and class_name != "Object": - for enum_api in class_api["enums"]: - if enum_api["is_bitfield"]: - result.append(f'VARIANT_BITFIELD_CAST({class_name}::{enum_api["name"]});') - else: - result.append(f'VARIANT_ENUM_CAST({class_name}::{enum_api["name"]});') - result.append("") - - if class_name == "ClassDBSingleton": - result.append("#define CLASSDB_SINGLETON_FORWARD_METHODS \\") - for method in class_api["methods"]: - # ClassDBSingleton shouldn't have any static or vararg methods, but if some appear later, lets skip them. - if vararg: - continue - if "is_static" in method and method["is_static"]: - continue - - method_signature = "\tstatic " - if "return_type" in method: - method_signature += f'{correct_type(method["return_type"])} ' - elif "return_value" in method: - method_signature += ( - correct_type(method["return_value"]["type"], method["return_value"].get("meta", None)) + " " - ) - 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=False - ) - - method_signature += ") { \\" - - result.append(method_signature) - - method_body = "\t\t" - if "return_type" in method or "return_value" in method: - method_body += "return " - method_body += f'ClassDBSingleton::get_singleton()->{method["name"]}(' - method_body += ", ".join(map(lambda x: escape_identifier(x["name"]), method_arguments)) - method_body += "); \\" - - result.append(method_body) - result.append("\t} \\") - result.append("\t;") - result.append("") - - 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): - global singletons - result = [] - - class_name = class_api["name"] - snake_class_name = camel_to_snake(class_name) - is_singleton = class_name in singletons - - add_header(f"{snake_class_name}.cpp", result) - - result.append(f"#include ") - result.append("") - result.append("#include ") - result.append("#include ") - result.append("") - - for included in used_classes: - result.append(f"#include ") - - if len(used_classes) > 0: - result.append("") - - result.append("namespace godot {") - result.append("") - - if is_singleton: - result.append(f"{class_name} *{class_name}::get_singleton() {{") - # We assume multi-threaded access is OK because each assignment will assign the same value every time - result.append(f"\tstatic {class_name} *singleton = nullptr;") - result.append("\tif (unlikely(singleton == nullptr)) {") - result.append( - f"\t\tGDExtensionObjectPtr singleton_obj = internal::gdextension_interface_global_get_singleton({class_name}::get_class_static()._native_ptr());" - ) - result.append("#ifdef DEBUG_ENABLED") - result.append("\t\tERR_FAIL_NULL_V(singleton_obj, nullptr);") - result.append("#endif // DEBUG_ENABLED") - result.append( - f"\t\tsingleton = reinterpret_cast<{class_name} *>(internal::gdextension_interface_object_get_instance_binding(singleton_obj, internal::token, &{class_name}::_gde_binding_callbacks));" - ) - result.append("#ifdef DEBUG_ENABLED") - result.append("\t\tERR_FAIL_NULL_V(singleton, nullptr);") - result.append("#endif // DEBUG_ENABLED") - result.append("\t}") - result.append("\treturn singleton;") - result.append("}") - result.append("") - - if "methods" in class_api: - for method in class_api["methods"]: - if method["is_virtual"]: - # Will be done later - continue - - vararg = "is_vararg" in method and method["is_vararg"] - - # Method signature. - method_signature = make_signature(class_name, method, use_template_get_node=use_template_get_node) - result.append(method_signature + " {") - - # Method body. - result.append( - f'\tstatic GDExtensionMethodBindPtr _gde_method_bind = internal::gdextension_interface_classdb_get_method_bind({class_name}::get_class_static()._native_ptr(), StringName("{method["name"]}")._native_ptr(), {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(_gde_method_bind, {get_default_value_for_type(method["return_value"]["type"])});' - ) - else: - result.append("\tCHECK_METHOD_BIND(_gde_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_enum(return_type): - if method["is_static"]: - method_call += f"return ({get_gdextension_type(correct_type(return_type, meta_type))})internal::_call_native_mb_ret(_gde_method_bind, nullptr" - else: - method_call += f"return ({get_gdextension_type(correct_type(return_type, meta_type))})internal::_call_native_mb_ret(_gde_method_bind, _owner" - elif is_pod_type(return_type) or is_variant(return_type): - if method["is_static"]: - method_call += f"return internal::_call_native_mb_ret<{get_gdextension_type(correct_type(return_type, meta_type))}>(_gde_method_bind, nullptr" - else: - method_call += f"return internal::_call_native_mb_ret<{get_gdextension_type(correct_type(return_type, meta_type))}>(_gde_method_bind, _owner" - elif is_refcounted(return_type): - if method["is_static"]: - method_call += f"return Ref<{return_type}>::_gde_internal_constructor(internal::_call_native_mb_ret_obj<{return_type}>(_gde_method_bind, nullptr" - else: - method_call += f"return Ref<{return_type}>::_gde_internal_constructor(internal::_call_native_mb_ret_obj<{return_type}>(_gde_method_bind, _owner" - is_ref = True - else: - if method["is_static"]: - method_call += ( - f"return internal::_call_native_mb_ret_obj<{return_type}>(_gde_method_bind, nullptr" - ) - else: - method_call += ( - f"return internal::_call_native_mb_ret_obj<{return_type}>(_gde_method_bind, _owner" - ) - else: - if method["is_static"]: - method_call += "internal::_call_native_mb_no_ret(_gde_method_bind, nullptr" - else: - method_call += "internal::_call_native_mb_no_ret(_gde_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("\tGDExtensionCallError error;") - result.append("\tVariant ret;") - method_call += "internal::gdextension_interface_object_method_bind_call(_gde_method_bind, _owner, reinterpret_cast(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"): - return_type = get_enum_fullname(method["return_value"]["type"]) - if return_type != "Variant": - result.append(f"\treturn VariantCaster<{return_type}>::cast(ret);") - else: - result.append("\treturn ret;") - - result.append("}") - result.append("") - - # Virtuals now. - for method in class_api["methods"]: - if not method["is_virtual"]: - continue - - method_signature = make_signature(class_name, method, use_template_get_node=use_template_get_node) - method_signature += " {" - if "return_value" in method and correct_type(method["return_value"]["type"]) != "void": - result.append(method_signature) - result.append(f'\treturn {get_default_value_for_type(method["return_value"]["type"])};') - result.append("}") - else: - method_signature += "}" - result.append(method_signature) - 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("#include ") - header.append("") - header.append("namespace godot {") - header.append("") - - for constant in api["global_constants"]: - header.append(f'\tconst int64_t {escape_identifier(constant["name"])} = {constant["value"]};') - - header.append("") - - for enum_def in api["global_enums"]: - if enum_def["name"].startswith("Variant."): - continue - - if enum_def["is_bitfield"]: - header.append(f'\tenum {enum_def["name"]} : uint64_t {{') - else: - 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+", encoding="utf-8") as header_file: - header_file.write("\n".join(header)) - - -def generate_version_header(api, output_dir): - header = [] - header_filename = "version.hpp" - add_header(header_filename, header) - - include_gen_folder = Path(output_dir) / "include" / "godot_cpp" / "core" - include_gen_folder.mkdir(parents=True, exist_ok=True) - - header_file_path = include_gen_folder / header_filename - - header_guard = "GODOT_CPP_VERSION_HPP" - header.append(f"#ifndef {header_guard}") - header.append(f"#define {header_guard}") - header.append("") - - header.append(f"#define GODOT_VERSION_MAJOR {api['header']['version_major']}") - header.append(f"#define GODOT_VERSION_MINOR {api['header']['version_minor']}") - header.append(f"#define GODOT_VERSION_PATCH {api['header']['version_patch']}") - header.append(f"#define GODOT_VERSION_STATUS \"{api['header']['version_status']}\"") - header.append(f"#define GODOT_VERSION_BUILD \"{api['header']['version_build']}\"") - - header.append("") - header.append(f"#endif // {header_guard}") - header.append("") - - with header_file_path.open("w+", encoding="utf-8") as header_file: - header_file.write("\n".join(header)) - - -def generate_global_constant_binds(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_binds.hpp", header) - - header_filename = include_gen_folder / "global_constants_binds.hpp" - - header_guard = "GODOT_CPP_GLOBAL_CONSTANTS_BINDS_HPP" - header.append(f"#ifndef {header_guard}") - header.append(f"#define {header_guard}") - header.append("") - header.append("#include ") - header.append("") - - for enum_def in api["global_enums"]: - if enum_def["name"].startswith("Variant."): - continue - - if enum_def["is_bitfield"]: - header.append(f'VARIANT_BITFIELD_CAST({enum_def["name"]});') - else: - header.append(f'VARIANT_ENUM_CAST({enum_def["name"]});') - - # Variant::Type is not a global enum, but only one line, it is worth to place in this file instead of creating new file. - header.append(f"VARIANT_ENUM_CAST(godot::Variant::Type);") - - header.append("") - - header.append(f"#endif // ! {header_guard}") - - with header_filename.open("w+", encoding="utf-8") 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" - function_signature += make_signature("UtilityFunctions", function, for_header=True, static=True) - header.append(function_signature + ";") - - if vararg: - # Add templated version. - header += make_varargs_template(function, static=True) - - header.append("};") - header.append("") - header.append("} // namespace godot") - header.append("") - header.append(f"#endif // ! {header_guard}") - - with header_filename.open("w+", encoding="utf-8") 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 = make_signature("UtilityFunctions", function) - source.append(function_signature + " {") - - # Function body. - - source.append( - f'\tstatic GDExtensionPtrUtilityFunction _gde_function = internal::gdextension_interface_variant_get_ptr_utility_function(StringName("{function["name"]}")._native_ptr(), {function["hash"]});' - ) - has_return = "return_type" in function and function["return_type"] != "void" - if has_return: - source.append( - f'\tCHECK_METHOD_BIND_RET(_gde_function, {get_default_value_for_type(function["return_type"])});' - ) - else: - source.append("\tCHECK_METHOD_BIND(_gde_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(_gde_function" - else: - function_call += f'internal::_call_utility_ret<{get_gdextension_type(correct_type(function["return_type"]))}>(_gde_function' - else: - function_call += "internal::_call_utility_no_ret(_gde_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: - if has_return: - source.append(f'\t{get_gdextension_type(correct_type(function["return_type"]))} ret;') - else: - source.append("\tVariant ret;") - function_call += "_gde_function(&ret, reinterpret_cast(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+", encoding="utf-8") as source_file: - source_file.write("\n".join(source)) - - -# Helper functions. - - -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 index, par in enumerate(parameters): - parameter = type_for_parameter(par["type"], par["meta"] if "meta" in par else None) - parameter_name = escape_identifier(par["name"]) - if len(parameter_name) == 0: - parameter_name = "arg_" + str(index + 1) - parameter += parameter_name - - if include_default and "default_value" in par and (not for_builtin or par["type"] != "Variant"): - parameter += " = " - if is_enum(par["type"]): - parameter_type = correct_type(par["type"]) - if parameter_type == "void": - parameter_type = "Variant" - parameter += f"({parameter_type})" - parameter += correct_default_value(par["default_value"], par["type"]) - signature.append(parameter) - - if is_vararg: - signature.append("const Args&... args") - - return ", ".join(signature) - - -def type_for_parameter(type_name, meta=None): - if type_name == "void": - return "Variant " - elif 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)}" - - -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" - - return f"{base_dir}/{camel_to_snake(type_name)}.hpp" - - -def get_encoded_arg(arg_name, type_name, type_meta): - result = [] - - name = escape_identifier(arg_name) - arg_type = correct_type(type_name) - if is_pod_type(arg_type): - result.append(f"\t{get_gdextension_type(arg_type)} {name}_encoded;") - result.append(f"\tPtrToArg<{correct_type(type_name)}>::encode({name}, &{name}_encoded);") - name = f"&{name}_encoded" - elif is_engine_class(type_name): - # `{name}` is a C++ wrapper, it contains a field which is the object's pointer Godot expects. - # We have to check `nullptr` because when the caller sends `nullptr`, the wrapper itself will be null. - name = f"({name} != nullptr ? &{name}->_owner : nullptr)" - else: - name = f"&{name}" - - return (result, name) - - -def make_signature( - class_name, function_data, for_header=False, use_template_get_node=True, for_builtin=False, static=False -): - function_signature = "" - - is_vararg = "is_vararg" in function_data and function_data["is_vararg"] - - if for_header: - if "is_virtual" in function_data and function_data["is_virtual"]: - function_signature += "virtual " - - if is_vararg: - function_signature += "private: " - - if static: - function_signature += "static " - - return_type = "void" - return_meta = None - if "return_type" in function_data: - return_type = correct_type(function_data["return_type"]) - elif "return_value" in function_data: - return_type = function_data["return_value"]["type"] - return_meta = function_data["return_value"]["meta"] if "meta" in function_data["return_value"] else None - - function_signature += correct_type( - return_type, - return_meta, - ) - - if not function_signature.endswith("*"): - function_signature += " " - - if not for_header: - function_signature += f"{class_name}::" - - function_signature += escape_identifier(function_data["name"]) - - if is_vararg or ( - not for_builtin and use_template_get_node and class_name == "Node" and function_data["name"] == "get_node" - ): - function_signature += "_internal" - - function_signature += "(" - - arguments = function_data["arguments"] if "arguments" in function_data else [] - - if not is_vararg: - function_signature += make_function_parameters(arguments, for_header, for_builtin, is_vararg) - else: - function_signature += "const Variant **args, GDExtensionInt arg_count" - - function_signature += ")" - - if "is_static" in function_data and function_data["is_static"] and for_header: - function_signature = "static " + function_signature - elif "is_const" in function_data and function_data["is_const"]: - function_signature += " const" - - return function_signature - - -def make_varargs_template( - function_data, - static=False, - class_befor_signature="", - with_public_declare=True, - with_indent=True, - for_builtin_classes=False, -): - result = [] - - function_signature = "" - - if with_public_declare: - function_signature = "public: " - - function_signature += "template " - - if static: - function_signature += "static " - - return_type = "void" - return_meta = None - if "return_type" in function_data: - return_type = correct_type(function_data["return_type"]) - elif "return_value" in function_data: - return_type = function_data["return_value"]["type"] - return_meta = function_data["return_value"]["meta"] if "meta" in function_data["return_value"] else None - - function_signature += correct_type( - return_type, - return_meta, - ) - - if not function_signature.endswith("*"): - function_signature += " " - - if len(class_befor_signature) > 0: - function_signature += class_befor_signature + "::" - function_signature += f'{escape_identifier(function_data["name"])}' - - method_arguments = [] - if "arguments" in function_data: - method_arguments = function_data["arguments"] - - function_signature += "(" - - is_vararg = "is_vararg" in function_data and function_data["is_vararg"] - - function_signature += make_function_parameters(method_arguments, include_default=True, is_vararg=is_vararg) - - function_signature += ")" - - if "is_const" in function_data and function_data["is_const"]: - function_signature += " const" - - function_signature += " {" - result.append(function_signature) - - args_array = f"\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"\tstd::array call_args;") - result.append("\tfor(size_t i = 0; i < variant_args.size(); i++) {") - result.append("\t\tcall_args[i] = &variant_args[i];") - result.append("\t}") - - call_line = "\t" - - if not for_builtin_classes: - if return_type != "void": - call_line += "return " - - call_line += f'{escape_identifier(function_data["name"])}_internal(call_args.data(), variant_args.size());' - result.append(call_line) - else: - base = "(GDExtensionTypePtr)&opaque" - if static: - base = "nullptr" - - ret = "nullptr" - if return_type != "void": - ret = "&ret" - result.append(f'\t{correct_type(function_data["return_type"])} ret;') - - function_name = function_data["name"] - result.append( - f"\t_method_bindings.method_{function_name}({base}, reinterpret_cast(call_args.data()), {ret}, {len(method_arguments)} + sizeof...(Args));" - ) - - if return_type != "void": - result.append("\treturn ret;") - - result.append("}") - - if with_indent: - for i in range(len(result)): - result[i] = "\t" + result[i] - - return result - - -# Engine idiosyncrasies. - - -def is_pod_type(type_name): - """ - Those are types for which no class should be generated. - """ - return type_name in [ - "Nil", - "void", - "bool", - "real_t", - "float", - "double", - "int", - "int8_t", - "uint8_t", - "int16_t", - "uint16_t", - "int32_t", - "int64_t", - "uint32_t", - "uint64_t", - ] - - -def is_included_type(type_name): - # Types which we already have implemented. - return is_included_struct_type(type_name) or type_name in ["ObjectID"] - - -def is_included_struct_type(type_name): - # Struct types which we already have implemented. - return type_name in [ - "AABB", - "Basis", - "Color", - "Plane", - "Projection", - "Quaternion", - "Rect2", - "Rect2i", - "Transform2D", - "Transform3D", - "Vector2", - "Vector2i", - "Vector3", - "Vector3i", - "Vector4", - "Vector4i", - ] - - -def is_packed_array(type_name): - """ - Those are types for which we add our extra packed array functions. - """ - return type_name in [ - "PackedByteArray", - "PackedColorArray", - "PackedFloat32Array", - "PackedFloat64Array", - "PackedInt32Array", - "PackedInt64Array", - "PackedStringArray", - "PackedVector2Array", - "PackedVector3Array", - ] - - -def needs_copy_instead_of_move(type_name): - """ - Those are types which need initialised data or we'll get warning spam so need a copy instead of move. - """ - return type_name in [ - "Dictionary", - ] - - -def is_enum(type_name): - return type_name.startswith("enum::") or type_name.startswith("bitfield::") - - -def is_bitfield(type_name): - return type_name.startswith("bitfield::") - - -def get_enum_class(enum_name: str): - if "." in enum_name: - if is_bitfield(enum_name): - return enum_name.replace("bitfield::", "").split(".")[0] - else: - return enum_name.replace("enum::", "").split(".")[0] - else: - return "GlobalConstants" - - -def get_enum_fullname(enum_name: str): - if is_bitfield(enum_name): - return enum_name.replace("bitfield::", "BitField<") + ">" - else: - return enum_name.replace("enum::", "") - - -def get_enum_name(enum_name: str): - if is_bitfield(enum_name): - return enum_name.replace("bitfield::", "").split(".")[-1] - else: - return enum_name.replace("enum::", "").split(".")[-1] - - -def is_variant(type_name): - return ( - type_name == "Variant" - or type_name in builtin_classes - or type_name == "Nil" - or type_name.startswith("typedarray::") - ) - - -def is_engine_class(type_name): - global engine_classes - return type_name == "Object" or type_name in engine_classes - - -def is_struct_type(type_name): - # This is used to determine which keyword to use for forward declarations. - global native_structures - return is_included_struct_type(type_name) or type_name in native_structures - - -def is_refcounted(type_name): - return type_name in engine_classes and engine_classes[type_name] - - -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. - """ - if type_name.startswith("typedarray::"): - return True - to_include = get_enum_class(type_name) if is_enum(type_name) else type_name - if to_include == current_type or is_pod_type(to_include): - return False - if to_include == "GlobalConstants" or to_include == "UtilityFunctions": - return True - return is_engine_class(to_include) or is_variant(to_include) - - -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 value in value_map: - return value_map[value] - if value == "": - return f"{type_name}()" - if value.startswith("Array["): - return f"{{}}" - return value - - -def correct_typed_array(type_name): - if type_name.startswith("typedarray::"): - return type_name.replace("typedarray::", "TypedArray<") + ">" - return type_name - - -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" - elif meta in type_conversion: - return type_conversion[type_name] - else: - return meta - if type_name in type_conversion: - return type_conversion[type_name] - if type_name.startswith("typedarray::"): - return type_name.replace("typedarray::", "TypedArray<") + ">" - if is_enum(type_name): - if is_bitfield(type_name): - base_class = get_enum_class(type_name) - if base_class == "GlobalConstants": - return f"BitField<{get_enum_name(type_name)}>" - return f"BitField<{base_class}::{get_enum_name(type_name)}>" - else: - 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} *" - if type_name.endswith("*"): - return f"{type_name[:-1]} *" - return type_name - - -def get_gdextension_type(type_name): - type_conversion_map = { - "bool": "int8_t", - "uint8_t": "int64_t", - "int8_t": "int64_t", - "uint16_t": "int64_t", - "int16_t": "int64_t", - "uint32_t": "int64_t", - "int32_t": "int64_t", - "int": "int64_t", - "float": "double", - } - - if type_name.startswith("BitField<"): - return "int64_t" - - 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", - "enum": "_enum", - } - 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", - "**": "power", - "<<": "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 type_name.startswith("typedarray::"): - return f"{correct_type(type_name)}()" - 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) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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/thirdparty/godot-cpp/cmake/GodotCompilerWarnings.cmake b/thirdparty/godot-cpp/cmake/GodotCompilerWarnings.cmake deleted file mode 100644 index 423e636..0000000 --- a/thirdparty/godot-cpp/cmake/GodotCompilerWarnings.cmake +++ /dev/null @@ -1,94 +0,0 @@ -# Add warnings based on compiler & version -# Set some helper variables for readability -set( compiler_less_than_v8 "$,8>" ) -set( compiler_greater_than_or_equal_v9 "$,9>" ) -set( compiler_greater_than_or_equal_v11 "$,11>" ) -set( compiler_less_than_v11 "$,11>" ) -set( compiler_greater_than_or_equal_v12 "$,12>" ) - -# These compiler options reflect what is in godot/SConstruct. -target_compile_options( ${PROJECT_NAME} PRIVATE - # MSVC only - $<${compiler_is_msvc}: - /W4 - - # Disable warnings which we don't plan to fix. - /wd4100 # C4100 (unreferenced formal parameter): Doesn't play nice with polymorphism. - /wd4127 # C4127 (conditional expression is constant) - /wd4201 # C4201 (non-standard nameless struct/union): Only relevant for C89. - /wd4244 # C4244 C4245 C4267 (narrowing conversions): Unavoidable at this scale. - /wd4245 - /wd4267 - /wd4305 # C4305 (truncation): double to float or real_t, too hard to avoid. - /wd4514 # C4514 (unreferenced inline function has been removed) - /wd4714 # C4714 (function marked as __forceinline not inlined) - /wd4820 # C4820 (padding added after construct) - > - - # Clang and GNU common options - $<$: - -Wall - -Wctor-dtor-privacy - -Wextra - -Wno-unused-parameter - -Wnon-virtual-dtor - -Wwrite-strings - > - - # Clang only - $<${compiler_is_clang}: - -Wimplicit-fallthrough - -Wno-ordered-compare-function-pointers - > - - # GNU only - $<${compiler_is_gnu}: - -Walloc-zero - -Wduplicated-branches - -Wduplicated-cond - -Wno-misleading-indentation - -Wplacement-new=1 - -Wshadow-local - -Wstringop-overflow=4 - > - $<$: - # Bogus warning fixed in 8+. - -Wno-strict-overflow - > - $<$: - -Wattribute-alias=2 - > - $<$: - # Broke on MethodBind templates before GCC 11. - -Wlogical-op - > - $<$: - # Regression in GCC 9/10, spams so much in our variadic templates that we need to outright disable it. - -Wno-type-limits - > - $<$: - # False positives in our error macros, see GH-58747. - -Wno-return-type - > -) - -# Treat warnings as errors -function( set_warning_as_error ) - message( STATUS "[${PROJECT_NAME}] Treating warnings as errors") - if ( CMAKE_VERSION VERSION_GREATER_EQUAL "3.24" ) - set_target_properties( ${PROJECT_NAME} - PROPERTIES - COMPILE_WARNING_AS_ERROR ON - ) - else() - target_compile_options( ${PROJECT_NAME} - PRIVATE - $<${compiler_is_msvc}:/WX> - $<$:-Werror> - ) - endif() -endfunction() - -if ( GODOT_CPP_WARNING_AS_ERROR ) - set_warning_as_error() -endif() diff --git a/thirdparty/godot-cpp/compat_generator.py b/thirdparty/godot-cpp/compat_generator.py deleted file mode 100644 index 13fd114..0000000 --- a/thirdparty/godot-cpp/compat_generator.py +++ /dev/null @@ -1,63 +0,0 @@ -import re -import os -import json -import sys - - -def parse_header_file(file_path): - types = {"classes": [], "structs": [], "defines": []} - - with open(file_path, "r", encoding="utf-8") as file: - content = file.read() - - # Regular expressions to match different types - struct_pattern = r"struct\s+[\w\s]*?([a-zA-Z_]\w*)\s*[:{]" - class_pattern = r"class\s+[\w\s]*?([a-zA-Z_]\w*)\s*[:{]" - define_pattern = r"#define\s+([a-zA-Z_]\w*)" - - # Extract classes - types["classes"] += re.findall(class_pattern, content) - - # Extract structs - types["structs"] += re.findall(struct_pattern, content) - - # Extract defines - define_matches = re.findall(define_pattern, content) - types["defines"] += define_matches - - if len(types["classes"]) == 0 and len(types["structs"]) == 0 and len(types["defines"]) == 0: - print(f"{file_path} missing things") - return types - - -def map_header_files(directory): - file_types_mapping = {} - - for root, dirs, files in os.walk(directory): - if "thirdparty" in dirs: - dirs.remove("thirdparty") - if "tests" in dirs: - dirs.remove("tests") - if "test" in dirs: - dirs.remove("test") - if "misc" in dirs: - dirs.remove("misc") - for file in files: - if file.endswith(".h") or file.endswith(".hpp"): - relative_path = os.path.relpath(root, directory) - file_path = os.path.join(root, file) - file_types_mapping[f"{relative_path}/{file}"] = parse_header_file(file_path) - - return file_types_mapping - - -if __name__ == "__main__": - # Get current directory - current_directory = os.getcwd() - - if len(sys.argv) > 1: - current_directory = os.path.join(os.getcwd(), sys.argv[1]) - - file_types_mapping = map_header_files(current_directory) - with open("output_header_mapping.json", "w") as json_file: - json.dump(file_types_mapping, json_file, indent=4) diff --git a/thirdparty/godot-cpp/gdextension/README.md b/thirdparty/godot-cpp/gdextension/README.md deleted file mode 100644 index 1e11f9a..0000000 --- a/thirdparty/godot-cpp/gdextension/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# GDExtension header and API - -This repository contains the C header and API JSON for -[**Godot Engine**](https://github.com/godotengine/godot)'s *GDExtensions* API. - -## Updating header and API - -If the current branch is not up-to-date for your needs, or if you want to sync -the header and API JSON with your own modified version of Godot, here is the -update procedure used to sync this repository with upstream releases: - -- Compile [Godot Engine](https://github.com/godotengine/godot) at the specific - version/commit which you are using. - * Or if you use an official release, download that version of the Godot editor. -- Use the compiled or downloaded executable to generate the `extension_api.json` - and `gdextension_interface.h` files with: - -``` -godot --dump-extension-api --dump-gdextension-interface -``` diff --git a/thirdparty/godot-cpp/gdextension/extension_api.json b/thirdparty/godot-cpp/gdextension/extension_api.json deleted file mode 100644 index cfd5ebe..0000000 --- a/thirdparty/godot-cpp/gdextension/extension_api.json +++ /dev/null @@ -1,283797 +0,0 @@ -{ - "header": { - "version_major": 4, - "version_minor": 2, - "version_patch": 0, - "version_status": "stable", - "version_build": "official", - "version_full_name": "Godot Engine v4.2.stable.official" - }, - "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": "Vector4", - "size": 16 - }, - { - "name": "Vector4i", - "size": 16 - }, - { - "name": "Plane", - "size": 16 - }, - { - "name": "Quaternion", - "size": 16 - }, - { - "name": "AABB", - "size": 24 - }, - { - "name": "Basis", - "size": 36 - }, - { - "name": "Transform3D", - "size": 48 - }, - { - "name": "Projection", - "size": 64 - }, - { - "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": "Vector4", - "size": 16 - }, - { - "name": "Vector4i", - "size": 16 - }, - { - "name": "Plane", - "size": 16 - }, - { - "name": "Quaternion", - "size": 16 - }, - { - "name": "AABB", - "size": 24 - }, - { - "name": "Basis", - "size": 36 - }, - { - "name": "Transform3D", - "size": 48 - }, - { - "name": "Projection", - "size": 64 - }, - { - "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": "Vector4", - "size": 32 - }, - { - "name": "Vector4i", - "size": 16 - }, - { - "name": "Plane", - "size": 32 - }, - { - "name": "Quaternion", - "size": 32 - }, - { - "name": "AABB", - "size": 48 - }, - { - "name": "Basis", - "size": 72 - }, - { - "name": "Transform3D", - "size": 96 - }, - { - "name": "Projection", - "size": 128 - }, - { - "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": "Vector4", - "size": 32 - }, - { - "name": "Vector4i", - "size": 16 - }, - { - "name": "Plane", - "size": 32 - }, - { - "name": "Quaternion", - "size": 32 - }, - { - "name": "AABB", - "size": 48 - }, - { - "name": "Basis", - "size": 72 - }, - { - "name": "Transform3D", - "size": 96 - }, - { - "name": "Projection", - "size": 128 - }, - { - "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, - "meta": "float" - }, - { - "member": "y", - "offset": 4, - "meta": "float" - } - ] - }, - { - "name": "Vector2i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - } - ] - }, - { - "name": "Rect2", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector2" - }, - { - "member": "size", - "offset": 8, - "meta": "Vector2" - } - ] - }, - { - "name": "Rect2i", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector2i" - }, - { - "member": "size", - "offset": 8, - "meta": "Vector2i" - } - ] - }, - { - "name": "Vector3", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "float" - }, - { - "member": "y", - "offset": 4, - "meta": "float" - }, - { - "member": "z", - "offset": 8, - "meta": "float" - } - ] - }, - { - "name": "Vector3i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - }, - { - "member": "z", - "offset": 8, - "meta": "int32" - } - ] - }, - { - "name": "Transform2D", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector2" - }, - { - "member": "y", - "offset": 8, - "meta": "Vector2" - }, - { - "member": "origin", - "offset": 16, - "meta": "Vector2" - } - ] - }, - { - "name": "Vector4", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "float" - }, - { - "member": "y", - "offset": 4, - "meta": "float" - }, - { - "member": "z", - "offset": 8, - "meta": "float" - }, - { - "member": "w", - "offset": 12, - "meta": "float" - } - ] - }, - { - "name": "Vector4i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - }, - { - "member": "z", - "offset": 8, - "meta": "int32" - }, - { - "member": "w", - "offset": 12, - "meta": "int32" - } - ] - }, - { - "name": "Plane", - "members": [ - { - "member": "normal", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "d", - "offset": 12, - "meta": "float" - } - ] - }, - { - "name": "Quaternion", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "float" - }, - { - "member": "y", - "offset": 4, - "meta": "float" - }, - { - "member": "z", - "offset": 8, - "meta": "float" - }, - { - "member": "w", - "offset": 12, - "meta": "float" - } - ] - }, - { - "name": "AABB", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "size", - "offset": 12, - "meta": "Vector3" - } - ] - }, - { - "name": "Basis", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "y", - "offset": 12, - "meta": "Vector3" - }, - { - "member": "z", - "offset": 24, - "meta": "Vector3" - } - ] - }, - { - "name": "Transform3D", - "members": [ - { - "member": "basis", - "offset": 0, - "meta": "Basis" - }, - { - "member": "origin", - "offset": 36, - "meta": "Vector3" - } - ] - }, - { - "name": "Projection", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector4" - }, - { - "member": "y", - "offset": 16, - "meta": "Vector4" - }, - { - "member": "z", - "offset": 32, - "meta": "Vector4" - }, - { - "member": "w", - "offset": 48, - "meta": "Vector4" - } - ] - }, - { - "name": "Color", - "members": [ - { - "member": "r", - "offset": 0, - "meta": "float" - }, - { - "member": "g", - "offset": 4, - "meta": "float" - }, - { - "member": "b", - "offset": 8, - "meta": "float" - }, - { - "member": "a", - "offset": 12, - "meta": "float" - } - ] - } - ] - }, - { - "build_configuration": "float_64", - "classes": [ - { - "name": "Vector2", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "float" - }, - { - "member": "y", - "offset": 4, - "meta": "float" - } - ] - }, - { - "name": "Vector2i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - } - ] - }, - { - "name": "Rect2", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector2" - }, - { - "member": "size", - "offset": 8, - "meta": "Vector2" - } - ] - }, - { - "name": "Rect2i", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector2i" - }, - { - "member": "size", - "offset": 8, - "meta": "Vector2i" - } - ] - }, - { - "name": "Vector3", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "float" - }, - { - "member": "y", - "offset": 4, - "meta": "float" - }, - { - "member": "z", - "offset": 8, - "meta": "float" - } - ] - }, - { - "name": "Vector3i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - }, - { - "member": "z", - "offset": 8, - "meta": "int32" - } - ] - }, - { - "name": "Transform2D", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector2" - }, - { - "member": "y", - "offset": 8, - "meta": "Vector2" - }, - { - "member": "origin", - "offset": 16, - "meta": "Vector2" - } - ] - }, - { - "name": "Vector4", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "float" - }, - { - "member": "y", - "offset": 4, - "meta": "float" - }, - { - "member": "z", - "offset": 8, - "meta": "float" - }, - { - "member": "w", - "offset": 12, - "meta": "float" - } - ] - }, - { - "name": "Vector4i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - }, - { - "member": "z", - "offset": 8, - "meta": "int32" - }, - { - "member": "w", - "offset": 12, - "meta": "int32" - } - ] - }, - { - "name": "Plane", - "members": [ - { - "member": "normal", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "d", - "offset": 12, - "meta": "float" - } - ] - }, - { - "name": "Quaternion", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "float" - }, - { - "member": "y", - "offset": 4, - "meta": "float" - }, - { - "member": "z", - "offset": 8, - "meta": "float" - }, - { - "member": "w", - "offset": 12, - "meta": "float" - } - ] - }, - { - "name": "AABB", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "size", - "offset": 12, - "meta": "Vector3" - } - ] - }, - { - "name": "Basis", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "y", - "offset": 12, - "meta": "Vector3" - }, - { - "member": "z", - "offset": 24, - "meta": "Vector3" - } - ] - }, - { - "name": "Transform3D", - "members": [ - { - "member": "basis", - "offset": 0, - "meta": "Basis" - }, - { - "member": "origin", - "offset": 36, - "meta": "Vector3" - } - ] - }, - { - "name": "Projection", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector4" - }, - { - "member": "y", - "offset": 16, - "meta": "Vector4" - }, - { - "member": "z", - "offset": 32, - "meta": "Vector4" - }, - { - "member": "w", - "offset": 48, - "meta": "Vector4" - } - ] - }, - { - "name": "Color", - "members": [ - { - "member": "r", - "offset": 0, - "meta": "float" - }, - { - "member": "g", - "offset": 4, - "meta": "float" - }, - { - "member": "b", - "offset": 8, - "meta": "float" - }, - { - "member": "a", - "offset": 12, - "meta": "float" - } - ] - } - ] - }, - { - "build_configuration": "double_32", - "classes": [ - { - "name": "Vector2", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "double" - }, - { - "member": "y", - "offset": 8, - "meta": "double" - } - ] - }, - { - "name": "Vector2i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - } - ] - }, - { - "name": "Rect2", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector2" - }, - { - "member": "size", - "offset": 16, - "meta": "Vector2" - } - ] - }, - { - "name": "Rect2i", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector2i" - }, - { - "member": "size", - "offset": 8, - "meta": "Vector2i" - } - ] - }, - { - "name": "Vector3", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "double" - }, - { - "member": "y", - "offset": 8, - "meta": "double" - }, - { - "member": "z", - "offset": 16, - "meta": "double" - } - ] - }, - { - "name": "Vector3i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - }, - { - "member": "z", - "offset": 8, - "meta": "int32" - } - ] - }, - { - "name": "Transform2D", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector2" - }, - { - "member": "y", - "offset": 16, - "meta": "Vector2" - }, - { - "member": "origin", - "offset": 32, - "meta": "Vector2" - } - ] - }, - { - "name": "Vector4", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "double" - }, - { - "member": "y", - "offset": 8, - "meta": "double" - }, - { - "member": "z", - "offset": 16, - "meta": "double" - }, - { - "member": "w", - "offset": 24, - "meta": "double" - } - ] - }, - { - "name": "Vector4i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - }, - { - "member": "z", - "offset": 8, - "meta": "int32" - }, - { - "member": "w", - "offset": 12, - "meta": "int32" - } - ] - }, - { - "name": "Plane", - "members": [ - { - "member": "normal", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "d", - "offset": 24, - "meta": "double" - } - ] - }, - { - "name": "Quaternion", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "double" - }, - { - "member": "y", - "offset": 8, - "meta": "double" - }, - { - "member": "z", - "offset": 16, - "meta": "double" - }, - { - "member": "w", - "offset": 24, - "meta": "double" - } - ] - }, - { - "name": "AABB", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "size", - "offset": 24, - "meta": "Vector3" - } - ] - }, - { - "name": "Basis", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "y", - "offset": 24, - "meta": "Vector3" - }, - { - "member": "z", - "offset": 48, - "meta": "Vector3" - } - ] - }, - { - "name": "Transform3D", - "members": [ - { - "member": "basis", - "offset": 0, - "meta": "Basis" - }, - { - "member": "origin", - "offset": 72, - "meta": "Vector3" - } - ] - }, - { - "name": "Projection", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector4" - }, - { - "member": "y", - "offset": 32, - "meta": "Vector4" - }, - { - "member": "z", - "offset": 64, - "meta": "Vector4" - }, - { - "member": "w", - "offset": 96, - "meta": "Vector4" - } - ] - }, - { - "name": "Color", - "members": [ - { - "member": "r", - "offset": 0, - "meta": "float" - }, - { - "member": "g", - "offset": 4, - "meta": "float" - }, - { - "member": "b", - "offset": 8, - "meta": "float" - }, - { - "member": "a", - "offset": 12, - "meta": "float" - } - ] - } - ] - }, - { - "build_configuration": "double_64", - "classes": [ - { - "name": "Vector2", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "double" - }, - { - "member": "y", - "offset": 8, - "meta": "double" - } - ] - }, - { - "name": "Vector2i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - } - ] - }, - { - "name": "Rect2", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector2" - }, - { - "member": "size", - "offset": 16, - "meta": "Vector2" - } - ] - }, - { - "name": "Rect2i", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector2i" - }, - { - "member": "size", - "offset": 8, - "meta": "Vector2i" - } - ] - }, - { - "name": "Vector3", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "double" - }, - { - "member": "y", - "offset": 8, - "meta": "double" - }, - { - "member": "z", - "offset": 16, - "meta": "double" - } - ] - }, - { - "name": "Vector3i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - }, - { - "member": "z", - "offset": 8, - "meta": "int32" - } - ] - }, - { - "name": "Transform2D", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector2" - }, - { - "member": "y", - "offset": 16, - "meta": "Vector2" - }, - { - "member": "origin", - "offset": 32, - "meta": "Vector2" - } - ] - }, - { - "name": "Vector4", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "double" - }, - { - "member": "y", - "offset": 8, - "meta": "double" - }, - { - "member": "z", - "offset": 16, - "meta": "double" - }, - { - "member": "w", - "offset": 24, - "meta": "double" - } - ] - }, - { - "name": "Vector4i", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "int32" - }, - { - "member": "y", - "offset": 4, - "meta": "int32" - }, - { - "member": "z", - "offset": 8, - "meta": "int32" - }, - { - "member": "w", - "offset": 12, - "meta": "int32" - } - ] - }, - { - "name": "Plane", - "members": [ - { - "member": "normal", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "d", - "offset": 24, - "meta": "double" - } - ] - }, - { - "name": "Quaternion", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "double" - }, - { - "member": "y", - "offset": 8, - "meta": "double" - }, - { - "member": "z", - "offset": 16, - "meta": "double" - }, - { - "member": "w", - "offset": 24, - "meta": "double" - } - ] - }, - { - "name": "AABB", - "members": [ - { - "member": "position", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "size", - "offset": 24, - "meta": "Vector3" - } - ] - }, - { - "name": "Basis", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector3" - }, - { - "member": "y", - "offset": 24, - "meta": "Vector3" - }, - { - "member": "z", - "offset": 48, - "meta": "Vector3" - } - ] - }, - { - "name": "Transform3D", - "members": [ - { - "member": "basis", - "offset": 0, - "meta": "Basis" - }, - { - "member": "origin", - "offset": 72, - "meta": "Vector3" - } - ] - }, - { - "name": "Projection", - "members": [ - { - "member": "x", - "offset": 0, - "meta": "Vector4" - }, - { - "member": "y", - "offset": 32, - "meta": "Vector4" - }, - { - "member": "z", - "offset": 64, - "meta": "Vector4" - }, - { - "member": "w", - "offset": 96, - "meta": "Vector4" - } - ] - }, - { - "name": "Color", - "members": [ - { - "member": "r", - "offset": 0, - "meta": "float" - }, - { - "member": "g", - "offset": 4, - "meta": "float" - }, - { - "member": "b", - "offset": 8, - "meta": "float" - }, - { - "member": "a", - "offset": 12, - "meta": "float" - } - ] - } - ] - } - ], - "global_constants": [], - "global_enums": [ - { - "name": "Side", - "is_bitfield": false, - "values": [ - { - "name": "SIDE_LEFT", - "value": 0 - }, - { - "name": "SIDE_TOP", - "value": 1 - }, - { - "name": "SIDE_RIGHT", - "value": 2 - }, - { - "name": "SIDE_BOTTOM", - "value": 3 - } - ] - }, - { - "name": "Corner", - "is_bitfield": false, - "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": "Orientation", - "is_bitfield": false, - "values": [ - { - "name": "VERTICAL", - "value": 1 - }, - { - "name": "HORIZONTAL", - "value": 0 - } - ] - }, - { - "name": "ClockDirection", - "is_bitfield": false, - "values": [ - { - "name": "CLOCKWISE", - "value": 0 - }, - { - "name": "COUNTERCLOCKWISE", - "value": 1 - } - ] - }, - { - "name": "HorizontalAlignment", - "is_bitfield": false, - "values": [ - { - "name": "HORIZONTAL_ALIGNMENT_LEFT", - "value": 0 - }, - { - "name": "HORIZONTAL_ALIGNMENT_CENTER", - "value": 1 - }, - { - "name": "HORIZONTAL_ALIGNMENT_RIGHT", - "value": 2 - }, - { - "name": "HORIZONTAL_ALIGNMENT_FILL", - "value": 3 - } - ] - }, - { - "name": "VerticalAlignment", - "is_bitfield": false, - "values": [ - { - "name": "VERTICAL_ALIGNMENT_TOP", - "value": 0 - }, - { - "name": "VERTICAL_ALIGNMENT_CENTER", - "value": 1 - }, - { - "name": "VERTICAL_ALIGNMENT_BOTTOM", - "value": 2 - }, - { - "name": "VERTICAL_ALIGNMENT_FILL", - "value": 3 - } - ] - }, - { - "name": "InlineAlignment", - "is_bitfield": false, - "values": [ - { - "name": "INLINE_ALIGNMENT_TOP_TO", - "value": 0 - }, - { - "name": "INLINE_ALIGNMENT_CENTER_TO", - "value": 1 - }, - { - "name": "INLINE_ALIGNMENT_BASELINE_TO", - "value": 3 - }, - { - "name": "INLINE_ALIGNMENT_BOTTOM_TO", - "value": 2 - }, - { - "name": "INLINE_ALIGNMENT_TO_TOP", - "value": 0 - }, - { - "name": "INLINE_ALIGNMENT_TO_CENTER", - "value": 4 - }, - { - "name": "INLINE_ALIGNMENT_TO_BASELINE", - "value": 8 - }, - { - "name": "INLINE_ALIGNMENT_TO_BOTTOM", - "value": 12 - }, - { - "name": "INLINE_ALIGNMENT_TOP", - "value": 0 - }, - { - "name": "INLINE_ALIGNMENT_CENTER", - "value": 5 - }, - { - "name": "INLINE_ALIGNMENT_BOTTOM", - "value": 14 - }, - { - "name": "INLINE_ALIGNMENT_IMAGE_MASK", - "value": 3 - }, - { - "name": "INLINE_ALIGNMENT_TEXT_MASK", - "value": 12 - } - ] - }, - { - "name": "EulerOrder", - "is_bitfield": false, - "values": [ - { - "name": "EULER_ORDER_XYZ", - "value": 0 - }, - { - "name": "EULER_ORDER_XZY", - "value": 1 - }, - { - "name": "EULER_ORDER_YXZ", - "value": 2 - }, - { - "name": "EULER_ORDER_YZX", - "value": 3 - }, - { - "name": "EULER_ORDER_ZXY", - "value": 4 - }, - { - "name": "EULER_ORDER_ZYX", - "value": 5 - } - ] - }, - { - "name": "Key", - "is_bitfield": false, - "values": [ - { - "name": "KEY_NONE", - "value": 0 - }, - { - "name": "KEY_SPECIAL", - "value": 4194304 - }, - { - "name": "KEY_ESCAPE", - "value": 4194305 - }, - { - "name": "KEY_TAB", - "value": 4194306 - }, - { - "name": "KEY_BACKTAB", - "value": 4194307 - }, - { - "name": "KEY_BACKSPACE", - "value": 4194308 - }, - { - "name": "KEY_ENTER", - "value": 4194309 - }, - { - "name": "KEY_KP_ENTER", - "value": 4194310 - }, - { - "name": "KEY_INSERT", - "value": 4194311 - }, - { - "name": "KEY_DELETE", - "value": 4194312 - }, - { - "name": "KEY_PAUSE", - "value": 4194313 - }, - { - "name": "KEY_PRINT", - "value": 4194314 - }, - { - "name": "KEY_SYSREQ", - "value": 4194315 - }, - { - "name": "KEY_CLEAR", - "value": 4194316 - }, - { - "name": "KEY_HOME", - "value": 4194317 - }, - { - "name": "KEY_END", - "value": 4194318 - }, - { - "name": "KEY_LEFT", - "value": 4194319 - }, - { - "name": "KEY_UP", - "value": 4194320 - }, - { - "name": "KEY_RIGHT", - "value": 4194321 - }, - { - "name": "KEY_DOWN", - "value": 4194322 - }, - { - "name": "KEY_PAGEUP", - "value": 4194323 - }, - { - "name": "KEY_PAGEDOWN", - "value": 4194324 - }, - { - "name": "KEY_SHIFT", - "value": 4194325 - }, - { - "name": "KEY_CTRL", - "value": 4194326 - }, - { - "name": "KEY_META", - "value": 4194327 - }, - { - "name": "KEY_ALT", - "value": 4194328 - }, - { - "name": "KEY_CAPSLOCK", - "value": 4194329 - }, - { - "name": "KEY_NUMLOCK", - "value": 4194330 - }, - { - "name": "KEY_SCROLLLOCK", - "value": 4194331 - }, - { - "name": "KEY_F1", - "value": 4194332 - }, - { - "name": "KEY_F2", - "value": 4194333 - }, - { - "name": "KEY_F3", - "value": 4194334 - }, - { - "name": "KEY_F4", - "value": 4194335 - }, - { - "name": "KEY_F5", - "value": 4194336 - }, - { - "name": "KEY_F6", - "value": 4194337 - }, - { - "name": "KEY_F7", - "value": 4194338 - }, - { - "name": "KEY_F8", - "value": 4194339 - }, - { - "name": "KEY_F9", - "value": 4194340 - }, - { - "name": "KEY_F10", - "value": 4194341 - }, - { - "name": "KEY_F11", - "value": 4194342 - }, - { - "name": "KEY_F12", - "value": 4194343 - }, - { - "name": "KEY_F13", - "value": 4194344 - }, - { - "name": "KEY_F14", - "value": 4194345 - }, - { - "name": "KEY_F15", - "value": 4194346 - }, - { - "name": "KEY_F16", - "value": 4194347 - }, - { - "name": "KEY_F17", - "value": 4194348 - }, - { - "name": "KEY_F18", - "value": 4194349 - }, - { - "name": "KEY_F19", - "value": 4194350 - }, - { - "name": "KEY_F20", - "value": 4194351 - }, - { - "name": "KEY_F21", - "value": 4194352 - }, - { - "name": "KEY_F22", - "value": 4194353 - }, - { - "name": "KEY_F23", - "value": 4194354 - }, - { - "name": "KEY_F24", - "value": 4194355 - }, - { - "name": "KEY_F25", - "value": 4194356 - }, - { - "name": "KEY_F26", - "value": 4194357 - }, - { - "name": "KEY_F27", - "value": 4194358 - }, - { - "name": "KEY_F28", - "value": 4194359 - }, - { - "name": "KEY_F29", - "value": 4194360 - }, - { - "name": "KEY_F30", - "value": 4194361 - }, - { - "name": "KEY_F31", - "value": 4194362 - }, - { - "name": "KEY_F32", - "value": 4194363 - }, - { - "name": "KEY_F33", - "value": 4194364 - }, - { - "name": "KEY_F34", - "value": 4194365 - }, - { - "name": "KEY_F35", - "value": 4194366 - }, - { - "name": "KEY_KP_MULTIPLY", - "value": 4194433 - }, - { - "name": "KEY_KP_DIVIDE", - "value": 4194434 - }, - { - "name": "KEY_KP_SUBTRACT", - "value": 4194435 - }, - { - "name": "KEY_KP_PERIOD", - "value": 4194436 - }, - { - "name": "KEY_KP_ADD", - "value": 4194437 - }, - { - "name": "KEY_KP_0", - "value": 4194438 - }, - { - "name": "KEY_KP_1", - "value": 4194439 - }, - { - "name": "KEY_KP_2", - "value": 4194440 - }, - { - "name": "KEY_KP_3", - "value": 4194441 - }, - { - "name": "KEY_KP_4", - "value": 4194442 - }, - { - "name": "KEY_KP_5", - "value": 4194443 - }, - { - "name": "KEY_KP_6", - "value": 4194444 - }, - { - "name": "KEY_KP_7", - "value": 4194445 - }, - { - "name": "KEY_KP_8", - "value": 4194446 - }, - { - "name": "KEY_KP_9", - "value": 4194447 - }, - { - "name": "KEY_MENU", - "value": 4194370 - }, - { - "name": "KEY_HYPER", - "value": 4194371 - }, - { - "name": "KEY_HELP", - "value": 4194373 - }, - { - "name": "KEY_BACK", - "value": 4194376 - }, - { - "name": "KEY_FORWARD", - "value": 4194377 - }, - { - "name": "KEY_STOP", - "value": 4194378 - }, - { - "name": "KEY_REFRESH", - "value": 4194379 - }, - { - "name": "KEY_VOLUMEDOWN", - "value": 4194380 - }, - { - "name": "KEY_VOLUMEMUTE", - "value": 4194381 - }, - { - "name": "KEY_VOLUMEUP", - "value": 4194382 - }, - { - "name": "KEY_MEDIAPLAY", - "value": 4194388 - }, - { - "name": "KEY_MEDIASTOP", - "value": 4194389 - }, - { - "name": "KEY_MEDIAPREVIOUS", - "value": 4194390 - }, - { - "name": "KEY_MEDIANEXT", - "value": 4194391 - }, - { - "name": "KEY_MEDIARECORD", - "value": 4194392 - }, - { - "name": "KEY_HOMEPAGE", - "value": 4194393 - }, - { - "name": "KEY_FAVORITES", - "value": 4194394 - }, - { - "name": "KEY_SEARCH", - "value": 4194395 - }, - { - "name": "KEY_STANDBY", - "value": 4194396 - }, - { - "name": "KEY_OPENURL", - "value": 4194397 - }, - { - "name": "KEY_LAUNCHMAIL", - "value": 4194398 - }, - { - "name": "KEY_LAUNCHMEDIA", - "value": 4194399 - }, - { - "name": "KEY_LAUNCH0", - "value": 4194400 - }, - { - "name": "KEY_LAUNCH1", - "value": 4194401 - }, - { - "name": "KEY_LAUNCH2", - "value": 4194402 - }, - { - "name": "KEY_LAUNCH3", - "value": 4194403 - }, - { - "name": "KEY_LAUNCH4", - "value": 4194404 - }, - { - "name": "KEY_LAUNCH5", - "value": 4194405 - }, - { - "name": "KEY_LAUNCH6", - "value": 4194406 - }, - { - "name": "KEY_LAUNCH7", - "value": 4194407 - }, - { - "name": "KEY_LAUNCH8", - "value": 4194408 - }, - { - "name": "KEY_LAUNCH9", - "value": 4194409 - }, - { - "name": "KEY_LAUNCHA", - "value": 4194410 - }, - { - "name": "KEY_LAUNCHB", - "value": 4194411 - }, - { - "name": "KEY_LAUNCHC", - "value": 4194412 - }, - { - "name": "KEY_LAUNCHD", - "value": 4194413 - }, - { - "name": "KEY_LAUNCHE", - "value": 4194414 - }, - { - "name": "KEY_LAUNCHF", - "value": 4194415 - }, - { - "name": "KEY_GLOBE", - "value": 4194416 - }, - { - "name": "KEY_KEYBOARD", - "value": 4194417 - }, - { - "name": "KEY_JIS_EISU", - "value": 4194418 - }, - { - "name": "KEY_JIS_KANA", - "value": 4194419 - }, - { - "name": "KEY_UNKNOWN", - "value": 8388607 - }, - { - "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_YEN", - "value": 165 - }, - { - "name": "KEY_SECTION", - "value": 167 - } - ] - }, - { - "name": "KeyModifierMask", - "is_bitfield": true, - "values": [ - { - "name": "KEY_CODE_MASK", - "value": 8388607 - }, - { - "name": "KEY_MODIFIER_MASK", - "value": 532676608 - }, - { - "name": "KEY_MASK_CMD_OR_CTRL", - "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_KPAD", - "value": 536870912 - }, - { - "name": "KEY_MASK_GROUP_SWITCH", - "value": 1073741824 - } - ] - }, - { - "name": "MouseButton", - "is_bitfield": false, - "values": [ - { - "name": "MOUSE_BUTTON_NONE", - "value": 0 - }, - { - "name": "MOUSE_BUTTON_LEFT", - "value": 1 - }, - { - "name": "MOUSE_BUTTON_RIGHT", - "value": 2 - }, - { - "name": "MOUSE_BUTTON_MIDDLE", - "value": 3 - }, - { - "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_XBUTTON1", - "value": 8 - }, - { - "name": "MOUSE_BUTTON_XBUTTON2", - "value": 9 - } - ] - }, - { - "name": "MouseButtonMask", - "is_bitfield": true, - "values": [ - { - "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_MB_XBUTTON1", - "value": 128 - }, - { - "name": "MOUSE_BUTTON_MASK_MB_XBUTTON2", - "value": 256 - } - ] - }, - { - "name": "JoyButton", - "is_bitfield": false, - "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": 128 - } - ] - }, - { - "name": "JoyAxis", - "is_bitfield": false, - "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": "MIDIMessage", - "is_bitfield": false, - "values": [ - { - "name": "MIDI_MESSAGE_NONE", - "value": 0 - }, - { - "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": "MIDI_MESSAGE_SYSTEM_EXCLUSIVE", - "value": 240 - }, - { - "name": "MIDI_MESSAGE_QUARTER_FRAME", - "value": 241 - }, - { - "name": "MIDI_MESSAGE_SONG_POSITION_POINTER", - "value": 242 - }, - { - "name": "MIDI_MESSAGE_SONG_SELECT", - "value": 243 - }, - { - "name": "MIDI_MESSAGE_TUNE_REQUEST", - "value": 246 - }, - { - "name": "MIDI_MESSAGE_TIMING_CLOCK", - "value": 248 - }, - { - "name": "MIDI_MESSAGE_START", - "value": 250 - }, - { - "name": "MIDI_MESSAGE_CONTINUE", - "value": 251 - }, - { - "name": "MIDI_MESSAGE_STOP", - "value": 252 - }, - { - "name": "MIDI_MESSAGE_ACTIVE_SENSING", - "value": 254 - }, - { - "name": "MIDI_MESSAGE_SYSTEM_RESET", - "value": 255 - } - ] - }, - { - "name": "Error", - "is_bitfield": false, - "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": "PropertyHint", - "is_bitfield": false, - "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_LINK", - "value": 5 - }, - { - "name": "PROPERTY_HINT_FLAGS", - "value": 6 - }, - { - "name": "PROPERTY_HINT_LAYERS_2D_RENDER", - "value": 7 - }, - { - "name": "PROPERTY_HINT_LAYERS_2D_PHYSICS", - "value": 8 - }, - { - "name": "PROPERTY_HINT_LAYERS_2D_NAVIGATION", - "value": 9 - }, - { - "name": "PROPERTY_HINT_LAYERS_3D_RENDER", - "value": 10 - }, - { - "name": "PROPERTY_HINT_LAYERS_3D_PHYSICS", - "value": 11 - }, - { - "name": "PROPERTY_HINT_LAYERS_3D_NAVIGATION", - "value": 12 - }, - { - "name": "PROPERTY_HINT_LAYERS_AVOIDANCE", - "value": 37 - }, - { - "name": "PROPERTY_HINT_FILE", - "value": 13 - }, - { - "name": "PROPERTY_HINT_DIR", - "value": 14 - }, - { - "name": "PROPERTY_HINT_GLOBAL_FILE", - "value": 15 - }, - { - "name": "PROPERTY_HINT_GLOBAL_DIR", - "value": 16 - }, - { - "name": "PROPERTY_HINT_RESOURCE_TYPE", - "value": 17 - }, - { - "name": "PROPERTY_HINT_MULTILINE_TEXT", - "value": 18 - }, - { - "name": "PROPERTY_HINT_EXPRESSION", - "value": 19 - }, - { - "name": "PROPERTY_HINT_PLACEHOLDER_TEXT", - "value": 20 - }, - { - "name": "PROPERTY_HINT_COLOR_NO_ALPHA", - "value": 21 - }, - { - "name": "PROPERTY_HINT_OBJECT_ID", - "value": 22 - }, - { - "name": "PROPERTY_HINT_TYPE_STRING", - "value": 23 - }, - { - "name": "PROPERTY_HINT_NODE_PATH_TO_EDITED_NODE", - "value": 24 - }, - { - "name": "PROPERTY_HINT_OBJECT_TOO_BIG", - "value": 25 - }, - { - "name": "PROPERTY_HINT_NODE_PATH_VALID_TYPES", - "value": 26 - }, - { - "name": "PROPERTY_HINT_SAVE_FILE", - "value": 27 - }, - { - "name": "PROPERTY_HINT_GLOBAL_SAVE_FILE", - "value": 28 - }, - { - "name": "PROPERTY_HINT_INT_IS_OBJECTID", - "value": 29 - }, - { - "name": "PROPERTY_HINT_INT_IS_POINTER", - "value": 30 - }, - { - "name": "PROPERTY_HINT_ARRAY_TYPE", - "value": 31 - }, - { - "name": "PROPERTY_HINT_LOCALE_ID", - "value": 32 - }, - { - "name": "PROPERTY_HINT_LOCALIZABLE_STRING", - "value": 33 - }, - { - "name": "PROPERTY_HINT_NODE_TYPE", - "value": 34 - }, - { - "name": "PROPERTY_HINT_HIDE_QUATERNION_EDIT", - "value": 35 - }, - { - "name": "PROPERTY_HINT_PASSWORD", - "value": 36 - }, - { - "name": "PROPERTY_HINT_MAX", - "value": 38 - } - ] - }, - { - "name": "PropertyUsageFlags", - "is_bitfield": true, - "values": [ - { - "name": "PROPERTY_USAGE_NONE", - "value": 0 - }, - { - "name": "PROPERTY_USAGE_STORAGE", - "value": 2 - }, - { - "name": "PROPERTY_USAGE_EDITOR", - "value": 4 - }, - { - "name": "PROPERTY_USAGE_INTERNAL", - "value": 8 - }, - { - "name": "PROPERTY_USAGE_CHECKABLE", - "value": 16 - }, - { - "name": "PROPERTY_USAGE_CHECKED", - "value": 32 - }, - { - "name": "PROPERTY_USAGE_GROUP", - "value": 64 - }, - { - "name": "PROPERTY_USAGE_CATEGORY", - "value": 128 - }, - { - "name": "PROPERTY_USAGE_SUBGROUP", - "value": 256 - }, - { - "name": "PROPERTY_USAGE_CLASS_IS_BITFIELD", - "value": 512 - }, - { - "name": "PROPERTY_USAGE_NO_INSTANCE_STATE", - "value": 1024 - }, - { - "name": "PROPERTY_USAGE_RESTART_IF_CHANGED", - "value": 2048 - }, - { - "name": "PROPERTY_USAGE_SCRIPT_VARIABLE", - "value": 4096 - }, - { - "name": "PROPERTY_USAGE_STORE_IF_NULL", - "value": 8192 - }, - { - "name": "PROPERTY_USAGE_UPDATE_ALL_IF_MODIFIED", - "value": 16384 - }, - { - "name": "PROPERTY_USAGE_SCRIPT_DEFAULT_VALUE", - "value": 32768 - }, - { - "name": "PROPERTY_USAGE_CLASS_IS_ENUM", - "value": 65536 - }, - { - "name": "PROPERTY_USAGE_NIL_IS_VARIANT", - "value": 131072 - }, - { - "name": "PROPERTY_USAGE_ARRAY", - "value": 262144 - }, - { - "name": "PROPERTY_USAGE_ALWAYS_DUPLICATE", - "value": 524288 - }, - { - "name": "PROPERTY_USAGE_NEVER_DUPLICATE", - "value": 1048576 - }, - { - "name": "PROPERTY_USAGE_HIGH_END_GFX", - "value": 2097152 - }, - { - "name": "PROPERTY_USAGE_NODE_PATH_FROM_SCENE_ROOT", - "value": 4194304 - }, - { - "name": "PROPERTY_USAGE_RESOURCE_NOT_PERSISTENT", - "value": 8388608 - }, - { - "name": "PROPERTY_USAGE_KEYING_INCREMENTS", - "value": 16777216 - }, - { - "name": "PROPERTY_USAGE_DEFERRED_SET_RESOURCE", - "value": 33554432 - }, - { - "name": "PROPERTY_USAGE_EDITOR_INSTANTIATE_OBJECT", - "value": 67108864 - }, - { - "name": "PROPERTY_USAGE_EDITOR_BASIC_SETTING", - "value": 134217728 - }, - { - "name": "PROPERTY_USAGE_READ_ONLY", - "value": 268435456 - }, - { - "name": "PROPERTY_USAGE_SECRET", - "value": 536870912 - }, - { - "name": "PROPERTY_USAGE_DEFAULT", - "value": 6 - }, - { - "name": "PROPERTY_USAGE_NO_EDITOR", - "value": 2 - } - ] - }, - { - "name": "MethodFlags", - "is_bitfield": true, - "values": [ - { - "name": "METHOD_FLAG_NORMAL", - "value": 1 - }, - { - "name": "METHOD_FLAG_EDITOR", - "value": 2 - }, - { - "name": "METHOD_FLAG_CONST", - "value": 4 - }, - { - "name": "METHOD_FLAG_VIRTUAL", - "value": 8 - }, - { - "name": "METHOD_FLAG_VARARG", - "value": 16 - }, - { - "name": "METHOD_FLAG_STATIC", - "value": 32 - }, - { - "name": "METHOD_FLAG_OBJECT_CORE", - "value": 64 - }, - { - "name": "METHOD_FLAGS_DEFAULT", - "value": 1 - } - ] - }, - { - "name": "Variant.Type", - "is_bitfield": false, - "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_VECTOR4", - "value": 12 - }, - { - "name": "TYPE_VECTOR4I", - "value": 13 - }, - { - "name": "TYPE_PLANE", - "value": 14 - }, - { - "name": "TYPE_QUATERNION", - "value": 15 - }, - { - "name": "TYPE_AABB", - "value": 16 - }, - { - "name": "TYPE_BASIS", - "value": 17 - }, - { - "name": "TYPE_TRANSFORM3D", - "value": 18 - }, - { - "name": "TYPE_PROJECTION", - "value": 19 - }, - { - "name": "TYPE_COLOR", - "value": 20 - }, - { - "name": "TYPE_STRING_NAME", - "value": 21 - }, - { - "name": "TYPE_NODE_PATH", - "value": 22 - }, - { - "name": "TYPE_RID", - "value": 23 - }, - { - "name": "TYPE_OBJECT", - "value": 24 - }, - { - "name": "TYPE_CALLABLE", - "value": 25 - }, - { - "name": "TYPE_SIGNAL", - "value": 26 - }, - { - "name": "TYPE_DICTIONARY", - "value": 27 - }, - { - "name": "TYPE_ARRAY", - "value": 28 - }, - { - "name": "TYPE_PACKED_BYTE_ARRAY", - "value": 29 - }, - { - "name": "TYPE_PACKED_INT32_ARRAY", - "value": 30 - }, - { - "name": "TYPE_PACKED_INT64_ARRAY", - "value": 31 - }, - { - "name": "TYPE_PACKED_FLOAT32_ARRAY", - "value": 32 - }, - { - "name": "TYPE_PACKED_FLOAT64_ARRAY", - "value": 33 - }, - { - "name": "TYPE_PACKED_STRING_ARRAY", - "value": 34 - }, - { - "name": "TYPE_PACKED_VECTOR2_ARRAY", - "value": 35 - }, - { - "name": "TYPE_PACKED_VECTOR3_ARRAY", - "value": 36 - }, - { - "name": "TYPE_PACKED_COLOR_ARRAY", - "value": 37 - }, - { - "name": "TYPE_MAX", - "value": 38 - } - ] - }, - { - "name": "Variant.Operator", - "is_bitfield": false, - "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_POWER", - "value": 13 - }, - { - "name": "OP_SHIFT_LEFT", - "value": 14 - }, - { - "name": "OP_SHIFT_RIGHT", - "value": 15 - }, - { - "name": "OP_BIT_AND", - "value": 16 - }, - { - "name": "OP_BIT_OR", - "value": 17 - }, - { - "name": "OP_BIT_XOR", - "value": 18 - }, - { - "name": "OP_BIT_NEGATE", - "value": 19 - }, - { - "name": "OP_AND", - "value": 20 - }, - { - "name": "OP_OR", - "value": 21 - }, - { - "name": "OP_XOR", - "value": 22 - }, - { - "name": "OP_NOT", - "value": 23 - }, - { - "name": "OP_IN", - "value": 24 - }, - { - "name": "OP_MAX", - "value": 25 - } - ] - } - ], - "utility_functions": [ - { - "name": "sin", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "angle_rad", - "type": "float" - } - ] - }, - { - "name": "cos", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "angle_rad", - "type": "float" - } - ] - }, - { - "name": "tan", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "angle_rad", - "type": "float" - } - ] - }, - { - "name": "sinh", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "cosh", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "tanh", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "asin", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "acos", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "atan", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "atan2", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "y", - "type": "float" - }, - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "asinh", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "acosh", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "atanh", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "sqrt", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "fmod", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "fposmod", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - } - ] - }, - { - "name": "posmod", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 3133453818, - "arguments": [ - { - "name": "x", - "type": "int" - }, - { - "name": "y", - "type": "int" - } - ] - }, - { - "name": "floor", - "return_type": "Variant", - "category": "math", - "is_vararg": false, - "hash": 4776452, - "arguments": [ - { - "name": "x", - "type": "Variant" - } - ] - }, - { - "name": "floorf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "floori", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 2780425386, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "ceil", - "return_type": "Variant", - "category": "math", - "is_vararg": false, - "hash": 4776452, - "arguments": [ - { - "name": "x", - "type": "Variant" - } - ] - }, - { - "name": "ceilf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "ceili", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 2780425386, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "round", - "return_type": "Variant", - "category": "math", - "is_vararg": false, - "hash": 4776452, - "arguments": [ - { - "name": "x", - "type": "Variant" - } - ] - }, - { - "name": "roundf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "roundi", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 2780425386, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "abs", - "return_type": "Variant", - "category": "math", - "is_vararg": false, - "hash": 4776452, - "arguments": [ - { - "name": "x", - "type": "Variant" - } - ] - }, - { - "name": "absf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "absi", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 2157319888, - "arguments": [ - { - "name": "x", - "type": "int" - } - ] - }, - { - "name": "sign", - "return_type": "Variant", - "category": "math", - "is_vararg": false, - "hash": 4776452, - "arguments": [ - { - "name": "x", - "type": "Variant" - } - ] - }, - { - "name": "signf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "signi", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 2157319888, - "arguments": [ - { - "name": "x", - "type": "int" - } - ] - }, - { - "name": "snapped", - "return_type": "Variant", - "category": "math", - "is_vararg": false, - "hash": 459914704, - "arguments": [ - { - "name": "x", - "type": "Variant" - }, - { - "name": "step", - "type": "Variant" - } - ] - }, - { - "name": "snappedf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "x", - "type": "float" - }, - { - "name": "step", - "type": "float" - } - ] - }, - { - "name": "snappedi", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 3570758393, - "arguments": [ - { - "name": "x", - "type": "float" - }, - { - "name": "step", - "type": "int" - } - ] - }, - { - "name": "pow", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "base", - "type": "float" - }, - { - "name": "exp", - "type": "float" - } - ] - }, - { - "name": "log", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "exp", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "is_nan", - "return_type": "bool", - "category": "math", - "is_vararg": false, - "hash": 3569215213, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "is_inf", - "return_type": "bool", - "category": "math", - "is_vararg": false, - "hash": 3569215213, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "category": "math", - "is_vararg": false, - "hash": 1400789633, - "arguments": [ - { - "name": "a", - "type": "float" - }, - { - "name": "b", - "type": "float" - } - ] - }, - { - "name": "is_zero_approx", - "return_type": "bool", - "category": "math", - "is_vararg": false, - "hash": 3569215213, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "is_finite", - "return_type": "bool", - "category": "math", - "is_vararg": false, - "hash": 3569215213, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "ease", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "x", - "type": "float" - }, - { - "name": "curve", - "type": "float" - } - ] - }, - { - "name": "step_decimals", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 2780425386, - "arguments": [ - { - "name": "x", - "type": "float" - } - ] - }, - { - "name": "lerp", - "return_type": "Variant", - "category": "math", - "is_vararg": false, - "hash": 3389874542, - "arguments": [ - { - "name": "from", - "type": "Variant" - }, - { - "name": "to", - "type": "Variant" - }, - { - "name": "weight", - "type": "Variant" - } - ] - }, - { - "name": "lerpf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 998901048, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "cubic_interpolate", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 1090965791, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - }, - { - "name": "pre", - "type": "float" - }, - { - "name": "post", - "type": "float" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "cubic_interpolate_angle", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 1090965791, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - }, - { - "name": "pre", - "type": "float" - }, - { - "name": "post", - "type": "float" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "cubic_interpolate_in_time", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 388121036, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - }, - { - "name": "pre", - "type": "float" - }, - { - "name": "post", - "type": "float" - }, - { - "name": "weight", - "type": "float" - }, - { - "name": "to_t", - "type": "float" - }, - { - "name": "pre_t", - "type": "float" - }, - { - "name": "post_t", - "type": "float" - } - ] - }, - { - "name": "cubic_interpolate_angle_in_time", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 388121036, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - }, - { - "name": "pre", - "type": "float" - }, - { - "name": "post", - "type": "float" - }, - { - "name": "weight", - "type": "float" - }, - { - "name": "to_t", - "type": "float" - }, - { - "name": "pre_t", - "type": "float" - }, - { - "name": "post_t", - "type": "float" - } - ] - }, - { - "name": "bezier_interpolate", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 1090965791, - "arguments": [ - { - "name": "start", - "type": "float" - }, - { - "name": "control_1", - "type": "float" - }, - { - "name": "control_2", - "type": "float" - }, - { - "name": "end", - "type": "float" - }, - { - "name": "t", - "type": "float" - } - ] - }, - { - "name": "bezier_derivative", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 1090965791, - "arguments": [ - { - "name": "start", - "type": "float" - }, - { - "name": "control_1", - "type": "float" - }, - { - "name": "control_2", - "type": "float" - }, - { - "name": "end", - "type": "float" - }, - { - "name": "t", - "type": "float" - } - ] - }, - { - "name": "angle_difference", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - } - ] - }, - { - "name": "lerp_angle", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 998901048, - "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": 998901048, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "remap", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 1090965791, - "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": 998901048, - "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": 998901048, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - }, - { - "name": "delta", - "type": "float" - } - ] - }, - { - "name": "rotate_toward", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 998901048, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - }, - { - "name": "delta", - "type": "float" - } - ] - }, - { - "name": "deg_to_rad", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "deg", - "type": "float" - } - ] - }, - { - "name": "rad_to_deg", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "rad", - "type": "float" - } - ] - }, - { - "name": "linear_to_db", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "lin", - "type": "float" - } - ] - }, - { - "name": "db_to_linear", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 2140049587, - "arguments": [ - { - "name": "db", - "type": "float" - } - ] - }, - { - "name": "wrap", - "return_type": "Variant", - "category": "math", - "is_vararg": false, - "hash": 3389874542, - "arguments": [ - { - "name": "value", - "type": "Variant" - }, - { - "name": "min", - "type": "Variant" - }, - { - "name": "max", - "type": "Variant" - } - ] - }, - { - "name": "wrapi", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 650295447, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "min", - "type": "int" - }, - { - "name": "max", - "type": "int" - } - ] - }, - { - "name": "wrapf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 998901048, - "arguments": [ - { - "name": "value", - "type": "float" - }, - { - "name": "min", - "type": "float" - }, - { - "name": "max", - "type": "float" - } - ] - }, - { - "name": "max", - "return_type": "Variant", - "category": "math", - "is_vararg": true, - "hash": 3896050336, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - }, - { - "name": "arg2", - "type": "Variant" - } - ] - }, - { - "name": "maxi", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 3133453818, - "arguments": [ - { - "name": "a", - "type": "int" - }, - { - "name": "b", - "type": "int" - } - ] - }, - { - "name": "maxf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "a", - "type": "float" - }, - { - "name": "b", - "type": "float" - } - ] - }, - { - "name": "min", - "return_type": "Variant", - "category": "math", - "is_vararg": true, - "hash": 3896050336, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - }, - { - "name": "arg2", - "type": "Variant" - } - ] - }, - { - "name": "mini", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 3133453818, - "arguments": [ - { - "name": "a", - "type": "int" - }, - { - "name": "b", - "type": "int" - } - ] - }, - { - "name": "minf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "a", - "type": "float" - }, - { - "name": "b", - "type": "float" - } - ] - }, - { - "name": "clamp", - "return_type": "Variant", - "category": "math", - "is_vararg": false, - "hash": 3389874542, - "arguments": [ - { - "name": "value", - "type": "Variant" - }, - { - "name": "min", - "type": "Variant" - }, - { - "name": "max", - "type": "Variant" - } - ] - }, - { - "name": "clampi", - "return_type": "int", - "category": "math", - "is_vararg": false, - "hash": 650295447, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "min", - "type": "int" - }, - { - "name": "max", - "type": "int" - } - ] - }, - { - "name": "clampf", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 998901048, - "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": 2157319888, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "pingpong", - "return_type": "float", - "category": "math", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "value", - "type": "float" - }, - { - "name": "length", - "type": "float" - } - ] - }, - { - "name": "randomize", - "category": "random", - "is_vararg": false, - "hash": 1691721052 - }, - { - "name": "randi", - "return_type": "int", - "category": "random", - "is_vararg": false, - "hash": 701202648 - }, - { - "name": "randf", - "return_type": "float", - "category": "random", - "is_vararg": false, - "hash": 2086227845 - }, - { - "name": "randi_range", - "return_type": "int", - "category": "random", - "is_vararg": false, - "hash": 3133453818, - "arguments": [ - { - "name": "from", - "type": "int" - }, - { - "name": "to", - "type": "int" - } - ] - }, - { - "name": "randf_range", - "return_type": "float", - "category": "random", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "from", - "type": "float" - }, - { - "name": "to", - "type": "float" - } - ] - }, - { - "name": "randfn", - "return_type": "float", - "category": "random", - "is_vararg": false, - "hash": 92296394, - "arguments": [ - { - "name": "mean", - "type": "float" - }, - { - "name": "deviation", - "type": "float" - } - ] - }, - { - "name": "seed", - "category": "random", - "is_vararg": false, - "hash": 382931173, - "arguments": [ - { - "name": "base", - "type": "int" - } - ] - }, - { - "name": "rand_from_seed", - "return_type": "PackedInt64Array", - "category": "random", - "is_vararg": false, - "hash": 1391063685, - "arguments": [ - { - "name": "seed", - "type": "int" - } - ] - }, - { - "name": "weakref", - "return_type": "Variant", - "category": "general", - "is_vararg": false, - "hash": 4776452, - "arguments": [ - { - "name": "obj", - "type": "Variant" - } - ] - }, - { - "name": "typeof", - "return_type": "int", - "category": "general", - "is_vararg": false, - "hash": 326422594, - "arguments": [ - { - "name": "variable", - "type": "Variant" - } - ] - }, - { - "name": "type_convert", - "return_type": "Variant", - "category": "general", - "is_vararg": false, - "hash": 2453062746, - "arguments": [ - { - "name": "variant", - "type": "Variant" - }, - { - "name": "type", - "type": "int" - } - ] - }, - { - "name": "str", - "return_type": "String", - "category": "general", - "is_vararg": true, - "hash": 32569176, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "error_string", - "return_type": "String", - "category": "general", - "is_vararg": false, - "hash": 942708242, - "arguments": [ - { - "name": "error", - "type": "int" - } - ] - }, - { - "name": "type_string", - "return_type": "String", - "category": "general", - "is_vararg": false, - "hash": 942708242, - "arguments": [ - { - "name": "type", - "type": "int" - } - ] - }, - { - "name": "print", - "category": "general", - "is_vararg": true, - "hash": 2648703342, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "print_rich", - "category": "general", - "is_vararg": true, - "hash": 2648703342, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "printerr", - "category": "general", - "is_vararg": true, - "hash": 2648703342, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "printt", - "category": "general", - "is_vararg": true, - "hash": 2648703342, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "prints", - "category": "general", - "is_vararg": true, - "hash": 2648703342, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "printraw", - "category": "general", - "is_vararg": true, - "hash": 2648703342, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "print_verbose", - "category": "general", - "is_vararg": true, - "hash": 2648703342, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "push_error", - "category": "general", - "is_vararg": true, - "hash": 2648703342, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "push_warning", - "category": "general", - "is_vararg": true, - "hash": 2648703342, - "arguments": [ - { - "name": "arg1", - "type": "Variant" - } - ] - }, - { - "name": "var_to_str", - "return_type": "String", - "category": "general", - "is_vararg": false, - "hash": 866625479, - "arguments": [ - { - "name": "variable", - "type": "Variant" - } - ] - }, - { - "name": "str_to_var", - "return_type": "Variant", - "category": "general", - "is_vararg": false, - "hash": 1891498491, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "var_to_bytes", - "return_type": "PackedByteArray", - "category": "general", - "is_vararg": false, - "hash": 2947269930, - "arguments": [ - { - "name": "variable", - "type": "Variant" - } - ] - }, - { - "name": "bytes_to_var", - "return_type": "Variant", - "category": "general", - "is_vararg": false, - "hash": 4249819452, - "arguments": [ - { - "name": "bytes", - "type": "PackedByteArray" - } - ] - }, - { - "name": "var_to_bytes_with_objects", - "return_type": "PackedByteArray", - "category": "general", - "is_vararg": false, - "hash": 2947269930, - "arguments": [ - { - "name": "variable", - "type": "Variant" - } - ] - }, - { - "name": "bytes_to_var_with_objects", - "return_type": "Variant", - "category": "general", - "is_vararg": false, - "hash": 4249819452, - "arguments": [ - { - "name": "bytes", - "type": "PackedByteArray" - } - ] - }, - { - "name": "hash", - "return_type": "int", - "category": "general", - "is_vararg": false, - "hash": 326422594, - "arguments": [ - { - "name": "variable", - "type": "Variant" - } - ] - }, - { - "name": "instance_from_id", - "return_type": "Object", - "category": "general", - "is_vararg": false, - "hash": 1156694636, - "arguments": [ - { - "name": "instance_id", - "type": "int" - } - ] - }, - { - "name": "is_instance_id_valid", - "return_type": "bool", - "category": "general", - "is_vararg": false, - "hash": 2232439758, - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "is_instance_valid", - "return_type": "bool", - "category": "general", - "is_vararg": false, - "hash": 996128841, - "arguments": [ - { - "name": "instance", - "type": "Variant" - } - ] - }, - { - "name": "rid_allocate_id", - "return_type": "int", - "category": "general", - "is_vararg": false, - "hash": 701202648 - }, - { - "name": "rid_from_int64", - "return_type": "RID", - "category": "general", - "is_vararg": false, - "hash": 3426892196, - "arguments": [ - { - "name": "base", - "type": "int" - } - ] - }, - { - "name": "is_same", - "return_type": "bool", - "category": "general", - "is_vararg": false, - "hash": 1409423524, - "arguments": [ - { - "name": "a", - "type": "Variant" - }, - { - "name": "b", - "type": "Variant" - } - ] - } - ], - "builtin_classes": [ - { - "name": "Nil", - "is_keyed": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "or", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "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": "==", - "right_type": "int", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "int", - "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": "==", - "right_type": "float", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "float", - "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": "String", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "String", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Vector2", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Vector2", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Vector2i", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Vector2i", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Rect2", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Rect2", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Rect2i", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Rect2i", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Vector3", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Vector3", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Vector3i", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Vector3i", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Transform2D", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Transform2D", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Vector4", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Vector4", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Vector4i", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Vector4i", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Plane", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Plane", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Quaternion", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Quaternion", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "AABB", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "AABB", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Basis", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Basis", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Transform3D", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Transform3D", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Projection", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Projection", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Color", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Color", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "StringName", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "StringName", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "NodePath", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "NodePath", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "RID", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "RID", - "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": "==", - "right_type": "Callable", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Callable", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Signal", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Signal", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Dictionary", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Dictionary", - "return_type": "bool" - }, - { - "name": "in", - "right_type": "Dictionary", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Array", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Array", - "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": "PackedInt32Array", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "PackedInt32Array", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "PackedInt64Array", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "PackedInt64Array", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "PackedFloat32Array", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "PackedFloat32Array", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "PackedFloat64Array", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "PackedFloat64Array", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "PackedStringArray", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "PackedStringArray", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "PackedVector2Array", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "PackedVector2Array", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "PackedVector3Array", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "PackedVector3Array", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "PackedColorArray", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "PackedColorArray", - "return_type": "bool" - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "Variant" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "bool", - "is_keyed": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "and", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "or", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "xor", - "right_type": "Variant", - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "int" - }, - { - "name": "unary+", - "return_type": "int" - }, - { - "name": "~", - "return_type": "int" - }, - { - "name": "and", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "or", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "xor", - "right_type": "Variant", - "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": "^", - "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": "**", - "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": "Vector4", - "return_type": "Vector4" - }, - { - "name": "*", - "right_type": "Vector4i", - "return_type": "Vector4i" - }, - { - "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" - } - ] - }, - { - "index": 4, - "arguments": [ - { - "name": "from", - "type": "String" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "float", - "is_keyed": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "float" - }, - { - "name": "unary+", - "return_type": "float" - }, - { - "name": "and", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "or", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "xor", - "right_type": "Variant", - "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": "**", - "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": "**", - "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": "Vector2" - }, - { - "name": "*", - "right_type": "Vector3", - "return_type": "Vector3" - }, - { - "name": "*", - "right_type": "Vector3i", - "return_type": "Vector3" - }, - { - "name": "*", - "right_type": "Vector4", - "return_type": "Vector4" - }, - { - "name": "*", - "right_type": "Vector4i", - "return_type": "Vector4" - }, - { - "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" - } - ] - }, - { - "index": 4, - "arguments": [ - { - "name": "from", - "type": "String" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "String", - "indexing_return_type": "String", - "is_keyed": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "%", - "right_type": "Variant", - "return_type": "String" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": "Vector4", - "return_type": "String" - }, - { - "name": "%", - "right_type": "Vector4i", - "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": "Projection", - "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": "StringName", - "return_type": "String" - }, - { - "name": "in", - "right_type": "StringName", - "return_type": "bool" - }, - { - "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": 2920860731, - "arguments": [ - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "nocasecmp_to", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2920860731, - "arguments": [ - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "naturalcasecmp_to", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2920860731, - "arguments": [ - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "naturalnocasecmp_to", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2920860731, - "arguments": [ - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "length", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "substr", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 787537301, - "arguments": [ - { - "name": "from", - "type": "int" - }, - { - "name": "len", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "get_slice", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3535100402, - "arguments": [ - { - "name": "delimiter", - "type": "String" - }, - { - "name": "slice", - "type": "int" - } - ] - }, - { - "name": "get_slicec", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 787537301, - "arguments": [ - { - "name": "delimiter", - "type": "int" - }, - { - "name": "slice", - "type": "int" - } - ] - }, - { - "name": "get_slice_count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2920860731, - "arguments": [ - { - "name": "delimiter", - "type": "String" - } - ] - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1760645412, - "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": 2343087891, - "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": 2343087891, - "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": 1760645412, - "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": 1760645412, - "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": 1760645412, - "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": 2566493496, - "arguments": [ - { - "name": "expr", - "type": "String" - } - ] - }, - { - "name": "matchn", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "expr", - "type": "String" - } - ] - }, - { - "name": "begins_with", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "ends_with", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "is_subsequence_of", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "is_subsequence_ofn", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "bigrams", - "return_type": "PackedStringArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 747180633 - }, - { - "name": "similarity", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2697460964, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "format", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3212199029, - "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": 1340436205, - "arguments": [ - { - "name": "what", - "type": "String" - }, - { - "name": "forwhat", - "type": "String" - } - ] - }, - { - "name": "replacen", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1340436205, - "arguments": [ - { - "name": "what", - "type": "String" - }, - { - "name": "forwhat", - "type": "String" - } - ] - }, - { - "name": "repeat", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2162347432, - "arguments": [ - { - "name": "count", - "type": "int" - } - ] - }, - { - "name": "reverse", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "insert", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 248737229, - "arguments": [ - { - "name": "position", - "type": "int" - }, - { - "name": "what", - "type": "String" - } - ] - }, - { - "name": "erase", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 787537301, - "arguments": [ - { - "name": "position", - "type": "int" - }, - { - "name": "chars", - "type": "int", - "default_value": "1" - } - ] - }, - { - "name": "capitalize", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "to_camel_case", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "to_pascal_case", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "to_snake_case", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "split", - "return_type": "PackedStringArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1252735785, - "arguments": [ - { - "name": "delimiter", - "type": "String", - "default_value": "\"\"" - }, - { - "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": 1252735785, - "arguments": [ - { - "name": "delimiter", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "allow_empty", - "type": "bool", - "default_value": "true" - }, - { - "name": "maxsplit", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "split_floats", - "return_type": "PackedFloat64Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2092079095, - "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": 3595973238, - "arguments": [ - { - "name": "parts", - "type": "PackedStringArray" - } - ] - }, - { - "name": "to_upper", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "to_lower", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "left", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2162347432, - "arguments": [ - { - "name": "length", - "type": "int" - } - ] - }, - { - "name": "right", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2162347432, - "arguments": [ - { - "name": "length", - "type": "int" - } - ] - }, - { - "name": "strip_edges", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 907855311, - "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": 3942272618 - }, - { - "name": "lstrip", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "chars", - "type": "String" - } - ] - }, - { - "name": "rstrip", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "chars", - "type": "String" - } - ] - }, - { - "name": "get_extension", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_basename", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "path_join", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "unicode_at", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "at", - "type": "int" - } - ] - }, - { - "name": "indent", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "prefix", - "type": "String" - } - ] - }, - { - "name": "dedent", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "hash", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "md5_text", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "sha1_text", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "sha256_text", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "md5_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sha1_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sha256_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "contains", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "what", - "type": "String" - } - ] - }, - { - "name": "is_absolute_path", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_relative_path", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "simplify_path", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_base_dir", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_file", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "xml_escape", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3429816538, - "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": 3942272618 - }, - { - "name": "uri_encode", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "uri_decode", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "c_escape", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "c_unescape", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "json_escape", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "validate_node_name", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "validate_filename", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "is_valid_identifier", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_valid_int", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_valid_float", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_valid_hex_number", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 593672999, - "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": 3918633141 - }, - { - "name": "is_valid_ip_address", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_valid_filename", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "to_int", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "to_float", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "hex_to_int", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "bin_to_int", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "lpad", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 248737229, - "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": 248737229, - "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": 2162347432, - "arguments": [ - { - "name": "digits", - "type": "int" - } - ] - }, - { - "name": "pad_zeros", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2162347432, - "arguments": [ - { - "name": "digits", - "type": "int" - } - ] - }, - { - "name": "trim_prefix", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "prefix", - "type": "String" - } - ] - }, - { - "name": "trim_suffix", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "suffix", - "type": "String" - } - ] - }, - { - "name": "to_ascii_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "to_utf8_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "to_utf16_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "to_utf32_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "hex_decode", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "to_wchar_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "num_scientific", - "return_type": "String", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 2710373411, - "arguments": [ - { - "name": "number", - "type": "float" - } - ] - }, - { - "name": "num", - "return_type": "String", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 1555901022, - "arguments": [ - { - "name": "number", - "type": "float" - }, - { - "name": "decimals", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "num_int64", - "return_type": "String", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 2111271071, - "arguments": [ - { - "name": "number", - "type": "int" - }, - { - "name": "base", - "type": "int", - "default_value": "10" - }, - { - "name": "capitalize_hex", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "num_uint64", - "return_type": "String", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 2111271071, - "arguments": [ - { - "name": "number", - "type": "int" - }, - { - "name": "base", - "type": "int", - "default_value": "10" - }, - { - "name": "capitalize_hex", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "chr", - "return_type": "String", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 897497541, - "arguments": [ - { - "name": "char", - "type": "int" - } - ] - }, - { - "name": "humanize_size", - "return_type": "String", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 897497541, - "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": false, - "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)" - } - ], - "enums": [ - { - "name": "Axis", - "values": [ - { - "name": "AXIS_X", - "value": 0 - }, - { - "name": "AXIS_Y", - "value": 1 - } - ] - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "Vector2" - }, - { - "name": "unary+", - "return_type": "Vector2" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 466405837 - }, - { - "name": "angle_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3819070308, - "arguments": [ - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "angle_to_point", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3819070308, - "arguments": [ - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "direction_to", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2026743667, - "arguments": [ - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "distance_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3819070308, - "arguments": [ - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "distance_squared_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3819070308, - "arguments": [ - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "length", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "length_squared", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "limit_length", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2544004089, - "arguments": [ - { - "name": "length", - "type": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "normalized", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "is_normalized", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3190634762, - "arguments": [ - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "is_zero_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "posmod", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2544004089, - "arguments": [ - { - "name": "mod", - "type": "float" - } - ] - }, - { - "name": "posmodv", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2026743667, - "arguments": [ - { - "name": "modv", - "type": "Vector2" - } - ] - }, - { - "name": "project", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2026743667, - "arguments": [ - { - "name": "b", - "type": "Vector2" - } - ] - }, - { - "name": "lerp", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4250033116, - "arguments": [ - { - "name": "to", - "type": "Vector2" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "slerp", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4250033116, - "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": 193522989, - "arguments": [ - { - "name": "b", - "type": "Vector2" - }, - { - "name": "pre_a", - "type": "Vector2" - }, - { - "name": "post_b", - "type": "Vector2" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "cubic_interpolate_in_time", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1957055074, - "arguments": [ - { - "name": "b", - "type": "Vector2" - }, - { - "name": "pre_a", - "type": "Vector2" - }, - { - "name": "post_b", - "type": "Vector2" - }, - { - "name": "weight", - "type": "float" - }, - { - "name": "b_t", - "type": "float" - }, - { - "name": "pre_a_t", - "type": "float" - }, - { - "name": "post_b_t", - "type": "float" - } - ] - }, - { - "name": "bezier_interpolate", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 193522989, - "arguments": [ - { - "name": "control_1", - "type": "Vector2" - }, - { - "name": "control_2", - "type": "Vector2" - }, - { - "name": "end", - "type": "Vector2" - }, - { - "name": "t", - "type": "float" - } - ] - }, - { - "name": "bezier_derivative", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 193522989, - "arguments": [ - { - "name": "control_1", - "type": "Vector2" - }, - { - "name": "control_2", - "type": "Vector2" - }, - { - "name": "end", - "type": "Vector2" - }, - { - "name": "t", - "type": "float" - } - ] - }, - { - "name": "max_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "min_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "move_toward", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4250033116, - "arguments": [ - { - "name": "to", - "type": "Vector2" - }, - { - "name": "delta", - "type": "float" - } - ] - }, - { - "name": "rotated", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2544004089, - "arguments": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "orthogonal", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "floor", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "ceil", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "round", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "aspect", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "dot", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3819070308, - "arguments": [ - { - "name": "with", - "type": "Vector2" - } - ] - }, - { - "name": "slide", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2026743667, - "arguments": [ - { - "name": "n", - "type": "Vector2" - } - ] - }, - { - "name": "bounce", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2026743667, - "arguments": [ - { - "name": "n", - "type": "Vector2" - } - ] - }, - { - "name": "reflect", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2026743667, - "arguments": [ - { - "name": "n", - "type": "Vector2" - } - ] - }, - { - "name": "cross", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3819070308, - "arguments": [ - { - "name": "with", - "type": "Vector2" - } - ] - }, - { - "name": "abs", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "sign", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "clamp", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 318031021, - "arguments": [ - { - "name": "min", - "type": "Vector2" - }, - { - "name": "max", - "type": "Vector2" - } - ] - }, - { - "name": "snapped", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2026743667, - "arguments": [ - { - "name": "step", - "type": "Vector2" - } - ] - }, - { - "name": "from_angle", - "return_type": "Vector2", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 889263119, - "arguments": [ - { - "name": "angle", - "type": "float" - } - ] - } - ], - "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": false, - "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": "MIN", - "type": "Vector2i", - "value": "Vector2i(-2147483648, -2147483648)" - }, - { - "name": "MAX", - "type": "Vector2i", - "value": "Vector2i(2147483647, 2147483647)" - }, - { - "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)" - } - ], - "enums": [ - { - "name": "Axis", - "values": [ - { - "name": "AXIS_X", - "value": 0 - }, - { - "name": "AXIS_Y", - "value": 1 - } - ] - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "Vector2i" - }, - { - "name": "unary+", - "return_type": "Vector2i" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": "Vector2" - }, - { - "name": "/", - "right_type": "float", - "return_type": "Vector2" - }, - { - "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": 466405837 - }, - { - "name": "max_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "min_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "length", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "length_squared", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "sign", - "return_type": "Vector2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3444277866 - }, - { - "name": "abs", - "return_type": "Vector2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3444277866 - }, - { - "name": "clamp", - "return_type": "Vector2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 186568249, - "arguments": [ - { - "name": "min", - "type": "Vector2i" - }, - { - "name": "max", - "type": "Vector2i" - } - ] - }, - { - "name": "snapped", - "return_type": "Vector2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1735278196, - "arguments": [ - { - "name": "step", - "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": false, - "members": [ - { - "name": "position", - "type": "Vector2" - }, - { - "name": "size", - "type": "Vector2" - }, - { - "name": "end", - "type": "Vector2" - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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_center", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "get_area", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "has_area", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "has_point", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3190634762, - "arguments": [ - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1908192260, - "arguments": [ - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "intersects", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 819294880, - "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": 1908192260, - "arguments": [ - { - "name": "b", - "type": "Rect2" - } - ] - }, - { - "name": "intersection", - "return_type": "Rect2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2282977743, - "arguments": [ - { - "name": "b", - "type": "Rect2" - } - ] - }, - { - "name": "merge", - "return_type": "Rect2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2282977743, - "arguments": [ - { - "name": "b", - "type": "Rect2" - } - ] - }, - { - "name": "expand", - "return_type": "Rect2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 293272265, - "arguments": [ - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "grow", - "return_type": "Rect2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 39664498, - "arguments": [ - { - "name": "amount", - "type": "float" - } - ] - }, - { - "name": "grow_side", - "return_type": "Rect2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4177736158, - "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": 3203390369, - "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": 3107653634 - } - ], - "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": false, - "members": [ - { - "name": "position", - "type": "Vector2i" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "end", - "type": "Vector2i" - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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_center", - "return_type": "Vector2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3444277866 - }, - { - "name": "get_area", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "has_area", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "has_point", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 328189994, - "arguments": [ - { - "name": "point", - "type": "Vector2i" - } - ] - }, - { - "name": "intersects", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3434691493, - "arguments": [ - { - "name": "b", - "type": "Rect2i" - } - ] - }, - { - "name": "encloses", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3434691493, - "arguments": [ - { - "name": "b", - "type": "Rect2i" - } - ] - }, - { - "name": "intersection", - "return_type": "Rect2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 717431873, - "arguments": [ - { - "name": "b", - "type": "Rect2i" - } - ] - }, - { - "name": "merge", - "return_type": "Rect2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 717431873, - "arguments": [ - { - "name": "b", - "type": "Rect2i" - } - ] - }, - { - "name": "expand", - "return_type": "Rect2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1355196872, - "arguments": [ - { - "name": "to", - "type": "Vector2i" - } - ] - }, - { - "name": "grow", - "return_type": "Rect2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1578070074, - "arguments": [ - { - "name": "amount", - "type": "int" - } - ] - }, - { - "name": "grow_side", - "return_type": "Rect2i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3191154199, - "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": 1893743416, - "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": 1469025700 - } - ], - "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": false, - "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)" - }, - { - "name": "MODEL_LEFT", - "type": "Vector3", - "value": "Vector3(1, 0, 0)" - }, - { - "name": "MODEL_RIGHT", - "type": "Vector3", - "value": "Vector3(-1, 0, 0)" - }, - { - "name": "MODEL_TOP", - "type": "Vector3", - "value": "Vector3(0, 1, 0)" - }, - { - "name": "MODEL_BOTTOM", - "type": "Vector3", - "value": "Vector3(0, -1, 0)" - }, - { - "name": "MODEL_FRONT", - "type": "Vector3", - "value": "Vector3(0, 0, 1)" - }, - { - "name": "MODEL_REAR", - "type": "Vector3", - "value": "Vector3(0, 0, -1)" - } - ], - "enums": [ - { - "name": "Axis", - "values": [ - { - "name": "AXIS_X", - "value": 0 - }, - { - "name": "AXIS_Y", - "value": 1 - }, - { - "name": "AXIS_Z", - "value": 2 - } - ] - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "Vector3" - }, - { - "name": "unary+", - "return_type": "Vector3" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "max_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "angle_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1047977935, - "arguments": [ - { - "name": "to", - "type": "Vector3" - } - ] - }, - { - "name": "signed_angle_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2781412522, - "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": 2923479887, - "arguments": [ - { - "name": "to", - "type": "Vector3" - } - ] - }, - { - "name": "distance_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1047977935, - "arguments": [ - { - "name": "to", - "type": "Vector3" - } - ] - }, - { - "name": "distance_squared_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1047977935, - "arguments": [ - { - "name": "to", - "type": "Vector3" - } - ] - }, - { - "name": "length", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "length_squared", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "limit_length", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 514930144, - "arguments": [ - { - "name": "length", - "type": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "normalized", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "is_normalized", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1749054343, - "arguments": [ - { - "name": "to", - "type": "Vector3" - } - ] - }, - { - "name": "is_zero_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "inverse", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "clamp", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4145107892, - "arguments": [ - { - "name": "min", - "type": "Vector3" - }, - { - "name": "max", - "type": "Vector3" - } - ] - }, - { - "name": "snapped", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2923479887, - "arguments": [ - { - "name": "step", - "type": "Vector3" - } - ] - }, - { - "name": "rotated", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1682608829, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - }, - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "lerp", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1682608829, - "arguments": [ - { - "name": "to", - "type": "Vector3" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "slerp", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1682608829, - "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": 2597922253, - "arguments": [ - { - "name": "b", - "type": "Vector3" - }, - { - "name": "pre_a", - "type": "Vector3" - }, - { - "name": "post_b", - "type": "Vector3" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "cubic_interpolate_in_time", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3256682901, - "arguments": [ - { - "name": "b", - "type": "Vector3" - }, - { - "name": "pre_a", - "type": "Vector3" - }, - { - "name": "post_b", - "type": "Vector3" - }, - { - "name": "weight", - "type": "float" - }, - { - "name": "b_t", - "type": "float" - }, - { - "name": "pre_a_t", - "type": "float" - }, - { - "name": "post_b_t", - "type": "float" - } - ] - }, - { - "name": "bezier_interpolate", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2597922253, - "arguments": [ - { - "name": "control_1", - "type": "Vector3" - }, - { - "name": "control_2", - "type": "Vector3" - }, - { - "name": "end", - "type": "Vector3" - }, - { - "name": "t", - "type": "float" - } - ] - }, - { - "name": "bezier_derivative", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2597922253, - "arguments": [ - { - "name": "control_1", - "type": "Vector3" - }, - { - "name": "control_2", - "type": "Vector3" - }, - { - "name": "end", - "type": "Vector3" - }, - { - "name": "t", - "type": "float" - } - ] - }, - { - "name": "move_toward", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1682608829, - "arguments": [ - { - "name": "to", - "type": "Vector3" - }, - { - "name": "delta", - "type": "float" - } - ] - }, - { - "name": "dot", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1047977935, - "arguments": [ - { - "name": "with", - "type": "Vector3" - } - ] - }, - { - "name": "cross", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2923479887, - "arguments": [ - { - "name": "with", - "type": "Vector3" - } - ] - }, - { - "name": "outer", - "return_type": "Basis", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3934786792, - "arguments": [ - { - "name": "with", - "type": "Vector3" - } - ] - }, - { - "name": "abs", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "floor", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "ceil", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "round", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "posmod", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 514930144, - "arguments": [ - { - "name": "mod", - "type": "float" - } - ] - }, - { - "name": "posmodv", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2923479887, - "arguments": [ - { - "name": "modv", - "type": "Vector3" - } - ] - }, - { - "name": "project", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2923479887, - "arguments": [ - { - "name": "b", - "type": "Vector3" - } - ] - }, - { - "name": "slide", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2923479887, - "arguments": [ - { - "name": "n", - "type": "Vector3" - } - ] - }, - { - "name": "bounce", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2923479887, - "arguments": [ - { - "name": "n", - "type": "Vector3" - } - ] - }, - { - "name": "reflect", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2923479887, - "arguments": [ - { - "name": "n", - "type": "Vector3" - } - ] - }, - { - "name": "sign", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "octahedron_encode", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "octahedron_decode", - "return_type": "Vector3", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 3991820552, - "arguments": [ - { - "name": "uv", - "type": "Vector2" - } - ] - } - ], - "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": false, - "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": "MIN", - "type": "Vector3i", - "value": "Vector3i(-2147483648, -2147483648, -2147483648)" - }, - { - "name": "MAX", - "type": "Vector3i", - "value": "Vector3i(2147483647, 2147483647, 2147483647)" - }, - { - "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)" - } - ], - "enums": [ - { - "name": "Axis", - "values": [ - { - "name": "AXIS_X", - "value": 0 - }, - { - "name": "AXIS_Y", - "value": 1 - }, - { - "name": "AXIS_Z", - "value": 2 - } - ] - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "Vector3i" - }, - { - "name": "unary+", - "return_type": "Vector3i" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": "Vector3" - }, - { - "name": "/", - "right_type": "float", - "return_type": "Vector3" - }, - { - "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_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "max_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "length", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "length_squared", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "sign", - "return_type": "Vector3i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3729604559 - }, - { - "name": "abs", - "return_type": "Vector3i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3729604559 - }, - { - "name": "clamp", - "return_type": "Vector3i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1086892323, - "arguments": [ - { - "name": "min", - "type": "Vector3i" - }, - { - "name": "max", - "type": "Vector3i" - } - ] - }, - { - "name": "snapped", - "return_type": "Vector3i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1989319750, - "arguments": [ - { - "name": "step", - "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": false, - "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": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 1420440541 - }, - { - "name": "affine_inverse", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1420440541 - }, - { - "name": "get_rotation", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "get_origin", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "get_scale", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "get_skew", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "orthonormalized", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1420440541 - }, - { - "name": "rotated", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 729597514, - "arguments": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "rotated_local", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 729597514, - "arguments": [ - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "scaled", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1446323263, - "arguments": [ - { - "name": "scale", - "type": "Vector2" - } - ] - }, - { - "name": "scaled_local", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1446323263, - "arguments": [ - { - "name": "scale", - "type": "Vector2" - } - ] - }, - { - "name": "translated", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1446323263, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "translated_local", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1446323263, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "determinant", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "basis_xform", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2026743667, - "arguments": [ - { - "name": "v", - "type": "Vector2" - } - ] - }, - { - "name": "basis_xform_inv", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2026743667, - "arguments": [ - { - "name": "v", - "type": "Vector2" - } - ] - }, - { - "name": "interpolate_with", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 359399686, - "arguments": [ - { - "name": "xform", - "type": "Transform2D" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "is_conformal", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3837431929, - "arguments": [ - { - "name": "xform", - "type": "Transform2D" - } - ] - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "looking_at", - "return_type": "Transform2D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1446323263, - "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": "rotation", - "type": "float" - }, - { - "name": "scale", - "type": "Vector2" - }, - { - "name": "skew", - "type": "float" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "index": 4, - "arguments": [ - { - "name": "x_axis", - "type": "Vector2" - }, - { - "name": "y_axis", - "type": "Vector2" - }, - { - "name": "origin", - "type": "Vector2" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "Vector4", - "indexing_return_type": "float", - "is_keyed": false, - "members": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "w", - "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": "AXIS_W", - "type": "int", - "value": "3" - }, - { - "name": "ZERO", - "type": "Vector4", - "value": "Vector4(0, 0, 0, 0)" - }, - { - "name": "ONE", - "type": "Vector4", - "value": "Vector4(1, 1, 1, 1)" - }, - { - "name": "INF", - "type": "Vector4", - "value": "Vector4(inf, inf, inf, inf)" - } - ], - "enums": [ - { - "name": "Axis", - "values": [ - { - "name": "AXIS_X", - "value": 0 - }, - { - "name": "AXIS_Y", - "value": 1 - }, - { - "name": "AXIS_Z", - "value": 2 - }, - { - "name": "AXIS_W", - "value": 3 - } - ] - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "Vector4" - }, - { - "name": "unary+", - "return_type": "Vector4" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "name": "*", - "right_type": "int", - "return_type": "Vector4" - }, - { - "name": "/", - "right_type": "int", - "return_type": "Vector4" - }, - { - "name": "*", - "right_type": "float", - "return_type": "Vector4" - }, - { - "name": "/", - "right_type": "float", - "return_type": "Vector4" - }, - { - "name": "==", - "right_type": "Vector4", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Vector4", - "return_type": "bool" - }, - { - "name": "<", - "right_type": "Vector4", - "return_type": "bool" - }, - { - "name": "<=", - "right_type": "Vector4", - "return_type": "bool" - }, - { - "name": ">", - "right_type": "Vector4", - "return_type": "bool" - }, - { - "name": ">=", - "right_type": "Vector4", - "return_type": "bool" - }, - { - "name": "+", - "right_type": "Vector4", - "return_type": "Vector4" - }, - { - "name": "-", - "right_type": "Vector4", - "return_type": "Vector4" - }, - { - "name": "*", - "right_type": "Vector4", - "return_type": "Vector4" - }, - { - "name": "/", - "right_type": "Vector4", - "return_type": "Vector4" - }, - { - "name": "*", - "right_type": "Projection", - "return_type": "Vector4" - }, - { - "name": "in", - "right_type": "Dictionary", - "return_type": "bool" - }, - { - "name": "in", - "right_type": "Array", - "return_type": "bool" - } - ], - "methods": [ - { - "name": "min_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "max_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "length", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "length_squared", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "abs", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 80860099 - }, - { - "name": "sign", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 80860099 - }, - { - "name": "floor", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 80860099 - }, - { - "name": "ceil", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 80860099 - }, - { - "name": "round", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 80860099 - }, - { - "name": "lerp", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2329757942, - "arguments": [ - { - "name": "to", - "type": "Vector4" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "cubic_interpolate", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 726768410, - "arguments": [ - { - "name": "b", - "type": "Vector4" - }, - { - "name": "pre_a", - "type": "Vector4" - }, - { - "name": "post_b", - "type": "Vector4" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "cubic_interpolate_in_time", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 681631873, - "arguments": [ - { - "name": "b", - "type": "Vector4" - }, - { - "name": "pre_a", - "type": "Vector4" - }, - { - "name": "post_b", - "type": "Vector4" - }, - { - "name": "weight", - "type": "float" - }, - { - "name": "b_t", - "type": "float" - }, - { - "name": "pre_a_t", - "type": "float" - }, - { - "name": "post_b_t", - "type": "float" - } - ] - }, - { - "name": "posmod", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3129671720, - "arguments": [ - { - "name": "mod", - "type": "float" - } - ] - }, - { - "name": "posmodv", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2031281584, - "arguments": [ - { - "name": "modv", - "type": "Vector4" - } - ] - }, - { - "name": "snapped", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2031281584, - "arguments": [ - { - "name": "step", - "type": "Vector4" - } - ] - }, - { - "name": "clamp", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 823915692, - "arguments": [ - { - "name": "min", - "type": "Vector4" - }, - { - "name": "max", - "type": "Vector4" - } - ] - }, - { - "name": "normalized", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 80860099 - }, - { - "name": "is_normalized", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "direction_to", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2031281584, - "arguments": [ - { - "name": "to", - "type": "Vector4" - } - ] - }, - { - "name": "distance_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3770801042, - "arguments": [ - { - "name": "to", - "type": "Vector4" - } - ] - }, - { - "name": "distance_squared_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3770801042, - "arguments": [ - { - "name": "to", - "type": "Vector4" - } - ] - }, - { - "name": "dot", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3770801042, - "arguments": [ - { - "name": "with", - "type": "Vector4" - } - ] - }, - { - "name": "inverse", - "return_type": "Vector4", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 80860099 - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 88913544, - "arguments": [ - { - "name": "to", - "type": "Vector4" - } - ] - }, - { - "name": "is_zero_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "Vector4" - } - ] - }, - { - "index": 2, - "arguments": [ - { - "name": "from", - "type": "Vector4i" - } - ] - }, - { - "index": 3, - "arguments": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "w", - "type": "float" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "Vector4i", - "indexing_return_type": "int", - "is_keyed": false, - "members": [ - { - "name": "x", - "type": "int" - }, - { - "name": "y", - "type": "int" - }, - { - "name": "z", - "type": "int" - }, - { - "name": "w", - "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": "AXIS_W", - "type": "int", - "value": "3" - }, - { - "name": "ZERO", - "type": "Vector4i", - "value": "Vector4i(0, 0, 0, 0)" - }, - { - "name": "ONE", - "type": "Vector4i", - "value": "Vector4i(1, 1, 1, 1)" - }, - { - "name": "MIN", - "type": "Vector4i", - "value": "Vector4i(-2147483648, -2147483648, -2147483648, -2147483648)" - }, - { - "name": "MAX", - "type": "Vector4i", - "value": "Vector4i(2147483647, 2147483647, 2147483647, 2147483647)" - } - ], - "enums": [ - { - "name": "Axis", - "values": [ - { - "name": "AXIS_X", - "value": 0 - }, - { - "name": "AXIS_Y", - "value": 1 - }, - { - "name": "AXIS_Z", - "value": 2 - }, - { - "name": "AXIS_W", - "value": 3 - } - ] - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "Vector4i" - }, - { - "name": "unary+", - "return_type": "Vector4i" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "name": "*", - "right_type": "int", - "return_type": "Vector4i" - }, - { - "name": "/", - "right_type": "int", - "return_type": "Vector4i" - }, - { - "name": "%", - "right_type": "int", - "return_type": "Vector4i" - }, - { - "name": "*", - "right_type": "float", - "return_type": "Vector4" - }, - { - "name": "/", - "right_type": "float", - "return_type": "Vector4" - }, - { - "name": "==", - "right_type": "Vector4i", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Vector4i", - "return_type": "bool" - }, - { - "name": "<", - "right_type": "Vector4i", - "return_type": "bool" - }, - { - "name": "<=", - "right_type": "Vector4i", - "return_type": "bool" - }, - { - "name": ">", - "right_type": "Vector4i", - "return_type": "bool" - }, - { - "name": ">=", - "right_type": "Vector4i", - "return_type": "bool" - }, - { - "name": "+", - "right_type": "Vector4i", - "return_type": "Vector4i" - }, - { - "name": "-", - "right_type": "Vector4i", - "return_type": "Vector4i" - }, - { - "name": "*", - "right_type": "Vector4i", - "return_type": "Vector4i" - }, - { - "name": "/", - "right_type": "Vector4i", - "return_type": "Vector4i" - }, - { - "name": "%", - "right_type": "Vector4i", - "return_type": "Vector4i" - }, - { - "name": "in", - "right_type": "Dictionary", - "return_type": "bool" - }, - { - "name": "in", - "right_type": "Array", - "return_type": "bool" - } - ], - "methods": [ - { - "name": "min_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "max_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "length", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "length_squared", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "sign", - "return_type": "Vector4i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4134919947 - }, - { - "name": "abs", - "return_type": "Vector4i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4134919947 - }, - { - "name": "clamp", - "return_type": "Vector4i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3046490913, - "arguments": [ - { - "name": "min", - "type": "Vector4i" - }, - { - "name": "max", - "type": "Vector4i" - } - ] - }, - { - "name": "snapped", - "return_type": "Vector4i", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1181693102, - "arguments": [ - { - "name": "step", - "type": "Vector4i" - } - ] - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "Vector4i" - } - ] - }, - { - "index": 2, - "arguments": [ - { - "name": "from", - "type": "Vector4" - } - ] - }, - { - "index": 3, - "arguments": [ - { - "name": "x", - "type": "int" - }, - { - "name": "y", - "type": "int" - }, - { - "name": "z", - "type": "int" - }, - { - "name": "w", - "type": "int" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "Plane", - "is_keyed": false, - "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": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "Plane" - }, - { - "name": "unary+", - "return_type": "Plane" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "name": "==", - "right_type": "Plane", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Plane", - "return_type": "bool" - }, - { - "name": "*", - "right_type": "Transform3D", - "return_type": "Plane" - }, - { - "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": 1051796340 - }, - { - "name": "get_center", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1150170233, - "arguments": [ - { - "name": "to_plane", - "type": "Plane" - } - ] - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_point_over", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1749054343, - "arguments": [ - { - "name": "point", - "type": "Vector3" - } - ] - }, - { - "name": "distance_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1047977935, - "arguments": [ - { - "name": "point", - "type": "Vector3" - } - ] - }, - { - "name": "has_point", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1258189072, - "arguments": [ - { - "name": "point", - "type": "Vector3" - }, - { - "name": "tolerance", - "type": "float", - "default_value": "1e-05" - } - ] - }, - { - "name": "project", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2923479887, - "arguments": [ - { - "name": "point", - "type": "Vector3" - } - ] - }, - { - "name": "intersect_3", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2012052692, - "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": 2048133369, - "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": 2048133369, - "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" - } - ] - }, - { - "index": 3, - "arguments": [ - { - "name": "normal", - "type": "Vector3" - }, - { - "name": "d", - "type": "float" - } - ] - }, - { - "index": 4, - "arguments": [ - { - "name": "normal", - "type": "Vector3" - }, - { - "name": "point", - "type": "Vector3" - } - ] - }, - { - "index": 5, - "arguments": [ - { - "name": "point1", - "type": "Vector3" - }, - { - "name": "point2", - "type": "Vector3" - }, - { - "name": "point3", - "type": "Vector3" - } - ] - }, - { - "index": 6, - "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": false, - "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": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "Quaternion" - }, - { - "name": "unary+", - "return_type": "Quaternion" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 466405837 - }, - { - "name": "length_squared", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "normalized", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4274879941 - }, - { - "name": "is_normalized", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1682156903, - "arguments": [ - { - "name": "to", - "type": "Quaternion" - } - ] - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "inverse", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4274879941 - }, - { - "name": "log", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4274879941 - }, - { - "name": "exp", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4274879941 - }, - { - "name": "angle_to", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3244682419, - "arguments": [ - { - "name": "to", - "type": "Quaternion" - } - ] - }, - { - "name": "dot", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3244682419, - "arguments": [ - { - "name": "with", - "type": "Quaternion" - } - ] - }, - { - "name": "slerp", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1773590316, - "arguments": [ - { - "name": "to", - "type": "Quaternion" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "slerpni", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1773590316, - "arguments": [ - { - "name": "to", - "type": "Quaternion" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "spherical_cubic_interpolate", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2150967576, - "arguments": [ - { - "name": "b", - "type": "Quaternion" - }, - { - "name": "pre_a", - "type": "Quaternion" - }, - { - "name": "post_b", - "type": "Quaternion" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "spherical_cubic_interpolate_in_time", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1436023539, - "arguments": [ - { - "name": "b", - "type": "Quaternion" - }, - { - "name": "pre_a", - "type": "Quaternion" - }, - { - "name": "post_b", - "type": "Quaternion" - }, - { - "name": "weight", - "type": "float" - }, - { - "name": "b_t", - "type": "float" - }, - { - "name": "pre_a_t", - "type": "float" - }, - { - "name": "post_b_t", - "type": "float" - } - ] - }, - { - "name": "get_euler", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1394941017, - "arguments": [ - { - "name": "order", - "type": "int", - "default_value": "2" - } - ] - }, - { - "name": "from_euler", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 4053467903, - "arguments": [ - { - "name": "euler", - "type": "Vector3" - } - ] - }, - { - "name": "get_axis", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "get_angle", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "Quaternion" - } - ] - }, - { - "index": 2, - "arguments": [ - { - "name": "from", - "type": "Basis" - } - ] - }, - { - "index": 3, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - }, - { - "name": "angle", - "type": "float" - } - ] - }, - { - "index": 4, - "arguments": [ - { - "name": "arc_from", - "type": "Vector3" - }, - { - "name": "arc_to", - "type": "Vector3" - } - ] - }, - { - "index": 5, - "arguments": [ - { - "name": "x", - "type": "float" - }, - { - "name": "y", - "type": "float" - }, - { - "name": "z", - "type": "float" - }, - { - "name": "w", - "type": "float" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "AABB", - "is_keyed": false, - "members": [ - { - "name": "position", - "type": "Vector3" - }, - { - "name": "size", - "type": "Vector3" - }, - { - "name": "end", - "type": "Vector3" - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 1576868580 - }, - { - "name": "get_center", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "get_volume", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "has_volume", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "has_surface", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "has_point", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1749054343, - "arguments": [ - { - "name": "point", - "type": "Vector3" - } - ] - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 299946684, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "intersects", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 299946684, - "arguments": [ - { - "name": "with", - "type": "AABB" - } - ] - }, - { - "name": "encloses", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 299946684, - "arguments": [ - { - "name": "with", - "type": "AABB" - } - ] - }, - { - "name": "intersects_plane", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1150170233, - "arguments": [ - { - "name": "plane", - "type": "Plane" - } - ] - }, - { - "name": "intersection", - "return_type": "AABB", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1271470306, - "arguments": [ - { - "name": "with", - "type": "AABB" - } - ] - }, - { - "name": "merge", - "return_type": "AABB", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1271470306, - "arguments": [ - { - "name": "with", - "type": "AABB" - } - ] - }, - { - "name": "expand", - "return_type": "AABB", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2851643018, - "arguments": [ - { - "name": "to_point", - "type": "Vector3" - } - ] - }, - { - "name": "grow", - "return_type": "AABB", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 239217291, - "arguments": [ - { - "name": "by", - "type": "float" - } - ] - }, - { - "name": "get_support", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2923479887, - "arguments": [ - { - "name": "dir", - "type": "Vector3" - } - ] - }, - { - "name": "get_longest_axis", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "get_longest_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "get_longest_axis_size", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "get_shortest_axis", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "get_shortest_axis_index", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "get_shortest_axis_size", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "get_endpoint", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1394941017, - "arguments": [ - { - "name": "idx", - "type": "int" - } - ] - }, - { - "name": "intersects_segment", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2048133369, - "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": 2048133369, - "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": false - }, - { - "name": "Basis", - "indexing_return_type": "Vector3", - "is_keyed": false, - "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": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 594669093 - }, - { - "name": "transposed", - "return_type": "Basis", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 594669093 - }, - { - "name": "orthonormalized", - "return_type": "Basis", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 594669093 - }, - { - "name": "determinant", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "rotated", - "return_type": "Basis", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1998708965, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - }, - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "scaled", - "return_type": "Basis", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3934786792, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "get_scale", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1776574132 - }, - { - "name": "get_euler", - "return_type": "Vector3", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1394941017, - "arguments": [ - { - "name": "order", - "type": "int", - "default_value": "2" - } - ] - }, - { - "name": "tdotx", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1047977935, - "arguments": [ - { - "name": "with", - "type": "Vector3" - } - ] - }, - { - "name": "tdoty", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1047977935, - "arguments": [ - { - "name": "with", - "type": "Vector3" - } - ] - }, - { - "name": "tdotz", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1047977935, - "arguments": [ - { - "name": "with", - "type": "Vector3" - } - ] - }, - { - "name": "slerp", - "return_type": "Basis", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3118673011, - "arguments": [ - { - "name": "to", - "type": "Basis" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "is_conformal", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3165333982, - "arguments": [ - { - "name": "b", - "type": "Basis" - } - ] - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "get_rotation_quaternion", - "return_type": "Quaternion", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4274879941 - }, - { - "name": "looking_at", - "return_type": "Basis", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 3728732505, - "arguments": [ - { - "name": "target", - "type": "Vector3" - }, - { - "name": "up", - "type": "Vector3", - "default_value": "Vector3(0, 1, 0)" - }, - { - "name": "use_model_front", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "from_scale", - "return_type": "Basis", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 3703240166, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "from_euler", - "return_type": "Basis", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 2802321791, - "arguments": [ - { - "name": "euler", - "type": "Vector3" - }, - { - "name": "order", - "type": "int", - "default_value": "2" - } - ] - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "Basis" - } - ] - }, - { - "index": 2, - "arguments": [ - { - "name": "from", - "type": "Quaternion" - } - ] - }, - { - "index": 3, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - }, - { - "name": "angle", - "type": "float" - } - ] - }, - { - "index": 4, - "arguments": [ - { - "name": "x_axis", - "type": "Vector3" - }, - { - "name": "y_axis", - "type": "Vector3" - }, - { - "name": "z_axis", - "type": "Vector3" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "Transform3D", - "is_keyed": false, - "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": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "name": "*", - "right_type": "int", - "return_type": "Transform3D" - }, - { - "name": "*", - "right_type": "float", - "return_type": "Transform3D" - }, - { - "name": "*", - "right_type": "Vector3", - "return_type": "Vector3" - }, - { - "name": "*", - "right_type": "Plane", - "return_type": "Plane" - }, - { - "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": 3816817146 - }, - { - "name": "affine_inverse", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3816817146 - }, - { - "name": "orthonormalized", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3816817146 - }, - { - "name": "rotated", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1563203923, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - }, - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "rotated_local", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1563203923, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - }, - { - "name": "angle", - "type": "float" - } - ] - }, - { - "name": "scaled", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1405596198, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "scaled_local", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1405596198, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "translated", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1405596198, - "arguments": [ - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "translated_local", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1405596198, - "arguments": [ - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "looking_at", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 90889270, - "arguments": [ - { - "name": "target", - "type": "Vector3" - }, - { - "name": "up", - "type": "Vector3", - "default_value": "Vector3(0, 1, 0)" - }, - { - "name": "use_model_front", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "interpolate_with", - "return_type": "Transform3D", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1786453358, - "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": 696001652, - "arguments": [ - { - "name": "xform", - "type": "Transform3D" - } - ] - }, - { - "name": "is_finite", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - } - ], - "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" - } - ] - }, - { - "index": 4, - "arguments": [ - { - "name": "from", - "type": "Projection" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "Projection", - "indexing_return_type": "Vector4", - "is_keyed": false, - "members": [ - { - "name": "x", - "type": "Vector4" - }, - { - "name": "y", - "type": "Vector4" - }, - { - "name": "z", - "type": "Vector4" - }, - { - "name": "w", - "type": "Vector4" - } - ], - "constants": [ - { - "name": "PLANE_NEAR", - "type": "int", - "value": "0" - }, - { - "name": "PLANE_FAR", - "type": "int", - "value": "1" - }, - { - "name": "PLANE_LEFT", - "type": "int", - "value": "2" - }, - { - "name": "PLANE_TOP", - "type": "int", - "value": "3" - }, - { - "name": "PLANE_RIGHT", - "type": "int", - "value": "4" - }, - { - "name": "PLANE_BOTTOM", - "type": "int", - "value": "5" - }, - { - "name": "IDENTITY", - "type": "Projection", - "value": "Projection(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)" - }, - { - "name": "ZERO", - "type": "Projection", - "value": "Projection(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)" - } - ], - "enums": [ - { - "name": "Planes", - "values": [ - { - "name": "PLANE_NEAR", - "value": 0 - }, - { - "name": "PLANE_FAR", - "value": 1 - }, - { - "name": "PLANE_LEFT", - "value": 2 - }, - { - "name": "PLANE_TOP", - "value": 3 - }, - { - "name": "PLANE_RIGHT", - "value": 4 - }, - { - "name": "PLANE_BOTTOM", - "value": 5 - } - ] - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "name": "*", - "right_type": "Vector4", - "return_type": "Vector4" - }, - { - "name": "==", - "right_type": "Projection", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Projection", - "return_type": "bool" - }, - { - "name": "*", - "right_type": "Projection", - "return_type": "Projection" - }, - { - "name": "in", - "right_type": "Dictionary", - "return_type": "bool" - }, - { - "name": "in", - "right_type": "Array", - "return_type": "bool" - } - ], - "methods": [ - { - "name": "create_depth_correction", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 1228516048, - "arguments": [ - { - "name": "flip_y", - "type": "bool" - } - ] - }, - { - "name": "create_light_atlas_rect", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 2654950662, - "arguments": [ - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "create_perspective", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 390915442, - "arguments": [ - { - "name": "fovy", - "type": "float" - }, - { - "name": "aspect", - "type": "float" - }, - { - "name": "z_near", - "type": "float" - }, - { - "name": "z_far", - "type": "float" - }, - { - "name": "flip_fov", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "create_perspective_hmd", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 2857674800, - "arguments": [ - { - "name": "fovy", - "type": "float" - }, - { - "name": "aspect", - "type": "float" - }, - { - "name": "z_near", - "type": "float" - }, - { - "name": "z_far", - "type": "float" - }, - { - "name": "flip_fov", - "type": "bool" - }, - { - "name": "eye", - "type": "int" - }, - { - "name": "intraocular_dist", - "type": "float" - }, - { - "name": "convergence_dist", - "type": "float" - } - ] - }, - { - "name": "create_for_hmd", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 4184144994, - "arguments": [ - { - "name": "eye", - "type": "int" - }, - { - "name": "aspect", - "type": "float" - }, - { - "name": "intraocular_dist", - "type": "float" - }, - { - "name": "display_width", - "type": "float" - }, - { - "name": "display_to_lens", - "type": "float" - }, - { - "name": "oversample", - "type": "float" - }, - { - "name": "z_near", - "type": "float" - }, - { - "name": "z_far", - "type": "float" - } - ] - }, - { - "name": "create_orthogonal", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 3707929169, - "arguments": [ - { - "name": "left", - "type": "float" - }, - { - "name": "right", - "type": "float" - }, - { - "name": "bottom", - "type": "float" - }, - { - "name": "top", - "type": "float" - }, - { - "name": "z_near", - "type": "float" - }, - { - "name": "z_far", - "type": "float" - } - ] - }, - { - "name": "create_orthogonal_aspect", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 390915442, - "arguments": [ - { - "name": "size", - "type": "float" - }, - { - "name": "aspect", - "type": "float" - }, - { - "name": "z_near", - "type": "float" - }, - { - "name": "z_far", - "type": "float" - }, - { - "name": "flip_fov", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "create_frustum", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 3707929169, - "arguments": [ - { - "name": "left", - "type": "float" - }, - { - "name": "right", - "type": "float" - }, - { - "name": "bottom", - "type": "float" - }, - { - "name": "top", - "type": "float" - }, - { - "name": "z_near", - "type": "float" - }, - { - "name": "z_far", - "type": "float" - } - ] - }, - { - "name": "create_frustum_aspect", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 1535076251, - "arguments": [ - { - "name": "size", - "type": "float" - }, - { - "name": "aspect", - "type": "float" - }, - { - "name": "offset", - "type": "Vector2" - }, - { - "name": "z_near", - "type": "float" - }, - { - "name": "z_far", - "type": "float" - }, - { - "name": "flip_fov", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "create_fit_aabb", - "return_type": "Projection", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 2264694907, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "determinant", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "perspective_znear_adjusted", - "return_type": "Projection", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3584785443, - "arguments": [ - { - "name": "new_znear", - "type": "float" - } - ] - }, - { - "name": "get_projection_plane", - "return_type": "Plane", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1551184160, - "arguments": [ - { - "name": "plane", - "type": "int" - } - ] - }, - { - "name": "flipped_y", - "return_type": "Projection", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4212530932 - }, - { - "name": "jitter_offseted", - "return_type": "Projection", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2448438599, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_fovy", - "return_type": "float", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 3514207532, - "arguments": [ - { - "name": "fovx", - "type": "float" - }, - { - "name": "aspect", - "type": "float" - } - ] - }, - { - "name": "get_z_far", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "get_z_near", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "get_aspect", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "get_fov", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "is_orthogonal", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "get_viewport_half_extents", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "get_far_plane_half_extents", - "return_type": "Vector2", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2428350749 - }, - { - "name": "inverse", - "return_type": "Projection", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4212530932 - }, - { - "name": "get_pixels_per_meter", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "for_pixel_width", - "type": "int" - } - ] - }, - { - "name": "get_lod_multiplier", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "Projection" - } - ] - }, - { - "index": 2, - "arguments": [ - { - "name": "from", - "type": "Transform3D" - } - ] - }, - { - "index": 3, - "arguments": [ - { - "name": "x_axis", - "type": "Vector4" - }, - { - "name": "y_axis", - "type": "Vector4" - }, - { - "name": "z_axis", - "type": "Vector4" - }, - { - "name": "w_axis", - "type": "Vector4" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "Color", - "indexing_return_type": "float", - "is_keyed": false, - "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.941176, 0.972549, 1, 1)" - }, - { - "name": "ANTIQUE_WHITE", - "type": "Color", - "value": "Color(0.980392, 0.921569, 0.843137, 1)" - }, - { - "name": "AQUA", - "type": "Color", - "value": "Color(0, 1, 1, 1)" - }, - { - "name": "AQUAMARINE", - "type": "Color", - "value": "Color(0.498039, 1, 0.831373, 1)" - }, - { - "name": "AZURE", - "type": "Color", - "value": "Color(0.941176, 1, 1, 1)" - }, - { - "name": "BEIGE", - "type": "Color", - "value": "Color(0.960784, 0.960784, 0.862745, 1)" - }, - { - "name": "BISQUE", - "type": "Color", - "value": "Color(1, 0.894118, 0.768627, 1)" - }, - { - "name": "BLACK", - "type": "Color", - "value": "Color(0, 0, 0, 1)" - }, - { - "name": "BLANCHED_ALMOND", - "type": "Color", - "value": "Color(1, 0.921569, 0.803922, 1)" - }, - { - "name": "BLUE", - "type": "Color", - "value": "Color(0, 0, 1, 1)" - }, - { - "name": "BLUE_VIOLET", - "type": "Color", - "value": "Color(0.541176, 0.168627, 0.886275, 1)" - }, - { - "name": "BROWN", - "type": "Color", - "value": "Color(0.647059, 0.164706, 0.164706, 1)" - }, - { - "name": "BURLYWOOD", - "type": "Color", - "value": "Color(0.870588, 0.721569, 0.529412, 1)" - }, - { - "name": "CADET_BLUE", - "type": "Color", - "value": "Color(0.372549, 0.619608, 0.627451, 1)" - }, - { - "name": "CHARTREUSE", - "type": "Color", - "value": "Color(0.498039, 1, 0, 1)" - }, - { - "name": "CHOCOLATE", - "type": "Color", - "value": "Color(0.823529, 0.411765, 0.117647, 1)" - }, - { - "name": "CORAL", - "type": "Color", - "value": "Color(1, 0.498039, 0.313726, 1)" - }, - { - "name": "CORNFLOWER_BLUE", - "type": "Color", - "value": "Color(0.392157, 0.584314, 0.929412, 1)" - }, - { - "name": "CORNSILK", - "type": "Color", - "value": "Color(1, 0.972549, 0.862745, 1)" - }, - { - "name": "CRIMSON", - "type": "Color", - "value": "Color(0.862745, 0.0784314, 0.235294, 1)" - }, - { - "name": "CYAN", - "type": "Color", - "value": "Color(0, 1, 1, 1)" - }, - { - "name": "DARK_BLUE", - "type": "Color", - "value": "Color(0, 0, 0.545098, 1)" - }, - { - "name": "DARK_CYAN", - "type": "Color", - "value": "Color(0, 0.545098, 0.545098, 1)" - }, - { - "name": "DARK_GOLDENROD", - "type": "Color", - "value": "Color(0.721569, 0.52549, 0.0431373, 1)" - }, - { - "name": "DARK_GRAY", - "type": "Color", - "value": "Color(0.662745, 0.662745, 0.662745, 1)" - }, - { - "name": "DARK_GREEN", - "type": "Color", - "value": "Color(0, 0.392157, 0, 1)" - }, - { - "name": "DARK_KHAKI", - "type": "Color", - "value": "Color(0.741176, 0.717647, 0.419608, 1)" - }, - { - "name": "DARK_MAGENTA", - "type": "Color", - "value": "Color(0.545098, 0, 0.545098, 1)" - }, - { - "name": "DARK_OLIVE_GREEN", - "type": "Color", - "value": "Color(0.333333, 0.419608, 0.184314, 1)" - }, - { - "name": "DARK_ORANGE", - "type": "Color", - "value": "Color(1, 0.54902, 0, 1)" - }, - { - "name": "DARK_ORCHID", - "type": "Color", - "value": "Color(0.6, 0.196078, 0.8, 1)" - }, - { - "name": "DARK_RED", - "type": "Color", - "value": "Color(0.545098, 0, 0, 1)" - }, - { - "name": "DARK_SALMON", - "type": "Color", - "value": "Color(0.913725, 0.588235, 0.478431, 1)" - }, - { - "name": "DARK_SEA_GREEN", - "type": "Color", - "value": "Color(0.560784, 0.737255, 0.560784, 1)" - }, - { - "name": "DARK_SLATE_BLUE", - "type": "Color", - "value": "Color(0.282353, 0.239216, 0.545098, 1)" - }, - { - "name": "DARK_SLATE_GRAY", - "type": "Color", - "value": "Color(0.184314, 0.309804, 0.309804, 1)" - }, - { - "name": "DARK_TURQUOISE", - "type": "Color", - "value": "Color(0, 0.807843, 0.819608, 1)" - }, - { - "name": "DARK_VIOLET", - "type": "Color", - "value": "Color(0.580392, 0, 0.827451, 1)" - }, - { - "name": "DEEP_PINK", - "type": "Color", - "value": "Color(1, 0.0784314, 0.576471, 1)" - }, - { - "name": "DEEP_SKY_BLUE", - "type": "Color", - "value": "Color(0, 0.74902, 1, 1)" - }, - { - "name": "DIM_GRAY", - "type": "Color", - "value": "Color(0.411765, 0.411765, 0.411765, 1)" - }, - { - "name": "DODGER_BLUE", - "type": "Color", - "value": "Color(0.117647, 0.564706, 1, 1)" - }, - { - "name": "FIREBRICK", - "type": "Color", - "value": "Color(0.698039, 0.133333, 0.133333, 1)" - }, - { - "name": "FLORAL_WHITE", - "type": "Color", - "value": "Color(1, 0.980392, 0.941176, 1)" - }, - { - "name": "FOREST_GREEN", - "type": "Color", - "value": "Color(0.133333, 0.545098, 0.133333, 1)" - }, - { - "name": "FUCHSIA", - "type": "Color", - "value": "Color(1, 0, 1, 1)" - }, - { - "name": "GAINSBORO", - "type": "Color", - "value": "Color(0.862745, 0.862745, 0.862745, 1)" - }, - { - "name": "GHOST_WHITE", - "type": "Color", - "value": "Color(0.972549, 0.972549, 1, 1)" - }, - { - "name": "GOLD", - "type": "Color", - "value": "Color(1, 0.843137, 0, 1)" - }, - { - "name": "GOLDENROD", - "type": "Color", - "value": "Color(0.854902, 0.647059, 0.12549, 1)" - }, - { - "name": "GRAY", - "type": "Color", - "value": "Color(0.745098, 0.745098, 0.745098, 1)" - }, - { - "name": "GREEN", - "type": "Color", - "value": "Color(0, 1, 0, 1)" - }, - { - "name": "GREEN_YELLOW", - "type": "Color", - "value": "Color(0.678431, 1, 0.184314, 1)" - }, - { - "name": "HONEYDEW", - "type": "Color", - "value": "Color(0.941176, 1, 0.941176, 1)" - }, - { - "name": "HOT_PINK", - "type": "Color", - "value": "Color(1, 0.411765, 0.705882, 1)" - }, - { - "name": "INDIAN_RED", - "type": "Color", - "value": "Color(0.803922, 0.360784, 0.360784, 1)" - }, - { - "name": "INDIGO", - "type": "Color", - "value": "Color(0.294118, 0, 0.509804, 1)" - }, - { - "name": "IVORY", - "type": "Color", - "value": "Color(1, 1, 0.941176, 1)" - }, - { - "name": "KHAKI", - "type": "Color", - "value": "Color(0.941176, 0.901961, 0.54902, 1)" - }, - { - "name": "LAVENDER", - "type": "Color", - "value": "Color(0.901961, 0.901961, 0.980392, 1)" - }, - { - "name": "LAVENDER_BLUSH", - "type": "Color", - "value": "Color(1, 0.941176, 0.960784, 1)" - }, - { - "name": "LAWN_GREEN", - "type": "Color", - "value": "Color(0.486275, 0.988235, 0, 1)" - }, - { - "name": "LEMON_CHIFFON", - "type": "Color", - "value": "Color(1, 0.980392, 0.803922, 1)" - }, - { - "name": "LIGHT_BLUE", - "type": "Color", - "value": "Color(0.678431, 0.847059, 0.901961, 1)" - }, - { - "name": "LIGHT_CORAL", - "type": "Color", - "value": "Color(0.941176, 0.501961, 0.501961, 1)" - }, - { - "name": "LIGHT_CYAN", - "type": "Color", - "value": "Color(0.878431, 1, 1, 1)" - }, - { - "name": "LIGHT_GOLDENROD", - "type": "Color", - "value": "Color(0.980392, 0.980392, 0.823529, 1)" - }, - { - "name": "LIGHT_GRAY", - "type": "Color", - "value": "Color(0.827451, 0.827451, 0.827451, 1)" - }, - { - "name": "LIGHT_GREEN", - "type": "Color", - "value": "Color(0.564706, 0.933333, 0.564706, 1)" - }, - { - "name": "LIGHT_PINK", - "type": "Color", - "value": "Color(1, 0.713726, 0.756863, 1)" - }, - { - "name": "LIGHT_SALMON", - "type": "Color", - "value": "Color(1, 0.627451, 0.478431, 1)" - }, - { - "name": "LIGHT_SEA_GREEN", - "type": "Color", - "value": "Color(0.12549, 0.698039, 0.666667, 1)" - }, - { - "name": "LIGHT_SKY_BLUE", - "type": "Color", - "value": "Color(0.529412, 0.807843, 0.980392, 1)" - }, - { - "name": "LIGHT_SLATE_GRAY", - "type": "Color", - "value": "Color(0.466667, 0.533333, 0.6, 1)" - }, - { - "name": "LIGHT_STEEL_BLUE", - "type": "Color", - "value": "Color(0.690196, 0.768627, 0.870588, 1)" - }, - { - "name": "LIGHT_YELLOW", - "type": "Color", - "value": "Color(1, 1, 0.878431, 1)" - }, - { - "name": "LIME", - "type": "Color", - "value": "Color(0, 1, 0, 1)" - }, - { - "name": "LIME_GREEN", - "type": "Color", - "value": "Color(0.196078, 0.803922, 0.196078, 1)" - }, - { - "name": "LINEN", - "type": "Color", - "value": "Color(0.980392, 0.941176, 0.901961, 1)" - }, - { - "name": "MAGENTA", - "type": "Color", - "value": "Color(1, 0, 1, 1)" - }, - { - "name": "MAROON", - "type": "Color", - "value": "Color(0.690196, 0.188235, 0.376471, 1)" - }, - { - "name": "MEDIUM_AQUAMARINE", - "type": "Color", - "value": "Color(0.4, 0.803922, 0.666667, 1)" - }, - { - "name": "MEDIUM_BLUE", - "type": "Color", - "value": "Color(0, 0, 0.803922, 1)" - }, - { - "name": "MEDIUM_ORCHID", - "type": "Color", - "value": "Color(0.729412, 0.333333, 0.827451, 1)" - }, - { - "name": "MEDIUM_PURPLE", - "type": "Color", - "value": "Color(0.576471, 0.439216, 0.858824, 1)" - }, - { - "name": "MEDIUM_SEA_GREEN", - "type": "Color", - "value": "Color(0.235294, 0.701961, 0.443137, 1)" - }, - { - "name": "MEDIUM_SLATE_BLUE", - "type": "Color", - "value": "Color(0.482353, 0.407843, 0.933333, 1)" - }, - { - "name": "MEDIUM_SPRING_GREEN", - "type": "Color", - "value": "Color(0, 0.980392, 0.603922, 1)" - }, - { - "name": "MEDIUM_TURQUOISE", - "type": "Color", - "value": "Color(0.282353, 0.819608, 0.8, 1)" - }, - { - "name": "MEDIUM_VIOLET_RED", - "type": "Color", - "value": "Color(0.780392, 0.0823529, 0.521569, 1)" - }, - { - "name": "MIDNIGHT_BLUE", - "type": "Color", - "value": "Color(0.0980392, 0.0980392, 0.439216, 1)" - }, - { - "name": "MINT_CREAM", - "type": "Color", - "value": "Color(0.960784, 1, 0.980392, 1)" - }, - { - "name": "MISTY_ROSE", - "type": "Color", - "value": "Color(1, 0.894118, 0.882353, 1)" - }, - { - "name": "MOCCASIN", - "type": "Color", - "value": "Color(1, 0.894118, 0.709804, 1)" - }, - { - "name": "NAVAJO_WHITE", - "type": "Color", - "value": "Color(1, 0.870588, 0.678431, 1)" - }, - { - "name": "NAVY_BLUE", - "type": "Color", - "value": "Color(0, 0, 0.501961, 1)" - }, - { - "name": "OLD_LACE", - "type": "Color", - "value": "Color(0.992157, 0.960784, 0.901961, 1)" - }, - { - "name": "OLIVE", - "type": "Color", - "value": "Color(0.501961, 0.501961, 0, 1)" - }, - { - "name": "OLIVE_DRAB", - "type": "Color", - "value": "Color(0.419608, 0.556863, 0.137255, 1)" - }, - { - "name": "ORANGE", - "type": "Color", - "value": "Color(1, 0.647059, 0, 1)" - }, - { - "name": "ORANGE_RED", - "type": "Color", - "value": "Color(1, 0.270588, 0, 1)" - }, - { - "name": "ORCHID", - "type": "Color", - "value": "Color(0.854902, 0.439216, 0.839216, 1)" - }, - { - "name": "PALE_GOLDENROD", - "type": "Color", - "value": "Color(0.933333, 0.909804, 0.666667, 1)" - }, - { - "name": "PALE_GREEN", - "type": "Color", - "value": "Color(0.596078, 0.984314, 0.596078, 1)" - }, - { - "name": "PALE_TURQUOISE", - "type": "Color", - "value": "Color(0.686275, 0.933333, 0.933333, 1)" - }, - { - "name": "PALE_VIOLET_RED", - "type": "Color", - "value": "Color(0.858824, 0.439216, 0.576471, 1)" - }, - { - "name": "PAPAYA_WHIP", - "type": "Color", - "value": "Color(1, 0.937255, 0.835294, 1)" - }, - { - "name": "PEACH_PUFF", - "type": "Color", - "value": "Color(1, 0.854902, 0.72549, 1)" - }, - { - "name": "PERU", - "type": "Color", - "value": "Color(0.803922, 0.521569, 0.247059, 1)" - }, - { - "name": "PINK", - "type": "Color", - "value": "Color(1, 0.752941, 0.796078, 1)" - }, - { - "name": "PLUM", - "type": "Color", - "value": "Color(0.866667, 0.627451, 0.866667, 1)" - }, - { - "name": "POWDER_BLUE", - "type": "Color", - "value": "Color(0.690196, 0.878431, 0.901961, 1)" - }, - { - "name": "PURPLE", - "type": "Color", - "value": "Color(0.627451, 0.12549, 0.941176, 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.737255, 0.560784, 0.560784, 1)" - }, - { - "name": "ROYAL_BLUE", - "type": "Color", - "value": "Color(0.254902, 0.411765, 0.882353, 1)" - }, - { - "name": "SADDLE_BROWN", - "type": "Color", - "value": "Color(0.545098, 0.270588, 0.0745098, 1)" - }, - { - "name": "SALMON", - "type": "Color", - "value": "Color(0.980392, 0.501961, 0.447059, 1)" - }, - { - "name": "SANDY_BROWN", - "type": "Color", - "value": "Color(0.956863, 0.643137, 0.376471, 1)" - }, - { - "name": "SEA_GREEN", - "type": "Color", - "value": "Color(0.180392, 0.545098, 0.341176, 1)" - }, - { - "name": "SEASHELL", - "type": "Color", - "value": "Color(1, 0.960784, 0.933333, 1)" - }, - { - "name": "SIENNA", - "type": "Color", - "value": "Color(0.627451, 0.321569, 0.176471, 1)" - }, - { - "name": "SILVER", - "type": "Color", - "value": "Color(0.752941, 0.752941, 0.752941, 1)" - }, - { - "name": "SKY_BLUE", - "type": "Color", - "value": "Color(0.529412, 0.807843, 0.921569, 1)" - }, - { - "name": "SLATE_BLUE", - "type": "Color", - "value": "Color(0.415686, 0.352941, 0.803922, 1)" - }, - { - "name": "SLATE_GRAY", - "type": "Color", - "value": "Color(0.439216, 0.501961, 0.564706, 1)" - }, - { - "name": "SNOW", - "type": "Color", - "value": "Color(1, 0.980392, 0.980392, 1)" - }, - { - "name": "SPRING_GREEN", - "type": "Color", - "value": "Color(0, 1, 0.498039, 1)" - }, - { - "name": "STEEL_BLUE", - "type": "Color", - "value": "Color(0.27451, 0.509804, 0.705882, 1)" - }, - { - "name": "TAN", - "type": "Color", - "value": "Color(0.823529, 0.705882, 0.54902, 1)" - }, - { - "name": "TEAL", - "type": "Color", - "value": "Color(0, 0.501961, 0.501961, 1)" - }, - { - "name": "THISTLE", - "type": "Color", - "value": "Color(0.847059, 0.74902, 0.847059, 1)" - }, - { - "name": "TOMATO", - "type": "Color", - "value": "Color(1, 0.388235, 0.278431, 1)" - }, - { - "name": "TRANSPARENT", - "type": "Color", - "value": "Color(1, 1, 1, 0)" - }, - { - "name": "TURQUOISE", - "type": "Color", - "value": "Color(0.25098, 0.878431, 0.815686, 1)" - }, - { - "name": "VIOLET", - "type": "Color", - "value": "Color(0.933333, 0.509804, 0.933333, 1)" - }, - { - "name": "WEB_GRAY", - "type": "Color", - "value": "Color(0.501961, 0.501961, 0.501961, 1)" - }, - { - "name": "WEB_GREEN", - "type": "Color", - "value": "Color(0, 0.501961, 0, 1)" - }, - { - "name": "WEB_MAROON", - "type": "Color", - "value": "Color(0.501961, 0, 0, 1)" - }, - { - "name": "WEB_PURPLE", - "type": "Color", - "value": "Color(0.501961, 0, 0.501961, 1)" - }, - { - "name": "WHEAT", - "type": "Color", - "value": "Color(0.960784, 0.870588, 0.701961, 1)" - }, - { - "name": "WHITE", - "type": "Color", - "value": "Color(1, 1, 1, 1)" - }, - { - "name": "WHITE_SMOKE", - "type": "Color", - "value": "Color(0.960784, 0.960784, 0.960784, 1)" - }, - { - "name": "YELLOW", - "type": "Color", - "value": "Color(1, 1, 0, 1)" - }, - { - "name": "YELLOW_GREEN", - "type": "Color", - "value": "Color(0.603922, 0.803922, 0.196078, 1)" - } - ], - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "unary-", - "return_type": "Color" - }, - { - "name": "unary+", - "return_type": "Color" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "to_abgr32", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "to_rgba32", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "to_argb64", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "to_abgr64", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "to_rgba64", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "to_html", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3429816538, - "arguments": [ - { - "name": "with_alpha", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "clamp", - "return_type": "Color", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 105651410, - "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": 3334027602 - }, - { - "name": "lerp", - "return_type": "Color", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 402949615, - "arguments": [ - { - "name": "to", - "type": "Color" - }, - { - "name": "weight", - "type": "float" - } - ] - }, - { - "name": "lightened", - "return_type": "Color", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1466039168, - "arguments": [ - { - "name": "amount", - "type": "float" - } - ] - }, - { - "name": "darkened", - "return_type": "Color", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1466039168, - "arguments": [ - { - "name": "amount", - "type": "float" - } - ] - }, - { - "name": "blend", - "return_type": "Color", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3803690977, - "arguments": [ - { - "name": "over", - "type": "Color" - } - ] - }, - { - "name": "get_luminance", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "srgb_to_linear", - "return_type": "Color", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3334027602 - }, - { - "name": "linear_to_srgb", - "return_type": "Color", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3334027602 - }, - { - "name": "is_equal_approx", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3167426256, - "arguments": [ - { - "name": "to", - "type": "Color" - } - ] - }, - { - "name": "hex", - "return_type": "Color", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 351421375, - "arguments": [ - { - "name": "hex", - "type": "int" - } - ] - }, - { - "name": "hex64", - "return_type": "Color", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 351421375, - "arguments": [ - { - "name": "hex", - "type": "int" - } - ] - }, - { - "name": "html", - "return_type": "Color", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 2500054655, - "arguments": [ - { - "name": "rgba", - "type": "String" - } - ] - }, - { - "name": "html_is_valid", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 2942997125, - "arguments": [ - { - "name": "color", - "type": "String" - } - ] - }, - { - "name": "from_string", - "return_type": "Color", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 3755044230, - "arguments": [ - { - "name": "str", - "type": "String" - }, - { - "name": "default", - "type": "Color" - } - ] - }, - { - "name": "from_hsv", - "return_type": "Color", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 1573799446, - "arguments": [ - { - "name": "h", - "type": "float" - }, - { - "name": "s", - "type": "float" - }, - { - "name": "v", - "type": "float" - }, - { - "name": "alpha", - "type": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "from_ok_hsl", - "return_type": "Color", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 1573799446, - "arguments": [ - { - "name": "h", - "type": "float" - }, - { - "name": "s", - "type": "float" - }, - { - "name": "l", - "type": "float" - }, - { - "name": "alpha", - "type": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "from_rgbe9995", - "return_type": "Color", - "is_vararg": false, - "is_const": false, - "is_static": true, - "hash": 351421375, - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "%", - "right_type": "Variant", - "return_type": "String" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": "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": "Vector4", - "return_type": "String" - }, - { - "name": "%", - "right_type": "Vector4i", - "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": "Projection", - "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": "bool" - }, - { - "name": "<=", - "right_type": "StringName", - "return_type": "bool" - }, - { - "name": ">", - "right_type": "StringName", - "return_type": "bool" - }, - { - "name": ">=", - "right_type": "StringName", - "return_type": "bool" - }, - { - "name": "+", - "right_type": "StringName", - "return_type": "String" - }, - { - "name": "%", - "right_type": "StringName", - "return_type": "String" - }, - { - "name": "in", - "right_type": "StringName", - "return_type": "bool" - }, - { - "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": 2920860731, - "arguments": [ - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "nocasecmp_to", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2920860731, - "arguments": [ - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "naturalcasecmp_to", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2920860731, - "arguments": [ - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "naturalnocasecmp_to", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2920860731, - "arguments": [ - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "length", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "substr", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 787537301, - "arguments": [ - { - "name": "from", - "type": "int" - }, - { - "name": "len", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "get_slice", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3535100402, - "arguments": [ - { - "name": "delimiter", - "type": "String" - }, - { - "name": "slice", - "type": "int" - } - ] - }, - { - "name": "get_slicec", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 787537301, - "arguments": [ - { - "name": "delimiter", - "type": "int" - }, - { - "name": "slice", - "type": "int" - } - ] - }, - { - "name": "get_slice_count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2920860731, - "arguments": [ - { - "name": "delimiter", - "type": "String" - } - ] - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1760645412, - "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": 2343087891, - "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": 2343087891, - "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": 1760645412, - "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": 1760645412, - "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": 1760645412, - "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": 2566493496, - "arguments": [ - { - "name": "expr", - "type": "String" - } - ] - }, - { - "name": "matchn", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "expr", - "type": "String" - } - ] - }, - { - "name": "begins_with", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "ends_with", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "is_subsequence_of", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "is_subsequence_ofn", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "bigrams", - "return_type": "PackedStringArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 747180633 - }, - { - "name": "similarity", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2697460964, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "format", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3212199029, - "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": 1340436205, - "arguments": [ - { - "name": "what", - "type": "String" - }, - { - "name": "forwhat", - "type": "String" - } - ] - }, - { - "name": "replacen", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1340436205, - "arguments": [ - { - "name": "what", - "type": "String" - }, - { - "name": "forwhat", - "type": "String" - } - ] - }, - { - "name": "repeat", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2162347432, - "arguments": [ - { - "name": "count", - "type": "int" - } - ] - }, - { - "name": "reverse", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "insert", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 248737229, - "arguments": [ - { - "name": "position", - "type": "int" - }, - { - "name": "what", - "type": "String" - } - ] - }, - { - "name": "erase", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 787537301, - "arguments": [ - { - "name": "position", - "type": "int" - }, - { - "name": "chars", - "type": "int", - "default_value": "1" - } - ] - }, - { - "name": "capitalize", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "to_camel_case", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "to_pascal_case", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "to_snake_case", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "split", - "return_type": "PackedStringArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1252735785, - "arguments": [ - { - "name": "delimiter", - "type": "String", - "default_value": "\"\"" - }, - { - "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": 1252735785, - "arguments": [ - { - "name": "delimiter", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "allow_empty", - "type": "bool", - "default_value": "true" - }, - { - "name": "maxsplit", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "split_floats", - "return_type": "PackedFloat64Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2092079095, - "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": 3595973238, - "arguments": [ - { - "name": "parts", - "type": "PackedStringArray" - } - ] - }, - { - "name": "to_upper", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "to_lower", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "left", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2162347432, - "arguments": [ - { - "name": "length", - "type": "int" - } - ] - }, - { - "name": "right", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2162347432, - "arguments": [ - { - "name": "length", - "type": "int" - } - ] - }, - { - "name": "strip_edges", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 907855311, - "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": 3942272618 - }, - { - "name": "lstrip", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "chars", - "type": "String" - } - ] - }, - { - "name": "rstrip", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "chars", - "type": "String" - } - ] - }, - { - "name": "get_extension", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_basename", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "path_join", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "unicode_at", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "at", - "type": "int" - } - ] - }, - { - "name": "indent", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "prefix", - "type": "String" - } - ] - }, - { - "name": "dedent", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "md5_text", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "sha1_text", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "sha256_text", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "md5_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sha1_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sha256_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "contains", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "what", - "type": "String" - } - ] - }, - { - "name": "is_absolute_path", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_relative_path", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "simplify_path", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_base_dir", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_file", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "xml_escape", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3429816538, - "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": 3942272618 - }, - { - "name": "uri_encode", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "uri_decode", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "c_escape", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "c_unescape", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "json_escape", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "validate_node_name", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "validate_filename", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "is_valid_identifier", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_valid_int", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_valid_float", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_valid_hex_number", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 593672999, - "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": 3918633141 - }, - { - "name": "is_valid_ip_address", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_valid_filename", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "to_int", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "to_float", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 466405837 - }, - { - "name": "hex_to_int", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "bin_to_int", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "lpad", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 248737229, - "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": 248737229, - "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": 2162347432, - "arguments": [ - { - "name": "digits", - "type": "int" - } - ] - }, - { - "name": "pad_zeros", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2162347432, - "arguments": [ - { - "name": "digits", - "type": "int" - } - ] - }, - { - "name": "trim_prefix", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "prefix", - "type": "String" - } - ] - }, - { - "name": "trim_suffix", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3134094431, - "arguments": [ - { - "name": "suffix", - "type": "String" - } - ] - }, - { - "name": "to_ascii_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "to_utf8_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "to_utf16_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "to_utf32_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "hex_decode", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "to_wchar_buffer", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "hash", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "StringName" - } - ] - }, - { - "index": 2, - "arguments": [ - { - "name": "from", - "type": "String" - } - ] - } - ], - "has_destructor": true - }, - { - "name": "NodePath", - "is_keyed": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3918633141 - }, - { - "name": "get_name_count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "get_name", - "return_type": "StringName", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2948586938, - "arguments": [ - { - "name": "idx", - "type": "int" - } - ] - }, - { - "name": "get_subname_count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "hash", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "get_subname", - "return_type": "StringName", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2948586938, - "arguments": [ - { - "name": "idx", - "type": "int" - } - ] - }, - { - "name": "get_concatenated_names", - "return_type": "StringName", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1825232092 - }, - { - "name": "get_concatenated_subnames", - "return_type": "StringName", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1825232092 - }, - { - "name": "get_as_property_path", - "return_type": "NodePath", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1598598043 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "NodePath" - } - ] - }, - { - "index": 2, - "arguments": [ - { - "name": "from", - "type": "String" - } - ] - } - ], - "has_destructor": true - }, - { - "name": "RID", - "is_keyed": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "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" - }, - { - "name": ">=", - "right_type": "RID", - "return_type": "bool" - } - ], - "methods": [ - { - "name": "is_valid", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "get_id", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "RID" - } - ] - } - ], - "has_destructor": false - }, - { - "name": "Callable", - "is_keyed": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": "callv", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 413578926, - "arguments": [ - { - "name": "arguments", - "type": "Array" - } - ] - }, - { - "name": "is_null", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_custom", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_standard", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_valid", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "get_object", - "return_type": "Object", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4008621732 - }, - { - "name": "get_object_id", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "get_method", - "return_type": "StringName", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1825232092 - }, - { - "name": "get_bound_arguments_count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "get_bound_arguments", - "return_type": "Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4144163970 - }, - { - "name": "hash", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "bindv", - "return_type": "Callable", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3564560322, - "arguments": [ - { - "name": "arguments", - "type": "Array" - } - ] - }, - { - "name": "unbind", - "return_type": "Callable", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 755001590, - "arguments": [ - { - "name": "argcount", - "type": "int" - } - ] - }, - { - "name": "call", - "return_type": "Variant", - "is_vararg": true, - "is_const": true, - "is_static": false, - "hash": 3643564216 - }, - { - "name": "call_deferred", - "is_vararg": true, - "is_const": true, - "is_static": false, - "hash": 3286317445 - }, - { - "name": "rpc", - "is_vararg": true, - "is_const": true, - "is_static": false, - "hash": 3286317445 - }, - { - "name": "rpc_id", - "is_vararg": true, - "is_const": true, - "is_static": false, - "hash": 2270047679, - "arguments": [ - { - "name": "peer_id", - "type": "int" - } - ] - }, - { - "name": "bind", - "return_type": "Callable", - "is_vararg": true, - "is_const": true, - "is_static": false, - "hash": 3224143119 - } - ], - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3918633141 - }, - { - "name": "get_object", - "return_type": "Object", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4008621732 - }, - { - "name": "get_object_id", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "get_name", - "return_type": "StringName", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1825232092 - }, - { - "name": "connect", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 979702392, - "arguments": [ - { - "name": "callable", - "type": "Callable" - }, - { - "name": "flags", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "disconnect", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3470848906, - "arguments": [ - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "is_connected", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4129521963, - "arguments": [ - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "get_connections", - "return_type": "Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4144163970 - }, - { - "name": "emit", - "is_vararg": true, - "is_const": true, - "is_static": false, - "hash": 3286317445 - } - ], - "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": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "merge", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2079548978, - "arguments": [ - { - "name": "dictionary", - "type": "Dictionary" - }, - { - "name": "overwrite", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3680194679, - "arguments": [ - { - "name": "key", - "type": "Variant" - } - ] - }, - { - "name": "has_all", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2988181878, - "arguments": [ - { - "name": "keys", - "type": "Array" - } - ] - }, - { - "name": "find_key", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1988825835, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "erase", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1776646889, - "arguments": [ - { - "name": "key", - "type": "Variant" - } - ] - }, - { - "name": "hash", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "keys", - "return_type": "Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4144163970 - }, - { - "name": "values", - "return_type": "Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4144163970 - }, - { - "name": "duplicate", - "return_type": "Dictionary", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 830099069, - "arguments": [ - { - "name": "deep", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2205440559, - "arguments": [ - { - "name": "key", - "type": "Variant" - }, - { - "name": "default", - "type": "Variant", - "default_value": "null" - } - ] - }, - { - "name": "make_read_only", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "is_read_only", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "Dictionary" - } - ] - } - ], - "has_destructor": true - }, - { - "name": "Array", - "indexing_return_type": "Variant", - "is_keyed": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "hash", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "assign", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2307260970, - "arguments": [ - { - "name": "array", - "type": "Array" - } - ] - }, - { - "name": "push_back", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3316032543, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "push_front", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3316032543, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "append", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3316032543, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2307260970, - "arguments": [ - { - "name": "array", - "type": "Array" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "size", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3176316662, - "arguments": [ - { - "name": "position", - "type": "int" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "position", - "type": "int" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3316032543, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "erase", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3316032543, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "front", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1460142086 - }, - { - "name": "back", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1460142086 - }, - { - "name": "pick_random", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1460142086 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2336346817, - "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": 2336346817, - "arguments": [ - { - "name": "what", - "type": "Variant" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1481661226, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3680194679, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "pop_back", - "return_type": "Variant", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1321915136 - }, - { - "name": "pop_front", - "return_type": "Variant", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1321915136 - }, - { - "name": "pop_at", - "return_type": "Variant", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3518259424, - "arguments": [ - { - "name": "position", - "type": "int" - } - ] - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "sort_custom", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3470848906, - "arguments": [ - { - "name": "func", - "type": "Callable" - } - ] - }, - { - "name": "shuffle", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3372222236, - "arguments": [ - { - "name": "value", - "type": "Variant" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "bsearch_custom", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 161317131, - "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": 3218959716 - }, - { - "name": "duplicate", - "return_type": "Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 636440122, - "arguments": [ - { - "name": "deep", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "slice", - "return_type": "Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1393718243, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - }, - { - "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": 4075186556, - "arguments": [ - { - "name": "method", - "type": "Callable" - } - ] - }, - { - "name": "map", - "return_type": "Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4075186556, - "arguments": [ - { - "name": "method", - "type": "Callable" - } - ] - }, - { - "name": "reduce", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4272450342, - "arguments": [ - { - "name": "method", - "type": "Callable" - }, - { - "name": "accum", - "type": "Variant", - "default_value": "null" - } - ] - }, - { - "name": "any", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4129521963, - "arguments": [ - { - "name": "method", - "type": "Callable" - } - ] - }, - { - "name": "all", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4129521963, - "arguments": [ - { - "name": "method", - "type": "Callable" - } - ] - }, - { - "name": "max", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1460142086 - }, - { - "name": "min", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1460142086 - }, - { - "name": "is_typed", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "is_same_typed", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2988181878, - "arguments": [ - { - "name": "array", - "type": "Array" - } - ] - }, - { - "name": "get_typed_builtin", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3173160232 - }, - { - "name": "get_typed_class_name", - "return_type": "StringName", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1825232092 - }, - { - "name": "get_typed_script", - "return_type": "Variant", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1460142086 - }, - { - "name": "make_read_only", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "is_read_only", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - } - ], - "constructors": [ - { - "index": 0 - }, - { - "index": 1, - "arguments": [ - { - "name": "from", - "type": "Array" - } - ] - }, - { - "index": 2, - "arguments": [ - { - "name": "base", - "type": "Array" - }, - { - "name": "type", - "type": "int" - }, - { - "name": "class_name", - "type": "StringName" - }, - { - "name": "script", - "type": "Variant" - } - ] - }, - { - "index": 3, - "arguments": [ - { - "name": "from", - "type": "PackedByteArray" - } - ] - }, - { - "index": 4, - "arguments": [ - { - "name": "from", - "type": "PackedInt32Array" - } - ] - }, - { - "index": 5, - "arguments": [ - { - "name": "from", - "type": "PackedInt64Array" - } - ] - }, - { - "index": 6, - "arguments": [ - { - "name": "from", - "type": "PackedFloat32Array" - } - ] - }, - { - "index": 7, - "arguments": [ - { - "name": "from", - "type": "PackedFloat64Array" - } - ] - }, - { - "index": 8, - "arguments": [ - { - "name": "from", - "type": "PackedStringArray" - } - ] - }, - { - "index": 9, - "arguments": [ - { - "name": "from", - "type": "PackedVector2Array" - } - ] - }, - { - "index": 10, - "arguments": [ - { - "name": "from", - "type": "PackedVector3Array" - } - ] - }, - { - "index": 11, - "arguments": [ - { - "name": "from", - "type": "PackedColorArray" - } - ] - } - ], - "has_destructor": true - }, - { - "name": "PackedByteArray", - "indexing_return_type": "int", - "is_keyed": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "set", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "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": 694024632, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "append", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 694024632, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 791097111, - "arguments": [ - { - "name": "array", - "type": "PackedByteArray" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1487112728, - "arguments": [ - { - "name": "at_index", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "new_size", - "type": "int" - } - ] - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 931488181, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "reverse", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "slice", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2278869132, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - } - ] - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3380005890, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "duplicate", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 851781288 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2984303840, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "from", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "rfind", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2984303840, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "get_string_from_ascii", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_string_from_utf8", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_string_from_utf16", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_string_from_utf32", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "get_string_from_wchar", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "hex_encode", - "return_type": "String", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3942272618 - }, - { - "name": "compress", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1845905913, - "arguments": [ - { - "name": "compression_mode", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "decompress", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2278869132, - "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": 2278869132, - "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": 4103005248, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_s8", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_u16", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_s16", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_u32", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_s32", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_u64", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_s64", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_half", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1401583798, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_float", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1401583798, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "decode_double", - "return_type": "float", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1401583798, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - } - ] - }, - { - "name": "has_encoded_var", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2914632957, - "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": 1740420038, - "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": 954237325, - "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": 3158844420 - }, - { - "name": "to_int64_array", - "return_type": "PackedInt64Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1961294120 - }, - { - "name": "to_float32_array", - "return_type": "PackedFloat32Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3575107827 - }, - { - "name": "to_float64_array", - "return_type": "PackedFloat64Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1627308337 - }, - { - "name": "encode_u8", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "encode_s8", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "encode_u16", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "encode_s16", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "encode_u32", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "encode_s32", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "encode_u64", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "encode_s64", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "encode_half", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1113000516, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "encode_float", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1113000516, - "arguments": [ - { - "name": "byte_offset", - "type": "int" - }, - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "encode_double", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1113000516, - "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": 2604460497, - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "set", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "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": 694024632, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "append", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 694024632, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1087733270, - "arguments": [ - { - "name": "array", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1487112728, - "arguments": [ - { - "name": "at_index", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "new_size", - "type": "int" - } - ] - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 931488181, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "reverse", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "slice", - "return_type": "PackedInt32Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1216021098, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - } - ] - }, - { - "name": "to_byte_array", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3380005890, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "duplicate", - "return_type": "PackedInt32Array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1997843129 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2984303840, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "from", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "rfind", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2984303840, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - } - ], - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "set", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3638975848, - "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": 694024632, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "append", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 694024632, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2090311302, - "arguments": [ - { - "name": "array", - "type": "PackedInt64Array" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1487112728, - "arguments": [ - { - "name": "at_index", - "type": "int" - }, - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "new_size", - "type": "int" - } - ] - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 931488181, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - }, - { - "name": "reverse", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "slice", - "return_type": "PackedInt64Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1726550804, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - } - ] - }, - { - "name": "to_byte_array", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3380005890, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "duplicate", - "return_type": "PackedInt64Array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2376370016 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2984303840, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "from", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "rfind", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2984303840, - "arguments": [ - { - "name": "value", - "type": "int" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 4103005248, - "arguments": [ - { - "name": "value", - "type": "int" - } - ] - } - ], - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "set", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1113000516, - "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": 4094791666, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "append", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 4094791666, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2981316639, - "arguments": [ - { - "name": "array", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1379903876, - "arguments": [ - { - "name": "at_index", - "type": "int" - }, - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 833936903, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "new_size", - "type": "int" - } - ] - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1296369134, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "reverse", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "slice", - "return_type": "PackedFloat32Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1418229160, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - } - ] - }, - { - "name": "to_byte_array", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1188816338, - "arguments": [ - { - "name": "value", - "type": "float" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "duplicate", - "return_type": "PackedFloat32Array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 831114784 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1343150241, - "arguments": [ - { - "name": "value", - "type": "float" - }, - { - "name": "from", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "rfind", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1343150241, - "arguments": [ - { - "name": "value", - "type": "float" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2859915090, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - } - ], - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "set", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1113000516, - "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": 4094791666, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "append", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 4094791666, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 792078629, - "arguments": [ - { - "name": "array", - "type": "PackedFloat64Array" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1379903876, - "arguments": [ - { - "name": "at_index", - "type": "int" - }, - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 833936903, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "new_size", - "type": "int" - } - ] - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1296369134, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "reverse", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "slice", - "return_type": "PackedFloat64Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2192974324, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - } - ] - }, - { - "name": "to_byte_array", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1188816338, - "arguments": [ - { - "name": "value", - "type": "float" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "duplicate", - "return_type": "PackedFloat64Array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 949266573 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1343150241, - "arguments": [ - { - "name": "value", - "type": "float" - }, - { - "name": "from", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "rfind", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1343150241, - "arguments": [ - { - "name": "value", - "type": "float" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2859915090, - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - } - ], - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "set", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 725585539, - "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": 816187996, - "arguments": [ - { - "name": "value", - "type": "String" - } - ] - }, - { - "name": "append", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 816187996, - "arguments": [ - { - "name": "value", - "type": "String" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1120103966, - "arguments": [ - { - "name": "array", - "type": "PackedStringArray" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2432393153, - "arguments": [ - { - "name": "at_index", - "type": "int" - }, - { - "name": "value", - "type": "String" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3174917410, - "arguments": [ - { - "name": "value", - "type": "String" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "new_size", - "type": "int" - } - ] - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2566493496, - "arguments": [ - { - "name": "value", - "type": "String" - } - ] - }, - { - "name": "reverse", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "slice", - "return_type": "PackedStringArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2094601407, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - } - ] - }, - { - "name": "to_byte_array", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 328976671, - "arguments": [ - { - "name": "value", - "type": "String" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "duplicate", - "return_type": "PackedStringArray", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2991231410 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1760645412, - "arguments": [ - { - "name": "value", - "type": "String" - }, - { - "name": "from", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "rfind", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1760645412, - "arguments": [ - { - "name": "value", - "type": "String" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2920860731, - "arguments": [ - { - "name": "value", - "type": "String" - } - ] - } - ], - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "set", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 635767250, - "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": 4188891560, - "arguments": [ - { - "name": "value", - "type": "Vector2" - } - ] - }, - { - "name": "append", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 4188891560, - "arguments": [ - { - "name": "value", - "type": "Vector2" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3887534835, - "arguments": [ - { - "name": "array", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2225629369, - "arguments": [ - { - "name": "at_index", - "type": "int" - }, - { - "name": "value", - "type": "Vector2" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3790411178, - "arguments": [ - { - "name": "value", - "type": "Vector2" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "new_size", - "type": "int" - } - ] - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3190634762, - "arguments": [ - { - "name": "value", - "type": "Vector2" - } - ] - }, - { - "name": "reverse", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "slice", - "return_type": "PackedVector2Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3864005350, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - } - ] - }, - { - "name": "to_byte_array", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3778035805, - "arguments": [ - { - "name": "value", - "type": "Vector2" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "duplicate", - "return_type": "PackedVector2Array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3763646812 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1469606149, - "arguments": [ - { - "name": "value", - "type": "Vector2" - }, - { - "name": "from", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "rfind", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1469606149, - "arguments": [ - { - "name": "value", - "type": "Vector2" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2798848307, - "arguments": [ - { - "name": "value", - "type": "Vector2" - } - ] - } - ], - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "set", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3975343409, - "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": 3295363524, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "append", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3295363524, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 203538016, - "arguments": [ - { - "name": "array", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3892262309, - "arguments": [ - { - "name": "at_index", - "type": "int" - }, - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3726392409, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "new_size", - "type": "int" - } - ] - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1749054343, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "reverse", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "slice", - "return_type": "PackedVector3Array", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2086131305, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - } - ] - }, - { - "name": "to_byte_array", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 219263630, - "arguments": [ - { - "name": "value", - "type": "Vector3" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "duplicate", - "return_type": "PackedVector3Array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2754175465 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3718155780, - "arguments": [ - { - "name": "value", - "type": "Vector3" - }, - { - "name": "from", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "rfind", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3718155780, - "arguments": [ - { - "name": "value", - "type": "Vector3" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 194580386, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - } - ], - "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": false, - "operators": [ - { - "name": "==", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "!=", - "right_type": "Variant", - "return_type": "bool" - }, - { - "name": "not", - "return_type": "bool" - }, - { - "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": 3173160232 - }, - { - "name": "is_empty", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3918633141 - }, - { - "name": "set", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1444096570, - "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": 1007858200, - "arguments": [ - { - "name": "value", - "type": "Color" - } - ] - }, - { - "name": "append", - "return_type": "bool", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1007858200, - "arguments": [ - { - "name": "value", - "type": "Color" - } - ] - }, - { - "name": "append_array", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 798822497, - "arguments": [ - { - "name": "array", - "type": "PackedColorArray" - } - ] - }, - { - "name": "remove_at", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 2823966027, - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "insert", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 785289703, - "arguments": [ - { - "name": "at_index", - "type": "int" - }, - { - "name": "value", - "type": "Color" - } - ] - }, - { - "name": "fill", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3730314301, - "arguments": [ - { - "name": "value", - "type": "Color" - } - ] - }, - { - "name": "resize", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 848867239, - "arguments": [ - { - "name": "new_size", - "type": "int" - } - ] - }, - { - "name": "clear", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "has", - "return_type": "bool", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3167426256, - "arguments": [ - { - "name": "value", - "type": "Color" - } - ] - }, - { - "name": "reverse", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "slice", - "return_type": "PackedColorArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 2451797139, - "arguments": [ - { - "name": "begin", - "type": "int" - }, - { - "name": "end", - "type": "int", - "default_value": "2147483647" - } - ] - }, - { - "name": "to_byte_array", - "return_type": "PackedByteArray", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 247621236 - }, - { - "name": "sort", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 3218959716 - }, - { - "name": "bsearch", - "return_type": "int", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 314143821, - "arguments": [ - { - "name": "value", - "type": "Color" - }, - { - "name": "before", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "duplicate", - "return_type": "PackedColorArray", - "is_vararg": false, - "is_const": false, - "is_static": false, - "hash": 1011903421 - }, - { - "name": "find", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3156095363, - "arguments": [ - { - "name": "value", - "type": "Color" - }, - { - "name": "from", - "type": "int", - "default_value": "0" - } - ] - }, - { - "name": "rfind", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 3156095363, - "arguments": [ - { - "name": "value", - "type": "Color" - }, - { - "name": "from", - "type": "int", - "default_value": "-1" - } - ] - }, - { - "name": "count", - "return_type": "int", - "is_vararg": false, - "is_const": true, - "is_static": false, - "hash": 1682108616, - "arguments": [ - { - "name": "value", - "type": "Color" - } - ] - } - ], - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3122411423, - "hash_compatibility": [ - 3167574919 - ], - "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_static": false, - "is_virtual": false, - "hash": 527836100, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "src", - "type": "PackedByteArray" - } - ] - }, - { - "name": "get_iv_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2115431945, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "finish", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "AStar2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "_estimate_cost", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "from_id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_compute_cost", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "from_id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_available_point_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "add_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4074201818, - "hash_compatibility": [ - 3370185124 - ], - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "set_point_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_point_weight_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "set_point_weight_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "weight_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "remove_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "has_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_point_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2865087369, - "return_value": { - "type": "PackedInt64Array" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_point_ids", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3851388692, - "return_value": { - "type": "PackedInt64Array" - } - }, - { - "name": "set_point_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 972357352, - "hash_compatibility": [ - 4023243586 - ], - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "disabled", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "is_point_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "connect_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3710494224, - "hash_compatibility": [ - 3785370599 - ], - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - }, - { - "name": "bidirectional", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "disconnect_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3710494224, - "hash_compatibility": [ - 3785370599 - ], - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - }, - { - "name": "bidirectional", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "are_points_connected", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2288175859, - "hash_compatibility": [ - 4063588998 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - }, - { - "name": "bidirectional", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_point_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "get_point_capacity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "reserve_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "num_nodes", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_closest_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2300324924, - "return_value": { - "type": "int", - "meta": "int64" - }, - "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_static": false, - "is_virtual": false, - "hash": 2656412154, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "to_position", - "type": "Vector2" - } - ] - }, - { - "name": "get_point_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 281625055, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "from_id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_id_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3404614526, - "return_value": { - "type": "PackedInt64Array" - }, - "arguments": [ - { - "name": "from_id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - } - ] - } - ] - }, - { - "name": "AStar3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "_estimate_cost", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "from_id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_compute_cost", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "from_id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_available_point_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "add_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1038703438, - "hash_compatibility": [ - 2920922839 - ], - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "set_point_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_point_weight_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "set_point_weight_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "weight_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "remove_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "has_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_point_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2865087369, - "return_value": { - "type": "PackedInt64Array" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_point_ids", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3851388692, - "return_value": { - "type": "PackedInt64Array" - } - }, - { - "name": "set_point_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 972357352, - "hash_compatibility": [ - 4023243586 - ], - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "disabled", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "is_point_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "connect_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3710494224, - "hash_compatibility": [ - 3785370599 - ], - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - }, - { - "name": "bidirectional", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "disconnect_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3710494224, - "hash_compatibility": [ - 3785370599 - ], - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - }, - { - "name": "bidirectional", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "are_points_connected", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2288175859, - "hash_compatibility": [ - 4063588998 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - }, - { - "name": "bidirectional", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_point_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "get_point_capacity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "reserve_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "num_nodes", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_closest_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3241074317, - "return_value": { - "type": "int", - "meta": "int64" - }, - "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_static": false, - "is_virtual": false, - "hash": 192990374, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "to_position", - "type": "Vector3" - } - ] - }, - { - "name": "get_point_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 880819742, - "return_value": { - "type": "PackedVector3Array" - }, - "arguments": [ - { - "name": "from_id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_id_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3404614526, - "return_value": { - "type": "PackedInt64Array" - }, - "arguments": [ - { - "name": "from_id", - "type": "int", - "meta": "int64" - }, - { - "name": "to_id", - "type": "int", - "meta": "int64" - } - ] - } - ] - }, - { - "name": "AStarGrid2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "Heuristic", - "is_bitfield": false, - "values": [ - { - "name": "HEURISTIC_EUCLIDEAN", - "value": 0 - }, - { - "name": "HEURISTIC_MANHATTAN", - "value": 1 - }, - { - "name": "HEURISTIC_OCTILE", - "value": 2 - }, - { - "name": "HEURISTIC_CHEBYSHEV", - "value": 3 - }, - { - "name": "HEURISTIC_MAX", - "value": 4 - } - ] - }, - { - "name": "DiagonalMode", - "is_bitfield": false, - "values": [ - { - "name": "DIAGONAL_MODE_ALWAYS", - "value": 0 - }, - { - "name": "DIAGONAL_MODE_NEVER", - "value": 1 - }, - { - "name": "DIAGONAL_MODE_AT_LEAST_ONE_WALKABLE", - "value": 2 - }, - { - "name": "DIAGONAL_MODE_ONLY_IF_NO_OBSTACLES", - "value": 3 - }, - { - "name": "DIAGONAL_MODE_MAX", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "_estimate_cost", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "from_id", - "type": "Vector2i" - }, - { - "name": "to_id", - "type": "Vector2i" - } - ] - }, - { - "name": "_compute_cost", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "from_id", - "type": "Vector2i" - }, - { - "name": "to_id", - "type": "Vector2i" - } - ] - }, - { - "name": "set_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1763793166, - "arguments": [ - { - "name": "region", - "type": "Rect2i" - } - ] - }, - { - "name": "get_region", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 410525958, - "return_value": { - "type": "Rect2i" - } - }, - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_cell_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "cell_size", - "type": "Vector2" - } - ] - }, - { - "name": "get_cell_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "is_in_bounds", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2522259332, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "x", - "type": "int", - "meta": "int32" - }, - { - "name": "y", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_in_boundsv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3900751641, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "Vector2i" - } - ] - }, - { - "name": "is_dirty", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_jumping_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_jumping_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_diagonal_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1017829798, - "arguments": [ - { - "name": "mode", - "type": "enum::AStarGrid2D.DiagonalMode" - } - ] - }, - { - "name": "get_diagonal_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3129282674, - "return_value": { - "type": "enum::AStarGrid2D.DiagonalMode" - } - }, - { - "name": "set_default_compute_heuristic", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1044375519, - "arguments": [ - { - "name": "heuristic", - "type": "enum::AStarGrid2D.Heuristic" - } - ] - }, - { - "name": "get_default_compute_heuristic", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2074731422, - "return_value": { - "type": "enum::AStarGrid2D.Heuristic" - } - }, - { - "name": "set_default_estimate_heuristic", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1044375519, - "arguments": [ - { - "name": "heuristic", - "type": "enum::AStarGrid2D.Heuristic" - } - ] - }, - { - "name": "get_default_estimate_heuristic", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2074731422, - "return_value": { - "type": "enum::AStarGrid2D.Heuristic" - } - }, - { - "name": "set_point_solid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1765703753, - "hash_compatibility": [ - 2825551965 - ], - "arguments": [ - { - "name": "id", - "type": "Vector2i" - }, - { - "name": "solid", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "is_point_solid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3900751641, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "Vector2i" - } - ] - }, - { - "name": "set_point_weight_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2262553149, - "arguments": [ - { - "name": "id", - "type": "Vector2i" - }, - { - "name": "weight_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_point_weight_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 719993801, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "id", - "type": "Vector2i" - } - ] - }, - { - "name": "fill_solid_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2261970063, - "hash_compatibility": [ - 1152863744 - ], - "arguments": [ - { - "name": "region", - "type": "Rect2i" - }, - { - "name": "solid", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "fill_weight_scale_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2793244083, - "arguments": [ - { - "name": "region", - "type": "Rect2i" - }, - { - "name": "weight_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_point_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 108438297, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "id", - "type": "Vector2i" - } - ] - }, - { - "name": "get_point_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 690373547, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "from_id", - "type": "Vector2i" - }, - { - "name": "to_id", - "type": "Vector2i" - } - ] - }, - { - "name": "get_id_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1989391000, - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "from_id", - "type": "Vector2i" - }, - { - "name": "to_id", - "type": "Vector2i" - } - ] - } - ], - "properties": [ - { - "type": "Rect2i", - "name": "region", - "setter": "set_region", - "getter": "get_region" - }, - { - "type": "Vector2i", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "Vector2", - "name": "cell_size", - "setter": "set_cell_size", - "getter": "get_cell_size" - }, - { - "type": "bool", - "name": "jumping_enabled", - "setter": "set_jumping_enabled", - "getter": "is_jumping_enabled" - }, - { - "type": "int", - "name": "default_compute_heuristic", - "setter": "set_default_compute_heuristic", - "getter": "get_default_compute_heuristic" - }, - { - "type": "int", - "name": "default_estimate_heuristic", - "setter": "set_default_estimate_heuristic", - "getter": "get_default_estimate_heuristic" - }, - { - "type": "int", - "name": "diagonal_mode", - "setter": "set_diagonal_mode", - "getter": "get_diagonal_mode" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1856205918, - "return_value": { - "type": "Button" - } - }, - { - "name": "get_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 566733104, - "return_value": { - "type": "Label" - } - }, - { - "name": "set_hide_on_ok", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_hide_on_ok", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_close_on_escape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_close_on_escape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_button", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3328440682, - "hash_compatibility": [ - 4158837846 - ], - "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_static": false, - "is_virtual": false, - "hash": 242045556, - "return_value": { - "type": "Button" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "remove_button", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "button", - "type": "Control" - } - ] - }, - { - "name": "register_text_enter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "line_edit", - "type": "Control" - } - ] - }, - { - "name": "set_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_autowrap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "autowrap", - "type": "bool" - } - ] - }, - { - "name": "has_autowrap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_ok_button_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_ok_button_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "signals": [ - { - "name": "confirmed" - }, - { - "name": "canceled" - }, - { - "name": "custom_action", - "arguments": [ - { - "name": "action", - "type": "StringName" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "ok_button_text", - "setter": "set_ok_button_text", - "getter": "get_ok_button_text" - }, - { - "type": "String", - "name": "dialog_text", - "setter": "set_text", - "getter": "get_text" - }, - { - "type": "bool", - "name": "dialog_hide_on_ok", - "setter": "set_hide_on_ok", - "getter": "get_hide_on_ok" - }, - { - "type": "bool", - "name": "dialog_close_on_escape", - "setter": "set_close_on_escape", - "getter": "get_close_on_escape" - }, - { - "type": "bool", - "name": "dialog_autowrap", - "setter": "set_autowrap", - "getter": "has_autowrap" - } - ] - }, - { - "name": "AnimatableBody2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "StaticBody2D", - "api_type": "core", - "methods": [ - { - "name": "set_sync_to_physics", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_sync_to_physics_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "sync_to_physics", - "setter": "set_sync_to_physics", - "getter": "is_sync_to_physics_enabled" - } - ] - }, - { - "name": "AnimatableBody3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "StaticBody3D", - "api_type": "core", - "methods": [ - { - "name": "set_sync_to_physics", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_sync_to_physics_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "sync_to_physics", - "setter": "set_sync_to_physics", - "getter": "is_sync_to_physics_enabled" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 905781144, - "arguments": [ - { - "name": "sprite_frames", - "type": "SpriteFrames" - } - ] - }, - { - "name": "get_sprite_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3804851214, - "return_value": { - "type": "SpriteFrames" - } - }, - { - "name": "set_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_autoplay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_autoplay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_playing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "play", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2372066587, - "arguments": [ - { - "name": "name", - "type": "StringName", - "default_value": "&\"\"" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1421762485, - "arguments": [ - { - "name": "name", - "type": "StringName", - "default_value": "&\"\"" - } - ] - }, - { - "name": "pause", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_centered", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "centered", - "type": "bool" - } - ] - }, - { - "name": "is_centered", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_flip_h", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_h", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_h", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_flip_v", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_v", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_v", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_frame_progress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "progress", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_frame_progress", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_frame_and_progress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - }, - { - "name": "progress", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "speed_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_speed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_playing_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "signals": [ - { - "name": "sprite_frames_changed" - }, - { - "name": "animation_changed" - }, - { - "name": "frame_changed" - }, - { - "name": "animation_looped" - }, - { - "name": "animation_finished" - } - ], - "properties": [ - { - "type": "SpriteFrames", - "name": "sprite_frames", - "setter": "set_sprite_frames", - "getter": "get_sprite_frames" - }, - { - "type": "StringName", - "name": "animation", - "setter": "set_animation", - "getter": "get_animation" - }, - { - "type": "StringName", - "name": "autoplay", - "setter": "set_autoplay", - "getter": "get_autoplay" - }, - { - "type": "int", - "name": "frame", - "setter": "set_frame", - "getter": "get_frame" - }, - { - "type": "float", - "name": "frame_progress", - "setter": "set_frame_progress", - "getter": "get_frame_progress" - }, - { - "type": "float", - "name": "speed_scale", - "setter": "set_speed_scale", - "getter": "get_speed_scale" - }, - { - "type": "bool", - "name": "centered", - "setter": "set_centered", - "getter": "is_centered" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "bool", - "name": "flip_h", - "setter": "set_flip_h", - "getter": "is_flipped_h" - }, - { - "type": "bool", - "name": "flip_v", - "setter": "set_flip_v", - "getter": "is_flipped_v" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 905781144, - "arguments": [ - { - "name": "sprite_frames", - "type": "SpriteFrames" - } - ] - }, - { - "name": "get_sprite_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3804851214, - "return_value": { - "type": "SpriteFrames" - } - }, - { - "name": "set_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_autoplay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_autoplay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_playing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "play", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2372066587, - "arguments": [ - { - "name": "name", - "type": "StringName", - "default_value": "&\"\"" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1421762485, - "arguments": [ - { - "name": "name", - "type": "StringName", - "default_value": "&\"\"" - } - ] - }, - { - "name": "pause", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_frame_progress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "progress", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_frame_progress", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_frame_and_progress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - }, - { - "name": "progress", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "speed_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_speed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_playing_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "signals": [ - { - "name": "sprite_frames_changed" - }, - { - "name": "animation_changed" - }, - { - "name": "frame_changed" - }, - { - "name": "animation_looped" - }, - { - "name": "animation_finished" - } - ], - "properties": [ - { - "type": "SpriteFrames", - "name": "sprite_frames", - "setter": "set_sprite_frames", - "getter": "get_sprite_frames" - }, - { - "type": "StringName", - "name": "animation", - "setter": "set_animation", - "getter": "get_animation" - }, - { - "type": "StringName", - "name": "autoplay", - "setter": "set_autoplay", - "getter": "get_autoplay" - }, - { - "type": "int", - "name": "frame", - "setter": "set_frame", - "getter": "get_frame" - }, - { - "type": "float", - "name": "frame_progress", - "setter": "set_frame_progress", - "getter": "get_frame_progress" - }, - { - "type": "float", - "name": "speed_scale", - "setter": "set_speed_scale", - "getter": "get_speed_scale" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frames", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_current_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_current_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_pause", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pause", - "type": "bool" - } - ] - }, - { - "name": "get_pause", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_one_shot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "one_shot", - "type": "bool" - } - ] - }, - { - "name": "get_one_shot", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_speed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_frame_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_frame_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_frame_duration", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - }, - { - "name": "duration", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_frame_duration", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "frames", - "setter": "set_frames", - "getter": "get_frames" - }, - { - "type": "int", - "name": "current_frame", - "setter": "set_current_frame", - "getter": "get_current_frame" - }, - { - "type": "bool", - "name": "pause", - "setter": "set_pause", - "getter": "get_pause" - }, - { - "type": "bool", - "name": "one_shot", - "setter": "set_one_shot", - "getter": "get_one_shot" - }, - { - "type": "float", - "name": "speed_scale", - "setter": "set_speed_scale", - "getter": "get_speed_scale" - } - ] - }, - { - "name": "Animation", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "TrackType", - "is_bitfield": false, - "values": [ - { - "name": "TYPE_VALUE", - "value": 0 - }, - { - "name": "TYPE_POSITION_3D", - "value": 1 - }, - { - "name": "TYPE_ROTATION_3D", - "value": 2 - }, - { - "name": "TYPE_SCALE_3D", - "value": 3 - }, - { - "name": "TYPE_BLEND_SHAPE", - "value": 4 - }, - { - "name": "TYPE_METHOD", - "value": 5 - }, - { - "name": "TYPE_BEZIER", - "value": 6 - }, - { - "name": "TYPE_AUDIO", - "value": 7 - }, - { - "name": "TYPE_ANIMATION", - "value": 8 - } - ] - }, - { - "name": "InterpolationType", - "is_bitfield": false, - "values": [ - { - "name": "INTERPOLATION_NEAREST", - "value": 0 - }, - { - "name": "INTERPOLATION_LINEAR", - "value": 1 - }, - { - "name": "INTERPOLATION_CUBIC", - "value": 2 - }, - { - "name": "INTERPOLATION_LINEAR_ANGLE", - "value": 3 - }, - { - "name": "INTERPOLATION_CUBIC_ANGLE", - "value": 4 - } - ] - }, - { - "name": "UpdateMode", - "is_bitfield": false, - "values": [ - { - "name": "UPDATE_CONTINUOUS", - "value": 0 - }, - { - "name": "UPDATE_DISCRETE", - "value": 1 - }, - { - "name": "UPDATE_CAPTURE", - "value": 2 - } - ] - }, - { - "name": "LoopMode", - "is_bitfield": false, - "values": [ - { - "name": "LOOP_NONE", - "value": 0 - }, - { - "name": "LOOP_LINEAR", - "value": 1 - }, - { - "name": "LOOP_PINGPONG", - "value": 2 - } - ] - }, - { - "name": "LoopedFlag", - "is_bitfield": false, - "values": [ - { - "name": "LOOPED_FLAG_NONE", - "value": 0 - }, - { - "name": "LOOPED_FLAG_END", - "value": 1 - }, - { - "name": "LOOPED_FLAG_START", - "value": 2 - } - ] - }, - { - "name": "FindMode", - "is_bitfield": false, - "values": [ - { - "name": "FIND_MODE_NEAREST", - "value": 0 - }, - { - "name": "FIND_MODE_APPROX", - "value": 1 - }, - { - "name": "FIND_MODE_EXACT", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "add_track", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3843682357, - "hash_compatibility": [ - 2393815928 - ], - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_track_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "track_get_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3445944217, - "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_static": false, - "is_virtual": false, - "hash": 408788394, - "return_value": { - "type": "NodePath" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "track_set_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761262315, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "find_track", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 245376003, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - }, - { - "name": "type", - "type": "enum::Animation.TrackType" - } - ] - }, - { - "name": "track_move_up", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "track_move_down", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "track_move_to", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "imported", - "type": "bool" - } - ] - }, - { - "name": "track_is_imported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "track_set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "track_is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "position_track_insert_key", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2540608232, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "rotation_track_insert_key", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4165004800, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "rotation", - "type": "Quaternion" - } - ] - }, - { - "name": "scale_track_insert_key", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2540608232, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "blend_shape_track_insert_key", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1534913637, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "position_track_interpolate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3285246857, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time_sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "rotation_track_interpolate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1988711975, - "return_value": { - "type": "Quaternion" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time_sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "scale_track_interpolate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3285246857, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time_sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "blend_shape_track_interpolate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1900462983, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time_sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "track_insert_key", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 808952278, - "hash_compatibility": [ - 1985425300 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "key", - "type": "Variant" - }, - { - "name": "transition", - "type": "float", - "meta": "float", - "default_value": "1" - } - ] - }, - { - "name": "track_remove_key", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "track_set_key_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2060538656, - "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_static": false, - "is_virtual": false, - "hash": 3506521499, - "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_static": false, - "is_virtual": false, - "hash": 3506521499, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "key_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "track_get_key_transition", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3085491603, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 678354945, - "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_static": false, - "is_virtual": false, - "hash": 3085491603, - "return_value": { - "type": "float", - "meta": "double" - }, - "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_static": false, - "is_virtual": false, - "hash": 3245197284, - "hash_compatibility": [ - 3898229885 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "find_mode", - "type": "enum::Animation.FindMode", - "default_value": "0" - } - ] - }, - { - "name": "track_set_interpolation_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4112932513, - "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_static": false, - "is_virtual": false, - "hash": 1530756894, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "track_is_compressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "value_track_set_update_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2854058312, - "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_static": false, - "is_virtual": false, - "hash": 1440326473, - "return_value": { - "type": "enum::Animation.UpdateMode" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "value_track_interpolate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 491147702, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time_sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "method_track_get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 351665558, - "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_static": false, - "is_virtual": false, - "hash": 2345056839, - "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_static": false, - "is_virtual": false, - "hash": 3656773645, - "hash_compatibility": [ - 1057544502 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3506521499, - "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_static": false, - "is_virtual": false, - "hash": 1719223284, - "hash_compatibility": [ - 1028302688 - ], - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "key_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "in_handle", - "type": "Vector2" - }, - { - "name": "balanced_value_time_ratio", - "type": "float", - "meta": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "bezier_track_set_key_out_handle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1719223284, - "hash_compatibility": [ - 1028302688 - ], - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "key_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "out_handle", - "type": "Vector2" - }, - { - "name": "balanced_value_time_ratio", - "type": "float", - "meta": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "bezier_track_get_key_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3085491603, - "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_static": false, - "is_virtual": false, - "hash": 3016396712, - "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_static": false, - "is_virtual": false, - "hash": 3016396712, - "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_static": false, - "is_virtual": false, - "hash": 1900462983, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "audio_track_insert_key", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4021027286, - "hash_compatibility": [ - 3489962123 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3886397084, - "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_static": false, - "is_virtual": false, - "hash": 3506521499, - "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_static": false, - "is_virtual": false, - "hash": 3506521499, - "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_static": false, - "is_virtual": false, - "hash": 635277205, - "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_static": false, - "is_virtual": false, - "hash": 3085491603, - "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_static": false, - "is_virtual": false, - "hash": 3085491603, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "key_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "audio_track_set_use_blend", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "audio_track_is_use_blend", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "animation_track_insert_key", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 158676774, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "animation", - "type": "StringName" - } - ] - }, - { - "name": "animation_track_set_key_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 117615382, - "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_static": false, - "is_virtual": false, - "hash": 351665558, - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time_sec", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_loop_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3155355575, - "arguments": [ - { - "name": "loop_mode", - "type": "enum::Animation.LoopMode" - } - ] - }, - { - "name": "get_loop_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1988889481, - "return_value": { - "type": "enum::Animation.LoopMode" - } - }, - { - "name": "set_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size_sec", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "copy_track", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 148001024, - "arguments": [ - { - "name": "track_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "to_animation", - "type": "Animation" - } - ] - }, - { - "name": "compress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3608408117, - "arguments": [ - { - "name": "page_size", - "type": "int", - "meta": "uint32", - "default_value": "8192" - }, - { - "name": "fps", - "type": "int", - "meta": "uint32", - "default_value": "120" - }, - { - "name": "split_tolerance", - "type": "float", - "meta": "float", - "default_value": "4.0" - } - ] - } - ], - "properties": [ - { - "type": "float", - "name": "length", - "setter": "set_length", - "getter": "get_length" - }, - { - "type": "int", - "name": "loop_mode", - "setter": "set_loop_mode", - "getter": "get_loop_mode" - }, - { - "type": "float", - "name": "step", - "setter": "set_step", - "getter": "get_step" - } - ] - }, - { - "name": "AnimationLibrary", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "add_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1811855551, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "animation", - "type": "Animation" - } - ] - }, - { - "name": "remove_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "rename_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "newname", - "type": "StringName" - } - ] - }, - { - "name": "has_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2933122410, - "return_value": { - "type": "Animation" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_animation_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::StringName" - } - } - ], - "signals": [ - { - "name": "animation_added", - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "animation_removed", - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "animation_renamed", - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "to_name", - "type": "StringName" - } - ] - }, - { - "name": "animation_changed", - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - } - ] - }, - { - "name": "AnimationMixer", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Node", - "api_type": "core", - "enums": [ - { - "name": "AnimationCallbackModeProcess", - "is_bitfield": false, - "values": [ - { - "name": "ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS", - "value": 0 - }, - { - "name": "ANIMATION_CALLBACK_MODE_PROCESS_IDLE", - "value": 1 - }, - { - "name": "ANIMATION_CALLBACK_MODE_PROCESS_MANUAL", - "value": 2 - } - ] - }, - { - "name": "AnimationCallbackModeMethod", - "is_bitfield": false, - "values": [ - { - "name": "ANIMATION_CALLBACK_MODE_METHOD_DEFERRED", - "value": 0 - }, - { - "name": "ANIMATION_CALLBACK_MODE_METHOD_IMMEDIATE", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "_post_process_key_value", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "animation", - "type": "Animation" - }, - { - "name": "track", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "Variant" - }, - { - "name": "object", - "type": "Object" - }, - { - "name": "object_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_animation_library", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 618909818, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "library", - "type": "AnimationLibrary" - } - ] - }, - { - "name": "remove_animation_library", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "rename_animation_library", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "newname", - "type": "StringName" - } - ] - }, - { - "name": "has_animation_library", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_animation_library", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 147342321, - "return_value": { - "type": "AnimationLibrary" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_animation_library_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::StringName" - } - }, - { - "name": "has_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2933122410, - "return_value": { - "type": "Animation" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_animation_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "is_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_deterministic", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "deterministic", - "type": "bool" - } - ] - }, - { - "name": "is_deterministic", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_root_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_root_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_callback_mode_process", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2153733086, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationMixer.AnimationCallbackModeProcess" - } - ] - }, - { - "name": "get_callback_mode_process", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1394468472, - "return_value": { - "type": "enum::AnimationMixer.AnimationCallbackModeProcess" - } - }, - { - "name": "set_callback_mode_method", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 742218271, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationMixer.AnimationCallbackModeMethod" - } - ] - }, - { - "name": "get_callback_mode_method", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 489449656, - "return_value": { - "type": "enum::AnimationMixer.AnimationCallbackModeMethod" - } - }, - { - "name": "set_audio_max_polyphony", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_polyphony", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_audio_max_polyphony", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_root_motion_track", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_root_motion_track", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "get_root_motion_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_root_motion_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1222331677, - "return_value": { - "type": "Quaternion" - } - }, - { - "name": "get_root_motion_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_root_motion_position_accumulator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_root_motion_rotation_accumulator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1222331677, - "return_value": { - "type": "Quaternion" - } - }, - { - "name": "get_root_motion_scale_accumulator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "clear_caches", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "advance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "delta", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_reset_on_save_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_reset_on_save_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "find_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1559484580, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "animation", - "type": "Animation" - } - ] - }, - { - "name": "find_animation_library", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1559484580, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "animation", - "type": "Animation" - } - ] - } - ], - "signals": [ - { - "name": "mixer_updated" - }, - { - "name": "animation_list_changed" - }, - { - "name": "animation_libraries_updated" - }, - { - "name": "animation_finished", - "arguments": [ - { - "name": "anim_name", - "type": "StringName" - } - ] - }, - { - "name": "animation_started", - "arguments": [ - { - "name": "anim_name", - "type": "StringName" - } - ] - }, - { - "name": "caches_cleared" - } - ], - "properties": [ - { - "type": "bool", - "name": "active", - "setter": "set_active", - "getter": "is_active" - }, - { - "type": "bool", - "name": "deterministic", - "setter": "set_deterministic", - "getter": "is_deterministic" - }, - { - "type": "bool", - "name": "reset_on_save", - "setter": "set_reset_on_save_enabled", - "getter": "is_reset_on_save_enabled" - }, - { - "type": "NodePath", - "name": "root_node", - "setter": "set_root_node", - "getter": "get_root_node" - }, - { - "type": "NodePath", - "name": "root_motion_track", - "setter": "set_root_motion_track", - "getter": "get_root_motion_track" - }, - { - "type": "int", - "name": "audio_max_polyphony", - "setter": "set_audio_max_polyphony", - "getter": "get_audio_max_polyphony" - }, - { - "type": "int", - "name": "callback_mode_process", - "setter": "set_callback_mode_process", - "getter": "get_callback_mode_process" - }, - { - "type": "int", - "name": "callback_mode_method", - "setter": "set_callback_mode_method", - "getter": "get_callback_mode_method" - } - ] - }, - { - "name": "AnimationNode", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "FilterAction", - "is_bitfield": false, - "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": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "_get_parameter_list", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Array" - } - }, - { - "name": "_get_child_by_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "AnimationNode" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "_get_parameter_default_value", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "parameter", - "type": "StringName" - } - ] - }, - { - "name": "_is_parameter_read_only", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "parameter", - "type": "StringName" - } - ] - }, - { - "name": "_process", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "seek", - "type": "bool" - }, - { - "name": "is_external_seeking", - "type": "bool" - }, - { - "name": "test_only", - "type": "bool" - } - ] - }, - { - "name": "_get_caption", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_has_filter", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "remove_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_input_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 215573526, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "input", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_input_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "input", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_input_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_input", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_filter_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3868023870, - "arguments": [ - { - "name": "path", - "type": "NodePath" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_path_filtered", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 861721659, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "set_filter_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_filter_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "blend_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1630801826, - "hash_compatibility": [ - 11797022 - ], - "arguments": [ - { - "name": "animation", - "type": "StringName" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "delta", - "type": "float", - "meta": "double" - }, - { - "name": "seeked", - "type": "bool" - }, - { - "name": "is_external_seeking", - "type": "bool" - }, - { - "name": "blend", - "type": "float", - "meta": "float" - }, - { - "name": "looped_flag", - "type": "enum::Animation.LoopedFlag", - "default_value": "0" - } - ] - }, - { - "name": "blend_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1746075988, - "hash_compatibility": [ - 263389446 - ], - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "node", - "type": "AnimationNode" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "seek", - "type": "bool" - }, - { - "name": "is_external_seeking", - "type": "bool" - }, - { - "name": "blend", - "type": "float", - "meta": "float" - }, - { - "name": "filter", - "type": "enum::AnimationNode.FilterAction", - "default_value": "0" - }, - { - "name": "sync", - "type": "bool", - "default_value": "true" - }, - { - "name": "test_only", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "blend_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1361527350, - "hash_compatibility": [ - 2709059328 - ], - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "input_index", - "type": "int", - "meta": "int32" - }, - { - "name": "time", - "type": "float", - "meta": "double" - }, - { - "name": "seek", - "type": "bool" - }, - { - "name": "is_external_seeking", - "type": "bool" - }, - { - "name": "blend", - "type": "float", - "meta": "float" - }, - { - "name": "filter", - "type": "enum::AnimationNode.FilterAction", - "default_value": "0" - }, - { - "name": "sync", - "type": "bool", - "default_value": "true" - }, - { - "name": "test_only", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_parameter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get_parameter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - } - ], - "signals": [ - { - "name": "tree_changed" - }, - { - "name": "animation_node_renamed", - "arguments": [ - { - "name": "object_id", - "type": "int" - }, - { - "name": "old_name", - "type": "String" - }, - { - "name": "new_name", - "type": "String" - } - ] - }, - { - "name": "animation_node_removed", - "arguments": [ - { - "name": "object_id", - "type": "int" - }, - { - "name": "name", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "filter_enabled", - "setter": "set_filter_enabled", - "getter": "is_filter_enabled" - }, - { - "type": "Array", - "name": "filters", - "setter": "_set_filters", - "getter": "_get_filters" - } - ] - }, - { - "name": "AnimationNodeAdd2", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationNodeSync", - "api_type": "core" - }, - { - "name": "AnimationNodeAdd3", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationNodeSync", - "api_type": "core" - }, - { - "name": "AnimationNodeAnimation", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationRootNode", - "api_type": "core", - "enums": [ - { - "name": "PlayMode", - "is_bitfield": false, - "values": [ - { - "name": "PLAY_MODE_FORWARD", - "value": 0 - }, - { - "name": "PLAY_MODE_BACKWARD", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_play_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3347718873, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationNodeAnimation.PlayMode" - } - ] - }, - { - "name": "get_play_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2061244637, - "return_value": { - "type": "enum::AnimationNodeAnimation.PlayMode" - } - } - ], - "properties": [ - { - "type": "StringName", - "name": "animation", - "setter": "set_animation", - "getter": "get_animation" - }, - { - "type": "int", - "name": "play_mode", - "setter": "set_play_mode", - "getter": "get_play_mode" - } - ] - }, - { - "name": "AnimationNodeBlend2", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationNodeSync", - "api_type": "core" - }, - { - "name": "AnimationNodeBlend3", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationNodeSync", - "api_type": "core" - }, - { - "name": "AnimationNodeBlendSpace1D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationRootNode", - "api_type": "core", - "enums": [ - { - "name": "BlendMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 285050433, - "hash_compatibility": [ - 4069484420 - ], - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 4240341528, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - }, - { - "name": "node", - "type": "AnimationRootNode" - } - ] - }, - { - "name": "get_blend_point_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 665599029, - "return_value": { - "type": "AnimationRootNode" - }, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_blend_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_blend_point_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_min_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "min_space", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_min_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max_space", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_snap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "snap", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_snap", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_value_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_value_label", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_blend_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2600869457, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationNodeBlendSpace1D.BlendMode" - } - ] - }, - { - "name": "get_blend_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1547667849, - "return_value": { - "type": "enum::AnimationNodeBlendSpace1D.BlendMode" - } - }, - { - "name": "set_use_sync", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_sync", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "min_space", - "setter": "set_min_space", - "getter": "get_min_space" - }, - { - "type": "float", - "name": "max_space", - "setter": "set_max_space", - "getter": "get_max_space" - }, - { - "type": "float", - "name": "snap", - "setter": "set_snap", - "getter": "get_snap" - }, - { - "type": "String", - "name": "value_label", - "setter": "set_value_label", - "getter": "get_value_label" - }, - { - "type": "int", - "name": "blend_mode", - "setter": "set_blend_mode", - "getter": "get_blend_mode" - }, - { - "type": "bool", - "name": "sync", - "setter": "set_use_sync", - "getter": "is_using_sync" - } - ] - }, - { - "name": "AnimationNodeBlendSpace2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationRootNode", - "api_type": "core", - "enums": [ - { - "name": "BlendMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 402261981, - "hash_compatibility": [ - 1533588937 - ], - "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_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - }, - { - "name": "pos", - "type": "Vector2" - } - ] - }, - { - "name": "get_blend_point_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_blend_point_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4240341528, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - }, - { - "name": "node", - "type": "AnimationRootNode" - } - ] - }, - { - "name": "get_blend_point_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 665599029, - "return_value": { - "type": "AnimationRootNode" - }, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_blend_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_blend_point_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_triangle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 753017335, - "hash_compatibility": [ - 642454959 - ], - "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_static": false, - "is_virtual": false, - "hash": 50157827, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "triangle", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_triangle_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_min_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "min_space", - "type": "Vector2" - } - ] - }, - { - "name": "get_min_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_max_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "max_space", - "type": "Vector2" - } - ] - }, - { - "name": "get_max_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_snap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "snap", - "type": "Vector2" - } - ] - }, - { - "name": "get_snap", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_x_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_x_label", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_y_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_y_label", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_auto_triangles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_auto_triangles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_blend_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 81193520, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationNodeBlendSpace2D.BlendMode" - } - ] - }, - { - "name": "get_blend_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1398433632, - "return_value": { - "type": "enum::AnimationNodeBlendSpace2D.BlendMode" - } - }, - { - "name": "set_use_sync", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_sync", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "triangles_updated" - } - ], - "properties": [ - { - "type": "bool", - "name": "auto_triangles", - "setter": "set_auto_triangles", - "getter": "get_auto_triangles" - }, - { - "type": "PackedInt32Array", - "name": "triangles", - "setter": "_set_triangles", - "getter": "_get_triangles" - }, - { - "type": "Vector2", - "name": "min_space", - "setter": "set_min_space", - "getter": "get_min_space" - }, - { - "type": "Vector2", - "name": "max_space", - "setter": "set_max_space", - "getter": "get_max_space" - }, - { - "type": "Vector2", - "name": "snap", - "setter": "set_snap", - "getter": "get_snap" - }, - { - "type": "String", - "name": "x_label", - "setter": "set_x_label", - "getter": "get_x_label" - }, - { - "type": "String", - "name": "y_label", - "setter": "set_y_label", - "getter": "get_y_label" - }, - { - "type": "int", - "name": "blend_mode", - "setter": "set_blend_mode", - "getter": "get_blend_mode" - }, - { - "type": "bool", - "name": "sync", - "setter": "set_use_sync", - "getter": "is_using_sync" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1980270704, - "hash_compatibility": [ - 2055804584 - ], - "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_static": false, - "is_virtual": false, - "hash": 625644256, - "return_value": { - "type": "AnimationNode" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "rename_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "new_name", - "type": "StringName" - } - ] - }, - { - "name": "has_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "connect_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2168001410, - "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_static": false, - "is_virtual": false, - "hash": 2415702435, - "arguments": [ - { - "name": "input_node", - "type": "StringName" - }, - { - "name": "input_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_node_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1999414630, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_node_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3100822709, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "set_graph_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_graph_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "signals": [ - { - "name": "node_changed", - "arguments": [ - { - "name": "node_name", - "type": "StringName" - } - ] - } - ], - "properties": [ - { - "type": "Vector2", - "name": "graph_offset", - "setter": "set_graph_offset", - "getter": "get_graph_offset" - } - ] - }, - { - "name": "AnimationNodeOneShot", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationNodeSync", - "api_type": "core", - "enums": [ - { - "name": "OneShotRequest", - "is_bitfield": false, - "values": [ - { - "name": "ONE_SHOT_REQUEST_NONE", - "value": 0 - }, - { - "name": "ONE_SHOT_REQUEST_FIRE", - "value": 1 - }, - { - "name": "ONE_SHOT_REQUEST_ABORT", - "value": 2 - }, - { - "name": "ONE_SHOT_REQUEST_FADE_OUT", - "value": 3 - } - ] - }, - { - "name": "MixMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_fadein_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_fadein_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_fadein_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_fadeout_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_fadeout_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_fadeout_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_fadeout_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_autorestart", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "has_autorestart", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_autorestart_delay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_autorestart_delay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_autorestart_random_delay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_autorestart_random_delay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_mix_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1018899799, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationNodeOneShot.MixMode" - } - ] - }, - { - "name": "get_mix_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3076550526, - "return_value": { - "type": "enum::AnimationNodeOneShot.MixMode" - } - } - ], - "properties": [ - { - "type": "int", - "name": "mix_mode", - "setter": "set_mix_mode", - "getter": "get_mix_mode" - }, - { - "type": "float", - "name": "fadein_time", - "setter": "set_fadein_time", - "getter": "get_fadein_time" - }, - { - "type": "Curve", - "name": "fadein_curve", - "setter": "set_fadein_curve", - "getter": "get_fadein_curve" - }, - { - "type": "float", - "name": "fadeout_time", - "setter": "set_fadeout_time", - "getter": "get_fadeout_time" - }, - { - "type": "Curve", - "name": "fadeout_curve", - "setter": "set_fadeout_curve", - "getter": "get_fadeout_curve" - }, - { - "type": "bool", - "name": "autorestart", - "setter": "set_autorestart", - "getter": "has_autorestart" - }, - { - "type": "float", - "name": "autorestart_delay", - "setter": "set_autorestart_delay", - "getter": "get_autorestart_delay" - }, - { - "type": "float", - "name": "autorestart_random_delay", - "setter": "set_autorestart_random_delay", - "getter": "get_autorestart_random_delay" - } - ] - }, - { - "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", - "enums": [ - { - "name": "StateMachineType", - "is_bitfield": false, - "values": [ - { - "name": "STATE_MACHINE_TYPE_ROOT", - "value": 0 - }, - { - "name": "STATE_MACHINE_TYPE_NESTED", - "value": 1 - }, - { - "name": "STATE_MACHINE_TYPE_GROUPED", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "add_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1980270704, - "hash_compatibility": [ - 2055804584 - ], - "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_static": false, - "is_virtual": false, - "hash": 2559412862, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "node", - "type": "AnimationNode" - } - ] - }, - { - "name": "get_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 625644256, - "return_value": { - "type": "AnimationNode" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "rename_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "new_name", - "type": "StringName" - } - ] - }, - { - "name": "has_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_node_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 739213945, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "node", - "type": "AnimationNode" - } - ] - }, - { - "name": "set_node_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1999414630, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_node_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3100822709, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_transition", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 471820014, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "from", - "type": "StringName" - }, - { - "name": "to", - "type": "StringName" - } - ] - }, - { - "name": "add_transition", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 795486887, - "arguments": [ - { - "name": "from", - "type": "StringName" - }, - { - "name": "to", - "type": "StringName" - }, - { - "name": "transition", - "type": "AnimationNodeStateMachineTransition" - } - ] - }, - { - "name": "get_transition", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4192381260, - "return_value": { - "type": "AnimationNodeStateMachineTransition" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_transition_from", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_transition_to", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_transition_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "remove_transition_by_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_transition", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "from", - "type": "StringName" - }, - { - "name": "to", - "type": "StringName" - } - ] - }, - { - "name": "set_graph_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_graph_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_state_machine_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2584759088, - "arguments": [ - { - "name": "state_machine_type", - "type": "enum::AnimationNodeStateMachine.StateMachineType" - } - ] - }, - { - "name": "get_state_machine_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1140726469, - "return_value": { - "type": "enum::AnimationNodeStateMachine.StateMachineType" - } - }, - { - "name": "set_allow_transition_to_self", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_allow_transition_to_self", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_reset_ends", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "are_ends_reset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "state_machine_type", - "setter": "set_state_machine_type", - "getter": "get_state_machine_type" - }, - { - "type": "bool", - "name": "allow_transition_to_self", - "setter": "set_allow_transition_to_self", - "getter": "is_allow_transition_to_self" - }, - { - "type": "bool", - "name": "reset_ends", - "setter": "set_reset_ends", - "getter": "are_ends_reset" - } - ] - }, - { - "name": "AnimationNodeStateMachinePlayback", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "travel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3823612587, - "hash_compatibility": [ - 3683006648 - ], - "arguments": [ - { - "name": "to_node", - "type": "StringName" - }, - { - "name": "reset_on_teleport", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "start", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3823612587, - "hash_compatibility": [ - 3683006648 - ], - "arguments": [ - { - "name": "node", - "type": "StringName" - }, - { - "name": "reset", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "next", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_playing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_current_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "get_current_play_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_current_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_fading_from_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "get_travel_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::StringName" - } - } - ] - }, - { - "name": "AnimationNodeStateMachineTransition", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "SwitchMode", - "is_bitfield": false, - "values": [ - { - "name": "SWITCH_MODE_IMMEDIATE", - "value": 0 - }, - { - "name": "SWITCH_MODE_SYNC", - "value": 1 - }, - { - "name": "SWITCH_MODE_AT_END", - "value": 2 - } - ] - }, - { - "name": "AdvanceMode", - "is_bitfield": false, - "values": [ - { - "name": "ADVANCE_MODE_DISABLED", - "value": 0 - }, - { - "name": "ADVANCE_MODE_ENABLED", - "value": 1 - }, - { - "name": "ADVANCE_MODE_AUTO", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_switch_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2074906633, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationNodeStateMachineTransition.SwitchMode" - } - ] - }, - { - "name": "get_switch_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2138562085, - "return_value": { - "type": "enum::AnimationNodeStateMachineTransition.SwitchMode" - } - }, - { - "name": "set_advance_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1210869868, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationNodeStateMachineTransition.AdvanceMode" - } - ] - }, - { - "name": "get_advance_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 61101689, - "return_value": { - "type": "enum::AnimationNodeStateMachineTransition.AdvanceMode" - } - }, - { - "name": "set_advance_condition", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_advance_condition", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_xfade_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_xfade_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_xfade_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_xfade_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_reset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "reset", - "type": "bool" - } - ] - }, - { - "name": "is_reset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_advance_expression", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_advance_expression", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "signals": [ - { - "name": "advance_condition_changed" - } - ], - "properties": [ - { - "type": "float", - "name": "xfade_time", - "setter": "set_xfade_time", - "getter": "get_xfade_time" - }, - { - "type": "Curve", - "name": "xfade_curve", - "setter": "set_xfade_curve", - "getter": "get_xfade_curve" - }, - { - "type": "bool", - "name": "reset", - "setter": "set_reset", - "getter": "is_reset" - }, - { - "type": "int", - "name": "priority", - "setter": "set_priority", - "getter": "get_priority" - }, - { - "type": "int", - "name": "switch_mode", - "setter": "set_switch_mode", - "getter": "get_switch_mode" - }, - { - "type": "int", - "name": "advance_mode", - "setter": "set_advance_mode", - "getter": "get_advance_mode" - }, - { - "type": "StringName", - "name": "advance_condition", - "setter": "set_advance_condition", - "getter": "get_advance_condition" - }, - { - "type": "String", - "name": "advance_expression", - "setter": "set_advance_expression", - "getter": "get_advance_expression" - } - ] - }, - { - "name": "AnimationNodeSub2", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationNodeSync", - "api_type": "core" - }, - { - "name": "AnimationNodeSync", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationNode", - "api_type": "core", - "methods": [ - { - "name": "set_use_sync", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_sync", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "sync", - "setter": "set_use_sync", - "getter": "is_using_sync" - } - ] - }, - { - "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": "AnimationNodeSync", - "api_type": "core", - "methods": [ - { - "name": "set_input_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "input_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_input_as_auto_advance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "input", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_input_reset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "input", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_input_reset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "input", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_xfade_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_xfade_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_xfade_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_xfade_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_allow_transition_to_self", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_allow_transition_to_self", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "xfade_time", - "setter": "set_xfade_time", - "getter": "get_xfade_time" - }, - { - "type": "Curve", - "name": "xfade_curve", - "setter": "set_xfade_curve", - "getter": "get_xfade_curve" - }, - { - "type": "bool", - "name": "allow_transition_to_self", - "setter": "set_allow_transition_to_self", - "getter": "is_allow_transition_to_self" - }, - { - "type": "int", - "name": "input_count", - "setter": "set_input_count", - "getter": "get_input_count" - } - ] - }, - { - "name": "AnimationPlayer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "AnimationMixer", - "api_type": "core", - "enums": [ - { - "name": "AnimationProcessCallback", - "is_bitfield": false, - "values": [ - { - "name": "ANIMATION_PROCESS_PHYSICS", - "value": 0 - }, - { - "name": "ANIMATION_PROCESS_IDLE", - "value": 1 - }, - { - "name": "ANIMATION_PROCESS_MANUAL", - "value": 2 - } - ] - }, - { - "name": "AnimationMethodCallMode", - "is_bitfield": false, - "values": [ - { - "name": "ANIMATION_METHOD_CALL_DEFERRED", - "value": 0 - }, - { - "name": "ANIMATION_METHOD_CALL_IMMEDIATE", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "animation_set_next", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "animation_from", - "type": "StringName" - }, - { - "name": "animation_to", - "type": "StringName" - } - ] - }, - { - "name": "animation_get_next", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965194235, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "animation_from", - "type": "StringName" - } - ] - }, - { - "name": "set_blend_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3231131886, - "arguments": [ - { - "name": "animation_from", - "type": "StringName" - }, - { - "name": "animation_to", - "type": "StringName" - }, - { - "name": "sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_blend_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1958752504, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "animation_from", - "type": "StringName" - }, - { - "name": "animation_to", - "type": "StringName" - } - ] - }, - { - "name": "set_default_blend_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_default_blend_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "play", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3118260607, - "arguments": [ - { - "name": "name", - "type": "StringName", - "default_value": "\"\"" - }, - { - "name": "custom_blend", - "type": "float", - "meta": "double", - "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_static": false, - "is_virtual": false, - "hash": 2787282401, - "arguments": [ - { - "name": "name", - "type": "StringName", - "default_value": "\"\"" - }, - { - "name": "custom_blend", - "type": "float", - "meta": "double", - "default_value": "-1" - } - ] - }, - { - "name": "pause", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 107499316, - "arguments": [ - { - "name": "keep_state", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "is_playing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_current_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "animation", - "type": "String" - } - ] - }, - { - "name": "get_current_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_assigned_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "animation", - "type": "String" - } - ] - }, - { - "name": "get_assigned_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "queue", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_queue", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "clear_queue", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_speed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_playing_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_autoplay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_autoplay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_movie_quit_on_finish_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_movie_quit_on_finish_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_current_animation_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_current_animation_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "seek", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1807872683, - "hash_compatibility": [ - 2087892650 - ], - "arguments": [ - { - "name": "seconds", - "type": "float", - "meta": "double" - }, - { - "name": "update", - "type": "bool", - "default_value": "false" - }, - { - "name": "update_only", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_process_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1663839457, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationPlayer.AnimationProcessCallback" - } - ] - }, - { - "name": "get_process_callback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4207496604, - "return_value": { - "type": "enum::AnimationPlayer.AnimationProcessCallback" - } - }, - { - "name": "set_method_call_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3413514846, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationPlayer.AnimationMethodCallMode" - } - ] - }, - { - "name": "get_method_call_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3583380054, - "return_value": { - "type": "enum::AnimationPlayer.AnimationMethodCallMode" - } - }, - { - "name": "set_root", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_root", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - } - ], - "signals": [ - { - "name": "current_animation_changed", - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "animation_changed", - "arguments": [ - { - "name": "old_name", - "type": "StringName" - }, - { - "name": "new_name", - "type": "StringName" - } - ] - } - ], - "properties": [ - { - "type": "StringName", - "name": "current_animation", - "setter": "set_current_animation", - "getter": "get_current_animation" - }, - { - "type": "StringName", - "name": "assigned_animation", - "setter": "set_assigned_animation", - "getter": "get_assigned_animation" - }, - { - "type": "StringName", - "name": "autoplay", - "setter": "set_autoplay", - "getter": "get_autoplay" - }, - { - "type": "float", - "name": "current_animation_length", - "getter": "get_current_animation_length" - }, - { - "type": "float", - "name": "current_animation_position", - "getter": "get_current_animation_position" - }, - { - "type": "float", - "name": "playback_default_blend_time", - "setter": "set_default_blend_time", - "getter": "get_default_blend_time" - }, - { - "type": "float", - "name": "speed_scale", - "setter": "set_speed_scale", - "getter": "get_speed_scale" - }, - { - "type": "bool", - "name": "movie_quit_on_finish", - "setter": "set_movie_quit_on_finish_enabled", - "getter": "is_movie_quit_on_finish_enabled" - } - ] - }, - { - "name": "AnimationRootNode", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AnimationNode", - "api_type": "core" - }, - { - "name": "AnimationTree", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "AnimationMixer", - "api_type": "core", - "enums": [ - { - "name": "AnimationProcessCallback", - "is_bitfield": false, - "values": [ - { - "name": "ANIMATION_PROCESS_PHYSICS", - "value": 0 - }, - { - "name": "ANIMATION_PROCESS_IDLE", - "value": 1 - }, - { - "name": "ANIMATION_PROCESS_MANUAL", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_tree_root", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2581683800, - "hash_compatibility": [ - 712869711 - ], - "arguments": [ - { - "name": "animation_node", - "type": "AnimationRootNode" - } - ] - }, - { - "name": "get_tree_root", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4110384712, - "hash_compatibility": [ - 1462070895 - ], - "return_value": { - "type": "AnimationRootNode" - } - }, - { - "name": "set_advance_expression_base_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_advance_expression_base_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_animation_player", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_animation_player", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_process_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1723352826, - "arguments": [ - { - "name": "mode", - "type": "enum::AnimationTree.AnimationProcessCallback" - } - ] - }, - { - "name": "get_process_callback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 891317132, - "return_value": { - "type": "enum::AnimationTree.AnimationProcessCallback" - } - } - ], - "signals": [ - { - "name": "animation_player_changed" - } - ], - "properties": [ - { - "type": "AnimationRootNode", - "name": "tree_root", - "setter": "set_tree_root", - "getter": "get_tree_root" - }, - { - "type": "NodePath", - "name": "advance_expression_base_node", - "setter": "set_advance_expression_base_node", - "getter": "get_advance_expression_base_node" - }, - { - "type": "NodePath", - "name": "anim_player", - "setter": "set_animation_player", - "getter": "get_animation_player" - } - ] - }, - { - "name": "Area2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "CollisionObject2D", - "api_type": "core", - "enums": [ - { - "name": "SpaceOverride", - "is_bitfield": false, - "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_gravity_space_override_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2879900038, - "arguments": [ - { - "name": "space_override_mode", - "type": "enum::Area2D.SpaceOverride" - } - ] - }, - { - "name": "get_gravity_space_override_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3990256304, - "return_value": { - "type": "enum::Area2D.SpaceOverride" - } - }, - { - "name": "set_gravity_is_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_gravity_a_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_gravity_point_unit_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gravity_point_unit_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_gravity_point_center", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "center", - "type": "Vector2" - } - ] - }, - { - "name": "get_gravity_point_center", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_gravity_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "direction", - "type": "Vector2" - } - ] - }, - { - "name": "get_gravity_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_gravity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "gravity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gravity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_damp_space_override_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2879900038, - "arguments": [ - { - "name": "space_override_mode", - "type": "enum::Area2D.SpaceOverride" - } - ] - }, - { - "name": "get_linear_damp_space_override_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3990256304, - "return_value": { - "type": "enum::Area2D.SpaceOverride" - } - }, - { - "name": "set_angular_damp_space_override_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2879900038, - "arguments": [ - { - "name": "space_override_mode", - "type": "enum::Area2D.SpaceOverride" - } - ] - }, - { - "name": "get_angular_damp_space_override_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3990256304, - "return_value": { - "type": "enum::Area2D.SpaceOverride" - } - }, - { - "name": "set_linear_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "linear_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_linear_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_angular_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angular_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_angular_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_monitoring", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_monitoring", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_monitorable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_monitorable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_overlapping_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Node2D" - } - }, - { - "name": "get_overlapping_areas", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Area2D" - } - }, - { - "name": "has_overlapping_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "has_overlapping_areas", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "overlaps_body", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3093956946, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "overlaps_area", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3093956946, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "area", - "type": "Node" - } - ] - }, - { - "name": "set_audio_bus_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_audio_bus_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_audio_bus_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_overriding_audio_bus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "body_shape_entered", - "arguments": [ - { - "name": "body_rid", - "type": "RID" - }, - { - "name": "body", - "type": "Node2D" - }, - { - "name": "body_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_shape_exited", - "arguments": [ - { - "name": "body_rid", - "type": "RID" - }, - { - "name": "body", - "type": "Node2D" - }, - { - "name": "body_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_entered", - "arguments": [ - { - "name": "body", - "type": "Node2D" - } - ] - }, - { - "name": "body_exited", - "arguments": [ - { - "name": "body", - "type": "Node2D" - } - ] - }, - { - "name": "area_shape_entered", - "arguments": [ - { - "name": "area_rid", - "type": "RID" - }, - { - "name": "area", - "type": "Area2D" - }, - { - "name": "area_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "area_shape_exited", - "arguments": [ - { - "name": "area_rid", - "type": "RID" - }, - { - "name": "area", - "type": "Area2D" - }, - { - "name": "area_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "area_entered", - "arguments": [ - { - "name": "area", - "type": "Area2D" - } - ] - }, - { - "name": "area_exited", - "arguments": [ - { - "name": "area", - "type": "Area2D" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "monitoring", - "setter": "set_monitoring", - "getter": "is_monitoring" - }, - { - "type": "bool", - "name": "monitorable", - "setter": "set_monitorable", - "getter": "is_monitorable" - }, - { - "type": "int", - "name": "priority", - "setter": "set_priority", - "getter": "get_priority" - }, - { - "type": "int", - "name": "gravity_space_override", - "setter": "set_gravity_space_override_mode", - "getter": "get_gravity_space_override_mode" - }, - { - "type": "bool", - "name": "gravity_point", - "setter": "set_gravity_is_point", - "getter": "is_gravity_a_point" - }, - { - "type": "float", - "name": "gravity_point_unit_distance", - "setter": "set_gravity_point_unit_distance", - "getter": "get_gravity_point_unit_distance" - }, - { - "type": "Vector2", - "name": "gravity_point_center", - "setter": "set_gravity_point_center", - "getter": "get_gravity_point_center" - }, - { - "type": "Vector2", - "name": "gravity_direction", - "setter": "set_gravity_direction", - "getter": "get_gravity_direction" - }, - { - "type": "float", - "name": "gravity", - "setter": "set_gravity", - "getter": "get_gravity" - }, - { - "type": "int", - "name": "linear_damp_space_override", - "setter": "set_linear_damp_space_override_mode", - "getter": "get_linear_damp_space_override_mode" - }, - { - "type": "float", - "name": "linear_damp", - "setter": "set_linear_damp", - "getter": "get_linear_damp" - }, - { - "type": "int", - "name": "angular_damp_space_override", - "setter": "set_angular_damp_space_override_mode", - "getter": "get_angular_damp_space_override_mode" - }, - { - "type": "float", - "name": "angular_damp", - "setter": "set_angular_damp", - "getter": "get_angular_damp" - }, - { - "type": "bool", - "name": "audio_bus_override", - "setter": "set_audio_bus_override", - "getter": "is_overriding_audio_bus" - }, - { - "type": "StringName", - "name": "audio_bus_name", - "setter": "set_audio_bus_name", - "getter": "get_audio_bus_name" - } - ] - }, - { - "name": "Area3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "CollisionObject3D", - "api_type": "core", - "enums": [ - { - "name": "SpaceOverride", - "is_bitfield": false, - "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_gravity_space_override_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2311433571, - "arguments": [ - { - "name": "space_override_mode", - "type": "enum::Area3D.SpaceOverride" - } - ] - }, - { - "name": "get_gravity_space_override_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 958191869, - "return_value": { - "type": "enum::Area3D.SpaceOverride" - } - }, - { - "name": "set_gravity_is_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_gravity_a_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_gravity_point_unit_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gravity_point_unit_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_gravity_point_center", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "center", - "type": "Vector3" - } - ] - }, - { - "name": "get_gravity_point_center", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_gravity_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "direction", - "type": "Vector3" - } - ] - }, - { - "name": "get_gravity_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_gravity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "gravity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gravity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_damp_space_override_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2311433571, - "arguments": [ - { - "name": "space_override_mode", - "type": "enum::Area3D.SpaceOverride" - } - ] - }, - { - "name": "get_linear_damp_space_override_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 958191869, - "return_value": { - "type": "enum::Area3D.SpaceOverride" - } - }, - { - "name": "set_angular_damp_space_override_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2311433571, - "arguments": [ - { - "name": "space_override_mode", - "type": "enum::Area3D.SpaceOverride" - } - ] - }, - { - "name": "get_angular_damp_space_override_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 958191869, - "return_value": { - "type": "enum::Area3D.SpaceOverride" - } - }, - { - "name": "set_angular_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angular_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_angular_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "linear_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_linear_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_wind_force_magnitude", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "wind_force_magnitude", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_wind_force_magnitude", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_wind_attenuation_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "wind_attenuation_factor", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_wind_attenuation_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_wind_source_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "wind_source_path", - "type": "NodePath" - } - ] - }, - { - "name": "get_wind_source_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_monitorable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_monitorable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_monitoring", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_monitoring", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_overlapping_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Node3D" - } - }, - { - "name": "get_overlapping_areas", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Area3D" - } - }, - { - "name": "has_overlapping_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "has_overlapping_areas", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "overlaps_body", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3093956946, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "overlaps_area", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3093956946, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "area", - "type": "Node" - } - ] - }, - { - "name": "set_audio_bus_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_overriding_audio_bus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_audio_bus_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_audio_bus_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_use_reverb_bus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_reverb_bus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_reverb_bus_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_reverb_bus_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_reverb_amount", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_reverb_amount", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_reverb_uniformity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_reverb_uniformity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "signals": [ - { - "name": "body_shape_entered", - "arguments": [ - { - "name": "body_rid", - "type": "RID" - }, - { - "name": "body", - "type": "Node3D" - }, - { - "name": "body_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_shape_exited", - "arguments": [ - { - "name": "body_rid", - "type": "RID" - }, - { - "name": "body", - "type": "Node3D" - }, - { - "name": "body_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_entered", - "arguments": [ - { - "name": "body", - "type": "Node3D" - } - ] - }, - { - "name": "body_exited", - "arguments": [ - { - "name": "body", - "type": "Node3D" - } - ] - }, - { - "name": "area_shape_entered", - "arguments": [ - { - "name": "area_rid", - "type": "RID" - }, - { - "name": "area", - "type": "Area3D" - }, - { - "name": "area_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "area_shape_exited", - "arguments": [ - { - "name": "area_rid", - "type": "RID" - }, - { - "name": "area", - "type": "Area3D" - }, - { - "name": "area_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "area_entered", - "arguments": [ - { - "name": "area", - "type": "Area3D" - } - ] - }, - { - "name": "area_exited", - "arguments": [ - { - "name": "area", - "type": "Area3D" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "monitoring", - "setter": "set_monitoring", - "getter": "is_monitoring" - }, - { - "type": "bool", - "name": "monitorable", - "setter": "set_monitorable", - "getter": "is_monitorable" - }, - { - "type": "int", - "name": "priority", - "setter": "set_priority", - "getter": "get_priority" - }, - { - "type": "int", - "name": "gravity_space_override", - "setter": "set_gravity_space_override_mode", - "getter": "get_gravity_space_override_mode" - }, - { - "type": "bool", - "name": "gravity_point", - "setter": "set_gravity_is_point", - "getter": "is_gravity_a_point" - }, - { - "type": "float", - "name": "gravity_point_unit_distance", - "setter": "set_gravity_point_unit_distance", - "getter": "get_gravity_point_unit_distance" - }, - { - "type": "Vector3", - "name": "gravity_point_center", - "setter": "set_gravity_point_center", - "getter": "get_gravity_point_center" - }, - { - "type": "Vector3", - "name": "gravity_direction", - "setter": "set_gravity_direction", - "getter": "get_gravity_direction" - }, - { - "type": "float", - "name": "gravity", - "setter": "set_gravity", - "getter": "get_gravity" - }, - { - "type": "int", - "name": "linear_damp_space_override", - "setter": "set_linear_damp_space_override_mode", - "getter": "get_linear_damp_space_override_mode" - }, - { - "type": "float", - "name": "linear_damp", - "setter": "set_linear_damp", - "getter": "get_linear_damp" - }, - { - "type": "int", - "name": "angular_damp_space_override", - "setter": "set_angular_damp_space_override_mode", - "getter": "get_angular_damp_space_override_mode" - }, - { - "type": "float", - "name": "angular_damp", - "setter": "set_angular_damp", - "getter": "get_angular_damp" - }, - { - "type": "float", - "name": "wind_force_magnitude", - "setter": "set_wind_force_magnitude", - "getter": "get_wind_force_magnitude" - }, - { - "type": "float", - "name": "wind_attenuation_factor", - "setter": "set_wind_attenuation_factor", - "getter": "get_wind_attenuation_factor" - }, - { - "type": "NodePath", - "name": "wind_source_path", - "setter": "set_wind_source_path", - "getter": "get_wind_source_path" - }, - { - "type": "bool", - "name": "audio_bus_override", - "setter": "set_audio_bus_override", - "getter": "is_overriding_audio_bus" - }, - { - "type": "StringName", - "name": "audio_bus_name", - "setter": "set_audio_bus_name", - "getter": "get_audio_bus_name" - }, - { - "type": "bool", - "name": "reverb_bus_enabled", - "setter": "set_use_reverb_bus", - "getter": "is_using_reverb_bus" - }, - { - "type": "StringName", - "name": "reverb_bus_name", - "setter": "set_reverb_bus_name", - "getter": "get_reverb_bus_name" - }, - { - "type": "float", - "name": "reverb_bus_amount", - "setter": "set_reverb_amount", - "getter": "get_reverb_amount" - }, - { - "type": "float", - "name": "reverb_bus_uniformity", - "setter": "set_reverb_uniformity", - "getter": "get_reverb_uniformity" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_blend_shape_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_blend_shape_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_blend_shape_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3780747571, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "clear_blend_shapes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_blend_shape_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 227983991, - "arguments": [ - { - "name": "mode", - "type": "enum::Mesh.BlendShapeMode" - } - ] - }, - { - "name": "get_blend_shape_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 836485024, - "return_value": { - "type": "enum::Mesh.BlendShapeMode" - } - }, - { - "name": "add_surface_from_arrays", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1796411378, - "hash_compatibility": [ - 172284304 - ], - "arguments": [ - { - "name": "primitive", - "type": "enum::Mesh.PrimitiveType" - }, - { - "name": "arrays", - "type": "Array" - }, - { - "name": "blend_shapes", - "type": "typedarray::Array", - "default_value": "[]" - }, - { - "name": "lods", - "type": "Dictionary", - "default_value": "{}" - }, - { - "name": "flags", - "type": "bitfield::Mesh.ArrayFormat", - "default_value": "0" - } - ] - }, - { - "name": "clear_surfaces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "surface_update_vertex_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3837166854, - "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_static": false, - "is_virtual": false, - "hash": 3837166854, - "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_static": false, - "is_virtual": false, - "hash": 3837166854, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 3718287884, - "return_value": { - "type": "bitfield::Mesh.ArrayFormat" - }, - "arguments": [ - { - "name": "surf_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "surface_get_primitive_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4141943888, - "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_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "surface_set_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "surf_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "surface_get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "surf_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "regen_normal_maps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "lightmap_unwrap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1476641071, - "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_static": false, - "is_virtual": false, - "hash": 259215842, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "get_custom_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - }, - { - "name": "set_shadow_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3377897901, - "arguments": [ - { - "name": "mesh", - "type": "ArrayMesh" - } - ] - }, - { - "name": "get_shadow_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3206942465, - "return_value": { - "type": "ArrayMesh" - } - } - ], - "properties": [ - { - "type": "int", - "name": "blend_shape_mode", - "setter": "set_blend_shape_mode", - "getter": "get_blend_shape_mode" - }, - { - "type": "AABB", - "name": "custom_aabb", - "setter": "set_custom_aabb", - "getter": "get_custom_aabb" - }, - { - "type": "ArrayMesh", - "name": "shadow_mesh", - "setter": "set_shadow_mesh", - "getter": "get_shadow_mesh" - } - ] - }, - { - "name": "ArrayOccluder3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Occluder3D", - "api_type": "core", - "methods": [ - { - "name": "set_arrays", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3233972621, - "arguments": [ - { - "name": "vertices", - "type": "PackedVector3Array" - }, - { - "name": "indices", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "set_vertices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 334873810, - "arguments": [ - { - "name": "vertices", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "set_indices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "indices", - "type": "PackedInt32Array" - } - ] - } - ], - "properties": [ - { - "type": "PackedVector3Array", - "name": "vertices", - "setter": "set_vertices", - "getter": "get_vertices" - }, - { - "type": "PackedInt32Array", - "name": "indices", - "setter": "set_indices", - "getter": "get_indices" - } - ] - }, - { - "name": "AspectRatioContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "core", - "enums": [ - { - "name": "StretchMode", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "AlignmentMode", - "is_bitfield": false, - "values": [ - { - "name": "ALIGNMENT_BEGIN", - "value": 0 - }, - { - "name": "ALIGNMENT_CENTER", - "value": 1 - }, - { - "name": "ALIGNMENT_END", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_stretch_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1876743467, - "arguments": [ - { - "name": "stretch_mode", - "type": "enum::AspectRatioContainer.StretchMode" - } - ] - }, - { - "name": "get_stretch_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3416449033, - "return_value": { - "type": "enum::AspectRatioContainer.StretchMode" - } - }, - { - "name": "set_alignment_horizontal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2147829016, - "arguments": [ - { - "name": "alignment_horizontal", - "type": "enum::AspectRatioContainer.AlignmentMode" - } - ] - }, - { - "name": "get_alignment_horizontal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3838875429, - "return_value": { - "type": "enum::AspectRatioContainer.AlignmentMode" - } - }, - { - "name": "set_alignment_vertical", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2147829016, - "arguments": [ - { - "name": "alignment_vertical", - "type": "enum::AspectRatioContainer.AlignmentMode" - } - ] - }, - { - "name": "get_alignment_vertical", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3838875429, - "return_value": { - "type": "enum::AspectRatioContainer.AlignmentMode" - } - } - ], - "properties": [ - { - "type": "float", - "name": "ratio", - "setter": "set_ratio", - "getter": "get_ratio" - }, - { - "type": "int", - "name": "stretch_mode", - "setter": "set_stretch_mode", - "getter": "get_stretch_mode" - }, - { - "type": "int", - "name": "alignment_horizontal", - "setter": "set_alignment_horizontal", - "getter": "get_alignment_horizontal" - }, - { - "type": "int", - "name": "alignment_vertical", - "setter": "set_alignment_vertical", - "getter": "get_alignment_vertical" - } - ] - }, - { - "name": "AtlasTexture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "methods": [ - { - "name": "set_atlas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "atlas", - "type": "Texture2D" - } - ] - }, - { - "name": "get_atlas", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "region", - "type": "Rect2" - } - ] - }, - { - "name": "get_region", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "margin", - "type": "Rect2" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "set_filter_clip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "has_filter_clip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "atlas", - "setter": "set_atlas", - "getter": "get_atlas" - }, - { - "type": "Rect2", - "name": "region", - "setter": "set_region", - "getter": "get_region" - }, - { - "type": "Rect2", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - }, - { - "type": "bool", - "name": "filter_clip", - "setter": "set_filter_clip", - "getter": "has_filter_clip" - } - ] - }, - { - "name": "AudioBusLayout", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core" - }, - { - "name": "AudioEffect", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "_instantiate", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "AudioEffectInstance" - } - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "volume", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volume_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "volume_db", - "setter": "set_volume_db", - "getter": "get_volume_db" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "frames", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2649534757, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "frames", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_buffer_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "buffer_length_seconds", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_buffer_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_frames_available", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_discarded_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "get_buffer_length_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_pushed_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - } - ], - "properties": [ - { - "type": "float", - "name": "buffer_length", - "setter": "set_buffer_length", - "getter": "get_buffer_length" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "voices", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_voice_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_voice_delay_ms", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "voice_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_wet", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_wet", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_dry", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_dry", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "int", - "name": "voice_count", - "setter": "set_voice_count", - "getter": "get_voice_count" - }, - { - "type": "float", - "name": "dry", - "setter": "set_dry", - "getter": "get_dry" - }, - { - "type": "float", - "name": "wet", - "setter": "set_wet", - "getter": "get_wet" - } - ] - }, - { - "name": "AudioEffectCompressor", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioEffect", - "api_type": "core", - "methods": [ - { - "name": "set_threshold", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_threshold", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_gain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "gain", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gain", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_attack_us", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "attack_us", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_attack_us", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_release_ms", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "release_ms", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_release_ms", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_mix", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mix", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sidechain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "sidechain", - "type": "StringName" - } - ] - }, - { - "name": "get_sidechain", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - } - ], - "properties": [ - { - "type": "float", - "name": "threshold", - "setter": "set_threshold", - "getter": "get_threshold" - }, - { - "type": "float", - "name": "ratio", - "setter": "set_ratio", - "getter": "get_ratio" - }, - { - "type": "float", - "name": "gain", - "setter": "set_gain", - "getter": "get_gain" - }, - { - "type": "float", - "name": "attack_us", - "setter": "set_attack_us", - "getter": "get_attack_us" - }, - { - "type": "float", - "name": "release_ms", - "setter": "set_release_ms", - "getter": "get_release_ms" - }, - { - "type": "float", - "name": "mix", - "setter": "set_mix", - "getter": "get_mix" - }, - { - "type": "StringName", - "name": "sidechain", - "setter": "set_sidechain", - "getter": "get_sidechain" - } - ] - }, - { - "name": "AudioEffectDelay", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioEffect", - "api_type": "core", - "methods": [ - { - "name": "set_dry", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_dry", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_tap1_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "amount", - "type": "bool" - } - ] - }, - { - "name": "is_tap1_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tap1_delay_ms", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tap1_delay_ms", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_tap1_level_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tap1_level_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_tap1_pan", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tap1_pan", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_tap2_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "amount", - "type": "bool" - } - ] - }, - { - "name": "is_tap2_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tap2_delay_ms", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tap2_delay_ms", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_tap2_level_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tap2_level_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_tap2_pan", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tap2_pan", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_feedback_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "amount", - "type": "bool" - } - ] - }, - { - "name": "is_feedback_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_feedback_delay_ms", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_feedback_delay_ms", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_feedback_level_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_feedback_level_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_feedback_lowpass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_feedback_lowpass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "dry", - "setter": "set_dry", - "getter": "get_dry" - }, - { - "type": "bool", - "name": "tap1_active", - "setter": "set_tap1_active", - "getter": "is_tap1_active" - }, - { - "type": "float", - "name": "tap1_delay_ms", - "setter": "set_tap1_delay_ms", - "getter": "get_tap1_delay_ms" - }, - { - "type": "float", - "name": "tap1_level_db", - "setter": "set_tap1_level_db", - "getter": "get_tap1_level_db" - }, - { - "type": "float", - "name": "tap1_pan", - "setter": "set_tap1_pan", - "getter": "get_tap1_pan" - }, - { - "type": "bool", - "name": "tap2_active", - "setter": "set_tap2_active", - "getter": "is_tap2_active" - }, - { - "type": "float", - "name": "tap2_delay_ms", - "setter": "set_tap2_delay_ms", - "getter": "get_tap2_delay_ms" - }, - { - "type": "float", - "name": "tap2_level_db", - "setter": "set_tap2_level_db", - "getter": "get_tap2_level_db" - }, - { - "type": "float", - "name": "tap2_pan", - "setter": "set_tap2_pan", - "getter": "get_tap2_pan" - }, - { - "type": "bool", - "name": "feedback_active", - "setter": "set_feedback_active", - "getter": "is_feedback_active" - }, - { - "type": "float", - "name": "feedback_delay_ms", - "setter": "set_feedback_delay_ms", - "getter": "get_feedback_delay_ms" - }, - { - "type": "float", - "name": "feedback_level_db", - "setter": "set_feedback_level_db", - "getter": "get_feedback_level_db" - }, - { - "type": "float", - "name": "feedback_lowpass", - "setter": "set_feedback_lowpass", - "getter": "get_feedback_lowpass" - } - ] - }, - { - "name": "AudioEffectDistortion", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioEffect", - "api_type": "core", - "enums": [ - { - "name": "Mode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1314744793, - "arguments": [ - { - "name": "mode", - "type": "enum::AudioEffectDistortion.Mode" - } - ] - }, - { - "name": "get_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 809118343, - "return_value": { - "type": "enum::AudioEffectDistortion.Mode" - } - }, - { - "name": "set_pre_gain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pre_gain", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pre_gain", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_keep_hf_hz", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "keep_hf_hz", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_keep_hf_hz", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_drive", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "drive", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_drive", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_post_gain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "post_gain", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_post_gain", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "int", - "name": "mode", - "setter": "set_mode", - "getter": "get_mode" - }, - { - "type": "float", - "name": "pre_gain", - "setter": "set_pre_gain", - "getter": "get_pre_gain" - }, - { - "type": "float", - "name": "keep_hf_hz", - "setter": "set_keep_hf_hz", - "getter": "get_keep_hf_hz" - }, - { - "type": "float", - "name": "drive", - "setter": "set_drive", - "getter": "get_drive" - }, - { - "type": "float", - "name": "post_gain", - "setter": "set_post_gain", - "getter": "get_post_gain" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "freq", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cutoff", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_resonance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_resonance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_gain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gain", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 771740901, - "arguments": [ - { - "name": "amount", - "type": "enum::AudioEffectFilter.FilterDB" - } - ] - }, - { - "name": "get_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3981721890, - "return_value": { - "type": "enum::AudioEffectFilter.FilterDB" - } - } - ], - "properties": [ - { - "type": "float", - "name": "cutoff_hz", - "setter": "set_cutoff", - "getter": "get_cutoff" - }, - { - "type": "float", - "name": "resonance", - "setter": "set_resonance", - "getter": "get_resonance" - }, - { - "type": "float", - "name": "gain", - "setter": "set_gain", - "getter": "get_gain" - }, - { - "type": "int", - "name": "db", - "setter": "set_db", - "getter": "get_db" - } - ] - }, - { - "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": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "src_buffer", - "type": "const void*" - }, - { - "name": "dst_buffer", - "type": "AudioFrame*" - }, - { - "name": "frame_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_process_silence", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ceiling", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ceiling_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_threshold_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_threshold_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_soft_clip_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "soft_clip", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_soft_clip_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_soft_clip_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "soft_clip", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_soft_clip_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "ceiling_db", - "setter": "set_ceiling_db", - "getter": "get_ceiling_db" - }, - { - "type": "float", - "name": "threshold_db", - "setter": "set_threshold_db", - "getter": "get_threshold_db" - }, - { - "type": "float", - "name": "soft_clip_db", - "setter": "set_soft_clip_db", - "getter": "get_soft_clip_db" - }, - { - "type": "float", - "name": "soft_clip_ratio", - "setter": "set_soft_clip_ratio", - "getter": "get_soft_clip_ratio" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "cpanume", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pan", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "pan", - "setter": "set_pan", - "getter": "get_pan" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "hz", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_range_min_hz", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_range_max_hz", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "hz", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_range_max_hz", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_rate_hz", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "hz", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_rate_hz", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_feedback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fbk", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_feedback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "depth", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "range_min_hz", - "setter": "set_range_min_hz", - "getter": "get_range_min_hz" - }, - { - "type": "float", - "name": "range_max_hz", - "setter": "set_range_max_hz", - "getter": "get_range_max_hz" - }, - { - "type": "float", - "name": "rate_hz", - "setter": "set_rate_hz", - "getter": "get_rate_hz" - }, - { - "type": "float", - "name": "feedback", - "setter": "set_feedback", - "getter": "get_feedback" - }, - { - "type": "float", - "name": "depth", - "setter": "set_depth", - "getter": "get_depth" - } - ] - }, - { - "name": "AudioEffectPitchShift", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioEffect", - "api_type": "core", - "enums": [ - { - "name": "FFTSize", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "rate", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pitch_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_oversampling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_oversampling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_fft_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2323518741, - "arguments": [ - { - "name": "size", - "type": "enum::AudioEffectPitchShift.FFTSize" - } - ] - }, - { - "name": "get_fft_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2361246789, - "return_value": { - "type": "enum::AudioEffectPitchShift.FFTSize" - } - } - ], - "properties": [ - { - "type": "float", - "name": "pitch_scale", - "setter": "set_pitch_scale", - "getter": "get_pitch_scale" - }, - { - "type": "float", - "name": "oversampling", - "setter": "set_oversampling", - "getter": "get_oversampling" - }, - { - "type": "int", - "name": "fft_size", - "setter": "set_fft_size", - "getter": "get_fft_size" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "record", - "type": "bool" - } - ] - }, - { - "name": "is_recording_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 60648488, - "arguments": [ - { - "name": "format", - "type": "enum::AudioStreamWAV.Format" - } - ] - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3151724922, - "return_value": { - "type": "enum::AudioStreamWAV.Format" - } - }, - { - "name": "get_recording", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2964110865, - "return_value": { - "type": "AudioStreamWAV" - } - } - ], - "properties": [ - { - "type": "int", - "name": "format", - "setter": "set_format", - "getter": "get_format" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "msec", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_predelay_msec", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_predelay_feedback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "feedback", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_predelay_feedback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_room_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_room_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_damping", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_damping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_spread", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_spread", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_dry", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_dry", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_wet", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_wet", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_hpf", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_hpf", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "predelay_msec", - "setter": "set_predelay_msec", - "getter": "get_predelay_msec" - }, - { - "type": "float", - "name": "predelay_feedback", - "setter": "set_predelay_feedback", - "getter": "get_predelay_feedback" - }, - { - "type": "float", - "name": "room_size", - "setter": "set_room_size", - "getter": "get_room_size" - }, - { - "type": "float", - "name": "damping", - "setter": "set_damping", - "getter": "get_damping" - }, - { - "type": "float", - "name": "spread", - "setter": "set_spread", - "getter": "get_spread" - }, - { - "type": "float", - "name": "hipass", - "setter": "set_hpf", - "getter": "get_hpf" - }, - { - "type": "float", - "name": "dry", - "setter": "set_dry", - "getter": "get_dry" - }, - { - "type": "float", - "name": "wet", - "setter": "set_wet", - "getter": "get_wet" - } - ] - }, - { - "name": "AudioEffectSpectrumAnalyzer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioEffect", - "api_type": "core", - "enums": [ - { - "name": "FFTSize", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "seconds", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_buffer_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_tap_back_pos", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "seconds", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tap_back_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fft_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1202879215, - "arguments": [ - { - "name": "size", - "type": "enum::AudioEffectSpectrumAnalyzer.FFTSize" - } - ] - }, - { - "name": "get_fft_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3925405343, - "return_value": { - "type": "enum::AudioEffectSpectrumAnalyzer.FFTSize" - } - } - ], - "properties": [ - { - "type": "float", - "name": "buffer_length", - "setter": "set_buffer_length", - "getter": "get_buffer_length" - }, - { - "type": "float", - "name": "tap_back_pos", - "setter": "set_tap_back_pos", - "getter": "get_tap_back_pos" - }, - { - "type": "int", - "name": "fft_size", - "setter": "set_fft_size", - "getter": "get_fft_size" - } - ] - }, - { - "name": "AudioEffectSpectrumAnalyzerInstance", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "AudioEffectInstance", - "api_type": "core", - "enums": [ - { - "name": "MagnitudeMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 797993915, - "hash_compatibility": [ - 2693213071 - ], - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pan_pullout", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_time_pullout", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_time_pullout", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_surround", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_surround", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "pan_pullout", - "setter": "set_pan_pullout", - "getter": "get_pan_pullout" - }, - { - "type": "float", - "name": "time_pullout_ms", - "setter": "set_time_pullout", - "getter": "get_time_pullout" - }, - { - "type": "float", - "name": "surround", - "setter": "set_surround", - "getter": "get_surround" - } - ] - }, - { - "name": "AudioListener2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "make_current", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear_current", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_current", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ] - }, - { - "name": "AudioListener3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "make_current", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear_current", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_current", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_listener_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - } - ] - }, - { - "name": "AudioServer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "SpeakerMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bus_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "remove_bus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_bus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "at_position", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "move_bus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_bus_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bus_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2458036349, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "bus_name", - "type": "StringName" - } - ] - }, - { - "name": "get_bus_channels", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 3780747571, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "send", - "type": "StringName" - } - ] - }, - { - "name": "get_bus_send", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bus_solo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_bus_solo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bus_mute", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_bus_mute", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bus_bypass_effects", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_bus_bypassing_effects", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_bus_effect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4068819785, - "hash_compatibility": [ - 4147765248 - ], - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 3744713108, - "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_static": false, - "is_virtual": false, - "hash": 726064442, - "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_static": false, - "is_virtual": false, - "hash": 1829771234, - "hash_compatibility": [ - 2887144608 - ], - "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_static": false, - "is_virtual": false, - "hash": 1649997291, - "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_static": false, - "is_virtual": false, - "hash": 1383440665, - "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_static": false, - "is_virtual": false, - "hash": 2522259332, - "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_static": false, - "is_virtual": false, - "hash": 3085491603, - "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_static": false, - "is_virtual": false, - "hash": 3085491603, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "bus_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "channel", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_playback_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_playback_speed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "lock", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "unlock", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_speaker_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2549190337, - "return_value": { - "type": "enum::AudioServer.SpeakerMode" - } - }, - { - "name": "get_mix_rate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_output_device_list", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_output_device", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "set_output_device", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_time_to_next_mix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_time_since_last_mix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_output_latency", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_input_device_list", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_input_device", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "set_input_device", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_bus_layout", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3319058824, - "arguments": [ - { - "name": "bus_layout", - "type": "AudioBusLayout" - } - ] - }, - { - "name": "generate_bus_layout", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3769973890, - "return_value": { - "type": "AudioBusLayout" - } - }, - { - "name": "set_enable_tagging_used_audio_streams", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - } - ], - "signals": [ - { - "name": "bus_layout_changed" - }, - { - "name": "bus_renamed", - "arguments": [ - { - "name": "bus_index", - "type": "int" - }, - { - "name": "old_name", - "type": "StringName" - }, - { - "name": "new_name", - "type": "StringName" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "bus_count", - "setter": "set_bus_count", - "getter": "get_bus_count" - }, - { - "type": "String", - "name": "output_device", - "setter": "set_output_device", - "getter": "get_output_device" - }, - { - "type": "String", - "name": "input_device", - "setter": "set_input_device", - "getter": "get_input_device" - }, - { - "type": "float", - "name": "playback_speed_scale", - "setter": "set_playback_speed_scale", - "getter": "get_playback_speed_scale" - } - ] - }, - { - "name": "AudioStream", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "_instantiate_playback", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "AudioStreamPlayback" - } - }, - { - "name": "_get_stream_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_length", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "_is_monophonic", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_bpm", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "_get_beat_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "is_monophonic", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "instantiate_playback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 210135309, - "return_value": { - "type": "AudioStreamPlayback" - } - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "hz", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mix_rate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_buffer_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "seconds", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_buffer_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "mix_rate", - "setter": "set_mix_rate", - "getter": "get_mix_rate" - }, - { - "type": "float", - "name": "buffer_length", - "setter": "set_buffer_length", - "getter": "get_buffer_length" - } - ] - }, - { - "name": "AudioStreamGeneratorPlayback", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "AudioStreamPlaybackResampled", - "api_type": "core", - "methods": [ - { - "name": "push_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3975407249, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "frame", - "type": "Vector2" - } - ] - }, - { - "name": "can_push_buffer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "push_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1361156557, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "frames", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_frames_available", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_skips", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "clear_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "AudioStreamMP3", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioStream", - "api_type": "core", - "methods": [ - { - "name": "set_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2971499966, - "arguments": [ - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "get_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2362200018, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "set_loop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "has_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_loop_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "seconds", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_loop_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_bpm", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bpm", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_bpm", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_beat_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_beat_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_bar_beats", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bar_beats", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "PackedByteArray", - "name": "data", - "setter": "set_data", - "getter": "get_data" - }, - { - "type": "float", - "name": "bpm", - "setter": "set_bpm", - "getter": "get_bpm" - }, - { - "type": "int", - "name": "beat_count", - "setter": "set_beat_count", - "getter": "get_beat_count" - }, - { - "type": "int", - "name": "bar_beats", - "setter": "set_bar_beats", - "getter": "get_bar_beats" - }, - { - "type": "bool", - "name": "loop", - "setter": "set_loop", - "getter": "has_loop" - }, - { - "type": "float", - "name": "loop_offset", - "setter": "set_loop_offset", - "getter": "get_loop_offset" - } - ] - }, - { - "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": "load_from_buffer", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 354904730, - "return_value": { - "type": "AudioStreamOggVorbis" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "load_from_file", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 797568536, - "return_value": { - "type": "AudioStreamOggVorbis" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "set_packet_sequence", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 438882457, - "arguments": [ - { - "name": "packet_sequence", - "type": "OggPacketSequence" - } - ] - }, - { - "name": "get_packet_sequence", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2801636033, - "return_value": { - "type": "OggPacketSequence" - } - }, - { - "name": "set_loop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "has_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_loop_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "seconds", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_loop_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_bpm", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bpm", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_bpm", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_beat_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_beat_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_bar_beats", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bar_beats", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "Object", - "name": "packet_sequence", - "setter": "set_packet_sequence", - "getter": "get_packet_sequence" - }, - { - "type": "float", - "name": "bpm", - "setter": "set_bpm", - "getter": "get_bpm" - }, - { - "type": "int", - "name": "beat_count", - "setter": "set_beat_count", - "getter": "get_beat_count" - }, - { - "type": "int", - "name": "bar_beats", - "setter": "set_bar_beats", - "getter": "get_bar_beats" - }, - { - "type": "bool", - "name": "loop", - "setter": "set_loop", - "getter": "has_loop" - }, - { - "type": "float", - "name": "loop_offset", - "setter": "set_loop_offset", - "getter": "get_loop_offset" - } - ] - }, - { - "name": "AudioStreamPlayback", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "_start", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "from_pos", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_stop", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_is_playing", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_loop_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_playback_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "_seek", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "position", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_mix", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "buffer", - "type": "AudioFrame*" - }, - { - "name": "rate_scale", - "type": "float", - "meta": "float" - }, - { - "name": "frames", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_tag_used_streams", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - } - ] - }, - { - "name": "AudioStreamPlaybackOggVorbis", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioStreamPlaybackResampled", - "api_type": "core" - }, - { - "name": "AudioStreamPlaybackPolyphonic", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "AudioStreamPlayback", - "api_type": "core", - "constants": [ - { - "name": "INVALID_ID", - "value": -1 - } - ], - "methods": [ - { - "name": "play_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 604492179, - "hash_compatibility": [ - 3792189967 - ], - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "stream", - "type": "AudioStream" - }, - { - "name": "from_offset", - "type": "float", - "meta": "float", - "default_value": "0" - }, - { - "name": "volume_db", - "type": "float", - "meta": "float", - "default_value": "0" - }, - { - "name": "pitch_scale", - "type": "float", - "meta": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "set_stream_volume", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "stream", - "type": "int", - "meta": "int64" - }, - { - "name": "volume_db", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_stream_pitch_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "stream", - "type": "int", - "meta": "int64" - }, - { - "name": "pitch_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "is_stream_playing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "stream", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "stop_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "stream", - "type": "int", - "meta": "int64" - } - ] - } - ] - }, - { - "name": "AudioStreamPlaybackResampled", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioStreamPlayback", - "api_type": "core", - "methods": [ - { - "name": "_mix_resampled", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "dst_buffer", - "type": "AudioFrame*" - }, - { - "name": "frame_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_stream_sampling_rate", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "begin_resample", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "AudioStreamPlayer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "enums": [ - { - "name": "MixTarget", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2210767741, - "arguments": [ - { - "name": "stream", - "type": "AudioStream" - } - ] - }, - { - "name": "get_stream", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 160907539, - "return_value": { - "type": "AudioStream" - } - }, - { - "name": "set_volume_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "volume_db", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volume_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_pitch_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pitch_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pitch_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "play", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1958160172, - "arguments": [ - { - "name": "from_position", - "type": "float", - "meta": "float", - "default_value": "0.0" - } - ] - }, - { - "name": "seek", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "to_position", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_playing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_playback_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_bus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "bus", - "type": "StringName" - } - ] - }, - { - "name": "get_bus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_autoplay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_autoplay_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_mix_target", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2300306138, - "arguments": [ - { - "name": "mix_target", - "type": "enum::AudioStreamPlayer.MixTarget" - } - ] - }, - { - "name": "get_mix_target", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 172807476, - "return_value": { - "type": "enum::AudioStreamPlayer.MixTarget" - } - }, - { - "name": "set_stream_paused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pause", - "type": "bool" - } - ] - }, - { - "name": "get_stream_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_max_polyphony", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_polyphony", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_polyphony", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "has_stream_playback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_stream_playback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 210135309, - "return_value": { - "type": "AudioStreamPlayback" - } - } - ], - "signals": [ - { - "name": "finished" - } - ], - "properties": [ - { - "type": "AudioStream", - "name": "stream", - "setter": "set_stream", - "getter": "get_stream" - }, - { - "type": "float", - "name": "volume_db", - "setter": "set_volume_db", - "getter": "get_volume_db" - }, - { - "type": "float", - "name": "pitch_scale", - "setter": "set_pitch_scale", - "getter": "get_pitch_scale" - }, - { - "type": "bool", - "name": "playing", - "setter": "_set_playing", - "getter": "is_playing" - }, - { - "type": "bool", - "name": "autoplay", - "setter": "set_autoplay", - "getter": "is_autoplay_enabled" - }, - { - "type": "bool", - "name": "stream_paused", - "setter": "set_stream_paused", - "getter": "get_stream_paused" - }, - { - "type": "int", - "name": "mix_target", - "setter": "set_mix_target", - "getter": "get_mix_target" - }, - { - "type": "int", - "name": "max_polyphony", - "setter": "set_max_polyphony", - "getter": "get_max_polyphony" - }, - { - "type": "StringName", - "name": "bus", - "setter": "set_bus", - "getter": "get_bus" - } - ] - }, - { - "name": "AudioStreamPlayer2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2210767741, - "arguments": [ - { - "name": "stream", - "type": "AudioStream" - } - ] - }, - { - "name": "get_stream", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 160907539, - "return_value": { - "type": "AudioStream" - } - }, - { - "name": "set_volume_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "volume_db", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volume_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_pitch_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pitch_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pitch_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "play", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1958160172, - "arguments": [ - { - "name": "from_position", - "type": "float", - "meta": "float", - "default_value": "0.0" - } - ] - }, - { - "name": "seek", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "to_position", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_playing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_playback_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_bus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "bus", - "type": "StringName" - } - ] - }, - { - "name": "get_bus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_autoplay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_autoplay_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pixels", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_attenuation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "curve", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_attenuation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_area_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_area_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_stream_paused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pause", - "type": "bool" - } - ] - }, - { - "name": "get_stream_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_max_polyphony", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_polyphony", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_polyphony", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_panning_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "panning_strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_panning_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "has_stream_playback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_stream_playback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 210135309, - "return_value": { - "type": "AudioStreamPlayback" - } - } - ], - "signals": [ - { - "name": "finished" - } - ], - "properties": [ - { - "type": "AudioStream", - "name": "stream", - "setter": "set_stream", - "getter": "get_stream" - }, - { - "type": "float", - "name": "volume_db", - "setter": "set_volume_db", - "getter": "get_volume_db" - }, - { - "type": "float", - "name": "pitch_scale", - "setter": "set_pitch_scale", - "getter": "get_pitch_scale" - }, - { - "type": "bool", - "name": "playing", - "setter": "_set_playing", - "getter": "is_playing" - }, - { - "type": "bool", - "name": "autoplay", - "setter": "set_autoplay", - "getter": "is_autoplay_enabled" - }, - { - "type": "bool", - "name": "stream_paused", - "setter": "set_stream_paused", - "getter": "get_stream_paused" - }, - { - "type": "float", - "name": "max_distance", - "setter": "set_max_distance", - "getter": "get_max_distance" - }, - { - "type": "float", - "name": "attenuation", - "setter": "set_attenuation", - "getter": "get_attenuation" - }, - { - "type": "int", - "name": "max_polyphony", - "setter": "set_max_polyphony", - "getter": "get_max_polyphony" - }, - { - "type": "float", - "name": "panning_strength", - "setter": "set_panning_strength", - "getter": "get_panning_strength" - }, - { - "type": "StringName", - "name": "bus", - "setter": "set_bus", - "getter": "get_bus" - }, - { - "type": "int", - "name": "area_mask", - "setter": "set_area_mask", - "getter": "get_area_mask" - } - ] - }, - { - "name": "AudioStreamPlayer3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "enums": [ - { - "name": "AttenuationModel", - "is_bitfield": false, - "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": "DopplerTracking", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2210767741, - "arguments": [ - { - "name": "stream", - "type": "AudioStream" - } - ] - }, - { - "name": "get_stream", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 160907539, - "return_value": { - "type": "AudioStream" - } - }, - { - "name": "set_volume_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "volume_db", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volume_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_unit_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "unit_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_unit_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max_db", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_pitch_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pitch_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pitch_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "play", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1958160172, - "arguments": [ - { - "name": "from_position", - "type": "float", - "meta": "float", - "default_value": "0.0" - } - ] - }, - { - "name": "seek", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "to_position", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_playing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_playback_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_bus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "bus", - "type": "StringName" - } - ] - }, - { - "name": "get_bus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_autoplay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_autoplay_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "meters", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_area_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_area_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_emission_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_angle_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_emission_angle_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_emission_angle_filter_attenuation_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "db", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_angle_filter_attenuation_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_attenuation_filter_cutoff_hz", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_attenuation_filter_cutoff_hz", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_attenuation_filter_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "db", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_attenuation_filter_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_attenuation_model", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2988086229, - "arguments": [ - { - "name": "model", - "type": "enum::AudioStreamPlayer3D.AttenuationModel" - } - ] - }, - { - "name": "get_attenuation_model", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3035106060, - "return_value": { - "type": "enum::AudioStreamPlayer3D.AttenuationModel" - } - }, - { - "name": "set_doppler_tracking", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3968161450, - "arguments": [ - { - "name": "mode", - "type": "enum::AudioStreamPlayer3D.DopplerTracking" - } - ] - }, - { - "name": "get_doppler_tracking", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1702418664, - "return_value": { - "type": "enum::AudioStreamPlayer3D.DopplerTracking" - } - }, - { - "name": "set_stream_paused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pause", - "type": "bool" - } - ] - }, - { - "name": "get_stream_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_max_polyphony", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_polyphony", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_polyphony", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_panning_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "panning_strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_panning_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "has_stream_playback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_stream_playback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 210135309, - "return_value": { - "type": "AudioStreamPlayback" - } - } - ], - "signals": [ - { - "name": "finished" - } - ], - "properties": [ - { - "type": "AudioStream", - "name": "stream", - "setter": "set_stream", - "getter": "get_stream" - }, - { - "type": "int", - "name": "attenuation_model", - "setter": "set_attenuation_model", - "getter": "get_attenuation_model" - }, - { - "type": "float", - "name": "volume_db", - "setter": "set_volume_db", - "getter": "get_volume_db" - }, - { - "type": "float", - "name": "unit_size", - "setter": "set_unit_size", - "getter": "get_unit_size" - }, - { - "type": "float", - "name": "max_db", - "setter": "set_max_db", - "getter": "get_max_db" - }, - { - "type": "float", - "name": "pitch_scale", - "setter": "set_pitch_scale", - "getter": "get_pitch_scale" - }, - { - "type": "bool", - "name": "playing", - "setter": "_set_playing", - "getter": "is_playing" - }, - { - "type": "bool", - "name": "autoplay", - "setter": "set_autoplay", - "getter": "is_autoplay_enabled" - }, - { - "type": "bool", - "name": "stream_paused", - "setter": "set_stream_paused", - "getter": "get_stream_paused" - }, - { - "type": "float", - "name": "max_distance", - "setter": "set_max_distance", - "getter": "get_max_distance" - }, - { - "type": "int", - "name": "max_polyphony", - "setter": "set_max_polyphony", - "getter": "get_max_polyphony" - }, - { - "type": "float", - "name": "panning_strength", - "setter": "set_panning_strength", - "getter": "get_panning_strength" - }, - { - "type": "StringName", - "name": "bus", - "setter": "set_bus", - "getter": "get_bus" - }, - { - "type": "int", - "name": "area_mask", - "setter": "set_area_mask", - "getter": "get_area_mask" - }, - { - "type": "bool", - "name": "emission_angle_enabled", - "setter": "set_emission_angle_enabled", - "getter": "is_emission_angle_enabled" - }, - { - "type": "float", - "name": "emission_angle_degrees", - "setter": "set_emission_angle", - "getter": "get_emission_angle" - }, - { - "type": "float", - "name": "emission_angle_filter_attenuation_db", - "setter": "set_emission_angle_filter_attenuation_db", - "getter": "get_emission_angle_filter_attenuation_db" - }, - { - "type": "float", - "name": "attenuation_filter_cutoff_hz", - "setter": "set_attenuation_filter_cutoff_hz", - "getter": "get_attenuation_filter_cutoff_hz" - }, - { - "type": "float", - "name": "attenuation_filter_db", - "setter": "set_attenuation_filter_db", - "getter": "get_attenuation_filter_db" - }, - { - "type": "int", - "name": "doppler_tracking", - "setter": "set_doppler_tracking", - "getter": "get_doppler_tracking" - } - ] - }, - { - "name": "AudioStreamPolyphonic", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioStream", - "api_type": "core", - "methods": [ - { - "name": "set_polyphony", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "voices", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_polyphony", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "polyphony", - "setter": "set_polyphony", - "getter": "get_polyphony" - } - ] - }, - { - "name": "AudioStreamRandomizer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioStream", - "api_type": "core", - "enums": [ - { - "name": "PlaybackMode", - "is_bitfield": false, - "values": [ - { - "name": "PLAYBACK_RANDOM_NO_REPEATS", - "value": 0 - }, - { - "name": "PLAYBACK_RANDOM", - "value": 1 - }, - { - "name": "PLAYBACK_SEQUENTIAL", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "add_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1892018854, - "hash_compatibility": [ - 3197802065 - ], - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "stream", - "type": "AudioStream" - }, - { - "name": "weight", - "type": "float", - "meta": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "move_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "index_from", - "type": "int", - "meta": "int32" - }, - { - "name": "index_to", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 111075094, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "stream", - "type": "AudioStream" - } - ] - }, - { - "name": "get_stream", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2739380747, - "return_value": { - "type": "AudioStream" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_stream_probability_weight", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "weight", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_stream_probability_weight", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_streams_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_streams_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_random_pitch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_random_pitch", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_random_volume_offset_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "db_offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_random_volume_offset_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_playback_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3950967023, - "arguments": [ - { - "name": "mode", - "type": "enum::AudioStreamRandomizer.PlaybackMode" - } - ] - }, - { - "name": "get_playback_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3943055077, - "return_value": { - "type": "enum::AudioStreamRandomizer.PlaybackMode" - } - } - ], - "properties": [ - { - "type": "int", - "name": "playback_mode", - "setter": "set_playback_mode", - "getter": "get_playback_mode" - }, - { - "type": "float", - "name": "random_pitch", - "setter": "set_random_pitch", - "getter": "get_random_pitch" - }, - { - "type": "float", - "name": "random_volume_offset_db", - "setter": "set_random_volume_offset_db", - "getter": "get_random_volume_offset_db" - }, - { - "type": "int", - "name": "streams_count", - "setter": "set_streams_count", - "getter": "get_streams_count" - } - ] - }, - { - "name": "AudioStreamWAV", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "AudioStream", - "api_type": "core", - "enums": [ - { - "name": "Format", - "is_bitfield": false, - "values": [ - { - "name": "FORMAT_8_BITS", - "value": 0 - }, - { - "name": "FORMAT_16_BITS", - "value": 1 - }, - { - "name": "FORMAT_IMA_ADPCM", - "value": 2 - } - ] - }, - { - "name": "LoopMode", - "is_bitfield": false, - "values": [ - { - "name": "LOOP_DISABLED", - "value": 0 - }, - { - "name": "LOOP_FORWARD", - "value": 1 - }, - { - "name": "LOOP_PINGPONG", - "value": 2 - }, - { - "name": "LOOP_BACKWARD", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2971499966, - "arguments": [ - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "get_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2362200018, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "set_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 60648488, - "arguments": [ - { - "name": "format", - "type": "enum::AudioStreamWAV.Format" - } - ] - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3151724922, - "return_value": { - "type": "enum::AudioStreamWAV.Format" - } - }, - { - "name": "set_loop_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2444882972, - "arguments": [ - { - "name": "loop_mode", - "type": "enum::AudioStreamWAV.LoopMode" - } - ] - }, - { - "name": "get_loop_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 393560655, - "return_value": { - "type": "enum::AudioStreamWAV.LoopMode" - } - }, - { - "name": "set_loop_begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "loop_begin", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_loop_begin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_loop_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "loop_end", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_loop_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_mix_rate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mix_rate", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_mix_rate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_stereo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "stereo", - "type": "bool" - } - ] - }, - { - "name": "is_stereo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "save_to_wav", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "PackedByteArray", - "name": "data", - "setter": "set_data", - "getter": "get_data" - }, - { - "type": "int", - "name": "format", - "setter": "set_format", - "getter": "get_format" - }, - { - "type": "int", - "name": "loop_mode", - "setter": "set_loop_mode", - "getter": "get_loop_mode" - }, - { - "type": "int", - "name": "loop_begin", - "setter": "set_loop_begin", - "getter": "get_loop_begin" - }, - { - "type": "int", - "name": "loop_end", - "setter": "set_loop_end", - "getter": "get_loop_end" - }, - { - "type": "int", - "name": "mix_rate", - "setter": "set_mix_rate", - "getter": "get_mix_rate" - }, - { - "type": "bool", - "name": "stereo", - "setter": "set_stereo", - "getter": "is_stereo" - } - ] - }, - { - "name": "BackBufferCopy", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "enums": [ - { - "name": "CopyMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "get_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "set_copy_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1713538590, - "arguments": [ - { - "name": "copy_mode", - "type": "enum::BackBufferCopy.CopyMode" - } - ] - }, - { - "name": "get_copy_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3271169440, - "return_value": { - "type": "enum::BackBufferCopy.CopyMode" - } - } - ], - "properties": [ - { - "type": "int", - "name": "copy_mode", - "setter": "set_copy_mode", - "getter": "get_copy_mode" - }, - { - "type": "Rect2", - "name": "rect", - "setter": "set_rect", - "getter": "get_rect" - } - ] - }, - { - "name": "BaseButton", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "enums": [ - { - "name": "DrawMode", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "ActionMode", - "is_bitfield": false, - "values": [ - { - "name": "ACTION_MODE_BUTTON_PRESS", - "value": 0 - }, - { - "name": "ACTION_MODE_BUTTON_RELEASE", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "_pressed", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_toggled", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "toggled_on", - "type": "bool" - } - ] - }, - { - "name": "set_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "is_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_pressed_no_signal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "is_hovered", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_toggle_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_toggle_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shortcut_in_tooltip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_shortcut_in_tooltip_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_action_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1985162088, - "arguments": [ - { - "name": "mode", - "type": "enum::BaseButton.ActionMode" - } - ] - }, - { - "name": "get_action_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2589712189, - "return_value": { - "type": "enum::BaseButton.ActionMode" - } - }, - { - "name": "set_button_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3950145251, - "arguments": [ - { - "name": "mask", - "type": "bitfield::MouseButtonMask" - } - ] - }, - { - "name": "get_button_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2512161324, - "return_value": { - "type": "bitfield::MouseButtonMask" - } - }, - { - "name": "get_draw_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2492721305, - "return_value": { - "type": "enum::BaseButton.DrawMode" - } - }, - { - "name": "set_keep_pressed_outside", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_keep_pressed_outside", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shortcut_feedback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_shortcut_feedback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shortcut", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 857163497, - "arguments": [ - { - "name": "shortcut", - "type": "Shortcut" - } - ] - }, - { - "name": "get_shortcut", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3415666916, - "return_value": { - "type": "Shortcut" - } - }, - { - "name": "set_button_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794463739, - "arguments": [ - { - "name": "button_group", - "type": "ButtonGroup" - } - ] - }, - { - "name": "get_button_group", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 281644053, - "return_value": { - "type": "ButtonGroup" - } - } - ], - "signals": [ - { - "name": "pressed" - }, - { - "name": "button_up" - }, - { - "name": "button_down" - }, - { - "name": "toggled", - "arguments": [ - { - "name": "toggled_on", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "disabled", - "setter": "set_disabled", - "getter": "is_disabled" - }, - { - "type": "bool", - "name": "toggle_mode", - "setter": "set_toggle_mode", - "getter": "is_toggle_mode" - }, - { - "type": "bool", - "name": "button_pressed", - "setter": "set_pressed", - "getter": "is_pressed" - }, - { - "type": "int", - "name": "action_mode", - "setter": "set_action_mode", - "getter": "get_action_mode" - }, - { - "type": "int", - "name": "button_mask", - "setter": "set_button_mask", - "getter": "get_button_mask" - }, - { - "type": "bool", - "name": "keep_pressed_outside", - "setter": "set_keep_pressed_outside", - "getter": "is_keep_pressed_outside" - }, - { - "type": "ButtonGroup", - "name": "button_group", - "setter": "set_button_group", - "getter": "get_button_group" - }, - { - "type": "Shortcut", - "name": "shortcut", - "setter": "set_shortcut", - "getter": "get_shortcut" - }, - { - "type": "bool", - "name": "shortcut_feedback", - "setter": "set_shortcut_feedback", - "getter": "is_shortcut_feedback" - }, - { - "type": "bool", - "name": "shortcut_in_tooltip", - "setter": "set_shortcut_in_tooltip", - "getter": "is_shortcut_in_tooltip_enabled" - } - ] - }, - { - "name": "BaseMaterial3D", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "Material", - "api_type": "core", - "enums": [ - { - "name": "TextureParam", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "TextureFilter", - "is_bitfield": false, - "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": "DetailUV", - "is_bitfield": false, - "values": [ - { - "name": "DETAIL_UV_1", - "value": 0 - }, - { - "name": "DETAIL_UV_2", - "value": 1 - } - ] - }, - { - "name": "Transparency", - "is_bitfield": false, - "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": "ShadingMode", - "is_bitfield": false, - "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": "Feature", - "is_bitfield": false, - "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": "BlendMode", - "is_bitfield": false, - "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": "AlphaAntiAliasing", - "is_bitfield": false, - "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": "DepthDrawMode", - "is_bitfield": false, - "values": [ - { - "name": "DEPTH_DRAW_OPAQUE_ONLY", - "value": 0 - }, - { - "name": "DEPTH_DRAW_ALWAYS", - "value": 1 - }, - { - "name": "DEPTH_DRAW_DISABLED", - "value": 2 - } - ] - }, - { - "name": "CullMode", - "is_bitfield": false, - "values": [ - { - "name": "CULL_BACK", - "value": 0 - }, - { - "name": "CULL_FRONT", - "value": 1 - }, - { - "name": "CULL_DISABLED", - "value": 2 - } - ] - }, - { - "name": "Flags", - "is_bitfield": false, - "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_ALBEDO_TEXTURE_MSDF", - "value": 20 - }, - { - "name": "FLAG_DISABLE_FOG", - "value": 21 - }, - { - "name": "FLAG_MAX", - "value": 22 - } - ] - }, - { - "name": "DiffuseMode", - "is_bitfield": false, - "values": [ - { - "name": "DIFFUSE_BURLEY", - "value": 0 - }, - { - "name": "DIFFUSE_LAMBERT", - "value": 1 - }, - { - "name": "DIFFUSE_LAMBERT_WRAP", - "value": 2 - }, - { - "name": "DIFFUSE_TOON", - "value": 3 - } - ] - }, - { - "name": "SpecularMode", - "is_bitfield": false, - "values": [ - { - "name": "SPECULAR_SCHLICK_GGX", - "value": 0 - }, - { - "name": "SPECULAR_TOON", - "value": 1 - }, - { - "name": "SPECULAR_DISABLED", - "value": 2 - } - ] - }, - { - "name": "BillboardMode", - "is_bitfield": false, - "values": [ - { - "name": "BILLBOARD_DISABLED", - "value": 0 - }, - { - "name": "BILLBOARD_ENABLED", - "value": 1 - }, - { - "name": "BILLBOARD_FIXED_Y", - "value": 2 - }, - { - "name": "BILLBOARD_PARTICLES", - "value": 3 - } - ] - }, - { - "name": "TextureChannel", - "is_bitfield": false, - "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": "EmissionOperator", - "is_bitfield": false, - "values": [ - { - "name": "EMISSION_OP_ADD", - "value": 0 - }, - { - "name": "EMISSION_OP_MULTIPLY", - "value": 1 - } - ] - }, - { - "name": "DistanceFadeMode", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "set_albedo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "albedo", - "type": "Color" - } - ] - }, - { - "name": "get_albedo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_transparency", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3435651667, - "arguments": [ - { - "name": "transparency", - "type": "enum::BaseMaterial3D.Transparency" - } - ] - }, - { - "name": "get_transparency", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 990903061, - "return_value": { - "type": "enum::BaseMaterial3D.Transparency" - } - }, - { - "name": "set_alpha_antialiasing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3212649852, - "arguments": [ - { - "name": "alpha_aa", - "type": "enum::BaseMaterial3D.AlphaAntiAliasing" - } - ] - }, - { - "name": "get_alpha_antialiasing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2889939400, - "return_value": { - "type": "enum::BaseMaterial3D.AlphaAntiAliasing" - } - }, - { - "name": "set_alpha_antialiasing_edge", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "edge", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_alpha_antialiasing_edge", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_shading_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3368750322, - "arguments": [ - { - "name": "shading_mode", - "type": "enum::BaseMaterial3D.ShadingMode" - } - ] - }, - { - "name": "get_shading_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2132070559, - "return_value": { - "type": "enum::BaseMaterial3D.ShadingMode" - } - }, - { - "name": "set_specular", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "specular", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_specular", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_metallic", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "metallic", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_metallic", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_roughness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "roughness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_roughness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "emission", - "type": "Color" - } - ] - }, - { - "name": "get_emission", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_emission_energy_multiplier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "emission_energy_multiplier", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_energy_multiplier", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_intensity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "emission_energy_multiplier", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_intensity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_normal_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "normal_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_normal_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_rim", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "rim", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_rim", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_rim_tint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "rim_tint", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_rim_tint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_clearcoat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "clearcoat", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_clearcoat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_clearcoat_roughness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "clearcoat_roughness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_clearcoat_roughness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_anisotropy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "anisotropy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_anisotropy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_heightmap_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "heightmap_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_heightmap_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_subsurface_scattering_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_subsurface_scattering_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_transmittance_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_transmittance_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_transmittance_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "depth", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_transmittance_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_transmittance_boost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "boost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_transmittance_boost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_backlight", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "backlight", - "type": "Color" - } - ] - }, - { - "name": "get_backlight", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_refraction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "refraction", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_refraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_point_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "point_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_point_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_detail_uv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 456801921, - "arguments": [ - { - "name": "detail_uv", - "type": "enum::BaseMaterial3D.DetailUV" - } - ] - }, - { - "name": "get_detail_uv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2306920512, - "return_value": { - "type": "enum::BaseMaterial3D.DetailUV" - } - }, - { - "name": "set_blend_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2830186259, - "arguments": [ - { - "name": "blend_mode", - "type": "enum::BaseMaterial3D.BlendMode" - } - ] - }, - { - "name": "get_blend_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4022690962, - "return_value": { - "type": "enum::BaseMaterial3D.BlendMode" - } - }, - { - "name": "set_depth_draw_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1456584748, - "arguments": [ - { - "name": "depth_draw_mode", - "type": "enum::BaseMaterial3D.DepthDrawMode" - } - ] - }, - { - "name": "get_depth_draw_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2578197639, - "return_value": { - "type": "enum::BaseMaterial3D.DepthDrawMode" - } - }, - { - "name": "set_cull_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2338909218, - "arguments": [ - { - "name": "cull_mode", - "type": "enum::BaseMaterial3D.CullMode" - } - ] - }, - { - "name": "get_cull_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1941499586, - "return_value": { - "type": "enum::BaseMaterial3D.CullMode" - } - }, - { - "name": "set_diffuse_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1045299638, - "arguments": [ - { - "name": "diffuse_mode", - "type": "enum::BaseMaterial3D.DiffuseMode" - } - ] - }, - { - "name": "get_diffuse_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3973617136, - "return_value": { - "type": "enum::BaseMaterial3D.DiffuseMode" - } - }, - { - "name": "set_specular_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 584737147, - "arguments": [ - { - "name": "specular_mode", - "type": "enum::BaseMaterial3D.SpecularMode" - } - ] - }, - { - "name": "get_specular_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2569953298, - "return_value": { - "type": "enum::BaseMaterial3D.SpecularMode" - } - }, - { - "name": "set_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3070159527, - "arguments": [ - { - "name": "flag", - "type": "enum::BaseMaterial3D.Flags" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_flag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410065, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "flag", - "type": "enum::BaseMaterial3D.Flags" - } - ] - }, - { - "name": "set_texture_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 22904437, - "arguments": [ - { - "name": "mode", - "type": "enum::BaseMaterial3D.TextureFilter" - } - ] - }, - { - "name": "get_texture_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3289213076, - "return_value": { - "type": "enum::BaseMaterial3D.TextureFilter" - } - }, - { - "name": "set_feature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2819288693, - "arguments": [ - { - "name": "feature", - "type": "enum::BaseMaterial3D.Feature" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965241794, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "feature", - "type": "enum::BaseMaterial3D.Feature" - } - ] - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 464208135, - "arguments": [ - { - "name": "param", - "type": "enum::BaseMaterial3D.TextureParam" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 329605813, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "param", - "type": "enum::BaseMaterial3D.TextureParam" - } - ] - }, - { - "name": "set_detail_blend_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2830186259, - "arguments": [ - { - "name": "detail_blend_mode", - "type": "enum::BaseMaterial3D.BlendMode" - } - ] - }, - { - "name": "get_detail_blend_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4022690962, - "return_value": { - "type": "enum::BaseMaterial3D.BlendMode" - } - }, - { - "name": "set_uv1_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "get_uv1_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_uv1_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "get_uv1_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_uv1_triplanar_blend_sharpness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sharpness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_uv1_triplanar_blend_sharpness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_uv2_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "get_uv2_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_uv2_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "get_uv2_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_uv2_triplanar_blend_sharpness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sharpness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_uv2_triplanar_blend_sharpness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_billboard_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4202036497, - "arguments": [ - { - "name": "mode", - "type": "enum::BaseMaterial3D.BillboardMode" - } - ] - }, - { - "name": "get_billboard_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1283840139, - "return_value": { - "type": "enum::BaseMaterial3D.BillboardMode" - } - }, - { - "name": "set_particles_anim_h_frames", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frames", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_particles_anim_h_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_particles_anim_v_frames", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frames", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_particles_anim_v_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_particles_anim_loop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "loop", - "type": "bool" - } - ] - }, - { - "name": "get_particles_anim_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_heightmap_deep_parallax", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_heightmap_deep_parallax_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_heightmap_deep_parallax_min_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_heightmap_deep_parallax_min_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_heightmap_deep_parallax_max_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_heightmap_deep_parallax_max_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_heightmap_deep_parallax_flip_tangent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip", - "type": "bool" - } - ] - }, - { - "name": "get_heightmap_deep_parallax_flip_tangent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_heightmap_deep_parallax_flip_binormal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip", - "type": "bool" - } - ] - }, - { - "name": "get_heightmap_deep_parallax_flip_binormal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_grow", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_grow", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_operator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3825128922, - "arguments": [ - { - "name": "operator", - "type": "enum::BaseMaterial3D.EmissionOperator" - } - ] - }, - { - "name": "get_emission_operator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 974205018, - "return_value": { - "type": "enum::BaseMaterial3D.EmissionOperator" - } - }, - { - "name": "set_ao_light_affect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ao_light_affect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_alpha_scissor_threshold", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_alpha_scissor_threshold", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_alpha_hash_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_alpha_hash_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_grow_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_grow_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_metallic_texture_channel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 744167988, - "arguments": [ - { - "name": "channel", - "type": "enum::BaseMaterial3D.TextureChannel" - } - ] - }, - { - "name": "get_metallic_texture_channel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 568133867, - "return_value": { - "type": "enum::BaseMaterial3D.TextureChannel" - } - }, - { - "name": "set_roughness_texture_channel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 744167988, - "arguments": [ - { - "name": "channel", - "type": "enum::BaseMaterial3D.TextureChannel" - } - ] - }, - { - "name": "get_roughness_texture_channel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 568133867, - "return_value": { - "type": "enum::BaseMaterial3D.TextureChannel" - } - }, - { - "name": "set_ao_texture_channel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 744167988, - "arguments": [ - { - "name": "channel", - "type": "enum::BaseMaterial3D.TextureChannel" - } - ] - }, - { - "name": "get_ao_texture_channel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 568133867, - "return_value": { - "type": "enum::BaseMaterial3D.TextureChannel" - } - }, - { - "name": "set_refraction_texture_channel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 744167988, - "arguments": [ - { - "name": "channel", - "type": "enum::BaseMaterial3D.TextureChannel" - } - ] - }, - { - "name": "get_refraction_texture_channel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 568133867, - "return_value": { - "type": "enum::BaseMaterial3D.TextureChannel" - } - }, - { - "name": "set_proximity_fade_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_proximity_fade_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_proximity_fade_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_proximity_fade_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_msdf_pixel_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "range", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_msdf_pixel_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_msdf_outline_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_msdf_outline_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_distance_fade", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1379478617, - "arguments": [ - { - "name": "mode", - "type": "enum::BaseMaterial3D.DistanceFadeMode" - } - ] - }, - { - "name": "get_distance_fade", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2694575734, - "return_value": { - "type": "enum::BaseMaterial3D.DistanceFadeMode" - } - }, - { - "name": "set_distance_fade_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_distance_fade_max_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_distance_fade_min_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_distance_fade_min_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "int", - "name": "transparency", - "setter": "set_transparency", - "getter": "get_transparency" - }, - { - "type": "float", - "name": "alpha_scissor_threshold", - "setter": "set_alpha_scissor_threshold", - "getter": "get_alpha_scissor_threshold" - }, - { - "type": "float", - "name": "alpha_hash_scale", - "setter": "set_alpha_hash_scale", - "getter": "get_alpha_hash_scale" - }, - { - "type": "int", - "name": "alpha_antialiasing_mode", - "setter": "set_alpha_antialiasing", - "getter": "get_alpha_antialiasing" - }, - { - "type": "float", - "name": "alpha_antialiasing_edge", - "setter": "set_alpha_antialiasing_edge", - "getter": "get_alpha_antialiasing_edge" - }, - { - "type": "int", - "name": "blend_mode", - "setter": "set_blend_mode", - "getter": "get_blend_mode" - }, - { - "type": "int", - "name": "cull_mode", - "setter": "set_cull_mode", - "getter": "get_cull_mode" - }, - { - "type": "int", - "name": "depth_draw_mode", - "setter": "set_depth_draw_mode", - "getter": "get_depth_draw_mode" - }, - { - "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" - }, - { - "type": "int", - "name": "diffuse_mode", - "setter": "set_diffuse_mode", - "getter": "get_diffuse_mode" - }, - { - "type": "int", - "name": "specular_mode", - "setter": "set_specular_mode", - "getter": "get_specular_mode" - }, - { - "type": "bool", - "name": "disable_ambient_light", - "setter": "set_flag", - "getter": "get_flag", - "index": 14 - }, - { - "type": "bool", - "name": "disable_fog", - "setter": "set_flag", - "getter": "get_flag", - "index": 21 - }, - { - "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" - }, - { - "type": "Texture2D", - "name": "albedo_texture", - "setter": "set_texture", - "getter": "get_texture", - "index": 0 - }, - { - "type": "bool", - "name": "albedo_texture_force_srgb", - "setter": "set_flag", - "getter": "get_flag", - "index": 12 - }, - { - "type": "bool", - "name": "albedo_texture_msdf", - "setter": "set_flag", - "getter": "get_flag", - "index": 20 - }, - { - "type": "Texture2D", - "name": "orm_texture", - "setter": "set_texture", - "getter": "get_texture", - "index": 17 - }, - { - "type": "float", - "name": "metallic", - "setter": "set_metallic", - "getter": "get_metallic" - }, - { - "type": "float", - "name": "metallic_specular", - "setter": "set_specular", - "getter": "get_specular" - }, - { - "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" - }, - { - "type": "float", - "name": "roughness", - "setter": "set_roughness", - "getter": "get_roughness" - }, - { - "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" - }, - { - "type": "bool", - "name": "emission_enabled", - "setter": "set_feature", - "getter": "get_feature", - "index": 0 - }, - { - "type": "Color", - "name": "emission", - "setter": "set_emission", - "getter": "get_emission" - }, - { - "type": "float", - "name": "emission_energy_multiplier", - "setter": "set_emission_energy_multiplier", - "getter": "get_emission_energy_multiplier" - }, - { - "type": "float", - "name": "emission_intensity", - "setter": "set_emission_intensity", - "getter": "get_emission_intensity" - }, - { - "type": "int", - "name": "emission_operator", - "setter": "set_emission_operator", - "getter": "get_emission_operator" - }, - { - "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" - }, - { - "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" - }, - { - "type": "float", - "name": "rim_tint", - "setter": "set_rim_tint", - "getter": "get_rim_tint" - }, - { - "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" - }, - { - "type": "float", - "name": "clearcoat_roughness", - "setter": "set_clearcoat_roughness", - "getter": "get_clearcoat_roughness" - }, - { - "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" - }, - { - "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" - }, - { - "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" - }, - { - "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" - }, - { - "type": "bool", - "name": "heightmap_deep_parallax", - "setter": "set_heightmap_deep_parallax", - "getter": "is_heightmap_deep_parallax_enabled" - }, - { - "type": "int", - "name": "heightmap_min_layers", - "setter": "set_heightmap_deep_parallax_min_layers", - "getter": "get_heightmap_deep_parallax_min_layers" - }, - { - "type": "int", - "name": "heightmap_max_layers", - "setter": "set_heightmap_deep_parallax_max_layers", - "getter": "get_heightmap_deep_parallax_max_layers" - }, - { - "type": "bool", - "name": "heightmap_flip_tangent", - "setter": "set_heightmap_deep_parallax_flip_tangent", - "getter": "get_heightmap_deep_parallax_flip_tangent" - }, - { - "type": "bool", - "name": "heightmap_flip_binormal", - "setter": "set_heightmap_deep_parallax_flip_binormal", - "getter": "get_heightmap_deep_parallax_flip_binormal" - }, - { - "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" - }, - { - "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" - }, - { - "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" - }, - { - "type": "float", - "name": "subsurf_scatter_transmittance_boost", - "setter": "set_transmittance_boost", - "getter": "get_transmittance_boost" - }, - { - "type": "bool", - "name": "backlight_enabled", - "setter": "set_feature", - "getter": "get_feature", - "index": 9 - }, - { - "type": "Color", - "name": "backlight", - "setter": "set_backlight", - "getter": "get_backlight" - }, - { - "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" - }, - { - "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" - }, - { - "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" - }, - { - "type": "int", - "name": "detail_uv_layer", - "setter": "set_detail_uv", - "getter": "get_detail_uv" - }, - { - "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" - }, - { - "type": "Vector3", - "name": "uv1_offset", - "setter": "set_uv1_offset", - "getter": "get_uv1_offset" - }, - { - "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" - }, - { - "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" - }, - { - "type": "Vector3", - "name": "uv2_offset", - "setter": "set_uv2_offset", - "getter": "get_uv2_offset" - }, - { - "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" - }, - { - "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" - }, - { - "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" - }, - { - "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" - }, - { - "type": "int", - "name": "particles_anim_v_frames", - "setter": "set_particles_anim_v_frames", - "getter": "get_particles_anim_v_frames" - }, - { - "type": "bool", - "name": "particles_anim_loop", - "setter": "set_particles_anim_loop", - "getter": "get_particles_anim_loop" - }, - { - "type": "bool", - "name": "grow", - "setter": "set_grow_enabled", - "getter": "is_grow_enabled" - }, - { - "type": "float", - "name": "grow_amount", - "setter": "set_grow", - "getter": "get_grow" - }, - { - "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" - }, - { - "type": "bool", - "name": "use_particle_trails", - "setter": "set_flag", - "getter": "get_flag", - "index": 19 - }, - { - "type": "bool", - "name": "proximity_fade_enabled", - "setter": "set_proximity_fade_enabled", - "getter": "is_proximity_fade_enabled" - }, - { - "type": "float", - "name": "proximity_fade_distance", - "setter": "set_proximity_fade_distance", - "getter": "get_proximity_fade_distance" - }, - { - "type": "float", - "name": "msdf_pixel_range", - "setter": "set_msdf_pixel_range", - "getter": "get_msdf_pixel_range" - }, - { - "type": "float", - "name": "msdf_outline_size", - "setter": "set_msdf_outline_size", - "getter": "get_msdf_outline_size" - }, - { - "type": "int", - "name": "distance_fade_mode", - "setter": "set_distance_fade", - "getter": "get_distance_fade" - }, - { - "type": "float", - "name": "distance_fade_min_distance", - "setter": "set_distance_fade_min_distance", - "getter": "get_distance_fade_min_distance" - }, - { - "type": "float", - "name": "distance_fade_max_distance", - "setter": "set_distance_fade_max_distance", - "getter": "get_distance_fade_max_distance" - } - ] - }, - { - "name": "BitMap", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "create_from_image_alpha", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 106271684, - "hash_compatibility": [ - 505265891 - ], - "arguments": [ - { - "name": "image", - "type": "Image" - }, - { - "name": "threshold", - "type": "float", - "meta": "float", - "default_value": "0.1" - } - ] - }, - { - "name": "set_bitv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4153096796, - "arguments": [ - { - "name": "position", - "type": "Vector2i" - }, - { - "name": "bit", - "type": "bool" - } - ] - }, - { - "name": "set_bit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1383440665, - "arguments": [ - { - "name": "x", - "type": "int", - "meta": "int32" - }, - { - "name": "y", - "type": "int", - "meta": "int32" - }, - { - "name": "bit", - "type": "bool" - } - ] - }, - { - "name": "get_bitv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3900751641, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2i" - } - ] - }, - { - "name": "get_bit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2522259332, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "x", - "type": "int", - "meta": "int32" - }, - { - "name": "y", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bit_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 472162941, - "arguments": [ - { - "name": "rect", - "type": "Rect2i" - }, - { - "name": "bit", - "type": "bool" - } - ] - }, - { - "name": "get_true_bit_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "resize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "new_size", - "type": "Vector2i" - } - ] - }, - { - "name": "grow_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3317281434, - "arguments": [ - { - "name": "pixels", - "type": "int", - "meta": "int32" - }, - { - "name": "rect", - "type": "Rect2i" - } - ] - }, - { - "name": "convert_to_image", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4190603485, - "return_value": { - "type": "Image" - } - }, - { - "name": "opaque_to_polygons", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 48478126, - "hash_compatibility": [ - 876132484 - ], - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "arguments": [ - { - "name": "rect", - "type": "Rect2i" - }, - { - "name": "epsilon", - "type": "float", - "meta": "float", - "default_value": "2.0" - } - ] - } - ], - "properties": [ - { - "type": "Dictionary", - "name": "data", - "setter": "_set_data", - "getter": "_get_data" - } - ] - }, - { - "name": "Bone2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_rest", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "rest", - "type": "Transform2D" - } - ] - }, - { - "name": "get_rest", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "apply_rest", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_skeleton_rest", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_index_in_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_autocalculate_length_and_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "auto_calculate", - "type": "bool" - } - ] - }, - { - "name": "get_autocalculate_length_and_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_bone_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angle", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bone_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "Transform2D", - "name": "rest", - "setter": "set_rest", - "getter": "get_rest" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "bone_name", - "type": "String" - } - ] - }, - { - "name": "get_bone_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_bone_idx", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bone_idx", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "on_bone_pose_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bone_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_override_pose", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "override_pose", - "type": "bool" - } - ] - }, - { - "name": "get_override_pose", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_external_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_external_skeleton", - "type": "bool" - } - ] - }, - { - "name": "get_use_external_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_external_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "external_skeleton", - "type": "NodePath" - } - ] - }, - { - "name": "get_external_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - } - ], - "properties": [ - { - "type": "StringName", - "name": "bone_name", - "setter": "set_bone_name", - "getter": "get_bone_name" - }, - { - "type": "int", - "name": "bone_idx", - "setter": "set_bone_idx", - "getter": "get_bone_idx" - }, - { - "type": "bool", - "name": "override_pose", - "setter": "set_override_pose", - "getter": "get_override_pose" - } - ] - }, - { - "name": "BoneMap", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291782652, - "return_value": { - "type": "SkeletonProfile" - } - }, - { - "name": "set_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3870374136, - "arguments": [ - { - "name": "profile", - "type": "SkeletonProfile" - } - ] - }, - { - "name": "get_skeleton_bone_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965194235, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "profile_bone_name", - "type": "StringName" - } - ] - }, - { - "name": "set_skeleton_bone_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "profile_bone_name", - "type": "StringName" - }, - { - "name": "skeleton_bone_name", - "type": "StringName" - } - ] - }, - { - "name": "find_profile_bone_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965194235, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "skeleton_bone_name", - "type": "StringName" - } - ] - } - ], - "signals": [ - { - "name": "bone_map_updated" - }, - { - "name": "profile_updated" - } - ], - "properties": [ - { - "type": "SkeletonProfile", - "name": "profile", - "setter": "set_profile", - "getter": "get_profile" - } - ] - }, - { - "name": "BoxContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "core", - "enums": [ - { - "name": "AlignmentMode", - "is_bitfield": false, - "values": [ - { - "name": "ALIGNMENT_BEGIN", - "value": 0 - }, - { - "name": "ALIGNMENT_CENTER", - "value": 1 - }, - { - "name": "ALIGNMENT_END", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "add_spacer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1326660695, - "return_value": { - "type": "Control" - }, - "arguments": [ - { - "name": "begin", - "type": "bool" - } - ] - }, - { - "name": "set_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2456745134, - "arguments": [ - { - "name": "alignment", - "type": "enum::BoxContainer.AlignmentMode" - } - ] - }, - { - "name": "get_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1915476527, - "return_value": { - "type": "enum::BoxContainer.AlignmentMode" - } - }, - { - "name": "set_vertical", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "vertical", - "type": "bool" - } - ] - }, - { - "name": "is_vertical", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "alignment", - "setter": "set_alignment", - "getter": "get_alignment" - }, - { - "type": "bool", - "name": "vertical", - "setter": "set_vertical", - "getter": "is_vertical" - } - ] - }, - { - "name": "BoxMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PrimitiveMesh", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_subdivide_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "subdivide", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_subdivide_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_subdivide_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "divisions", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_subdivide_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_subdivide_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "divisions", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_subdivide_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "int", - "name": "subdivide_width", - "setter": "set_subdivide_width", - "getter": "get_subdivide_width" - }, - { - "type": "int", - "name": "subdivide_height", - "setter": "set_subdivide_height", - "getter": "get_subdivide_height" - }, - { - "type": "int", - "name": "subdivide_depth", - "setter": "set_subdivide_depth", - "getter": "get_subdivide_depth" - } - ] - }, - { - "name": "BoxOccluder3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Occluder3D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - } - ] - }, - { - "name": "BoxShape3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape3D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - } - ] - }, - { - "name": "Button", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "BaseButton", - "api_type": "core", - "methods": [ - { - "name": "set_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_text_overrun_behavior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1008890932, - "arguments": [ - { - "name": "overrun_behavior", - "type": "enum::TextServer.OverrunBehavior" - } - ] - }, - { - "name": "get_text_overrun_behavior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3779142101, - "return_value": { - "type": "enum::TextServer.OverrunBehavior" - } - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 119160795, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.TextDirection" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 797257663, - "return_value": { - "type": "enum::Control.TextDirection" - } - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_button_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_button_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_flat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_flat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_clip_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_clip_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_text_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312603777, - "arguments": [ - { - "name": "alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_text_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 341400642, - "return_value": { - "type": "enum::HorizontalAlignment" - } - }, - { - "name": "set_icon_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312603777, - "arguments": [ - { - "name": "icon_alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_icon_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 341400642, - "return_value": { - "type": "enum::HorizontalAlignment" - } - }, - { - "name": "set_vertical_icon_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1796458609, - "arguments": [ - { - "name": "vertical_icon_alignment", - "type": "enum::VerticalAlignment" - } - ] - }, - { - "name": "get_vertical_icon_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3274884059, - "return_value": { - "type": "enum::VerticalAlignment" - } - }, - { - "name": "set_expand_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_expand_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "String", - "name": "text", - "setter": "set_text", - "getter": "get_text" - }, - { - "type": "Texture2D", - "name": "icon", - "setter": "set_button_icon", - "getter": "get_button_icon" - }, - { - "type": "bool", - "name": "flat", - "setter": "set_flat", - "getter": "is_flat" - }, - { - "type": "int", - "name": "alignment", - "setter": "set_text_alignment", - "getter": "get_text_alignment" - }, - { - "type": "int", - "name": "text_overrun_behavior", - "setter": "set_text_overrun_behavior", - "getter": "get_text_overrun_behavior" - }, - { - "type": "bool", - "name": "clip_text", - "setter": "set_clip_text", - "getter": "get_clip_text" - }, - { - "type": "int", - "name": "icon_alignment", - "setter": "set_icon_alignment", - "getter": "get_icon_alignment" - }, - { - "type": "int", - "name": "vertical_icon_alignment", - "setter": "set_vertical_icon_alignment", - "getter": "get_vertical_icon_alignment" - }, - { - "type": "bool", - "name": "expand_icon", - "setter": "set_expand_icon", - "getter": "is_expand_icon" - }, - { - "type": "int", - "name": "text_direction", - "setter": "set_text_direction", - "getter": "get_text_direction" - }, - { - "type": "String", - "name": "language", - "setter": "set_language", - "getter": "get_language" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3886434893, - "return_value": { - "type": "BaseButton" - } - }, - { - "name": "get_buttons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::BaseButton" - } - }, - { - "name": "set_allow_unpress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_allow_unpress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "pressed", - "arguments": [ - { - "name": "button", - "type": "BaseButton" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "allow_unpress", - "setter": "set_allow_unpress", - "getter": "is_allow_unpress" - } - ] - }, - { - "name": "CPUParticles2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "enums": [ - { - "name": "DrawOrder", - "is_bitfield": false, - "values": [ - { - "name": "DRAW_ORDER_INDEX", - "value": 0 - }, - { - "name": "DRAW_ORDER_LIFETIME", - "value": 1 - } - ] - }, - { - "name": "Parameter", - "is_bitfield": false, - "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": "ParticleFlags", - "is_bitfield": false, - "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": "EmissionShape", - "is_bitfield": false, - "values": [ - { - "name": "EMISSION_SHAPE_POINT", - "value": 0 - }, - { - "name": "EMISSION_SHAPE_SPHERE", - "value": 1 - }, - { - "name": "EMISSION_SHAPE_SPHERE_SURFACE", - "value": 2 - }, - { - "name": "EMISSION_SHAPE_RECTANGLE", - "value": 3 - }, - { - "name": "EMISSION_SHAPE_POINTS", - "value": 4 - }, - { - "name": "EMISSION_SHAPE_DIRECTED_POINTS", - "value": 5 - }, - { - "name": "EMISSION_SHAPE_MAX", - "value": 6 - } - ] - } - ], - "methods": [ - { - "name": "set_emitting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "emitting", - "type": "bool" - } - ] - }, - { - "name": "set_amount", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_lifetime", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_one_shot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_pre_process_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_explosiveness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_randomness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_lifetime_randomness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "random", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_use_local_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_fixed_fps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "fps", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_fractional_delta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "is_emitting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_amount", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_lifetime", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_one_shot", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_pre_process_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_explosiveness_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_randomness_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_lifetime_randomness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_use_local_coordinates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_fixed_fps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_fractional_delta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_speed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_draw_order", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4183193490, - "arguments": [ - { - "name": "order", - "type": "enum::CPUParticles2D.DrawOrder" - } - ] - }, - { - "name": "get_draw_order", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1668655735, - "return_value": { - "type": "enum::CPUParticles2D.DrawOrder" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "restart", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "direction", - "type": "Vector2" - } - ] - }, - { - "name": "get_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_spread", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "spread", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_spread", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_param_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3320615296, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles2D.Parameter" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2038050600, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles2D.Parameter" - } - ] - }, - { - "name": "set_param_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3320615296, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles2D.Parameter" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2038050600, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles2D.Parameter" - } - ] - }, - { - "name": "set_param_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2959350143, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles2D.Parameter" - }, - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_param_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2603158474, - "return_value": { - "type": "Curve" - }, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles2D.Parameter" - } - ] - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_color_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "ramp", - "type": "Gradient" - } - ] - }, - { - "name": "get_color_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, - { - "name": "set_color_initial_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "ramp", - "type": "Gradient" - } - ] - }, - { - "name": "get_color_initial_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, - { - "name": "set_particle_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4178137949, - "arguments": [ - { - "name": "particle_flag", - "type": "enum::CPUParticles2D.ParticleFlags" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_particle_flag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2829976507, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "particle_flag", - "type": "enum::CPUParticles2D.ParticleFlags" - } - ] - }, - { - "name": "set_emission_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 393763892, - "arguments": [ - { - "name": "shape", - "type": "enum::CPUParticles2D.EmissionShape" - } - ] - }, - { - "name": "get_emission_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740246024, - "return_value": { - "type": "enum::CPUParticles2D.EmissionShape" - } - }, - { - "name": "set_emission_sphere_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_sphere_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_rect_extents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "extents", - "type": "Vector2" - } - ] - }, - { - "name": "get_emission_rect_extents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_emission_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "array", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_emission_points", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_emission_normals", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "array", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_emission_normals", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_emission_colors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3546319833, - "arguments": [ - { - "name": "array", - "type": "PackedColorArray" - } - ] - }, - { - "name": "get_emission_colors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1392750486, - "return_value": { - "type": "PackedColorArray" - } - }, - { - "name": "get_gravity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_gravity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "accel_vec", - "type": "Vector2" - } - ] - }, - { - "name": "get_split_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_split_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "split_scale", - "type": "bool" - } - ] - }, - { - "name": "get_scale_curve_x", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_scale_curve_x", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "scale_curve", - "type": "Curve" - } - ] - }, - { - "name": "get_scale_curve_y", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_scale_curve_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "scale_curve", - "type": "Curve" - } - ] - }, - { - "name": "convert_from_particles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "particles", - "type": "Node" - } - ] - } - ], - "signals": [ - { - "name": "finished" - } - ], - "properties": [ - { - "type": "bool", - "name": "emitting", - "setter": "set_emitting", - "getter": "is_emitting" - }, - { - "type": "int", - "name": "amount", - "setter": "set_amount", - "getter": "get_amount" - }, - { - "type": "float", - "name": "lifetime", - "setter": "set_lifetime", - "getter": "get_lifetime" - }, - { - "type": "bool", - "name": "one_shot", - "setter": "set_one_shot", - "getter": "get_one_shot" - }, - { - "type": "float", - "name": "preprocess", - "setter": "set_pre_process_time", - "getter": "get_pre_process_time" - }, - { - "type": "float", - "name": "speed_scale", - "setter": "set_speed_scale", - "getter": "get_speed_scale" - }, - { - "type": "float", - "name": "explosiveness", - "setter": "set_explosiveness_ratio", - "getter": "get_explosiveness_ratio" - }, - { - "type": "float", - "name": "randomness", - "setter": "set_randomness_ratio", - "getter": "get_randomness_ratio" - }, - { - "type": "float", - "name": "lifetime_randomness", - "setter": "set_lifetime_randomness", - "getter": "get_lifetime_randomness" - }, - { - "type": "int", - "name": "fixed_fps", - "setter": "set_fixed_fps", - "getter": "get_fixed_fps" - }, - { - "type": "bool", - "name": "fract_delta", - "setter": "set_fractional_delta", - "getter": "get_fractional_delta" - }, - { - "type": "bool", - "name": "local_coords", - "setter": "set_use_local_coordinates", - "getter": "get_use_local_coordinates" - }, - { - "type": "int", - "name": "draw_order", - "setter": "set_draw_order", - "getter": "get_draw_order" - }, - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "int", - "name": "emission_shape", - "setter": "set_emission_shape", - "getter": "get_emission_shape" - }, - { - "type": "float", - "name": "emission_sphere_radius", - "setter": "set_emission_sphere_radius", - "getter": "get_emission_sphere_radius" - }, - { - "type": "Vector2", - "name": "emission_rect_extents", - "setter": "set_emission_rect_extents", - "getter": "get_emission_rect_extents" - }, - { - "type": "PackedVector2Array", - "name": "emission_points", - "setter": "set_emission_points", - "getter": "get_emission_points" - }, - { - "type": "PackedVector2Array", - "name": "emission_normals", - "setter": "set_emission_normals", - "getter": "get_emission_normals" - }, - { - "type": "PackedColorArray", - "name": "emission_colors", - "setter": "set_emission_colors", - "getter": "get_emission_colors" - }, - { - "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" - }, - { - "type": "float", - "name": "spread", - "setter": "set_spread", - "getter": "get_spread" - }, - { - "type": "Vector2", - "name": "gravity", - "setter": "set_gravity", - "getter": "get_gravity" - }, - { - "type": "float", - "name": "initial_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 0 - }, - { - "type": "float", - "name": "initial_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 0 - }, - { - "type": "float", - "name": "angular_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 1 - }, - { - "type": "float", - "name": "angular_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 1 - }, - { - "type": "Curve", - "name": "angular_velocity_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 1 - }, - { - "type": "float", - "name": "orbit_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 2 - }, - { - "type": "float", - "name": "orbit_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 2 - }, - { - "type": "Curve", - "name": "orbit_velocity_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 2 - }, - { - "type": "float", - "name": "linear_accel_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 3 - }, - { - "type": "float", - "name": "linear_accel_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 3 - }, - { - "type": "Curve", - "name": "linear_accel_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 3 - }, - { - "type": "float", - "name": "radial_accel_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 4 - }, - { - "type": "float", - "name": "radial_accel_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 4 - }, - { - "type": "Curve", - "name": "radial_accel_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 4 - }, - { - "type": "float", - "name": "tangential_accel_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 5 - }, - { - "type": "float", - "name": "tangential_accel_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 5 - }, - { - "type": "Curve", - "name": "tangential_accel_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 5 - }, - { - "type": "float", - "name": "damping_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 6 - }, - { - "type": "float", - "name": "damping_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 6 - }, - { - "type": "Curve", - "name": "damping_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 6 - }, - { - "type": "float", - "name": "angle_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 7 - }, - { - "type": "float", - "name": "angle_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 7 - }, - { - "type": "Curve", - "name": "angle_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 7 - }, - { - "type": "float", - "name": "scale_amount_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 8 - }, - { - "type": "float", - "name": "scale_amount_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 8 - }, - { - "type": "Curve", - "name": "scale_amount_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 8 - }, - { - "type": "bool", - "name": "split_scale", - "setter": "set_split_scale", - "getter": "get_split_scale" - }, - { - "type": "Curve", - "name": "scale_curve_x", - "setter": "set_scale_curve_x", - "getter": "get_scale_curve_x" - }, - { - "type": "Curve", - "name": "scale_curve_y", - "setter": "set_scale_curve_y", - "getter": "get_scale_curve_y" - }, - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - }, - { - "type": "Gradient", - "name": "color_ramp", - "setter": "set_color_ramp", - "getter": "get_color_ramp" - }, - { - "type": "Gradient", - "name": "color_initial_ramp", - "setter": "set_color_initial_ramp", - "getter": "get_color_initial_ramp" - }, - { - "type": "float", - "name": "hue_variation_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 9 - }, - { - "type": "float", - "name": "hue_variation_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 9 - }, - { - "type": "Curve", - "name": "hue_variation_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 9 - }, - { - "type": "float", - "name": "anim_speed_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 10 - }, - { - "type": "float", - "name": "anim_speed_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 10 - }, - { - "type": "Curve", - "name": "anim_speed_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 10 - }, - { - "type": "float", - "name": "anim_offset_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 11 - }, - { - "type": "float", - "name": "anim_offset_max", - "setter": "set_param_max", - "getter": "get_param_max", - "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": "DrawOrder", - "is_bitfield": false, - "values": [ - { - "name": "DRAW_ORDER_INDEX", - "value": 0 - }, - { - "name": "DRAW_ORDER_LIFETIME", - "value": 1 - }, - { - "name": "DRAW_ORDER_VIEW_DEPTH", - "value": 2 - } - ] - }, - { - "name": "Parameter", - "is_bitfield": false, - "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": "ParticleFlags", - "is_bitfield": false, - "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": "EmissionShape", - "is_bitfield": false, - "values": [ - { - "name": "EMISSION_SHAPE_POINT", - "value": 0 - }, - { - "name": "EMISSION_SHAPE_SPHERE", - "value": 1 - }, - { - "name": "EMISSION_SHAPE_SPHERE_SURFACE", - "value": 2 - }, - { - "name": "EMISSION_SHAPE_BOX", - "value": 3 - }, - { - "name": "EMISSION_SHAPE_POINTS", - "value": 4 - }, - { - "name": "EMISSION_SHAPE_DIRECTED_POINTS", - "value": 5 - }, - { - "name": "EMISSION_SHAPE_RING", - "value": 6 - }, - { - "name": "EMISSION_SHAPE_MAX", - "value": 7 - } - ] - } - ], - "methods": [ - { - "name": "set_emitting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "emitting", - "type": "bool" - } - ] - }, - { - "name": "set_amount", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_lifetime", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_one_shot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_pre_process_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_explosiveness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_randomness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_lifetime_randomness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "random", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_use_local_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_fixed_fps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "fps", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_fractional_delta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "is_emitting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_amount", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_lifetime", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_one_shot", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_pre_process_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_explosiveness_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_randomness_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_lifetime_randomness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_use_local_coordinates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_fixed_fps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_fractional_delta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_speed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_draw_order", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1427401774, - "arguments": [ - { - "name": "order", - "type": "enum::CPUParticles3D.DrawOrder" - } - ] - }, - { - "name": "get_draw_order", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321900776, - "return_value": { - "type": "enum::CPUParticles3D.DrawOrder" - } - }, - { - "name": "set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 194775623, - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "get_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1808005922, - "return_value": { - "type": "Mesh" - } - }, - { - "name": "restart", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "direction", - "type": "Vector3" - } - ] - }, - { - "name": "get_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_spread", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_spread", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_flatness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_flatness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_param_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 557936109, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles3D.Parameter" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 597646162, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles3D.Parameter" - } - ] - }, - { - "name": "set_param_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 557936109, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles3D.Parameter" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 597646162, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles3D.Parameter" - } - ] - }, - { - "name": "set_param_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4044142537, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles3D.Parameter" - }, - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_param_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4132790277, - "return_value": { - "type": "Curve" - }, - "arguments": [ - { - "name": "param", - "type": "enum::CPUParticles3D.Parameter" - } - ] - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_color_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "ramp", - "type": "Gradient" - } - ] - }, - { - "name": "get_color_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, - { - "name": "set_color_initial_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "ramp", - "type": "Gradient" - } - ] - }, - { - "name": "get_color_initial_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, - { - "name": "set_particle_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3515406498, - "arguments": [ - { - "name": "particle_flag", - "type": "enum::CPUParticles3D.ParticleFlags" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_particle_flag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2845201987, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "particle_flag", - "type": "enum::CPUParticles3D.ParticleFlags" - } - ] - }, - { - "name": "set_emission_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 491823814, - "arguments": [ - { - "name": "shape", - "type": "enum::CPUParticles3D.EmissionShape" - } - ] - }, - { - "name": "get_emission_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961454842, - "return_value": { - "type": "enum::CPUParticles3D.EmissionShape" - } - }, - { - "name": "set_emission_sphere_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_sphere_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_box_extents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "extents", - "type": "Vector3" - } - ] - }, - { - "name": "get_emission_box_extents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_emission_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 334873810, - "arguments": [ - { - "name": "array", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "get_emission_points", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "set_emission_normals", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 334873810, - "arguments": [ - { - "name": "array", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "get_emission_normals", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "set_emission_colors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3546319833, - "arguments": [ - { - "name": "array", - "type": "PackedColorArray" - } - ] - }, - { - "name": "get_emission_colors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1392750486, - "return_value": { - "type": "PackedColorArray" - } - }, - { - "name": "set_emission_ring_axis", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - } - ] - }, - { - "name": "get_emission_ring_axis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_emission_ring_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_ring_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_ring_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_ring_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_ring_inner_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "inner_radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_ring_inner_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_gravity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_gravity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "accel_vec", - "type": "Vector3" - } - ] - }, - { - "name": "get_split_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_split_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "split_scale", - "type": "bool" - } - ] - }, - { - "name": "get_scale_curve_x", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_scale_curve_x", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "scale_curve", - "type": "Curve" - } - ] - }, - { - "name": "get_scale_curve_y", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_scale_curve_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "scale_curve", - "type": "Curve" - } - ] - }, - { - "name": "get_scale_curve_z", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_scale_curve_z", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "scale_curve", - "type": "Curve" - } - ] - }, - { - "name": "convert_from_particles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "particles", - "type": "Node" - } - ] - } - ], - "signals": [ - { - "name": "finished" - } - ], - "properties": [ - { - "type": "bool", - "name": "emitting", - "setter": "set_emitting", - "getter": "is_emitting" - }, - { - "type": "int", - "name": "amount", - "setter": "set_amount", - "getter": "get_amount" - }, - { - "type": "float", - "name": "lifetime", - "setter": "set_lifetime", - "getter": "get_lifetime" - }, - { - "type": "bool", - "name": "one_shot", - "setter": "set_one_shot", - "getter": "get_one_shot" - }, - { - "type": "float", - "name": "preprocess", - "setter": "set_pre_process_time", - "getter": "get_pre_process_time" - }, - { - "type": "float", - "name": "speed_scale", - "setter": "set_speed_scale", - "getter": "get_speed_scale" - }, - { - "type": "float", - "name": "explosiveness", - "setter": "set_explosiveness_ratio", - "getter": "get_explosiveness_ratio" - }, - { - "type": "float", - "name": "randomness", - "setter": "set_randomness_ratio", - "getter": "get_randomness_ratio" - }, - { - "type": "float", - "name": "lifetime_randomness", - "setter": "set_lifetime_randomness", - "getter": "get_lifetime_randomness" - }, - { - "type": "int", - "name": "fixed_fps", - "setter": "set_fixed_fps", - "getter": "get_fixed_fps" - }, - { - "type": "bool", - "name": "fract_delta", - "setter": "set_fractional_delta", - "getter": "get_fractional_delta" - }, - { - "type": "bool", - "name": "local_coords", - "setter": "set_use_local_coordinates", - "getter": "get_use_local_coordinates" - }, - { - "type": "int", - "name": "draw_order", - "setter": "set_draw_order", - "getter": "get_draw_order" - }, - { - "type": "Mesh", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "int", - "name": "emission_shape", - "setter": "set_emission_shape", - "getter": "get_emission_shape" - }, - { - "type": "float", - "name": "emission_sphere_radius", - "setter": "set_emission_sphere_radius", - "getter": "get_emission_sphere_radius" - }, - { - "type": "Vector3", - "name": "emission_box_extents", - "setter": "set_emission_box_extents", - "getter": "get_emission_box_extents" - }, - { - "type": "PackedVector3Array", - "name": "emission_points", - "setter": "set_emission_points", - "getter": "get_emission_points" - }, - { - "type": "PackedVector3Array", - "name": "emission_normals", - "setter": "set_emission_normals", - "getter": "get_emission_normals" - }, - { - "type": "PackedColorArray", - "name": "emission_colors", - "setter": "set_emission_colors", - "getter": "get_emission_colors" - }, - { - "type": "Vector3", - "name": "emission_ring_axis", - "setter": "set_emission_ring_axis", - "getter": "get_emission_ring_axis" - }, - { - "type": "float", - "name": "emission_ring_height", - "setter": "set_emission_ring_height", - "getter": "get_emission_ring_height" - }, - { - "type": "float", - "name": "emission_ring_radius", - "setter": "set_emission_ring_radius", - "getter": "get_emission_ring_radius" - }, - { - "type": "float", - "name": "emission_ring_inner_radius", - "setter": "set_emission_ring_inner_radius", - "getter": "get_emission_ring_inner_radius" - }, - { - "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" - }, - { - "type": "float", - "name": "spread", - "setter": "set_spread", - "getter": "get_spread" - }, - { - "type": "float", - "name": "flatness", - "setter": "set_flatness", - "getter": "get_flatness" - }, - { - "type": "Vector3", - "name": "gravity", - "setter": "set_gravity", - "getter": "get_gravity" - }, - { - "type": "float", - "name": "initial_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 0 - }, - { - "type": "float", - "name": "initial_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 0 - }, - { - "type": "float", - "name": "angular_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 1 - }, - { - "type": "float", - "name": "angular_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 1 - }, - { - "type": "Curve", - "name": "angular_velocity_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 1 - }, - { - "type": "float", - "name": "orbit_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 2 - }, - { - "type": "float", - "name": "orbit_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 2 - }, - { - "type": "Curve", - "name": "orbit_velocity_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 2 - }, - { - "type": "float", - "name": "linear_accel_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 3 - }, - { - "type": "float", - "name": "linear_accel_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 3 - }, - { - "type": "Curve", - "name": "linear_accel_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 3 - }, - { - "type": "float", - "name": "radial_accel_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 4 - }, - { - "type": "float", - "name": "radial_accel_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 4 - }, - { - "type": "Curve", - "name": "radial_accel_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 4 - }, - { - "type": "float", - "name": "tangential_accel_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 5 - }, - { - "type": "float", - "name": "tangential_accel_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 5 - }, - { - "type": "Curve", - "name": "tangential_accel_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 5 - }, - { - "type": "float", - "name": "damping_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 6 - }, - { - "type": "float", - "name": "damping_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 6 - }, - { - "type": "Curve", - "name": "damping_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 6 - }, - { - "type": "float", - "name": "angle_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 7 - }, - { - "type": "float", - "name": "angle_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 7 - }, - { - "type": "Curve", - "name": "angle_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 7 - }, - { - "type": "float", - "name": "scale_amount_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 8 - }, - { - "type": "float", - "name": "scale_amount_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 8 - }, - { - "type": "Curve", - "name": "scale_amount_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 8 - }, - { - "type": "bool", - "name": "split_scale", - "setter": "set_split_scale", - "getter": "get_split_scale" - }, - { - "type": "Curve", - "name": "scale_curve_x", - "setter": "set_scale_curve_x", - "getter": "get_scale_curve_x" - }, - { - "type": "Curve", - "name": "scale_curve_y", - "setter": "set_scale_curve_y", - "getter": "get_scale_curve_y" - }, - { - "type": "Curve", - "name": "scale_curve_z", - "setter": "set_scale_curve_z", - "getter": "get_scale_curve_z" - }, - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - }, - { - "type": "Gradient", - "name": "color_ramp", - "setter": "set_color_ramp", - "getter": "get_color_ramp" - }, - { - "type": "Gradient", - "name": "color_initial_ramp", - "setter": "set_color_initial_ramp", - "getter": "get_color_initial_ramp" - }, - { - "type": "float", - "name": "hue_variation_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 9 - }, - { - "type": "float", - "name": "hue_variation_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 9 - }, - { - "type": "Curve", - "name": "hue_variation_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 9 - }, - { - "type": "float", - "name": "anim_speed_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 10 - }, - { - "type": "float", - "name": "anim_speed_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 10 - }, - { - "type": "Curve", - "name": "anim_speed_curve", - "setter": "set_param_curve", - "getter": "get_param_curve", - "index": 10 - }, - { - "type": "float", - "name": "anim_offset_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 11 - }, - { - "type": "float", - "name": "anim_offset_max", - "setter": "set_param_max", - "getter": "get_param_max", - "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_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "BaseMaterial3D,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sides", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_cone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "cone", - "type": "bool" - } - ] - }, - { - "name": "is_cone", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "set_smooth_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "smooth_faces", - "type": "bool" - } - ] - }, - { - "name": "get_smooth_faces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "int", - "name": "sides", - "setter": "set_sides", - "getter": "get_sides" - }, - { - "type": "bool", - "name": "cone", - "setter": "set_cone", - "getter": "is_cone" - }, - { - "type": "bool", - "name": "smooth_faces", - "setter": "set_smooth_faces", - "getter": "get_smooth_faces" - }, - { - "type": "BaseMaterial3D,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - } - ] - }, - { - "name": "CSGMesh3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "CSGPrimitive3D", - "api_type": "core", - "methods": [ - { - "name": "set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 194775623, - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "get_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4081188045, - "return_value": { - "type": "Mesh" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - } - ], - "properties": [ - { - "type": "Mesh", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "BaseMaterial3D,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - } - ] - }, - { - "name": "CSGPolygon3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "CSGPrimitive3D", - "api_type": "core", - "enums": [ - { - "name": "Mode", - "is_bitfield": false, - "values": [ - { - "name": "MODE_DEPTH", - "value": 0 - }, - { - "name": "MODE_SPIN", - "value": 1 - }, - { - "name": "MODE_PATH", - "value": 2 - } - ] - }, - { - "name": "PathRotation", - "is_bitfield": false, - "values": [ - { - "name": "PATH_ROTATION_POLYGON", - "value": 0 - }, - { - "name": "PATH_ROTATION_PATH", - "value": 1 - }, - { - "name": "PATH_ROTATION_PATH_FOLLOW", - "value": 2 - } - ] - }, - { - "name": "PathIntervalType", - "is_bitfield": false, - "values": [ - { - "name": "PATH_INTERVAL_DISTANCE", - "value": 0 - }, - { - "name": "PATH_INTERVAL_SUBDIVIDE", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3158377035, - "arguments": [ - { - "name": "mode", - "type": "enum::CSGPolygon3D.Mode" - } - ] - }, - { - "name": "get_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1201612222, - "return_value": { - "type": "enum::CSGPolygon3D.Mode" - } - }, - { - "name": "set_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "depth", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_spin_degrees", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_spin_degrees", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_spin_sides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "spin_sides", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_spin_sides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_path_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_path_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_path_interval_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3744240707, - "arguments": [ - { - "name": "interval_type", - "type": "enum::CSGPolygon3D.PathIntervalType" - } - ] - }, - { - "name": "get_path_interval_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3434618397, - "return_value": { - "type": "enum::CSGPolygon3D.PathIntervalType" - } - }, - { - "name": "set_path_interval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "interval", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_path_interval", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_path_simplify_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_path_simplify_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_path_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1412947288, - "arguments": [ - { - "name": "path_rotation", - "type": "enum::CSGPolygon3D.PathRotation" - } - ] - }, - { - "name": "get_path_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 647219346, - "return_value": { - "type": "enum::CSGPolygon3D.PathRotation" - } - }, - { - "name": "set_path_local", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_path_local", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_path_continuous_u", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_path_continuous_u", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_path_u_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_path_u_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_path_joined", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_path_joined", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "set_smooth_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "smooth_faces", - "type": "bool" - } - ] - }, - { - "name": "get_smooth_faces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "PackedVector2Array", - "name": "polygon", - "setter": "set_polygon", - "getter": "get_polygon" - }, - { - "type": "int", - "name": "mode", - "setter": "set_mode", - "getter": "get_mode" - }, - { - "type": "float", - "name": "depth", - "setter": "set_depth", - "getter": "get_depth" - }, - { - "type": "float", - "name": "spin_degrees", - "setter": "set_spin_degrees", - "getter": "get_spin_degrees" - }, - { - "type": "int", - "name": "spin_sides", - "setter": "set_spin_sides", - "getter": "get_spin_sides" - }, - { - "type": "NodePath", - "name": "path_node", - "setter": "set_path_node", - "getter": "get_path_node" - }, - { - "type": "int", - "name": "path_interval_type", - "setter": "set_path_interval_type", - "getter": "get_path_interval_type" - }, - { - "type": "float", - "name": "path_interval", - "setter": "set_path_interval", - "getter": "get_path_interval" - }, - { - "type": "float", - "name": "path_simplify_angle", - "setter": "set_path_simplify_angle", - "getter": "get_path_simplify_angle" - }, - { - "type": "int", - "name": "path_rotation", - "setter": "set_path_rotation", - "getter": "get_path_rotation" - }, - { - "type": "bool", - "name": "path_local", - "setter": "set_path_local", - "getter": "is_path_local" - }, - { - "type": "bool", - "name": "path_continuous_u", - "setter": "set_path_continuous_u", - "getter": "is_path_continuous_u" - }, - { - "type": "float", - "name": "path_u_distance", - "setter": "set_path_u_distance", - "getter": "get_path_u_distance" - }, - { - "type": "bool", - "name": "path_joined", - "setter": "set_path_joined", - "getter": "is_path_joined" - }, - { - "type": "bool", - "name": "smooth_faces", - "setter": "set_smooth_faces", - "getter": "get_smooth_faces" - }, - { - "type": "BaseMaterial3D,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - } - ] - }, - { - "name": "CSGPrimitive3D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "CSGShape3D", - "api_type": "core", - "methods": [ - { - "name": "set_flip_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_faces", - "type": "bool" - } - ] - }, - { - "name": "get_flip_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "flip_faces", - "setter": "set_flip_faces", - "getter": "get_flip_faces" - } - ] - }, - { - "name": "CSGShape3D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "GeometryInstance3D", - "api_type": "core", - "enums": [ - { - "name": "Operation", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_operation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 811425055, - "arguments": [ - { - "name": "operation", - "type": "enum::CSGShape3D.Operation" - } - ] - }, - { - "name": "get_operation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2662425879, - "return_value": { - "type": "enum::CSGShape3D.Operation" - } - }, - { - "name": "set_snap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "snap", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_snap", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_use_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "operation", - "type": "bool" - } - ] - }, - { - "name": "is_using_collision", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collision_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_collision_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_calculate_tangents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_calculating_tangents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_meshes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - } - ], - "properties": [ - { - "type": "int", - "name": "operation", - "setter": "set_operation", - "getter": "get_operation" - }, - { - "type": "float", - "name": "snap", - "setter": "set_snap", - "getter": "get_snap" - }, - { - "type": "bool", - "name": "calculate_tangents", - "setter": "set_calculate_tangents", - "getter": "is_calculating_tangents" - }, - { - "type": "bool", - "name": "use_collision", - "setter": "set_use_collision", - "getter": "is_using_collision" - }, - { - "type": "int", - "name": "collision_layer", - "setter": "set_collision_layer", - "getter": "get_collision_layer" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "float", - "name": "collision_priority", - "setter": "set_collision_priority", - "getter": "get_collision_priority" - } - ] - }, - { - "name": "CSGSphere3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "CSGPrimitive3D", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radial_segments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "radial_segments", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_radial_segments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_rings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "rings", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_rings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_smooth_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "smooth_faces", - "type": "bool" - } - ] - }, - { - "name": "get_smooth_faces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "int", - "name": "radial_segments", - "setter": "set_radial_segments", - "getter": "get_radial_segments" - }, - { - "type": "int", - "name": "rings", - "setter": "set_rings", - "getter": "get_rings" - }, - { - "type": "bool", - "name": "smooth_faces", - "setter": "set_smooth_faces", - "getter": "get_smooth_faces" - }, - { - "type": "BaseMaterial3D,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_inner_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_outer_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_outer_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sides", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_ring_sides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sides", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_ring_sides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "set_smooth_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "smooth_faces", - "type": "bool" - } - ] - }, - { - "name": "get_smooth_faces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "inner_radius", - "setter": "set_inner_radius", - "getter": "get_inner_radius" - }, - { - "type": "float", - "name": "outer_radius", - "setter": "set_outer_radius", - "getter": "get_outer_radius" - }, - { - "type": "int", - "name": "sides", - "setter": "set_sides", - "getter": "get_sides" - }, - { - "type": "int", - "name": "ring_sides", - "setter": "set_ring_sides", - "getter": "get_ring_sides" - }, - { - "type": "bool", - "name": "smooth_faces", - "setter": "set_smooth_faces", - "getter": "get_smooth_faces" - }, - { - "type": "BaseMaterial3D,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - } - ] - }, - { - "name": "CallbackTweener", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Tweener", - "api_type": "core", - "methods": [ - { - "name": "set_delay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3008182292, - "return_value": { - "type": "CallbackTweener" - }, - "arguments": [ - { - "name": "delay", - "type": "float", - "meta": "double" - } - ] - } - ] - }, - { - "name": "Camera2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "enums": [ - { - "name": "AnchorMode", - "is_bitfield": false, - "values": [ - { - "name": "ANCHOR_MODE_FIXED_TOP_LEFT", - "value": 0 - }, - { - "name": "ANCHOR_MODE_DRAG_CENTER", - "value": 1 - } - ] - }, - { - "name": "Camera2DProcessCallback", - "is_bitfield": false, - "values": [ - { - "name": "CAMERA2D_PROCESS_PHYSICS", - "value": 0 - }, - { - "name": "CAMERA2D_PROCESS_IDLE", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_anchor_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2050398218, - "arguments": [ - { - "name": "anchor_mode", - "type": "enum::Camera2D.AnchorMode" - } - ] - }, - { - "name": "get_anchor_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 155978067, - "return_value": { - "type": "enum::Camera2D.AnchorMode" - } - }, - { - "name": "set_ignore_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "ignore", - "type": "bool" - } - ] - }, - { - "name": "is_ignoring_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_process_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4201947462, - "arguments": [ - { - "name": "mode", - "type": "enum::Camera2D.Camera2DProcessCallback" - } - ] - }, - { - "name": "get_process_callback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2325344499, - "return_value": { - "type": "enum::Camera2D.Camera2DProcessCallback" - } - }, - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "make_current", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_current", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_limit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 437707142, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - }, - { - "name": "limit", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_limit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1983885014, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "set_limit_smoothing_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "limit_smoothing_enabled", - "type": "bool" - } - ] - }, - { - "name": "is_limit_smoothing_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_drag_vertical_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_drag_vertical_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_drag_horizontal_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_drag_horizontal_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_drag_vertical_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_drag_vertical_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_drag_horizontal_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_drag_horizontal_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_drag_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4290182280, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - }, - { - "name": "drag_margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_drag_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2869120046, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "get_target_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_screen_center_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_zoom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "zoom", - "type": "Vector2" - } - ] - }, - { - "name": "get_zoom", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_custom_viewport", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "viewport", - "type": "Node" - } - ] - }, - { - "name": "get_custom_viewport", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "set_position_smoothing_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "position_smoothing_speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_position_smoothing_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_position_smoothing_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "position_smoothing_speed", - "type": "bool" - } - ] - }, - { - "name": "is_position_smoothing_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_rotation_smoothing_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_rotation_smoothing_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_rotation_smoothing_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_rotation_smoothing_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "force_update_scroll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "reset_smoothing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "align", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_screen_drawing_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "screen_drawing_enabled", - "type": "bool" - } - ] - }, - { - "name": "is_screen_drawing_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_limit_drawing_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "limit_drawing_enabled", - "type": "bool" - } - ] - }, - { - "name": "is_limit_drawing_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_margin_drawing_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "margin_drawing_enabled", - "type": "bool" - } - ] - }, - { - "name": "is_margin_drawing_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "int", - "name": "anchor_mode", - "setter": "set_anchor_mode", - "getter": "get_anchor_mode" - }, - { - "type": "bool", - "name": "ignore_rotation", - "setter": "set_ignore_rotation", - "getter": "is_ignoring_rotation" - }, - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "Vector2", - "name": "zoom", - "setter": "set_zoom", - "getter": "get_zoom" - }, - { - "type": "Viewport", - "name": "custom_viewport", - "setter": "set_custom_viewport", - "getter": "get_custom_viewport" - }, - { - "type": "int", - "name": "process_callback", - "setter": "set_process_callback", - "getter": "get_process_callback" - }, - { - "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" - }, - { - "type": "bool", - "name": "position_smoothing_enabled", - "setter": "set_position_smoothing_enabled", - "getter": "is_position_smoothing_enabled" - }, - { - "type": "float", - "name": "position_smoothing_speed", - "setter": "set_position_smoothing_speed", - "getter": "get_position_smoothing_speed" - }, - { - "type": "bool", - "name": "rotation_smoothing_enabled", - "setter": "set_rotation_smoothing_enabled", - "getter": "is_rotation_smoothing_enabled" - }, - { - "type": "float", - "name": "rotation_smoothing_speed", - "setter": "set_rotation_smoothing_speed", - "getter": "get_rotation_smoothing_speed" - }, - { - "type": "bool", - "name": "drag_horizontal_enabled", - "setter": "set_drag_horizontal_enabled", - "getter": "is_drag_horizontal_enabled" - }, - { - "type": "bool", - "name": "drag_vertical_enabled", - "setter": "set_drag_vertical_enabled", - "getter": "is_drag_vertical_enabled" - }, - { - "type": "float", - "name": "drag_horizontal_offset", - "setter": "set_drag_horizontal_offset", - "getter": "get_drag_horizontal_offset" - }, - { - "type": "float", - "name": "drag_vertical_offset", - "setter": "set_drag_vertical_offset", - "getter": "get_drag_vertical_offset" - }, - { - "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" - }, - { - "type": "bool", - "name": "editor_draw_limits", - "setter": "set_limit_drawing_enabled", - "getter": "is_limit_drawing_enabled" - }, - { - "type": "bool", - "name": "editor_draw_drag_margin", - "setter": "set_margin_drawing_enabled", - "getter": "is_margin_drawing_enabled" - } - ] - }, - { - "name": "Camera3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "enums": [ - { - "name": "ProjectionType", - "is_bitfield": false, - "values": [ - { - "name": "PROJECTION_PERSPECTIVE", - "value": 0 - }, - { - "name": "PROJECTION_ORTHOGONAL", - "value": 1 - }, - { - "name": "PROJECTION_FRUSTUM", - "value": 2 - } - ] - }, - { - "name": "KeepAspect", - "is_bitfield": false, - "values": [ - { - "name": "KEEP_WIDTH", - "value": 0 - }, - { - "name": "KEEP_HEIGHT", - "value": 1 - } - ] - }, - { - "name": "DopplerTracking", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1718073306, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "screen_point", - "type": "Vector2" - } - ] - }, - { - "name": "project_local_ray_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1718073306, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "screen_point", - "type": "Vector2" - } - ] - }, - { - "name": "project_ray_origin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1718073306, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "screen_point", - "type": "Vector2" - } - ] - }, - { - "name": "unproject_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3758901831, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "world_point", - "type": "Vector3" - } - ] - }, - { - "name": "is_position_behind", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3108956480, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "world_point", - "type": "Vector3" - } - ] - }, - { - "name": "project_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2171975744, - "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_static": false, - "is_virtual": false, - "hash": 2385087082, - "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_static": false, - "is_virtual": false, - "hash": 2385087082, - "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_static": false, - "is_virtual": false, - "hash": 354890663, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear_current", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3216645846, - "arguments": [ - { - "name": "enable_next", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "set_current", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_current", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_camera_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "get_camera_projection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2910717950, - "return_value": { - "type": "Projection" - } - }, - { - "name": "get_fov", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_frustum_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_far", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_near", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fov", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fov", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_frustum_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_far", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "far", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_near", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "near", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_projection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2624185235, - "return_value": { - "type": "enum::Camera3D.ProjectionType" - } - }, - { - "name": "set_projection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4218540108, - "arguments": [ - { - "name": "mode", - "type": "enum::Camera3D.ProjectionType" - } - ] - }, - { - "name": "set_h_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_h_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_v_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_v_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_cull_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_environment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4143518816, - "arguments": [ - { - "name": "env", - "type": "Environment" - } - ] - }, - { - "name": "get_environment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3082064660, - "return_value": { - "type": "Environment" - } - }, - { - "name": "set_attributes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2817810567, - "arguments": [ - { - "name": "env", - "type": "CameraAttributes" - } - ] - }, - { - "name": "get_attributes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3921283215, - "return_value": { - "type": "CameraAttributes" - } - }, - { - "name": "set_keep_aspect_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740651252, - "arguments": [ - { - "name": "mode", - "type": "enum::Camera3D.KeepAspect" - } - ] - }, - { - "name": "get_keep_aspect_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2790278316, - "return_value": { - "type": "enum::Camera3D.KeepAspect" - } - }, - { - "name": "set_doppler_tracking", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3109431270, - "arguments": [ - { - "name": "mode", - "type": "enum::Camera3D.DopplerTracking" - } - ] - }, - { - "name": "get_doppler_tracking", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1584483649, - "return_value": { - "type": "enum::Camera3D.DopplerTracking" - } - }, - { - "name": "get_frustum", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Plane" - } - }, - { - "name": "is_position_in_frustum", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3108956480, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "world_point", - "type": "Vector3" - } - ] - }, - { - "name": "get_camera_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_pyramid_shape_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_cull_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_cull_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "keep_aspect", - "setter": "set_keep_aspect_mode", - "getter": "get_keep_aspect_mode" - }, - { - "type": "int", - "name": "cull_mask", - "setter": "set_cull_mask", - "getter": "get_cull_mask" - }, - { - "type": "Environment", - "name": "environment", - "setter": "set_environment", - "getter": "get_environment" - }, - { - "type": "CameraAttributesPractical,CameraAttributesPhysical", - "name": "attributes", - "setter": "set_attributes", - "getter": "get_attributes" - }, - { - "type": "float", - "name": "h_offset", - "setter": "set_h_offset", - "getter": "get_h_offset" - }, - { - "type": "float", - "name": "v_offset", - "setter": "set_v_offset", - "getter": "get_v_offset" - }, - { - "type": "int", - "name": "doppler_tracking", - "setter": "set_doppler_tracking", - "getter": "get_doppler_tracking" - }, - { - "type": "int", - "name": "projection", - "setter": "set_projection", - "getter": "get_projection" - }, - { - "type": "bool", - "name": "current", - "setter": "set_current", - "getter": "is_current" - }, - { - "type": "float", - "name": "fov", - "setter": "set_fov", - "getter": "get_fov" - }, - { - "type": "float", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "Vector2", - "name": "frustum_offset", - "setter": "set_frustum_offset", - "getter": "get_frustum_offset" - }, - { - "type": "float", - "name": "near", - "setter": "set_near", - "getter": "get_near" - }, - { - "type": "float", - "name": "far", - "setter": "set_far", - "getter": "get_far" - } - ] - }, - { - "name": "CameraAttributes", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_exposure_multiplier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "multiplier", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_exposure_multiplier", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_exposure_sensitivity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sensitivity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_exposure_sensitivity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_auto_exposure_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_auto_exposure_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_auto_exposure_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "exposure_speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_auto_exposure_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_auto_exposure_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "exposure_grey", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_auto_exposure_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "exposure_sensitivity", - "setter": "set_exposure_sensitivity", - "getter": "get_exposure_sensitivity" - }, - { - "type": "float", - "name": "exposure_multiplier", - "setter": "set_exposure_multiplier", - "getter": "get_exposure_multiplier" - }, - { - "type": "bool", - "name": "auto_exposure_enabled", - "setter": "set_auto_exposure_enabled", - "getter": "is_auto_exposure_enabled" - }, - { - "type": "float", - "name": "auto_exposure_scale", - "setter": "set_auto_exposure_scale", - "getter": "get_auto_exposure_scale" - }, - { - "type": "float", - "name": "auto_exposure_speed", - "setter": "set_auto_exposure_speed", - "getter": "get_auto_exposure_speed" - } - ] - }, - { - "name": "CameraAttributesPhysical", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "CameraAttributes", - "api_type": "core", - "methods": [ - { - "name": "set_aperture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "aperture", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_aperture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_shutter_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "shutter_speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_shutter_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_focal_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "focal_length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_focal_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_focus_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "focus_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_focus_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_near", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "near", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_near", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_far", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "far", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_far", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_fov", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_auto_exposure_max_exposure_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "exposure_value_max", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_auto_exposure_max_exposure_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_auto_exposure_min_exposure_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "exposure_value_min", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_auto_exposure_min_exposure_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "frustum_focus_distance", - "setter": "set_focus_distance", - "getter": "get_focus_distance" - }, - { - "type": "float", - "name": "frustum_focal_length", - "setter": "set_focal_length", - "getter": "get_focal_length" - }, - { - "type": "float", - "name": "frustum_near", - "setter": "set_near", - "getter": "get_near" - }, - { - "type": "float", - "name": "frustum_far", - "setter": "set_far", - "getter": "get_far" - }, - { - "type": "float", - "name": "exposure_aperture", - "setter": "set_aperture", - "getter": "get_aperture" - }, - { - "type": "float", - "name": "exposure_shutter_speed", - "setter": "set_shutter_speed", - "getter": "get_shutter_speed" - }, - { - "type": "float", - "name": "auto_exposure_min_exposure_value", - "setter": "set_auto_exposure_min_exposure_value", - "getter": "get_auto_exposure_min_exposure_value" - }, - { - "type": "float", - "name": "auto_exposure_max_exposure_value", - "setter": "set_auto_exposure_max_exposure_value", - "getter": "get_auto_exposure_max_exposure_value" - } - ] - }, - { - "name": "CameraAttributesPractical", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "CameraAttributes", - "api_type": "core", - "methods": [ - { - "name": "set_dof_blur_far_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_dof_blur_far_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_dof_blur_far_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_dof_blur_far_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_dof_blur_far_transition", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_dof_blur_far_transition", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_dof_blur_near_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_dof_blur_near_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_dof_blur_near_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_dof_blur_near_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_dof_blur_near_transition", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_dof_blur_near_transition", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_dof_blur_amount", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_dof_blur_amount", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_auto_exposure_max_sensitivity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max_sensitivity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_auto_exposure_max_sensitivity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_auto_exposure_min_sensitivity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "min_sensitivity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_auto_exposure_min_sensitivity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "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" - }, - { - "type": "float", - "name": "dof_blur_far_distance", - "setter": "set_dof_blur_far_distance", - "getter": "get_dof_blur_far_distance" - }, - { - "type": "float", - "name": "dof_blur_far_transition", - "setter": "set_dof_blur_far_transition", - "getter": "get_dof_blur_far_transition" - }, - { - "type": "bool", - "name": "dof_blur_near_enabled", - "setter": "set_dof_blur_near_enabled", - "getter": "is_dof_blur_near_enabled" - }, - { - "type": "float", - "name": "dof_blur_near_distance", - "setter": "set_dof_blur_near_distance", - "getter": "get_dof_blur_near_distance" - }, - { - "type": "float", - "name": "dof_blur_near_transition", - "setter": "set_dof_blur_near_transition", - "getter": "get_dof_blur_near_transition" - }, - { - "type": "float", - "name": "dof_blur_amount", - "setter": "set_dof_blur_amount", - "getter": "get_dof_blur_amount" - }, - { - "type": "float", - "name": "auto_exposure_min_sensitivity", - "setter": "set_auto_exposure_min_sensitivity", - "getter": "get_auto_exposure_min_sensitivity" - }, - { - "type": "float", - "name": "auto_exposure_max_sensitivity", - "setter": "set_auto_exposure_max_sensitivity", - "getter": "get_auto_exposure_max_sensitivity" - } - ] - }, - { - "name": "CameraFeed", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "FeedDataType", - "is_bitfield": false, - "values": [ - { - "name": "FEED_NOIMAGE", - "value": 0 - }, - { - "name": "FEED_RGB", - "value": 1 - }, - { - "name": "FEED_YCBCR", - "value": 2 - }, - { - "name": "FEED_YCBCR_SEP", - "value": 3 - } - ] - }, - { - "name": "FeedPosition", - "is_bitfield": false, - "values": [ - { - "name": "FEED_UNSPECIFIED", - "value": 0 - }, - { - "name": "FEED_FRONT", - "value": 1 - }, - { - "name": "FEED_BACK", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "get_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2711679033, - "return_value": { - "type": "enum::CameraFeed.FeedPosition" - } - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_datatype", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1477782850, - "return_value": { - "type": "enum::CameraFeed.FeedDataType" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "feed_is_active", - "setter": "set_active", - "getter": "is_active" - }, - { - "type": "Transform2D", - "name": "feed_transform", - "setter": "set_transform", - "getter": "get_transform" - } - ] - }, - { - "name": "CameraServer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "FeedImage", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 361927068, - "return_value": { - "type": "CameraFeed" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_feed_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "feeds", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::CameraFeed" - } - }, - { - "name": "add_feed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3204782488, - "arguments": [ - { - "name": "feed", - "type": "CameraFeed" - } - ] - }, - { - "name": "remove_feed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3204782488, - "arguments": [ - { - "name": "feed", - "type": "CameraFeed" - } - ] - } - ], - "signals": [ - { - "name": "camera_feed_added", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "camera_feed_removed", - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "feed_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_camera_feed_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_which_feed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1595299230, - "arguments": [ - { - "name": "which_feed", - "type": "enum::CameraServer.FeedImage" - } - ] - }, - { - "name": "get_which_feed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 91039457, - "return_value": { - "type": "enum::CameraServer.FeedImage" - } - }, - { - "name": "set_camera_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "get_camera_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "camera_feed_id", - "setter": "set_camera_feed_id", - "getter": "get_camera_feed_id" - }, - { - "type": "int", - "name": "which_feed", - "setter": "set_which_feed", - "getter": "get_which_feed" - }, - { - "type": "bool", - "name": "camera_is_active", - "setter": "set_camera_active", - "getter": "get_camera_active" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fit_margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fit_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_clear_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "clear_margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_clear_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_use_mipmaps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_mipmaps", - "type": "bool" - } - ] - }, - { - "name": "is_using_mipmaps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "fit_margin", - "setter": "set_fit_margin", - "getter": "get_fit_margin" - }, - { - "type": "float", - "name": "clear_margin", - "setter": "set_clear_margin", - "getter": "get_clear_margin" - }, - { - "type": "bool", - "name": "use_mipmaps", - "setter": "set_use_mipmaps", - "getter": "is_using_mipmaps" - } - ] - }, - { - "name": "CanvasItem", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Node", - "api_type": "core", - "constants": [ - { - "name": "NOTIFICATION_TRANSFORM_CHANGED", - "value": 2000 - }, - { - "name": "NOTIFICATION_LOCAL_TRANSFORM_CHANGED", - "value": 35 - }, - { - "name": "NOTIFICATION_DRAW", - "value": 30 - }, - { - "name": "NOTIFICATION_VISIBILITY_CHANGED", - "value": 31 - }, - { - "name": "NOTIFICATION_ENTER_CANVAS", - "value": 32 - }, - { - "name": "NOTIFICATION_EXIT_CANVAS", - "value": 33 - }, - { - "name": "NOTIFICATION_WORLD_2D_CHANGED", - "value": 36 - } - ], - "enums": [ - { - "name": "TextureFilter", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "ClipChildrenMode", - "is_bitfield": false, - "values": [ - { - "name": "CLIP_CHILDREN_DISABLED", - "value": 0 - }, - { - "name": "CLIP_CHILDREN_ONLY", - "value": 1 - }, - { - "name": "CLIP_CHILDREN_AND_DRAW", - "value": 2 - }, - { - "name": "CLIP_CHILDREN_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "_draw", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "get_canvas_item", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "is_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_visible_in_tree", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "show", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "hide", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "queue_redraw", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "move_to_front", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_as_top_level", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_set_as_top_level", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_light_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "light_mask", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_light_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "get_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_self_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "self_modulate", - "type": "Color" - } - ] - }, - { - "name": "get_self_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_z_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "z_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_z_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_z_as_relative", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_z_relative", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_y_sort_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_y_sort_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_draw_behind_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_draw_behind_parent_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "draw_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1562330099, - "hash_compatibility": [ - 2516941890 - ], - "arguments": [ - { - "name": "from", - "type": "Vector2" - }, - { - "name": "to", - "type": "Vector2" - }, - { - "name": "color", - "type": "Color" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1.0" - }, - { - "name": "antialiased", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "draw_dashed_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 684651049, - "hash_compatibility": [ - 2175215884 - ], - "arguments": [ - { - "name": "from", - "type": "Vector2" - }, - { - "name": "to", - "type": "Vector2" - }, - { - "name": "color", - "type": "Color" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1.0" - }, - { - "name": "dash", - "type": "float", - "meta": "float", - "default_value": "2.0" - }, - { - "name": "aligned", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "draw_polyline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3797364428, - "hash_compatibility": [ - 4175878946 - ], - "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_static": false, - "is_virtual": false, - "hash": 2311979562, - "hash_compatibility": [ - 2239164197 - ], - "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_static": false, - "is_virtual": false, - "hash": 4140652635, - "hash_compatibility": [ - 3486841771 - ], - "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_static": false, - "is_virtual": false, - "hash": 2239075205, - "hash_compatibility": [ - 4230657331 - ], - "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_static": false, - "is_virtual": false, - "hash": 4072951537, - "hash_compatibility": [ - 235933050 - ], - "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_static": false, - "is_virtual": false, - "hash": 2417231121, - "hash_compatibility": [ - 84391229 - ], - "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_static": false, - "is_virtual": false, - "hash": 3063020269, - "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_static": false, - "is_virtual": false, - "hash": 520200117, - "hash_compatibility": [ - 1695860435 - ], - "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_static": false, - "is_virtual": false, - "hash": 3832805018, - "hash_compatibility": [ - 3204081724 - ], - "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_static": false, - "is_virtual": false, - "hash": 3883821411, - "hash_compatibility": [ - 3196597532 - ], - "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_msdf_texture_rect_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4219163252, - "hash_compatibility": [ - 2672026175 - ], - "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": "outline", - "type": "float", - "meta": "double", - "default_value": "0.0" - }, - { - "name": "pixel_range", - "type": "float", - "meta": "double", - "default_value": "4.0" - }, - { - "name": "scale", - "type": "float", - "meta": "double", - "default_value": "1.0" - } - ] - }, - { - "name": "draw_lcd_texture_rect_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3212350954, - "hash_compatibility": [ - 169610548 - ], - "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": "draw_style_box", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 388176283, - "arguments": [ - { - "name": "style_box", - "type": "StyleBox" - }, - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "draw_primitive", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3288481815, - "hash_compatibility": [ - 2248678295 - ], - "arguments": [ - { - "name": "points", - "type": "PackedVector2Array" - }, - { - "name": "colors", - "type": "PackedColorArray" - }, - { - "name": "uvs", - "type": "PackedVector2Array" - }, - { - "name": "texture", - "type": "Texture2D", - "default_value": "null" - } - ] - }, - { - "name": "draw_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 974537912, - "hash_compatibility": [ - 2683625537 - ], - "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_static": false, - "is_virtual": false, - "hash": 15245644, - "hash_compatibility": [ - 1659099617 - ], - "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_static": false, - "is_virtual": false, - "hash": 728290553, - "hash_compatibility": [ - 2552080639 - ], - "arguments": [ - { - "name": "font", - "type": "Font" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "draw_multiline_string", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1927038192, - "hash_compatibility": [ - 4002645436 - ], - "arguments": [ - { - "name": "font", - "type": "Font" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "max_lines", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "brk_flags", - "type": "bitfield::TextServer.LineBreakFlag", - "default_value": "3" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "draw_string_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 340562381, - "hash_compatibility": [ - 850005221 - ], - "arguments": [ - { - "name": "font", - "type": "Font" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "1" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "draw_multiline_string_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1912318525, - "hash_compatibility": [ - 3717870722 - ], - "arguments": [ - { - "name": "font", - "type": "Font" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "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": "brk_flags", - "type": "bitfield::TextServer.LineBreakFlag", - "default_value": "3" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "draw_char", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3339793283, - "hash_compatibility": [ - 2329089032 - ], - "arguments": [ - { - "name": "font", - "type": "Font" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "char", - "type": "String" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - } - ] - }, - { - "name": "draw_char_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3302344391, - "hash_compatibility": [ - 419453826 - ], - "arguments": [ - { - "name": "font", - "type": "Font" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "char", - "type": "String" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - } - ] - }, - { - "name": "draw_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 153818295, - "hash_compatibility": [ - 1634855856 - ], - "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_static": false, - "is_virtual": false, - "hash": 937992368, - "arguments": [ - { - "name": "multimesh", - "type": "MultiMesh" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "draw_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 288975085, - "hash_compatibility": [ - 3283884939 - ], - "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_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "xform", - "type": "Transform2D" - } - ] - }, - { - "name": "draw_animation_slice", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3112831842, - "hash_compatibility": [ - 2295343543 - ], - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_global_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_global_transform_with_canvas", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_viewport_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_viewport_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "get_canvas_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_screen_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_local_mouse_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_global_mouse_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_canvas", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_world_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339128592, - "return_value": { - "type": "World2D" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "set_use_parent_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_use_parent_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_notify_local_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_local_transform_notification_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_notify_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_transform_notification_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "force_update_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "make_canvas_position_local", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2656412154, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "screen_point", - "type": "Vector2" - } - ] - }, - { - "name": "make_input_local", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 811130057, - "return_value": { - "type": "InputEvent" - }, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "set_visibility_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_visibility_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_visibility_layer_bit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_visibility_layer_bit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "set_texture_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1037999706, - "arguments": [ - { - "name": "mode", - "type": "enum::CanvasItem.TextureFilter" - } - ] - }, - { - "name": "get_texture_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121960042, - "return_value": { - "type": "enum::CanvasItem.TextureFilter" - } - }, - { - "name": "set_texture_repeat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1716472974, - "arguments": [ - { - "name": "mode", - "type": "enum::CanvasItem.TextureRepeat" - } - ] - }, - { - "name": "get_texture_repeat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2667158319, - "return_value": { - "type": "enum::CanvasItem.TextureRepeat" - } - }, - { - "name": "set_clip_children_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1319393776, - "arguments": [ - { - "name": "mode", - "type": "enum::CanvasItem.ClipChildrenMode" - } - ] - }, - { - "name": "get_clip_children_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3581808349, - "return_value": { - "type": "enum::CanvasItem.ClipChildrenMode" - } - } - ], - "signals": [ - { - "name": "draw" - }, - { - "name": "visibility_changed" - }, - { - "name": "hidden" - }, - { - "name": "item_rect_changed" - } - ], - "properties": [ - { - "type": "bool", - "name": "visible", - "setter": "set_visible", - "getter": "is_visible" - }, - { - "type": "Color", - "name": "modulate", - "setter": "set_modulate", - "getter": "get_modulate" - }, - { - "type": "Color", - "name": "self_modulate", - "setter": "set_self_modulate", - "getter": "get_self_modulate" - }, - { - "type": "bool", - "name": "show_behind_parent", - "setter": "set_draw_behind_parent", - "getter": "is_draw_behind_parent_enabled" - }, - { - "type": "bool", - "name": "top_level", - "setter": "set_as_top_level", - "getter": "is_set_as_top_level" - }, - { - "type": "int", - "name": "clip_children", - "setter": "set_clip_children_mode", - "getter": "get_clip_children_mode" - }, - { - "type": "int", - "name": "light_mask", - "setter": "set_light_mask", - "getter": "get_light_mask" - }, - { - "type": "int", - "name": "visibility_layer", - "setter": "set_visibility_layer", - "getter": "get_visibility_layer" - }, - { - "type": "int", - "name": "z_index", - "setter": "set_z_index", - "getter": "get_z_index" - }, - { - "type": "bool", - "name": "z_as_relative", - "setter": "set_z_as_relative", - "getter": "is_z_relative" - }, - { - "type": "bool", - "name": "y_sort_enabled", - "setter": "set_y_sort_enabled", - "getter": "is_y_sort_enabled" - }, - { - "type": "int", - "name": "texture_filter", - "setter": "set_texture_filter", - "getter": "get_texture_filter" - }, - { - "type": "int", - "name": "texture_repeat", - "setter": "set_texture_repeat", - "getter": "get_texture_repeat" - }, - { - "type": "CanvasItemMaterial,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - }, - { - "type": "bool", - "name": "use_parent_material", - "setter": "set_use_parent_material", - "getter": "get_use_parent_material" - } - ] - }, - { - "name": "CanvasItemMaterial", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Material", - "api_type": "core", - "enums": [ - { - "name": "BlendMode", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "LightMode", - "is_bitfield": false, - "values": [ - { - "name": "LIGHT_MODE_NORMAL", - "value": 0 - }, - { - "name": "LIGHT_MODE_UNSHADED", - "value": 1 - }, - { - "name": "LIGHT_MODE_LIGHT_ONLY", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_blend_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1786054936, - "arguments": [ - { - "name": "blend_mode", - "type": "enum::CanvasItemMaterial.BlendMode" - } - ] - }, - { - "name": "get_blend_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3318684035, - "return_value": { - "type": "enum::CanvasItemMaterial.BlendMode" - } - }, - { - "name": "set_light_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 628074070, - "arguments": [ - { - "name": "light_mode", - "type": "enum::CanvasItemMaterial.LightMode" - } - ] - }, - { - "name": "get_light_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3863292382, - "return_value": { - "type": "enum::CanvasItemMaterial.LightMode" - } - }, - { - "name": "set_particles_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "particles_anim", - "type": "bool" - } - ] - }, - { - "name": "get_particles_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_particles_anim_h_frames", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frames", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_particles_anim_h_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_particles_anim_v_frames", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frames", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_particles_anim_v_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_particles_anim_loop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "loop", - "type": "bool" - } - ] - }, - { - "name": "get_particles_anim_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "blend_mode", - "setter": "set_blend_mode", - "getter": "get_blend_mode" - }, - { - "type": "int", - "name": "light_mode", - "setter": "set_light_mode", - "getter": "get_light_mode" - }, - { - "type": "bool", - "name": "particles_animation", - "setter": "set_particles_animation", - "getter": "get_particles_animation" - }, - { - "type": "int", - "name": "particles_anim_h_frames", - "setter": "set_particles_anim_h_frames", - "getter": "get_particles_anim_h_frames" - }, - { - "type": "int", - "name": "particles_anim_v_frames", - "setter": "set_particles_anim_v_frames", - "getter": "get_particles_anim_v_frames" - }, - { - "type": "bool", - "name": "particles_anim_loop", - "setter": "set_particles_anim_loop", - "getter": "get_particles_anim_loop" - } - ] - }, - { - "name": "CanvasLayer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "methods": [ - { - "name": "set_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "is_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "show", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "hide", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_final_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "scale", - "type": "Vector2" - } - ] - }, - { - "name": "get_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_follow_viewport", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_following_viewport", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_follow_viewport_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_follow_viewport_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_custom_viewport", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "viewport", - "type": "Node" - } - ] - }, - { - "name": "get_custom_viewport", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "get_canvas", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - } - ], - "signals": [ - { - "name": "visibility_changed" - } - ], - "properties": [ - { - "type": "int", - "name": "layer", - "setter": "set_layer", - "getter": "get_layer" - }, - { - "type": "bool", - "name": "visible", - "setter": "set_visible", - "getter": "is_visible" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "float", - "name": "rotation", - "setter": "set_rotation", - "getter": "get_rotation" - }, - { - "type": "Vector2", - "name": "scale", - "setter": "set_scale", - "getter": "get_scale" - }, - { - "type": "Transform2D", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform" - }, - { - "type": "Viewport", - "name": "custom_viewport", - "setter": "set_custom_viewport", - "getter": "get_custom_viewport" - }, - { - "type": "bool", - "name": "follow_viewport_enabled", - "setter": "set_follow_viewport", - "getter": "is_following_viewport" - }, - { - "type": "float", - "name": "follow_viewport_scale", - "setter": "set_follow_viewport_scale", - "getter": "get_follow_viewport_scale" - } - ] - }, - { - "name": "CanvasModulate", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - } - ], - "properties": [ - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_diffuse_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_normal_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_normal_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_specular_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_specular_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_specular_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_specular_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_specular_shininess", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "shininess", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_specular_shininess", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_texture_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1037999706, - "arguments": [ - { - "name": "filter", - "type": "enum::CanvasItem.TextureFilter" - } - ] - }, - { - "name": "get_texture_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121960042, - "return_value": { - "type": "enum::CanvasItem.TextureFilter" - } - }, - { - "name": "set_texture_repeat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1716472974, - "arguments": [ - { - "name": "repeat", - "type": "enum::CanvasItem.TextureRepeat" - } - ] - }, - { - "name": "get_texture_repeat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2667158319, - "return_value": { - "type": "enum::CanvasItem.TextureRepeat" - } - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "diffuse_texture", - "setter": "set_diffuse_texture", - "getter": "get_diffuse_texture" - }, - { - "type": "Texture2D", - "name": "normal_texture", - "setter": "set_normal_texture", - "getter": "get_normal_texture" - }, - { - "type": "Texture2D", - "name": "specular_texture", - "setter": "set_specular_texture", - "getter": "get_specular_texture" - }, - { - "type": "Color", - "name": "specular_color", - "setter": "set_specular_color", - "getter": "get_specular_color" - }, - { - "type": "float", - "name": "specular_shininess", - "setter": "set_specular_shininess", - "getter": "get_specular_shininess" - }, - { - "type": "int", - "name": "texture_filter", - "setter": "set_texture_filter", - "getter": "get_texture_filter" - }, - { - "type": "int", - "name": "texture_repeat", - "setter": "set_texture_repeat", - "getter": "get_texture_repeat" - } - ] - }, - { - "name": "CapsuleMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PrimitiveMesh", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radial_segments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "segments", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_radial_segments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_rings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "rings", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_rings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "int", - "name": "radial_segments", - "setter": "set_radial_segments", - "getter": "get_radial_segments" - }, - { - "type": "int", - "name": "rings", - "setter": "set_rings", - "getter": "get_rings" - } - ] - }, - { - "name": "CapsuleShape2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape2D", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - } - ] - }, - { - "name": "CapsuleShape3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape3D", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_top_left", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "use_top_left", - "setter": "set_use_top_left", - "getter": "is_using_top_left" - } - ] - }, - { - "name": "CharFXTransform", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3761352769, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2741790807, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "range", - "type": "Vector2i" - } - ] - }, - { - "name": "get_elapsed_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_elapsed_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "is_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_visibility", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visibility", - "type": "bool" - } - ] - }, - { - "name": "is_outline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_outline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "outline", - "type": "bool" - } - ] - }, - { - "name": "get_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1497962370, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3200896285, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_environment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2382534195, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "set_environment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "environment", - "type": "Dictionary" - } - ] - }, - { - "name": "get_glyph_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_glyph_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "glyph_index", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_relative_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_relative_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "relative_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_glyph_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint8" - } - }, - { - "name": "set_glyph_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "glyph_count", - "type": "int", - "meta": "uint8" - } - ] - }, - { - "name": "get_glyph_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint16" - } - }, - { - "name": "set_glyph_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "glyph_flags", - "type": "int", - "meta": "uint16" - } - ] - }, - { - "name": "get_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "font", - "type": "RID" - } - ] - } - ], - "properties": [ - { - "type": "Transform2D", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform" - }, - { - "type": "Vector2i", - "name": "range", - "setter": "set_range", - "getter": "get_range" - }, - { - "type": "float", - "name": "elapsed_time", - "setter": "set_elapsed_time", - "getter": "get_elapsed_time" - }, - { - "type": "bool", - "name": "visible", - "setter": "set_visibility", - "getter": "is_visible" - }, - { - "type": "bool", - "name": "outline", - "setter": "set_outline", - "getter": "is_outline" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - }, - { - "type": "Dictionary", - "name": "env", - "setter": "set_environment", - "getter": "get_environment" - }, - { - "type": "int", - "name": "glyph_index", - "setter": "set_glyph_index", - "getter": "get_glyph_index" - }, - { - "type": "int", - "name": "glyph_count", - "setter": "set_glyph_count", - "getter": "get_glyph_count" - }, - { - "type": "int", - "name": "glyph_flags", - "setter": "set_glyph_flags", - "getter": "get_glyph_flags" - }, - { - "type": "int", - "name": "relative_index", - "setter": "set_relative_index", - "getter": "get_relative_index" - }, - { - "type": "RID", - "name": "font", - "setter": "set_font", - "getter": "get_font" - } - ] - }, - { - "name": "CharacterBody2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsBody2D", - "api_type": "core", - "enums": [ - { - "name": "MotionMode", - "is_bitfield": false, - "values": [ - { - "name": "MOTION_MODE_GROUNDED", - "value": 0 - }, - { - "name": "MOTION_MODE_FLOATING", - "value": 1 - } - ] - }, - { - "name": "PlatformOnLeave", - "is_bitfield": false, - "values": [ - { - "name": "PLATFORM_ON_LEAVE_ADD_VELOCITY", - "value": 0 - }, - { - "name": "PLATFORM_ON_LEAVE_ADD_UPWARD_VELOCITY", - "value": 1 - }, - { - "name": "PLATFORM_ON_LEAVE_DO_NOTHING", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "move_and_slide", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "apply_floor_snap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "get_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_safe_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_safe_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "is_floor_stop_on_slope_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_floor_stop_on_slope_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "set_floor_constant_speed_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_floor_constant_speed_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_floor_block_on_wall_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_floor_block_on_wall_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_slide_on_ceiling_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_slide_on_ceiling_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_platform_floor_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "exclude_layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_platform_floor_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_platform_wall_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "exclude_layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_platform_wall_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "get_max_slides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_slides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_slides", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_floor_max_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_floor_max_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_floor_snap_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_floor_snap_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "floor_snap_length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_wall_min_slide_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_wall_min_slide_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_up_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_up_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "up_direction", - "type": "Vector2" - } - ] - }, - { - "name": "set_motion_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1224392233, - "arguments": [ - { - "name": "mode", - "type": "enum::CharacterBody2D.MotionMode" - } - ] - }, - { - "name": "get_motion_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1160151236, - "return_value": { - "type": "enum::CharacterBody2D.MotionMode" - } - }, - { - "name": "set_platform_on_leave", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2423324375, - "arguments": [ - { - "name": "on_leave_apply_velocity", - "type": "enum::CharacterBody2D.PlatformOnLeave" - } - ] - }, - { - "name": "get_platform_on_leave", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4054324341, - "return_value": { - "type": "enum::CharacterBody2D.PlatformOnLeave" - } - }, - { - "name": "is_on_floor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_floor_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_ceiling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_ceiling_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_wall", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_wall_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_floor_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_wall_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_last_motion", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_position_delta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_real_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_floor_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841063350, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "up_direction", - "type": "Vector2", - "default_value": "Vector2(0, -1)" - } - ] - }, - { - "name": "get_platform_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_slide_collision_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_slide_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 860659811, - "return_value": { - "type": "KinematicCollision2D" - }, - "arguments": [ - { - "name": "slide_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_last_slide_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2161834755, - "return_value": { - "type": "KinematicCollision2D" - } - } - ], - "properties": [ - { - "type": "int", - "name": "motion_mode", - "setter": "set_motion_mode", - "getter": "get_motion_mode" - }, - { - "type": "Vector2", - "name": "up_direction", - "setter": "set_up_direction", - "getter": "get_up_direction" - }, - { - "type": "Vector2", - "name": "velocity", - "setter": "set_velocity", - "getter": "get_velocity" - }, - { - "type": "bool", - "name": "slide_on_ceiling", - "setter": "set_slide_on_ceiling_enabled", - "getter": "is_slide_on_ceiling_enabled" - }, - { - "type": "int", - "name": "max_slides", - "setter": "set_max_slides", - "getter": "get_max_slides" - }, - { - "type": "float", - "name": "wall_min_slide_angle", - "setter": "set_wall_min_slide_angle", - "getter": "get_wall_min_slide_angle" - }, - { - "type": "bool", - "name": "floor_stop_on_slope", - "setter": "set_floor_stop_on_slope_enabled", - "getter": "is_floor_stop_on_slope_enabled" - }, - { - "type": "bool", - "name": "floor_constant_speed", - "setter": "set_floor_constant_speed_enabled", - "getter": "is_floor_constant_speed_enabled" - }, - { - "type": "bool", - "name": "floor_block_on_wall", - "setter": "set_floor_block_on_wall_enabled", - "getter": "is_floor_block_on_wall_enabled" - }, - { - "type": "float", - "name": "floor_max_angle", - "setter": "set_floor_max_angle", - "getter": "get_floor_max_angle" - }, - { - "type": "float", - "name": "floor_snap_length", - "setter": "set_floor_snap_length", - "getter": "get_floor_snap_length" - }, - { - "type": "int", - "name": "platform_on_leave", - "setter": "set_platform_on_leave", - "getter": "get_platform_on_leave" - }, - { - "type": "int", - "name": "platform_floor_layers", - "setter": "set_platform_floor_layers", - "getter": "get_platform_floor_layers" - }, - { - "type": "int", - "name": "platform_wall_layers", - "setter": "set_platform_wall_layers", - "getter": "get_platform_wall_layers" - }, - { - "type": "float", - "name": "safe_margin", - "setter": "set_safe_margin", - "getter": "get_safe_margin" - } - ] - }, - { - "name": "CharacterBody3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsBody3D", - "api_type": "core", - "enums": [ - { - "name": "MotionMode", - "is_bitfield": false, - "values": [ - { - "name": "MOTION_MODE_GROUNDED", - "value": 0 - }, - { - "name": "MOTION_MODE_FLOATING", - "value": 1 - } - ] - }, - { - "name": "PlatformOnLeave", - "is_bitfield": false, - "values": [ - { - "name": "PLATFORM_ON_LEAVE_ADD_VELOCITY", - "value": 0 - }, - { - "name": "PLATFORM_ON_LEAVE_ADD_UPWARD_VELOCITY", - "value": 1 - }, - { - "name": "PLATFORM_ON_LEAVE_DO_NOTHING", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "move_and_slide", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "apply_floor_snap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_safe_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_safe_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "is_floor_stop_on_slope_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_floor_stop_on_slope_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "set_floor_constant_speed_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_floor_constant_speed_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_floor_block_on_wall_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_floor_block_on_wall_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_slide_on_ceiling_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_slide_on_ceiling_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_platform_floor_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "exclude_layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_platform_floor_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_platform_wall_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "exclude_layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_platform_wall_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "get_max_slides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_slides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_slides", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_floor_max_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_floor_max_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_floor_snap_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_floor_snap_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "floor_snap_length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_wall_min_slide_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_wall_min_slide_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_up_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_up_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "up_direction", - "type": "Vector3" - } - ] - }, - { - "name": "set_motion_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2690739026, - "arguments": [ - { - "name": "mode", - "type": "enum::CharacterBody3D.MotionMode" - } - ] - }, - { - "name": "get_motion_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3529553604, - "return_value": { - "type": "enum::CharacterBody3D.MotionMode" - } - }, - { - "name": "set_platform_on_leave", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1459986142, - "arguments": [ - { - "name": "on_leave_apply_velocity", - "type": "enum::CharacterBody3D.PlatformOnLeave" - } - ] - }, - { - "name": "get_platform_on_leave", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 996491171, - "return_value": { - "type": "enum::CharacterBody3D.PlatformOnLeave" - } - }, - { - "name": "is_on_floor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_floor_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_ceiling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_ceiling_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_wall", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_on_wall_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_floor_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_wall_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_last_motion", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_position_delta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_real_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_floor_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2906300789, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "up_direction", - "type": "Vector3", - "default_value": "Vector3(0, 1, 0)" - } - ] - }, - { - "name": "get_platform_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_platform_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_slide_collision_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_slide_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 107003663, - "return_value": { - "type": "KinematicCollision3D" - }, - "arguments": [ - { - "name": "slide_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_last_slide_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 186875014, - "return_value": { - "type": "KinematicCollision3D" - } - } - ], - "properties": [ - { - "type": "int", - "name": "motion_mode", - "setter": "set_motion_mode", - "getter": "get_motion_mode" - }, - { - "type": "Vector3", - "name": "up_direction", - "setter": "set_up_direction", - "getter": "get_up_direction" - }, - { - "type": "bool", - "name": "slide_on_ceiling", - "setter": "set_slide_on_ceiling_enabled", - "getter": "is_slide_on_ceiling_enabled" - }, - { - "type": "Vector3", - "name": "velocity", - "setter": "set_velocity", - "getter": "get_velocity" - }, - { - "type": "int", - "name": "max_slides", - "setter": "set_max_slides", - "getter": "get_max_slides" - }, - { - "type": "float", - "name": "wall_min_slide_angle", - "setter": "set_wall_min_slide_angle", - "getter": "get_wall_min_slide_angle" - }, - { - "type": "bool", - "name": "floor_stop_on_slope", - "setter": "set_floor_stop_on_slope_enabled", - "getter": "is_floor_stop_on_slope_enabled" - }, - { - "type": "bool", - "name": "floor_constant_speed", - "setter": "set_floor_constant_speed_enabled", - "getter": "is_floor_constant_speed_enabled" - }, - { - "type": "bool", - "name": "floor_block_on_wall", - "setter": "set_floor_block_on_wall_enabled", - "getter": "is_floor_block_on_wall_enabled" - }, - { - "type": "float", - "name": "floor_max_angle", - "setter": "set_floor_max_angle", - "getter": "get_floor_max_angle" - }, - { - "type": "float", - "name": "floor_snap_length", - "setter": "set_floor_snap_length", - "getter": "get_floor_snap_length" - }, - { - "type": "int", - "name": "platform_on_leave", - "setter": "set_platform_on_leave", - "getter": "get_platform_on_leave" - }, - { - "type": "int", - "name": "platform_floor_layers", - "setter": "set_platform_floor_layers", - "getter": "get_platform_floor_layers" - }, - { - "type": "int", - "name": "platform_wall_layers", - "setter": "set_platform_wall_layers", - "getter": "get_platform_wall_layers" - }, - { - "type": "float", - "name": "safe_margin", - "setter": "set_safe_margin", - "getter": "get_safe_margin" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_inheriters_from_class", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1761182771, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - } - ] - }, - { - "name": "get_parent_class", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965194235, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - } - ] - }, - { - "name": "class_exists", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - } - ] - }, - { - "name": "is_parent_class", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 471820014, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - }, - { - "name": "inherits", - "type": "StringName" - } - ] - }, - { - "name": "can_instantiate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - } - ] - }, - { - "name": "instantiate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - } - ] - }, - { - "name": "class_has_signal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 471820014, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - }, - { - "name": "signal", - "type": "StringName" - } - ] - }, - { - "name": "class_get_signal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3061114238, - "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_static": false, - "is_virtual": false, - "hash": 3504980660, - "return_value": { - "type": "typedarray::Dictionary" - }, - "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_static": false, - "is_virtual": false, - "hash": 3504980660, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - }, - { - "name": "no_inheritance", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "class_get_property", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2498641674, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "class_set_property", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1690314931, - "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_static": false, - "is_virtual": false, - "hash": 3860701026, - "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_static": false, - "is_virtual": false, - "hash": 3504980660, - "return_value": { - "type": "typedarray::Dictionary" - }, - "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_static": false, - "is_virtual": false, - "hash": 3031669221, - "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_static": false, - "is_virtual": false, - "hash": 471820014, - "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_static": false, - "is_virtual": false, - "hash": 2419549490, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "class_has_enum", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3860701026, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "no_inheritance", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "class_get_enum_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3031669221, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - }, - { - "name": "no_inheritance", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "class_get_enum_constants", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 661528303, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - }, - { - "name": "enum", - "type": "StringName" - }, - { - "name": "no_inheritance", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "class_get_integer_constant_enum", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2457504236, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "no_inheritance", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "is_class_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "class", - "type": "StringName" - } - ] - } - ] - }, - { - "name": "CodeEdit", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "TextEdit", - "api_type": "core", - "enums": [ - { - "name": "CodeCompletionKind", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "CodeCompletionLocation", - "is_bitfield": false, - "values": [ - { - "name": "LOCATION_LOCAL", - "value": 0 - }, - { - "name": "LOCATION_PARENT_MASK", - "value": 256 - }, - { - "name": "LOCATION_OTHER_USER_CODE", - "value": 512 - }, - { - "name": "LOCATION_OTHER", - "value": 1024 - } - ] - } - ], - "methods": [ - { - "name": "_confirm_code_completion", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "replace", - "type": "bool" - } - ] - }, - { - "name": "_request_code_completion", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "bool" - } - ] - }, - { - "name": "_filter_code_completion_candidates", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "candidates", - "type": "typedarray::Dictionary" - } - ] - }, - { - "name": "set_indent_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_indent_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_indent_using_spaces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_spaces", - "type": "bool" - } - ] - }, - { - "name": "is_indent_using_spaces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_auto_indent_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_auto_indent_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_auto_indent_prefixes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "prefixes", - "type": "typedarray::String" - } - ] - }, - { - "name": "get_auto_indent_prefixes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::String" - } - }, - { - "name": "do_indent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "indent_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "unindent_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "convert_indent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 423910286, - "arguments": [ - { - "name": "from_line", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "to_line", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "set_auto_brace_completion_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_auto_brace_completion_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_highlight_matching_braces_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_highlight_matching_braces_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_auto_brace_completion_pair", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3186203200, - "arguments": [ - { - "name": "start_key", - "type": "String" - }, - { - "name": "end_key", - "type": "String" - } - ] - }, - { - "name": "set_auto_brace_completion_pairs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "pairs", - "type": "Dictionary" - } - ] - }, - { - "name": "get_auto_brace_completion_pairs", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "has_auto_brace_completion_open_key", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "open_key", - "type": "String" - } - ] - }, - { - "name": "has_auto_brace_completion_close_key", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "close_key", - "type": "String" - } - ] - }, - { - "name": "get_auto_brace_completion_close_key", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "open_key", - "type": "String" - } - ] - }, - { - "name": "set_draw_breakpoints_gutter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_drawing_breakpoints_gutter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_draw_bookmarks_gutter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_drawing_bookmarks_gutter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_draw_executing_lines_gutter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_drawing_executing_lines_gutter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_line_as_breakpoint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "breakpointed", - "type": "bool" - } - ] - }, - { - "name": "is_line_breakpointed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_breakpointed_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_breakpointed_lines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_line_as_bookmarked", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "bookmarked", - "type": "bool" - } - ] - }, - { - "name": "is_line_bookmarked", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_bookmarked_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_bookmarked_lines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_line_as_executing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "executing", - "type": "bool" - } - ] - }, - { - "name": "is_line_executing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_executing_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_executing_lines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_draw_line_numbers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_draw_line_numbers_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_line_numbers_zero_padded", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_line_numbers_zero_padded", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_draw_fold_gutter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_drawing_fold_gutter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_line_folding_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_line_folding_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "can_fold_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "fold_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "unfold_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "fold_all_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "unfold_all_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "toggle_foldable_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_line_folded", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_folded_lines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::int" - } - }, - { - "name": "create_code_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_code_region_start_tag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_code_region_end_tag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_code_region_tags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 708800718, - "arguments": [ - { - "name": "start", - "type": "String", - "default_value": "\"region\"" - }, - { - "name": "end", - "type": "String", - "default_value": "\"endregion\"" - } - ] - }, - { - "name": "is_line_code_region_start", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_line_code_region_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_string_delimiter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3146098955, - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "start_key", - "type": "String" - } - ] - }, - { - "name": "has_string_delimiter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "start_key", - "type": "String" - } - ] - }, - { - "name": "set_string_delimiters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "string_delimiters", - "type": "typedarray::String" - } - ] - }, - { - "name": "clear_string_delimiters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_string_delimiters", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::String" - } - }, - { - "name": "is_in_string", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 688195400, - "hash_compatibility": [ - 3294126239 - ], - "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_static": false, - "is_virtual": false, - "hash": 3146098955, - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "start_key", - "type": "String" - } - ] - }, - { - "name": "has_comment_delimiter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "start_key", - "type": "String" - } - ] - }, - { - "name": "set_comment_delimiters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "comment_delimiters", - "type": "typedarray::String" - } - ] - }, - { - "name": "clear_comment_delimiters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_comment_delimiters", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::String" - } - }, - { - "name": "is_in_comment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 688195400, - "hash_compatibility": [ - 3294126239 - ], - "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_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "delimiter_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_delimiter_end_key", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "delimiter_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_delimiter_start_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3016396712, - "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_static": false, - "is_virtual": false, - "hash": 3016396712, - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "code_hint", - "type": "String" - } - ] - }, - { - "name": "set_code_hint_draw_below", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "draw_below", - "type": "bool" - } - ] - }, - { - "name": "get_text_for_code_completion", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "request_code_completion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 107499316, - "arguments": [ - { - "name": "force", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "add_code_completion_option", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 947964390, - "hash_compatibility": [ - 1629240608 - ], - "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": "location", - "type": "int", - "meta": "int32", - "default_value": "1024" - } - ] - }, - { - "name": "update_code_completion_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "force", - "type": "bool" - } - ] - }, - { - "name": "get_code_completion_options", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "get_code_completion_option", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3485342025, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_code_completion_selected_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_code_completion_selected_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "confirm_code_completion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 107499316, - "arguments": [ - { - "name": "replace", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "cancel_code_completion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_code_completion_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_code_completion_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_code_completion_prefixes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "prefixes", - "type": "typedarray::String" - } - ] - }, - { - "name": "get_code_completion_prefixes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::String" - } - }, - { - "name": "set_line_length_guidelines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "guideline_columns", - "type": "typedarray::int" - } - ] - }, - { - "name": "get_line_length_guidelines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::int" - } - }, - { - "name": "set_symbol_lookup_on_click_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_symbol_lookup_on_click_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_text_for_symbol_lookup", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "hash_compatibility": [ - 2841200299 - ], - "return_value": { - "type": "String" - } - }, - { - "name": "get_text_with_cursor_char", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1391810591, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_symbol_lookup_word_as_valid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "valid", - "type": "bool" - } - ] - }, - { - "name": "duplicate_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "signals": [ - { - "name": "breakpoint_toggled", - "arguments": [ - { - "name": "line", - "type": "int" - } - ] - }, - { - "name": "code_completion_requested" - }, - { - "name": "symbol_lookup", - "arguments": [ - { - "name": "symbol", - "type": "String" - }, - { - "name": "line", - "type": "int" - }, - { - "name": "column", - "type": "int" - } - ] - }, - { - "name": "symbol_validate", - "arguments": [ - { - "name": "symbol", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "symbol_lookup_on_click", - "setter": "set_symbol_lookup_on_click_enabled", - "getter": "is_symbol_lookup_on_click_enabled" - }, - { - "type": "bool", - "name": "line_folding", - "setter": "set_line_folding_enabled", - "getter": "is_line_folding_enabled" - }, - { - "type": "PackedInt32Array", - "name": "line_length_guidelines", - "setter": "set_line_length_guidelines", - "getter": "get_line_length_guidelines" - }, - { - "type": "bool", - "name": "gutters_draw_breakpoints_gutter", - "setter": "set_draw_breakpoints_gutter", - "getter": "is_drawing_breakpoints_gutter" - }, - { - "type": "bool", - "name": "gutters_draw_bookmarks", - "setter": "set_draw_bookmarks_gutter", - "getter": "is_drawing_bookmarks_gutter" - }, - { - "type": "bool", - "name": "gutters_draw_executing_lines", - "setter": "set_draw_executing_lines_gutter", - "getter": "is_drawing_executing_lines_gutter" - }, - { - "type": "bool", - "name": "gutters_draw_line_numbers", - "setter": "set_draw_line_numbers", - "getter": "is_draw_line_numbers_enabled" - }, - { - "type": "bool", - "name": "gutters_zero_pad_line_numbers", - "setter": "set_line_numbers_zero_padded", - "getter": "is_line_numbers_zero_padded" - }, - { - "type": "bool", - "name": "gutters_draw_fold_gutter", - "setter": "set_draw_fold_gutter", - "getter": "is_drawing_fold_gutter" - }, - { - "type": "PackedStringArray", - "name": "delimiter_strings", - "setter": "set_string_delimiters", - "getter": "get_string_delimiters" - }, - { - "type": "PackedStringArray", - "name": "delimiter_comments", - "setter": "set_comment_delimiters", - "getter": "get_comment_delimiters" - }, - { - "type": "bool", - "name": "code_completion_enabled", - "setter": "set_code_completion_enabled", - "getter": "is_code_completion_enabled" - }, - { - "type": "PackedStringArray", - "name": "code_completion_prefixes", - "setter": "set_code_completion_prefixes", - "getter": "get_code_completion_prefixes" - }, - { - "type": "int", - "name": "indent_size", - "setter": "set_indent_size", - "getter": "get_indent_size" - }, - { - "type": "bool", - "name": "indent_use_spaces", - "setter": "set_indent_using_spaces", - "getter": "is_indent_using_spaces" - }, - { - "type": "bool", - "name": "indent_automatic", - "setter": "set_auto_indent_enabled", - "getter": "is_auto_indent_enabled" - }, - { - "type": "PackedStringArray", - "name": "indent_automatic_prefixes", - "setter": "set_auto_indent_prefixes", - "getter": "get_auto_indent_prefixes" - }, - { - "type": "bool", - "name": "auto_brace_completion_enabled", - "setter": "set_auto_brace_completion_enabled", - "getter": "is_auto_brace_completion_enabled" - }, - { - "type": "bool", - "name": "auto_brace_completion_highlight_matching", - "setter": "set_highlight_matching_braces_enabled", - "getter": "is_highlight_matching_braces_enabled" - }, - { - "type": "Dictionary", - "name": "auto_brace_completion_pairs", - "setter": "set_auto_brace_completion_pairs", - "getter": "get_auto_brace_completion_pairs" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1636512886, - "arguments": [ - { - "name": "keyword", - "type": "String" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "remove_keyword_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "keyword", - "type": "String" - } - ] - }, - { - "name": "has_keyword_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "keyword", - "type": "String" - } - ] - }, - { - "name": "get_keyword_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3855908743, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "keyword", - "type": "String" - } - ] - }, - { - "name": "set_keyword_colors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "keywords", - "type": "Dictionary" - } - ] - }, - { - "name": "clear_keyword_colors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_keyword_colors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "add_member_keyword_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1636512886, - "arguments": [ - { - "name": "member_keyword", - "type": "String" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "remove_member_keyword_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "member_keyword", - "type": "String" - } - ] - }, - { - "name": "has_member_keyword_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "member_keyword", - "type": "String" - } - ] - }, - { - "name": "get_member_keyword_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3855908743, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "member_keyword", - "type": "String" - } - ] - }, - { - "name": "set_member_keyword_colors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "member_keyword", - "type": "Dictionary" - } - ] - }, - { - "name": "clear_member_keyword_colors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_member_keyword_colors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "add_color_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2924977451, - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "start_key", - "type": "String" - } - ] - }, - { - "name": "has_color_region", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "start_key", - "type": "String" - } - ] - }, - { - "name": "set_color_regions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "color_regions", - "type": "Dictionary" - } - ] - }, - { - "name": "clear_color_regions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_color_regions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "set_function_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_function_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_number_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_number_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_symbol_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_symbol_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_member_variable_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_member_variable_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - } - ], - "properties": [ - { - "type": "Color", - "name": "number_color", - "setter": "set_number_color", - "getter": "get_number_color" - }, - { - "type": "Color", - "name": "symbol_color", - "setter": "set_symbol_color", - "getter": "get_symbol_color" - }, - { - "type": "Color", - "name": "function_color", - "setter": "set_function_color", - "getter": "get_function_color" - }, - { - "type": "Color", - "name": "member_variable_color", - "setter": "set_member_variable_color", - "getter": "get_member_variable_color" - }, - { - "type": "Dictionary", - "name": "keyword_colors", - "setter": "set_keyword_colors", - "getter": "get_keyword_colors" - }, - { - "type": "Dictionary", - "name": "member_keyword_colors", - "setter": "set_member_keyword_colors", - "getter": "get_member_keyword_colors" - }, - { - "type": "Dictionary", - "name": "color_regions", - "setter": "set_color_regions", - "getter": "get_color_regions" - } - ] - }, - { - "name": "CollisionObject2D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Node2D", - "api_type": "core", - "enums": [ - { - "name": "DisableMode", - "is_bitfield": false, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "viewport", - "type": "Viewport" - }, - { - "name": "event", - "type": "InputEvent" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_mouse_enter", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_mouse_exit", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_mouse_shape_enter", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_mouse_shape_exit", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_collision_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_collision_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_disable_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1919204045, - "arguments": [ - { - "name": "mode", - "type": "enum::CollisionObject2D.DisableMode" - } - ] - }, - { - "name": "get_disable_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3172846349, - "return_value": { - "type": "enum::CollisionObject2D.DisableMode" - } - }, - { - "name": "set_pickable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_pickable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "create_shape_owner", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3429307534, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "owner", - "type": "Object" - } - ] - }, - { - "name": "remove_shape_owner", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_shape_owners", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "shape_owner_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 30160968, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "shape_owner_get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3836996910, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "shape_owner_get_owner", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3332903315, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "shape_owner_set_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_shape_owner_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 2077425081, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 3106725749, - "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_static": false, - "is_virtual": false, - "hash": 3175239445, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "shape_find_owner", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "shape_index", - "type": "int", - "meta": "int32" - } - ] - } - ], - "signals": [ - { - "name": "input_event", - "arguments": [ - { - "name": "viewport", - "type": "Node" - }, - { - "name": "event", - "type": "InputEvent" - }, - { - "name": "shape_idx", - "type": "int" - } - ] - }, - { - "name": "mouse_entered" - }, - { - "name": "mouse_exited" - }, - { - "name": "mouse_shape_entered", - "arguments": [ - { - "name": "shape_idx", - "type": "int" - } - ] - }, - { - "name": "mouse_shape_exited", - "arguments": [ - { - "name": "shape_idx", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "disable_mode", - "setter": "set_disable_mode", - "getter": "get_disable_mode" - }, - { - "type": "int", - "name": "collision_layer", - "setter": "set_collision_layer", - "getter": "get_collision_layer" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "float", - "name": "collision_priority", - "setter": "set_collision_priority", - "getter": "get_collision_priority" - }, - { - "type": "bool", - "name": "input_pickable", - "setter": "set_pickable", - "getter": "is_pickable" - } - ] - }, - { - "name": "CollisionObject3D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Node3D", - "api_type": "core", - "enums": [ - { - "name": "DisableMode", - "is_bitfield": false, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "camera", - "type": "Camera3D" - }, - { - "name": "event", - "type": "InputEvent" - }, - { - "name": "position", - "type": "Vector3" - }, - { - "name": "normal", - "type": "Vector3" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_mouse_enter", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_mouse_exit", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "set_collision_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_collision_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_disable_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1623620376, - "arguments": [ - { - "name": "mode", - "type": "enum::CollisionObject3D.DisableMode" - } - ] - }, - { - "name": "get_disable_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 410164780, - "return_value": { - "type": "enum::CollisionObject3D.DisableMode" - } - }, - { - "name": "set_ray_pickable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "ray_pickable", - "type": "bool" - } - ] - }, - { - "name": "is_ray_pickable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_capture_input_on_drag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_capture_input_on_drag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "create_shape_owner", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3429307534, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "owner", - "type": "Object" - } - ] - }, - { - "name": "remove_shape_owner", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_shape_owners", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "shape_owner_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3616898986, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "shape_owner_get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "shape_owner_get_owner", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3332903315, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "shape_owner_set_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_shape_owner_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "shape_owner_add_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2566676345, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 4015519174, - "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_static": false, - "is_virtual": false, - "hash": 3175239445, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "owner_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "shape_find_owner", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "shape_index", - "type": "int", - "meta": "int32" - } - ] - } - ], - "signals": [ - { - "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" - } - ] - }, - { - "name": "mouse_entered" - }, - { - "name": "mouse_exited" - } - ], - "properties": [ - { - "type": "int", - "name": "disable_mode", - "setter": "set_disable_mode", - "getter": "get_disable_mode" - }, - { - "type": "int", - "name": "collision_layer", - "setter": "set_collision_layer", - "getter": "get_collision_layer" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "float", - "name": "collision_priority", - "setter": "set_collision_priority", - "getter": "get_collision_priority" - }, - { - "type": "bool", - "name": "input_ray_pickable", - "setter": "set_ray_pickable", - "getter": "is_ray_pickable" - }, - { - "type": "bool", - "name": "input_capture_on_drag", - "setter": "set_capture_input_on_drag", - "getter": "get_capture_input_on_drag" - } - ] - }, - { - "name": "CollisionPolygon2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "enums": [ - { - "name": "BuildMode", - "is_bitfield": false, - "values": [ - { - "name": "BUILD_SOLIDS", - "value": 0 - }, - { - "name": "BUILD_SEGMENTS", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_build_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2780803135, - "arguments": [ - { - "name": "build_mode", - "type": "enum::CollisionPolygon2D.BuildMode" - } - ] - }, - { - "name": "get_build_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3044948800, - "return_value": { - "type": "enum::CollisionPolygon2D.BuildMode" - } - }, - { - "name": "set_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_one_way_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_one_way_collision_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_one_way_collision_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_one_way_collision_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "int", - "name": "build_mode", - "setter": "set_build_mode", - "getter": "get_build_mode" - }, - { - "type": "PackedVector2Array", - "name": "polygon", - "setter": "set_polygon", - "getter": "get_polygon" - }, - { - "type": "bool", - "name": "disabled", - "setter": "set_disabled", - "getter": "is_disabled" - }, - { - "type": "bool", - "name": "one_way_collision", - "setter": "set_one_way_collision", - "getter": "is_one_way_collision_enabled" - }, - { - "type": "float", - "name": "one_way_collision_margin", - "setter": "set_one_way_collision_margin", - "getter": "get_one_way_collision_margin" - } - ] - }, - { - "name": "CollisionPolygon3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "set_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "depth", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "depth", - "setter": "set_depth", - "getter": "get_depth" - }, - { - "type": "bool", - "name": "disabled", - "setter": "set_disabled", - "getter": "is_disabled" - }, - { - "type": "PackedVector2Array", - "name": "polygon", - "setter": "set_polygon", - "getter": "get_polygon" - }, - { - "type": "float", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - } - ] - }, - { - "name": "CollisionShape2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 771364740, - "arguments": [ - { - "name": "shape", - "type": "Shape2D" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 522005891, - "return_value": { - "type": "Shape2D" - } - }, - { - "name": "set_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_one_way_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_one_way_collision_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_one_way_collision_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_one_way_collision_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_debug_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_debug_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - } - ], - "properties": [ - { - "type": "Shape2D", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "bool", - "name": "disabled", - "setter": "set_disabled", - "getter": "is_disabled" - }, - { - "type": "bool", - "name": "one_way_collision", - "setter": "set_one_way_collision", - "getter": "is_one_way_collision_enabled" - }, - { - "type": "float", - "name": "one_way_collision_margin", - "setter": "set_one_way_collision_margin", - "getter": "get_one_way_collision_margin" - }, - { - "type": "Color", - "name": "debug_color", - "setter": "set_debug_color", - "getter": "get_debug_color" - } - ] - }, - { - "name": "CollisionShape3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "resource_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 968641751, - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1549710052, - "arguments": [ - { - "name": "shape", - "type": "Shape3D" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3214262478, - "return_value": { - "type": "Shape3D" - } - }, - { - "name": "set_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "make_convex_from_siblings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "Shape3D", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "bool", - "name": "disabled", - "setter": "set_disabled", - "getter": "is_disabled" - } - ] - }, - { - "name": "ColorPicker", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VBoxContainer", - "api_type": "core", - "enums": [ - { - "name": "ColorModeType", - "is_bitfield": false, - "values": [ - { - "name": "MODE_RGB", - "value": 0 - }, - { - "name": "MODE_HSV", - "value": 1 - }, - { - "name": "MODE_RAW", - "value": 2 - }, - { - "name": "MODE_OKHSL", - "value": 3 - } - ] - }, - { - "name": "PickerShapeType", - "is_bitfield": false, - "values": [ - { - "name": "SHAPE_HSV_RECTANGLE", - "value": 0 - }, - { - "name": "SHAPE_HSV_WHEEL", - "value": 1 - }, - { - "name": "SHAPE_VHS_CIRCLE", - "value": 2 - }, - { - "name": "SHAPE_OKHSL_CIRCLE", - "value": 3 - }, - { - "name": "SHAPE_NONE", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "set_pick_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_pick_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_deferred_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "mode", - "type": "bool" - } - ] - }, - { - "name": "is_deferred_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_color_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1579114136, - "arguments": [ - { - "name": "color_mode", - "type": "enum::ColorPicker.ColorModeType" - } - ] - }, - { - "name": "get_color_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 392907674, - "return_value": { - "type": "enum::ColorPicker.ColorModeType" - } - }, - { - "name": "set_edit_alpha", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "show", - "type": "bool" - } - ] - }, - { - "name": "is_editing_alpha", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_can_add_swatches", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "are_swatches_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_presets_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "are_presets_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_modes_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "are_modes_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_sampler_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "is_sampler_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_sliders_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "are_sliders_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hex_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "is_hex_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_preset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "erase_preset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_presets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1392750486, - "return_value": { - "type": "PackedColorArray" - } - }, - { - "name": "add_recent_preset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "erase_recent_preset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_recent_presets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1392750486, - "return_value": { - "type": "PackedColorArray" - } - }, - { - "name": "set_picker_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3981373861, - "arguments": [ - { - "name": "shape", - "type": "enum::ColorPicker.PickerShapeType" - } - ] - }, - { - "name": "get_picker_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1143229889, - "return_value": { - "type": "enum::ColorPicker.PickerShapeType" - } - } - ], - "signals": [ - { - "name": "color_changed", - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "preset_added", - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "preset_removed", - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - } - ], - "properties": [ - { - "type": "Color", - "name": "color", - "setter": "set_pick_color", - "getter": "get_pick_color" - }, - { - "type": "bool", - "name": "edit_alpha", - "setter": "set_edit_alpha", - "getter": "is_editing_alpha" - }, - { - "type": "int", - "name": "color_mode", - "setter": "set_color_mode", - "getter": "get_color_mode" - }, - { - "type": "bool", - "name": "deferred_mode", - "setter": "set_deferred_mode", - "getter": "is_deferred_mode" - }, - { - "type": "int", - "name": "picker_shape", - "setter": "set_picker_shape", - "getter": "get_picker_shape" - }, - { - "type": "bool", - "name": "can_add_swatches", - "setter": "set_can_add_swatches", - "getter": "are_swatches_enabled" - }, - { - "type": "bool", - "name": "sampler_visible", - "setter": "set_sampler_visible", - "getter": "is_sampler_visible" - }, - { - "type": "bool", - "name": "color_modes_visible", - "setter": "set_modes_visible", - "getter": "are_modes_visible" - }, - { - "type": "bool", - "name": "sliders_visible", - "setter": "set_sliders_visible", - "getter": "are_sliders_visible" - }, - { - "type": "bool", - "name": "hex_visible", - "setter": "set_hex_visible", - "getter": "is_hex_visible" - }, - { - "type": "bool", - "name": "presets_visible", - "setter": "set_presets_visible", - "getter": "are_presets_visible" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_pick_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "get_picker", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 331835996, - "return_value": { - "type": "ColorPicker" - } - }, - { - "name": "get_popup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1322440207, - "return_value": { - "type": "PopupPanel" - } - }, - { - "name": "set_edit_alpha", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "show", - "type": "bool" - } - ] - }, - { - "name": "is_editing_alpha", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "color_changed", - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "popup_closed" - }, - { - "name": "picker_created" - } - ], - "properties": [ - { - "type": "Color", - "name": "color", - "setter": "set_pick_color", - "getter": "get_pick_color" - }, - { - "type": "bool", - "name": "edit_alpha", - "setter": "set_edit_alpha", - "getter": "is_editing_alpha" - } - ] - }, - { - "name": "ColorRect", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "methods": [ - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - } - ], - "properties": [ - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - } - ] - }, - { - "name": "CompressedCubemap", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "CompressedTextureLayered", - "api_type": "core" - }, - { - "name": "CompressedCubemapArray", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "CompressedTextureLayered", - "api_type": "core" - }, - { - "name": "CompressedTexture2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "methods": [ - { - "name": "load", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_load_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "load_path", - "setter": "load", - "getter": "get_load_path" - } - ] - }, - { - "name": "CompressedTexture2DArray", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "CompressedTextureLayered", - "api_type": "core" - }, - { - "name": "CompressedTexture3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture3D", - "api_type": "core", - "methods": [ - { - "name": "load", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_load_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "load_path", - "setter": "load", - "getter": "get_load_path" - } - ] - }, - { - "name": "CompressedTextureLayered", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "TextureLayered", - "api_type": "core", - "methods": [ - { - "name": "load", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_load_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "load_path", - "setter": "load", - "getter": "get_load_path" - } - ] - }, - { - "name": "ConcavePolygonShape2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape2D", - "api_type": "core", - "methods": [ - { - "name": "set_segments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "segments", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_segments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - } - ], - "properties": [ - { - "type": "PackedVector2Array", - "name": "segments", - "setter": "set_segments", - "getter": "get_segments" - } - ] - }, - { - "name": "ConcavePolygonShape3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape3D", - "api_type": "core", - "methods": [ - { - "name": "set_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 334873810, - "arguments": [ - { - "name": "faces", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "get_faces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "set_backface_collision_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_backface_collision_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "PackedVector3Array", - "name": "data", - "setter": "set_faces", - "getter": "get_faces" - }, - { - "type": "bool", - "name": "backface_collision", - "setter": "set_backface_collision_enabled", - "getter": "is_backface_collision_enabled" - } - ] - }, - { - "name": "ConeTwistJoint3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Joint3D", - "api_type": "core", - "enums": [ - { - "name": "Param", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1062470226, - "arguments": [ - { - "name": "param", - "type": "enum::ConeTwistJoint3D.Param" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2928790850, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::ConeTwistJoint3D.Param" - } - ] - } - ], - "properties": [ - { - "type": "float", - "name": "swing_span", - "setter": "set_param", - "getter": "get_param", - "index": 0 - }, - { - "type": "float", - "name": "twist_span", - "setter": "set_param", - "getter": "get_param", - "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_static": false, - "is_virtual": false, - "hash": 2504492430, - "arguments": [ - { - "name": "section", - "type": "String" - }, - { - "name": "key", - "type": "String" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 89809366, - "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_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "section", - "type": "String" - } - ] - }, - { - "name": "has_section_key", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 820780508, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "section", - "type": "String" - }, - { - "name": "key", - "type": "String" - } - ] - }, - { - "name": "get_sections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_section_keys", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291131558, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "section", - "type": "String" - } - ] - }, - { - "name": "erase_section", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "section", - "type": "String" - } - ] - }, - { - "name": "erase_section_key", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3186203200, - "arguments": [ - { - "name": "section", - "type": "String" - }, - { - "name": "key", - "type": "String" - } - ] - }, - { - "name": "load", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "parse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "data", - "type": "String" - } - ] - }, - { - "name": "save", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "encode_to_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "load_encrypted", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 887037711, - "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_static": false, - "is_virtual": false, - "hash": 852856452, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "password", - "type": "String" - } - ] - }, - { - "name": "save_encrypted", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 887037711, - "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_static": false, - "is_virtual": false, - "hash": 852856452, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "password", - "type": "String" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1856205918, - "return_value": { - "type": "Button" - } - }, - { - "name": "set_cancel_button_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_cancel_button_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "cancel_button_text", - "setter": "set_cancel_button_text", - "getter": "get_cancel_button_text" - } - ] - }, - { - "name": "Container", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "constants": [ - { - "name": "NOTIFICATION_PRE_SORT_CHILDREN", - "value": 50 - }, - { - "name": "NOTIFICATION_SORT_CHILDREN", - "value": 51 - } - ], - "methods": [ - { - "name": "_get_allowed_size_flags_horizontal", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "_get_allowed_size_flags_vertical", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "queue_sort", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "fit_child_in_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1993438598, - "arguments": [ - { - "name": "child", - "type": "Control" - }, - { - "name": "rect", - "type": "Rect2" - } - ] - } - ], - "signals": [ - { - "name": "pre_sort_children" - }, - { - "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_MOUSE_ENTER_SELF", - "value": 60 - }, - { - "name": "NOTIFICATION_MOUSE_EXIT_SELF", - "value": 61 - }, - { - "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": "FocusMode", - "is_bitfield": false, - "values": [ - { - "name": "FOCUS_NONE", - "value": 0 - }, - { - "name": "FOCUS_CLICK", - "value": 1 - }, - { - "name": "FOCUS_ALL", - "value": 2 - } - ] - }, - { - "name": "CursorShape", - "is_bitfield": false, - "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": "LayoutPreset", - "is_bitfield": false, - "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_FULL_RECT", - "value": 15 - } - ] - }, - { - "name": "LayoutPresetMode", - "is_bitfield": false, - "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": "SizeFlags", - "is_bitfield": true, - "values": [ - { - "name": "SIZE_SHRINK_BEGIN", - "value": 0 - }, - { - "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": "MouseFilter", - "is_bitfield": false, - "values": [ - { - "name": "MOUSE_FILTER_STOP", - "value": 0 - }, - { - "name": "MOUSE_FILTER_PASS", - "value": 1 - }, - { - "name": "MOUSE_FILTER_IGNORE", - "value": 2 - } - ] - }, - { - "name": "GrowDirection", - "is_bitfield": false, - "values": [ - { - "name": "GROW_DIRECTION_BEGIN", - "value": 0 - }, - { - "name": "GROW_DIRECTION_END", - "value": 1 - }, - { - "name": "GROW_DIRECTION_BOTH", - "value": 2 - } - ] - }, - { - "name": "Anchor", - "is_bitfield": false, - "values": [ - { - "name": "ANCHOR_BEGIN", - "value": 0 - }, - { - "name": "ANCHOR_END", - "value": 1 - } - ] - }, - { - "name": "LayoutDirection", - "is_bitfield": false, - "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": "TextDirection", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "_has_point", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "_structured_text_parser", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Vector3i" - }, - "arguments": [ - { - "name": "args", - "type": "Array" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "_get_minimum_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "_get_tooltip", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "at_position", - "type": "Vector2" - } - ] - }, - { - "name": "_get_drag_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "at_position", - "type": "Vector2" - } - ] - }, - { - "name": "_can_drop_data", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "at_position", - "type": "Vector2" - }, - { - "name": "data", - "type": "Variant" - } - ] - }, - { - "name": "_drop_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "at_position", - "type": "Vector2" - }, - { - "name": "data", - "type": "Variant" - } - ] - }, - { - "name": "_make_custom_tooltip", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "for_text", - "type": "String" - } - ] - }, - { - "name": "_gui_input", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "accept_event", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_minimum_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_combined_minimum_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_anchors_preset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 509135270, - "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_static": false, - "is_virtual": false, - "hash": 3724524307, - "hash_compatibility": [ - 3651818904 - ], - "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_static": false, - "is_virtual": false, - "hash": 3724524307, - "hash_compatibility": [ - 3651818904 - ], - "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_static": false, - "is_virtual": false, - "hash": 2302782885, - "hash_compatibility": [ - 2589937826 - ], - "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_static": false, - "is_virtual": false, - "hash": 2869120046, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "side", - "type": "enum::Side" - } - ] - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4290182280, - "arguments": [ - { - "name": "side", - "type": "enum::Side" - }, - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2869120046, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "offset", - "type": "enum::Side" - } - ] - }, - { - "name": "set_anchor_and_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4031722181, - "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_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "set_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2436320129, - "arguments": [ - { - "name": "position", - "type": "Vector2" - }, - { - "name": "keep_offsets", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2436320129, - "arguments": [ - { - "name": "size", - "type": "Vector2" - }, - { - "name": "keep_offsets", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "reset_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_custom_minimum_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "size", - "type": "Vector2" - } - ] - }, - { - "name": "set_global_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2436320129, - "arguments": [ - { - "name": "position", - "type": "Vector2" - }, - { - "name": "keep_offsets", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_rotation_degrees", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "scale", - "type": "Vector2" - } - ] - }, - { - "name": "set_pivot_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "pivot_offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_begin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_rotation_degrees", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_pivot_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_custom_minimum_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_parent_area_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_global_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_screen_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "get_global_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "set_focus_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3232914922, - "arguments": [ - { - "name": "mode", - "type": "enum::Control.FocusMode" - } - ] - }, - { - "name": "get_focus_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2132829277, - "return_value": { - "type": "enum::Control.FocusMode" - } - }, - { - "name": "has_focus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "grab_focus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "release_focus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "find_prev_valid_focus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2783021301, - "return_value": { - "type": "Control" - } - }, - { - "name": "find_next_valid_focus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2783021301, - "return_value": { - "type": "Control" - } - }, - { - "name": "find_valid_focus_neighbor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1543910170, - "return_value": { - "type": "Control" - }, - "arguments": [ - { - "name": "side", - "type": "enum::Side" - } - ] - }, - { - "name": "set_h_size_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 394851643, - "arguments": [ - { - "name": "flags", - "type": "bitfield::Control.SizeFlags" - } - ] - }, - { - "name": "get_h_size_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3781367401, - "return_value": { - "type": "bitfield::Control.SizeFlags" - } - }, - { - "name": "set_stretch_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_stretch_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_v_size_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 394851643, - "arguments": [ - { - "name": "flags", - "type": "bitfield::Control.SizeFlags" - } - ] - }, - { - "name": "get_v_size_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3781367401, - "return_value": { - "type": "bitfield::Control.SizeFlags" - } - }, - { - "name": "set_theme", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2326690814, - "arguments": [ - { - "name": "theme", - "type": "Theme" - } - ] - }, - { - "name": "get_theme", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3846893731, - "return_value": { - "type": "Theme" - } - }, - { - "name": "set_theme_type_variation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_theme_type_variation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "begin_bulk_theme_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "end_bulk_theme_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_theme_icon_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1373065600, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "add_theme_stylebox_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4188838905, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "stylebox", - "type": "StyleBox" - } - ] - }, - { - "name": "add_theme_font_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3518018674, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "add_theme_font_size_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2415702435, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_theme_color_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4260178595, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "add_theme_constant_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2415702435, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "constant", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_theme_icon_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_stylebox_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_font_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_font_size_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_color_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_constant_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_theme_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3163973443, - "hash_compatibility": [ - 2336455395 - ], - "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_static": false, - "is_virtual": false, - "hash": 604739069, - "hash_compatibility": [ - 2759935355 - ], - "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_static": false, - "is_virtual": false, - "hash": 2826986490, - "hash_compatibility": [ - 387378635 - ], - "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_static": false, - "is_virtual": false, - "hash": 1327056374, - "hash_compatibility": [ - 229578101 - ], - "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_static": false, - "is_virtual": false, - "hash": 2798751242, - "hash_compatibility": [ - 2377051548 - ], - "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_static": false, - "is_virtual": false, - "hash": 1327056374, - "hash_compatibility": [ - 229578101 - ], - "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_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_stylebox_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_font_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_font_size_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_color_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_constant_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName", - "default_value": "\"\"" - } - ] - }, - { - "name": "get_theme_default_base_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_theme_default_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229501585, - "return_value": { - "type": "Font" - } - }, - { - "name": "get_theme_default_font_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_parent_control", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2783021301, - "return_value": { - "type": "Control" - } - }, - { - "name": "set_h_grow_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2022385301, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.GrowDirection" - } - ] - }, - { - "name": "get_h_grow_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635610155, - "return_value": { - "type": "enum::Control.GrowDirection" - } - }, - { - "name": "set_v_grow_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2022385301, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.GrowDirection" - } - ] - }, - { - "name": "get_v_grow_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635610155, - "return_value": { - "type": "enum::Control.GrowDirection" - } - }, - { - "name": "set_tooltip_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "hint", - "type": "String" - } - ] - }, - { - "name": "get_tooltip_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_tooltip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2895288280, - "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_static": false, - "is_virtual": false, - "hash": 217062046, - "arguments": [ - { - "name": "shape", - "type": "enum::Control.CursorShape" - } - ] - }, - { - "name": "get_default_cursor_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2359535750, - "return_value": { - "type": "enum::Control.CursorShape" - } - }, - { - "name": "get_cursor_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1395773853, - "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_static": false, - "is_virtual": false, - "hash": 2024461774, - "arguments": [ - { - "name": "side", - "type": "enum::Side" - }, - { - "name": "neighbor", - "type": "NodePath" - } - ] - }, - { - "name": "get_focus_neighbor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757935761, - "return_value": { - "type": "NodePath" - }, - "arguments": [ - { - "name": "side", - "type": "enum::Side" - } - ] - }, - { - "name": "set_focus_next", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "next", - "type": "NodePath" - } - ] - }, - { - "name": "get_focus_next", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_focus_previous", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "previous", - "type": "NodePath" - } - ] - }, - { - "name": "get_focus_previous", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "force_drag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3191844692, - "arguments": [ - { - "name": "data", - "type": "Variant" - }, - { - "name": "preview", - "type": "Control" - } - ] - }, - { - "name": "set_mouse_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3891156122, - "arguments": [ - { - "name": "filter", - "type": "enum::Control.MouseFilter" - } - ] - }, - { - "name": "get_mouse_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1572545674, - "return_value": { - "type": "enum::Control.MouseFilter" - } - }, - { - "name": "set_force_pass_scroll_events", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "force_pass_scroll_events", - "type": "bool" - } - ] - }, - { - "name": "is_force_pass_scroll_events", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_clip_contents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_clipping_contents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "grab_click_focus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_drag_forwarding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1076571380, - "arguments": [ - { - "name": "drag_func", - "type": "Callable" - }, - { - "name": "can_drop_func", - "type": "Callable" - }, - { - "name": "drop_func", - "type": "Callable" - } - ] - }, - { - "name": "set_drag_preview", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "is_drag_successful", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "warp_mouse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "set_shortcut_context", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "get_shortcut_context", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "update_minimum_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_layout_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3310692370, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.LayoutDirection" - } - ] - }, - { - "name": "get_layout_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1546772008, - "return_value": { - "type": "enum::Control.LayoutDirection" - } - }, - { - "name": "is_layout_rtl", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_auto_translate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_auto_translating", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_localize_numeral_system", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_localizing_numeral_system", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "resized" - }, - { - "name": "gui_input", - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "mouse_entered" - }, - { - "name": "mouse_exited" - }, - { - "name": "focus_entered" - }, - { - "name": "focus_exited" - }, - { - "name": "size_flags_changed" - }, - { - "name": "minimum_size_changed" - }, - { - "name": "theme_changed" - } - ], - "properties": [ - { - "type": "bool", - "name": "clip_contents", - "setter": "set_clip_contents", - "getter": "is_clipping_contents" - }, - { - "type": "Vector2", - "name": "custom_minimum_size", - "setter": "set_custom_minimum_size", - "getter": "get_custom_minimum_size" - }, - { - "type": "int", - "name": "layout_direction", - "setter": "set_layout_direction", - "getter": "get_layout_direction" - }, - { - "type": "int", - "name": "layout_mode", - "setter": "_set_layout_mode", - "getter": "_get_layout_mode" - }, - { - "type": "int", - "name": "anchors_preset", - "setter": "_set_anchors_layout_preset", - "getter": "_get_anchors_layout_preset" - }, - { - "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" - }, - { - "type": "int", - "name": "grow_vertical", - "setter": "set_v_grow_direction", - "getter": "get_v_grow_direction" - }, - { - "type": "Vector2", - "name": "size", - "setter": "_set_size", - "getter": "get_size" - }, - { - "type": "Vector2", - "name": "position", - "setter": "_set_position", - "getter": "get_position" - }, - { - "type": "Vector2", - "name": "global_position", - "setter": "_set_global_position", - "getter": "get_global_position" - }, - { - "type": "float", - "name": "rotation", - "setter": "set_rotation", - "getter": "get_rotation" - }, - { - "type": "float", - "name": "rotation_degrees", - "setter": "set_rotation_degrees", - "getter": "get_rotation_degrees" - }, - { - "type": "Vector2", - "name": "scale", - "setter": "set_scale", - "getter": "get_scale" - }, - { - "type": "Vector2", - "name": "pivot_offset", - "setter": "set_pivot_offset", - "getter": "get_pivot_offset" - }, - { - "type": "int", - "name": "size_flags_horizontal", - "setter": "set_h_size_flags", - "getter": "get_h_size_flags" - }, - { - "type": "int", - "name": "size_flags_vertical", - "setter": "set_v_size_flags", - "getter": "get_v_size_flags" - }, - { - "type": "float", - "name": "size_flags_stretch_ratio", - "setter": "set_stretch_ratio", - "getter": "get_stretch_ratio" - }, - { - "type": "bool", - "name": "auto_translate", - "setter": "set_auto_translate", - "getter": "is_auto_translating" - }, - { - "type": "bool", - "name": "localize_numeral_system", - "setter": "set_localize_numeral_system", - "getter": "is_localizing_numeral_system" - }, - { - "type": "String", - "name": "tooltip_text", - "setter": "set_tooltip_text", - "getter": "get_tooltip_text" - }, - { - "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" - }, - { - "type": "NodePath", - "name": "focus_previous", - "setter": "set_focus_previous", - "getter": "get_focus_previous" - }, - { - "type": "int", - "name": "focus_mode", - "setter": "set_focus_mode", - "getter": "get_focus_mode" - }, - { - "type": "int", - "name": "mouse_filter", - "setter": "set_mouse_filter", - "getter": "get_mouse_filter" - }, - { - "type": "bool", - "name": "mouse_force_pass_scroll_events", - "setter": "set_force_pass_scroll_events", - "getter": "is_force_pass_scroll_events" - }, - { - "type": "int", - "name": "mouse_default_cursor_shape", - "setter": "set_default_cursor_shape", - "getter": "get_default_cursor_shape" - }, - { - "type": "Object", - "name": "shortcut_context", - "setter": "set_shortcut_context", - "getter": "get_shortcut_context" - }, - { - "type": "Theme", - "name": "theme", - "setter": "set_theme", - "getter": "get_theme" - }, - { - "type": "String", - "name": "theme_type_variation", - "setter": "set_theme_type_variation", - "getter": "get_theme_type_variation" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "point_cloud", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "set_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "points", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_points", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - } - ], - "properties": [ - { - "type": "PackedVector2Array", - "name": "points", - "setter": "set_points", - "getter": "get_points" - } - ] - }, - { - "name": "ConvexPolygonShape3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape3D", - "api_type": "core", - "methods": [ - { - "name": "set_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 334873810, - "arguments": [ - { - "name": "points", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "get_points", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - } - ], - "properties": [ - { - "type": "Array", - "name": "points", - "setter": "set_points", - "getter": "get_points" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 47165747, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "generate_rsa", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1237515462, - "return_value": { - "type": "CryptoKey" - }, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "generate_self_signed_certificate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 492266173, - "hash_compatibility": [ - 947314696 - ], - "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_static": false, - "is_virtual": false, - "hash": 1673662703, - "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_static": false, - "is_virtual": false, - "hash": 2805902225, - "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_static": false, - "is_virtual": false, - "hash": 2361793670, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "key", - "type": "CryptoKey" - }, - { - "name": "plaintext", - "type": "PackedByteArray" - } - ] - }, - { - "name": "decrypt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2361793670, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "key", - "type": "CryptoKey" - }, - { - "name": "ciphertext", - "type": "PackedByteArray" - } - ] - }, - { - "name": "hmac_digest", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2368951203, - "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_static": false, - "is_virtual": false, - "hash": 1024142237, - "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_static": false, - "is_virtual": false, - "hash": 885841341, - "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_static": false, - "is_virtual": false, - "hash": 885841341, - "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_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "save_to_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 32795936, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "public_only", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "load_from_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 885841341, - "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", - "methods": [ - { - "name": "create_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121922552, - "return_value": { - "type": "Resource" - } - } - ] - }, - { - "name": "CubemapArray", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ImageTextureLayered", - "api_type": "core", - "methods": [ - { - "name": "create_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121922552, - "return_value": { - "type": "Resource" - } - } - ] - }, - { - "name": "Curve", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "TangentMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_point_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 434072736, - "hash_compatibility": [ - 2766148617 - ], - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_point_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_point_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "y", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_point_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3780573764, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "sample", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3919130443, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "sample_baked", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3919130443, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 426950354, - "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_static": false, - "is_virtual": false, - "hash": 426950354, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 1217242874, - "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_static": false, - "is_virtual": false, - "hash": 1217242874, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "mode", - "type": "enum::Curve.TangentMode" - } - ] - }, - { - "name": "get_min_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_min_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "min", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "clean_dupes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "bake", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_bake_resolution", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_bake_resolution", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "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" - }, - { - "type": "float", - "name": "max_value", - "setter": "set_max_value", - "getter": "get_max_value" - }, - { - "type": "int", - "name": "bake_resolution", - "setter": "set_bake_resolution", - "getter": "get_bake_resolution" - }, - { - "type": "int", - "name": "point_count", - "setter": "set_point_count", - "getter": "get_point_count" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_point_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4175465202, - "hash_compatibility": [ - 2437345566 - ], - "arguments": [ - { - "name": "position", - "type": "Vector2" - }, - { - "name": "in", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - }, - { - "name": "out", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "set_point_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_point_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_point_in", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_point_in", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_point_out", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_point_out", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "sample", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 26514310, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "t", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "samplef", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3588506812, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "fofs", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_bake_interval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bake_interval", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_baked_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "sample_baked", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3464257706, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float", - "default_value": "0.0" - }, - { - "name": "cubic", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "sample_baked_with_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3296056341, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float", - "default_value": "0.0" - }, - { - "name": "cubic", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_baked_points", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "get_closest_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2656412154, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "to_point", - "type": "Vector2" - } - ] - }, - { - "name": "get_closest_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2276447920, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "to_point", - "type": "Vector2" - } - ] - }, - { - "name": "tessellate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 958145977, - "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" - } - ] - }, - { - "name": "tessellate_even_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2319761637, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "max_stages", - "type": "int", - "meta": "int32", - "default_value": "5" - }, - { - "name": "tolerance_length", - "type": "float", - "meta": "float", - "default_value": "20.0" - } - ] - } - ], - "properties": [ - { - "type": "float", - "name": "bake_interval", - "setter": "set_bake_interval", - "getter": "get_bake_interval" - }, - { - "type": "int", - "name": "point_count", - "setter": "set_point_count", - "getter": "get_point_count" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_point_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2931053748, - "hash_compatibility": [ - 3836314258 - ], - "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": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "set_point_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_point_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_point_tilt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tilt", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_point_tilt", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_point_in", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_point_in", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_point_out", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_point_out", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "sample", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3285246857, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "t", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "samplef", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2553580215, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "fofs", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_bake_interval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bake_interval", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_up_vector_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_up_vector_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_baked_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "sample_baked", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1350085894, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float", - "default_value": "0.0" - }, - { - "name": "cubic", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "sample_baked_with_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1939359131, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float", - "default_value": "0.0" - }, - { - "name": "cubic", - "type": "bool", - "default_value": "false" - }, - { - "name": "apply_tilt", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "sample_baked_up_vector", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1362627031, - "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_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "get_baked_tilts", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 675695659, - "return_value": { - "type": "PackedFloat32Array" - } - }, - { - "name": "get_baked_up_vectors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "get_closest_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 192990374, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "to_point", - "type": "Vector3" - } - ] - }, - { - "name": "get_closest_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1109078154, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "to_point", - "type": "Vector3" - } - ] - }, - { - "name": "tessellate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1519759391, - "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" - } - ] - }, - { - "name": "tessellate_even_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 133237049, - "return_value": { - "type": "PackedVector3Array" - }, - "arguments": [ - { - "name": "max_stages", - "type": "int", - "meta": "int32", - "default_value": "5" - }, - { - "name": "tolerance_length", - "type": "float", - "meta": "float", - "default_value": "0.2" - } - ] - } - ], - "properties": [ - { - "type": "float", - "name": "bake_interval", - "setter": "set_bake_interval", - "getter": "get_bake_interval" - }, - { - "type": "int", - "name": "point_count", - "setter": "set_point_count", - "getter": "get_point_count" - }, - { - "type": "bool", - "name": "up_vector_enabled", - "setter": "set_up_vector_enabled", - "getter": "is_up_vector_enabled" - } - ] - }, - { - "name": "CurveTexture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "enums": [ - { - "name": "TextureMode", - "is_bitfield": false, - "values": [ - { - "name": "TEXTURE_MODE_RGB", - "value": 0 - }, - { - "name": "TEXTURE_MODE_RED", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_texture_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321955367, - "arguments": [ - { - "name": "texture_mode", - "type": "enum::CurveTexture.TextureMode" - } - ] - }, - { - "name": "get_texture_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 715756376, - "return_value": { - "type": "enum::CurveTexture.TextureMode" - } - } - ], - "properties": [ - { - "type": "int", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "int", - "name": "texture_mode", - "setter": "set_texture_mode", - "getter": "get_texture_mode" - }, - { - "type": "Curve", - "name": "curve", - "setter": "set_curve", - "getter": "get_curve" - } - ] - }, - { - "name": "CurveXYZTexture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "methods": [ - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_curve_x", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_curve_x", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_curve_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_curve_y", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_curve_z", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_curve_z", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - } - ], - "properties": [ - { - "type": "int", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "Curve", - "name": "curve_x", - "setter": "set_curve_x", - "getter": "get_curve_x" - }, - { - "type": "Curve", - "name": "curve_y", - "setter": "set_curve_y", - "getter": "get_curve_y" - }, - { - "type": "Curve", - "name": "curve_z", - "setter": "set_curve_z", - "getter": "get_curve_z" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_top_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_bottom_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bottom_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radial_segments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "segments", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_radial_segments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_rings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "rings", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_rings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_cap_top", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "cap_top", - "type": "bool" - } - ] - }, - { - "name": "is_cap_top", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_cap_bottom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "cap_bottom", - "type": "bool" - } - ] - }, - { - "name": "is_cap_bottom", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "top_radius", - "setter": "set_top_radius", - "getter": "get_top_radius" - }, - { - "type": "float", - "name": "bottom_radius", - "setter": "set_bottom_radius", - "getter": "get_bottom_radius" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "int", - "name": "radial_segments", - "setter": "set_radial_segments", - "getter": "get_radial_segments" - }, - { - "type": "int", - "name": "rings", - "setter": "set_rings", - "getter": "get_rings" - }, - { - "type": "bool", - "name": "cap_top", - "setter": "set_cap_top", - "getter": "is_cap_top" - }, - { - "type": "bool", - "name": "cap_bottom", - "setter": "set_cap_bottom", - "getter": "is_cap_bottom" - } - ] - }, - { - "name": "CylinderShape3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape3D", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - } - ] - }, - { - "name": "DTLSServer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "setup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1262296096, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "server_options", - "type": "TLSOptions" - } - ] - }, - { - "name": "take_connection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3946580474, - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_rest_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "rest_length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_rest_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_stiffness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "stiffness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_stiffness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_damping", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "damping", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_damping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "length", - "setter": "set_length", - "getter": "get_length" - }, - { - "type": "float", - "name": "rest_length", - "setter": "set_rest_length", - "getter": "get_rest_length" - }, - { - "type": "float", - "name": "stiffness", - "setter": "set_stiffness", - "getter": "get_stiffness" - }, - { - "type": "float", - "name": "damping", - "setter": "set_damping", - "getter": "get_damping" - } - ] - }, - { - "name": "Decal", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VisualInstance3D", - "api_type": "core", - "enums": [ - { - "name": "DecalTexture", - "is_bitfield": false, - "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_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2086764391, - "arguments": [ - { - "name": "type", - "type": "enum::Decal.DecalTexture" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3244119503, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "type", - "type": "enum::Decal.DecalTexture" - } - ] - }, - { - "name": "set_emission_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_albedo_mix", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_albedo_mix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_upper_fade", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fade", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_upper_fade", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_lower_fade", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fade", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_lower_fade", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_normal_fade", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fade", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_normal_fade", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_enable_distance_fade", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_distance_fade_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_distance_fade_begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_distance_fade_begin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_distance_fade_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_distance_fade_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_cull_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "Texture2D", - "name": "texture_albedo", - "setter": "set_texture", - "getter": "get_texture", - "index": 0 - }, - { - "type": "Texture2D", - "name": "texture_normal", - "setter": "set_texture", - "getter": "get_texture", - "index": 1 - }, - { - "type": "Texture2D", - "name": "texture_orm", - "setter": "set_texture", - "getter": "get_texture", - "index": 2 - }, - { - "type": "Texture2D", - "name": "texture_emission", - "setter": "set_texture", - "getter": "get_texture", - "index": 3 - }, - { - "type": "float", - "name": "emission_energy", - "setter": "set_emission_energy", - "getter": "get_emission_energy" - }, - { - "type": "Color", - "name": "modulate", - "setter": "set_modulate", - "getter": "get_modulate" - }, - { - "type": "float", - "name": "albedo_mix", - "setter": "set_albedo_mix", - "getter": "get_albedo_mix" - }, - { - "type": "float", - "name": "normal_fade", - "setter": "set_normal_fade", - "getter": "get_normal_fade" - }, - { - "type": "float", - "name": "upper_fade", - "setter": "set_upper_fade", - "getter": "get_upper_fade" - }, - { - "type": "float", - "name": "lower_fade", - "setter": "set_lower_fade", - "getter": "get_lower_fade" - }, - { - "type": "bool", - "name": "distance_fade_enabled", - "setter": "set_enable_distance_fade", - "getter": "is_distance_fade_enabled" - }, - { - "type": "float", - "name": "distance_fade_begin", - "setter": "set_distance_fade_begin", - "getter": "get_distance_fade_begin" - }, - { - "type": "float", - "name": "distance_fade_length", - "setter": "set_distance_fade_length", - "getter": "get_distance_fade_length" - }, - { - "type": "int", - "name": "cull_mask", - "setter": "set_cull_mask", - "getter": "get_cull_mask" - } - ] - }, - { - "name": "DirAccess", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "open", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 1923528528, - "return_value": { - "type": "DirAccess" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_open_error", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "list_dir_begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2610976713, - "hash_compatibility": [ - 2018049411 - ], - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "get_next", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "current_is_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "list_dir_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_files", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_files_at", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3538744774, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_directories", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_directories_at", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3538744774, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_drive_count", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_drive_name", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 990163283, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_current_drive", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "change_dir", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "to_dir", - "type": "String" - } - ] - }, - { - "name": "get_current_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1287308131, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "include_drive", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "make_dir", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "make_dir_absolute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "make_dir_recursive", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "make_dir_recursive_absolute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "file_exists", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "dir_exists", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "dir_exists_absolute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_space_left", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "copy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1063198817, - "hash_compatibility": [ - 198434953 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "from", - "type": "String" - }, - { - "name": "to", - "type": "String" - }, - { - "name": "chmod_flags", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "copy_absolute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 1063198817, - "hash_compatibility": [ - 198434953 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "from", - "type": "String" - }, - { - "name": "to", - "type": "String" - }, - { - "name": "chmod_flags", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "rename", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 852856452, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "from", - "type": "String" - }, - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "rename_absolute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 852856452, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "from", - "type": "String" - }, - { - "name": "to", - "type": "String" - } - ] - }, - { - "name": "remove", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "remove_absolute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "set_include_navigational", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_include_navigational", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_include_hidden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_include_hidden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_case_sensitive", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "include_navigational", - "setter": "set_include_navigational", - "getter": "get_include_navigational" - }, - { - "type": "bool", - "name": "include_hidden", - "setter": "set_include_hidden", - "getter": "get_include_hidden" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pixels", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "float", - "name": "max_distance", - "setter": "set_max_distance", - "getter": "get_max_distance" - } - ] - }, - { - "name": "DirectionalLight3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Light3D", - "api_type": "core", - "enums": [ - { - "name": "ShadowMode", - "is_bitfield": false, - "values": [ - { - "name": "SHADOW_ORTHOGONAL", - "value": 0 - }, - { - "name": "SHADOW_PARALLEL_2_SPLITS", - "value": 1 - }, - { - "name": "SHADOW_PARALLEL_4_SPLITS", - "value": 2 - } - ] - }, - { - "name": "SkyMode", - "is_bitfield": false, - "values": [ - { - "name": "SKY_MODE_LIGHT_AND_SKY", - "value": 0 - }, - { - "name": "SKY_MODE_LIGHT_ONLY", - "value": 1 - }, - { - "name": "SKY_MODE_SKY_ONLY", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_shadow_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1261211726, - "arguments": [ - { - "name": "mode", - "type": "enum::DirectionalLight3D.ShadowMode" - } - ] - }, - { - "name": "get_shadow_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2765228544, - "return_value": { - "type": "enum::DirectionalLight3D.ShadowMode" - } - }, - { - "name": "set_blend_splits", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_blend_splits_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_sky_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2691194817, - "arguments": [ - { - "name": "mode", - "type": "enum::DirectionalLight3D.SkyMode" - } - ] - }, - { - "name": "get_sky_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3819982774, - "return_value": { - "type": "enum::DirectionalLight3D.SkyMode" - } - } - ], - "properties": [ - { - "type": "int", - "name": "directional_shadow_mode", - "setter": "set_shadow_mode", - "getter": "get_shadow_mode" - }, - { - "type": "float", - "name": "directional_shadow_split_1", - "setter": "set_param", - "getter": "get_param", - "index": 10 - }, - { - "type": "float", - "name": "directional_shadow_split_2", - "setter": "set_param", - "getter": "get_param", - "index": 11 - }, - { - "type": "float", - "name": "directional_shadow_split_3", - "setter": "set_param", - "getter": "get_param", - "index": 12 - }, - { - "type": "bool", - "name": "directional_shadow_blend_splits", - "setter": "set_blend_splits", - "getter": "is_blend_splits_enabled" - }, - { - "type": "float", - "name": "directional_shadow_fade_start", - "setter": "set_param", - "getter": "get_param", - "index": 13 - }, - { - "type": "float", - "name": "directional_shadow_max_distance", - "setter": "set_param", - "getter": "get_param", - "index": 9 - }, - { - "type": "float", - "name": "directional_shadow_pancake_size", - "setter": "set_param", - "getter": "get_param", - "index": 16 - }, - { - "type": "int", - "name": "sky_mode", - "setter": "set_sky_mode", - "getter": "get_sky_mode" - } - ] - }, - { - "name": "DisplayServer", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "constants": [ - { - "name": "SCREEN_WITH_MOUSE_FOCUS", - "value": -4 - }, - { - "name": "SCREEN_WITH_KEYBOARD_FOCUS", - "value": -3 - }, - { - "name": "SCREEN_PRIMARY", - "value": -2 - }, - { - "name": "SCREEN_OF_MAIN_WINDOW", - "value": -1 - }, - { - "name": "MAIN_WINDOW_ID", - "value": 0 - }, - { - "name": "INVALID_WINDOW_ID", - "value": -1 - } - ], - "enums": [ - { - "name": "Feature", - "is_bitfield": false, - "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_IME", - "value": 10 - }, - { - "name": "FEATURE_WINDOW_TRANSPARENCY", - "value": 11 - }, - { - "name": "FEATURE_HIDPI", - "value": 12 - }, - { - "name": "FEATURE_ICON", - "value": 13 - }, - { - "name": "FEATURE_NATIVE_ICON", - "value": 14 - }, - { - "name": "FEATURE_ORIENTATION", - "value": 15 - }, - { - "name": "FEATURE_SWAP_BUFFERS", - "value": 16 - }, - { - "name": "FEATURE_CLIPBOARD_PRIMARY", - "value": 18 - }, - { - "name": "FEATURE_TEXT_TO_SPEECH", - "value": 19 - }, - { - "name": "FEATURE_EXTEND_TO_TITLE", - "value": 20 - }, - { - "name": "FEATURE_SCREEN_CAPTURE", - "value": 21 - } - ] - }, - { - "name": "MouseMode", - "is_bitfield": false, - "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": "ScreenOrientation", - "is_bitfield": false, - "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": "VirtualKeyboardType", - "is_bitfield": false, - "values": [ - { - "name": "KEYBOARD_TYPE_DEFAULT", - "value": 0 - }, - { - "name": "KEYBOARD_TYPE_MULTILINE", - "value": 1 - }, - { - "name": "KEYBOARD_TYPE_NUMBER", - "value": 2 - }, - { - "name": "KEYBOARD_TYPE_NUMBER_DECIMAL", - "value": 3 - }, - { - "name": "KEYBOARD_TYPE_PHONE", - "value": 4 - }, - { - "name": "KEYBOARD_TYPE_EMAIL_ADDRESS", - "value": 5 - }, - { - "name": "KEYBOARD_TYPE_PASSWORD", - "value": 6 - }, - { - "name": "KEYBOARD_TYPE_URL", - "value": 7 - } - ] - }, - { - "name": "CursorShape", - "is_bitfield": false, - "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": "FileDialogMode", - "is_bitfield": false, - "values": [ - { - "name": "FILE_DIALOG_MODE_OPEN_FILE", - "value": 0 - }, - { - "name": "FILE_DIALOG_MODE_OPEN_FILES", - "value": 1 - }, - { - "name": "FILE_DIALOG_MODE_OPEN_DIR", - "value": 2 - }, - { - "name": "FILE_DIALOG_MODE_OPEN_ANY", - "value": 3 - }, - { - "name": "FILE_DIALOG_MODE_SAVE_FILE", - "value": 4 - } - ] - }, - { - "name": "WindowMode", - "is_bitfield": false, - "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": "WINDOW_MODE_EXCLUSIVE_FULLSCREEN", - "value": 4 - } - ] - }, - { - "name": "WindowFlags", - "is_bitfield": false, - "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_POPUP", - "value": 5 - }, - { - "name": "WINDOW_FLAG_EXTEND_TO_TITLE", - "value": 6 - }, - { - "name": "WINDOW_FLAG_MOUSE_PASSTHROUGH", - "value": 7 - }, - { - "name": "WINDOW_FLAG_MAX", - "value": 8 - } - ] - }, - { - "name": "WindowEvent", - "is_bitfield": false, - "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 - }, - { - "name": "WINDOW_EVENT_TITLEBAR_CHANGE", - "value": 7 - } - ] - }, - { - "name": "VSyncMode", - "is_bitfield": false, - "values": [ - { - "name": "VSYNC_DISABLED", - "value": 0 - }, - { - "name": "VSYNC_ENABLED", - "value": 1 - }, - { - "name": "VSYNC_ADAPTIVE", - "value": 2 - }, - { - "name": "VSYNC_MAILBOX", - "value": 3 - } - ] - }, - { - "name": "HandleType", - "is_bitfield": false, - "values": [ - { - "name": "DISPLAY_HANDLE", - "value": 0 - }, - { - "name": "WINDOW_HANDLE", - "value": 1 - }, - { - "name": "WINDOW_VIEW", - "value": 2 - }, - { - "name": "OPENGL_CONTEXT", - "value": 3 - } - ] - }, - { - "name": "TTSUtteranceEvent", - "is_bitfield": false, - "values": [ - { - "name": "TTS_UTTERANCE_STARTED", - "value": 0 - }, - { - "name": "TTS_UTTERANCE_ENDED", - "value": 1 - }, - { - "name": "TTS_UTTERANCE_CANCELED", - "value": 2 - }, - { - "name": "TTS_UTTERANCE_BOUNDARY", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "has_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 334065950, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "feature", - "type": "enum::DisplayServer.Feature" - } - ] - }, - { - "name": "get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "global_menu_set_popup_callbacks", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3893727526, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "open_callback", - "type": "Callable" - }, - { - "name": "close_callback", - "type": "Callable" - } - ] - }, - { - "name": "global_menu_add_submenu_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2828985934, - "hash_compatibility": [ - 3806306913 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "submenu", - "type": "String" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "global_menu_add_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3401266716, - "hash_compatibility": [ - 3415468211 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "key_callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "tag", - "type": "Variant", - "default_value": "null" - }, - { - "name": "accelerator", - "type": "enum::Key", - "default_value": "0" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "global_menu_add_check_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3401266716, - "hash_compatibility": [ - 3415468211 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "key_callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "tag", - "type": "Variant", - "default_value": "null" - }, - { - "name": "accelerator", - "type": "enum::Key", - "default_value": "0" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "global_menu_add_icon_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4245856523, - "hash_compatibility": [ - 1700867534 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "icon", - "type": "Texture2D" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "key_callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "tag", - "type": "Variant", - "default_value": "null" - }, - { - "name": "accelerator", - "type": "enum::Key", - "default_value": "0" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "global_menu_add_icon_check_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4245856523, - "hash_compatibility": [ - 1700867534 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "icon", - "type": "Texture2D" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "key_callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "tag", - "type": "Variant", - "default_value": "null" - }, - { - "name": "accelerator", - "type": "enum::Key", - "default_value": "0" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "global_menu_add_radio_check_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3401266716, - "hash_compatibility": [ - 3415468211 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "key_callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "tag", - "type": "Variant", - "default_value": "null" - }, - { - "name": "accelerator", - "type": "enum::Key", - "default_value": "0" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "global_menu_add_icon_radio_check_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4245856523, - "hash_compatibility": [ - 1700867534 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "icon", - "type": "Texture2D" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "key_callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "tag", - "type": "Variant", - "default_value": "null" - }, - { - "name": "accelerator", - "type": "enum::Key", - "default_value": "0" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "global_menu_add_multistate_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3431222859, - "hash_compatibility": [ - 635750054 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "max_states", - "type": "int", - "meta": "int32" - }, - { - "name": "default_state", - "type": "int", - "meta": "int32" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "key_callback", - "type": "Callable", - "default_value": "Callable()" - }, - { - "name": "tag", - "type": "Variant", - "default_value": "null" - }, - { - "name": "accelerator", - "type": "enum::Key", - "default_value": "0" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "global_menu_add_separator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3214812433, - "hash_compatibility": [ - 1041533178 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "global_menu_get_item_index_from_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878152881, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "global_menu_get_item_index_from_tag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2941063483, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "tag", - "type": "Variant" - } - ] - }, - { - "name": "global_menu_is_item_checked", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3511468594, - "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_static": false, - "is_virtual": false, - "hash": 3511468594, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_is_item_radio_checkable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3511468594, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_callback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 748666903, - "return_value": { - "type": "Callable" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_key_callback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 748666903, - "return_value": { - "type": "Callable" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_tag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 330672633, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 591067909, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_submenu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 591067909, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_accelerator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 936065394, - "return_value": { - "type": "enum::Key" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_is_item_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3511468594, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_is_item_hidden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3511468594, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_tooltip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 591067909, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3422818498, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_max_states", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3422818498, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3591713183, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_indentation_level", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3422818498, - "return_value": { - "type": "int", - "meta": "int32" - }, - "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_static": false, - "is_virtual": false, - "hash": 4108344793, - "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_static": false, - "is_virtual": false, - "hash": 4108344793, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "checkable", - "type": "bool" - } - ] - }, - { - "name": "global_menu_set_item_radio_checkable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4108344793, - "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_static": false, - "is_virtual": false, - "hash": 3809915389, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "global_menu_set_item_hover_callbacks", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3809915389, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "global_menu_set_item_key_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3809915389, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "key_callback", - "type": "Callable" - } - ] - }, - { - "name": "global_menu_set_item_tag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 453659863, - "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_static": false, - "is_virtual": false, - "hash": 965966136, - "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_static": false, - "is_virtual": false, - "hash": 965966136, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "submenu", - "type": "String" - } - ] - }, - { - "name": "global_menu_set_item_accelerator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 566943293, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "keycode", - "type": "enum::Key" - } - ] - }, - { - "name": "global_menu_set_item_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4108344793, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "global_menu_set_item_hidden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4108344793, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "global_menu_set_item_tooltip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 965966136, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tooltip", - "type": "String" - } - ] - }, - { - "name": "global_menu_set_item_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3474840532, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "state", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_set_item_max_states", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3474840532, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "max_states", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_set_item_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201338066, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "icon", - "type": "Texture2D" - } - ] - }, - { - "name": "global_menu_set_item_indentation_level", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3474840532, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "level", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_get_item_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "menu_root", - "type": "String" - } - ] - }, - { - "name": "global_menu_remove_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "arguments": [ - { - "name": "menu_root", - "type": "String" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_menu_clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "menu_root", - "type": "String" - } - ] - }, - { - "name": "tts_is_speaking", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "tts_is_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "tts_get_voices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "tts_get_voices_for_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291131558, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "tts_speak", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 903992738, - "hash_compatibility": [ - 3741216677 - ], - "arguments": [ - { - "name": "text", - "type": "String" - }, - { - "name": "voice", - "type": "String" - }, - { - "name": "volume", - "type": "int", - "meta": "int32", - "default_value": "50" - }, - { - "name": "pitch", - "type": "float", - "meta": "float", - "default_value": "1.0" - }, - { - "name": "rate", - "type": "float", - "meta": "float", - "default_value": "1.0" - }, - { - "name": "utterance_id", - "type": "int", - "meta": "int32", - "default_value": "0" - }, - { - "name": "interrupt", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "tts_pause", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "tts_resume", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "tts_stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "tts_set_utterance_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 109679083, - "arguments": [ - { - "name": "event", - "type": "enum::DisplayServer.TTSUtteranceEvent" - }, - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "is_dark_mode_supported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_dark_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_accent_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "mouse_set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 348288463, - "arguments": [ - { - "name": "mouse_mode", - "type": "enum::DisplayServer.MouseMode" - } - ] - }, - { - "name": "mouse_get_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1353961651, - "return_value": { - "type": "enum::DisplayServer.MouseMode" - } - }, - { - "name": "warp_mouse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "position", - "type": "Vector2i" - } - ] - }, - { - "name": "mouse_get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "mouse_get_button_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2512161324, - "return_value": { - "type": "bitfield::MouseButtonMask" - } - }, - { - "name": "clipboard_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "clipboard", - "type": "String" - } - ] - }, - { - "name": "clipboard_get", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "clipboard_get_image", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4190603485, - "return_value": { - "type": "Image" - } - }, - { - "name": "clipboard_has", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "clipboard_has_image", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "clipboard_set_primary", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "clipboard_primary", - "type": "String" - } - ] - }, - { - "name": "clipboard_get_primary", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_display_cutouts", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Rect2" - } - }, - { - "name": "get_display_safe_area", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 410525958, - "return_value": { - "type": "Rect2i" - } - }, - { - "name": "get_screen_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_primary_screen", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_keyboard_focus_screen", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_screen_from_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 741354659, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "screen_get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1725937825, - "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_static": false, - "is_virtual": false, - "hash": 1725937825, - "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_static": false, - "is_virtual": false, - "hash": 2439012528, - "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_static": false, - "is_virtual": false, - "hash": 181039630, - "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_static": false, - "is_virtual": false, - "hash": 909105437, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "screen", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "is_touchscreen_available", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3323674545, - "hash_compatibility": [ - 4162880507 - ], - "return_value": { - "type": "bool" - } - }, - { - "name": "screen_get_max_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "screen_get_refresh_rate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 909105437, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "screen", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "screen_get_pixel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1532707496, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2i" - } - ] - }, - { - "name": "screen_get_image", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3813388802, - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "screen", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "screen_set_orientation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2211511631, - "hash_compatibility": [ - 2629526904 - ], - "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_static": false, - "is_virtual": false, - "hash": 133818562, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "screen_is_kept_on", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_window_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "get_window_at_screen_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2485466453, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2i" - } - ] - }, - { - "name": "window_get_native_handle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1096425680, - "hash_compatibility": [ - 2709193271 - ], - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "handle_type", - "type": "enum::DisplayServer.HandleType" - }, - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_get_active_popup", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "window_set_popup_safe_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3317281434, - "arguments": [ - { - "name": "window", - "type": "int", - "meta": "int32" - }, - { - "name": "rect", - "type": "Rect2i" - } - ] - }, - { - "name": "window_get_popup_safe_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2161169500, - "return_value": { - "type": "Rect2i" - }, - "arguments": [ - { - "name": "window", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "window_set_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 441246282, - "hash_compatibility": [ - 3043792800 - ], - "arguments": [ - { - "name": "title", - "type": "String" - }, - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_get_title_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2925301799, - "return_value": { - "type": "Vector2i" - }, - "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_static": false, - "is_virtual": false, - "hash": 1993637420, - "hash_compatibility": [ - 3958815166 - ], - "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_static": false, - "is_virtual": false, - "hash": 1591665591, - "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_static": false, - "is_virtual": false, - "hash": 2230941749, - "hash_compatibility": [ - 3023605688 - ], - "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_static": false, - "is_virtual": false, - "hash": 763922886, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_get_position_with_decorations", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 763922886, - "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_static": false, - "is_virtual": false, - "hash": 2019273902, - "hash_compatibility": [ - 3614040015 - ], - "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_static": false, - "is_virtual": false, - "hash": 763922886, - "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_static": false, - "is_virtual": false, - "hash": 2019273902, - "hash_compatibility": [ - 3614040015 - ], - "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_static": false, - "is_virtual": false, - "hash": 1091192925, - "hash_compatibility": [ - 3653650673 - ], - "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_static": false, - "is_virtual": false, - "hash": 1091192925, - "hash_compatibility": [ - 3653650673 - ], - "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_static": false, - "is_virtual": false, - "hash": 1091192925, - "hash_compatibility": [ - 3653650673 - ], - "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_static": false, - "is_virtual": false, - "hash": 1091192925, - "hash_compatibility": [ - 3653650673 - ], - "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_static": false, - "is_virtual": false, - "hash": 1091192925, - "hash_compatibility": [ - 3653650673 - ], - "arguments": [ - { - "name": "callback", - "type": "Callable" - }, - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_get_attached_instance_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "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_static": false, - "is_virtual": false, - "hash": 763922886, - "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_static": false, - "is_virtual": false, - "hash": 2019273902, - "hash_compatibility": [ - 3614040015 - ], - "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_static": false, - "is_virtual": false, - "hash": 763922886, - "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_static": false, - "is_virtual": false, - "hash": 2019273902, - "hash_compatibility": [ - 3614040015 - ], - "arguments": [ - { - "name": "min_size", - "type": "Vector2i" - }, - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_get_size_with_decorations", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 763922886, - "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_static": false, - "is_virtual": false, - "hash": 2185728461, - "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_static": false, - "is_virtual": false, - "hash": 1319965401, - "hash_compatibility": [ - 2942569511 - ], - "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_static": false, - "is_virtual": false, - "hash": 254894155, - "hash_compatibility": [ - 3971592565 - ], - "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_static": false, - "is_virtual": false, - "hash": 802816991, - "hash_compatibility": [ - 2662949986 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "flag", - "type": "enum::DisplayServer.WindowFlags" - }, - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_set_window_buttons_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2019273902, - "hash_compatibility": [ - 3614040015 - ], - "arguments": [ - { - "name": "offset", - "type": "Vector2i" - }, - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_get_safe_title_margins", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2295066620, - "return_value": { - "type": "Vector3i" - }, - "arguments": [ - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_request_attention", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_move_to_foreground", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_is_focused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1051549951, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_can_draw", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1051549951, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "window_id", - "type": "int", - "meta": "int32" - }, - { - "name": "parent_window_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "window_set_exclusive", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "window_id", - "type": "int", - "meta": "int32" - }, - { - "name": "exclusive", - "type": "bool" - } - ] - }, - { - "name": "window_set_ime_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1661950165, - "hash_compatibility": [ - 450484987 - ], - "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_static": false, - "is_virtual": false, - "hash": 2019273902, - "hash_compatibility": [ - 3614040015 - ], - "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_static": false, - "is_virtual": false, - "hash": 2179333492, - "hash_compatibility": [ - 1708924624 - ], - "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_static": false, - "is_virtual": false, - "hash": 578873795, - "return_value": { - "type": "enum::DisplayServer.VSyncMode" - }, - "arguments": [ - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_is_maximize_allowed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1051549951, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "window_id", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "window_maximize_on_title_dbl_click", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "window_minimize_on_title_dbl_click", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "ime_get_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "ime_get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "virtual_keyboard_show", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3042891259, - "hash_compatibility": [ - 860410478 - ], - "arguments": [ - { - "name": "existing_text", - "type": "String" - }, - { - "name": "position", - "type": "Rect2", - "default_value": "Rect2(0, 0, 0, 0)" - }, - { - "name": "type", - "type": "enum::DisplayServer.VirtualKeyboardType", - "default_value": "0" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "virtual_keyboard_get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "cursor_set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2026291549, - "arguments": [ - { - "name": "shape", - "type": "enum::DisplayServer.CursorShape" - } - ] - }, - { - "name": "cursor_get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1087724927, - "return_value": { - "type": "enum::DisplayServer.CursorShape" - } - }, - { - "name": "cursor_set_custom_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1816663697, - "hash_compatibility": [ - 1358907026 - ], - "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_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "enable_for_stealing_focus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "process_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "dialog_show", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4115553226, - "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_static": false, - "is_virtual": false, - "hash": 3088703427, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "title", - "type": "String" - }, - { - "name": "description", - "type": "String" - }, - { - "name": "existing_text", - "type": "String" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "file_dialog_show", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1531299078, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "title", - "type": "String" - }, - { - "name": "current_directory", - "type": "String" - }, - { - "name": "filename", - "type": "String" - }, - { - "name": "show_hidden", - "type": "bool" - }, - { - "name": "mode", - "type": "enum::DisplayServer.FileDialogMode" - }, - { - "name": "filters", - "type": "PackedStringArray" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "keyboard_get_layout_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "keyboard_get_current_layout", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "keyboard_set_current_layout", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "keyboard_get_layout_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "keyboard_get_layout_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "keyboard_get_keycode_from_physical", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3447613187, - "return_value": { - "type": "enum::Key" - }, - "arguments": [ - { - "name": "keycode", - "type": "enum::Key" - } - ] - }, - { - "name": "keyboard_get_label_from_physical", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3447613187, - "return_value": { - "type": "enum::Key" - }, - "arguments": [ - { - "name": "keycode", - "type": "enum::Key" - } - ] - }, - { - "name": "process_events", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "force_process_and_drop_events", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_native_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "filename", - "type": "String" - } - ] - }, - { - "name": "set_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 532598488, - "arguments": [ - { - "name": "image", - "type": "Image" - } - ] - }, - { - "name": "tablet_get_driver_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "tablet_get_driver_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "tablet_get_current_driver", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "tablet_set_current_driver", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - } - ] - }, - { - "name": "ENetConnection", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "CompressionMode", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "EventType", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "create_host_bound", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1515002313, - "hash_compatibility": [ - 866250949 - ], - "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_static": false, - "is_virtual": false, - "hash": 117198950, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "connect_to_host", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2171300490, - "hash_compatibility": [ - 385984708 - ], - "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_static": false, - "is_virtual": false, - "hash": 2402345344, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "timeout", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "flush", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "bandwidth_limit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2302169788, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "limit", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "broadcast", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2772371345, - "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_static": false, - "is_virtual": false, - "hash": 2660215187, - "arguments": [ - { - "name": "mode", - "type": "enum::ENetConnection.CompressionMode" - } - ] - }, - { - "name": "dtls_server_setup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1262296096, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "server_options", - "type": "TLSOptions" - } - ] - }, - { - "name": "dtls_client_setup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1966198364, - "hash_compatibility": [ - 3097527179 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "hostname", - "type": "String" - }, - { - "name": "client_options", - "type": "TLSOptions", - "default_value": "null" - } - ] - }, - { - "name": "refuse_new_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "refuse", - "type": "bool" - } - ] - }, - { - "name": "pop_statistic", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2166904170, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "statistic", - "type": "enum::ENetConnection.HostStatistic" - } - ] - }, - { - "name": "get_max_channels", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_local_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_peers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::ENetPacketPeer" - } - }, - { - "name": "socket_send", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1100646812, - "arguments": [ - { - "name": "destination_address", - "type": "String" - }, - { - "name": "destination_port", - "type": "int", - "meta": "int32" - }, - { - "name": "packet", - "type": "PackedByteArray" - } - ] - } - ] - }, - { - "name": "ENetMultiplayerPeer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "MultiplayerPeer", - "api_type": "core", - "methods": [ - { - "name": "create_server", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2917761309, - "hash_compatibility": [ - 1616151701 - ], - "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_static": false, - "is_virtual": false, - "hash": 2327163476, - "hash_compatibility": [ - 920217784 - ], - "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_static": false, - "is_virtual": false, - "hash": 844576869, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "unique_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_mesh_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1293458335, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "peer_id", - "type": "int", - "meta": "int32" - }, - { - "name": "host", - "type": "ENetConnection" - } - ] - }, - { - "name": "set_bind_ip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "ip", - "type": "String" - } - ] - }, - { - "name": "get_host", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4103238886, - "return_value": { - "type": "ENetConnection" - } - }, - { - "name": "get_peer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3793311544, - "return_value": { - "type": "ENetPacketPeer" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "ENetConnection", - "name": "host", - "getter": "get_host" - } - ] - }, - { - "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": "PeerState", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "PeerStatistic", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "peer_disconnect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "data", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "peer_disconnect_later", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "data", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "peer_disconnect_now", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "data", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "ping", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "ping_interval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "ping_interval", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "reset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "send", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 120522849, - "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_static": false, - "is_virtual": false, - "hash": 1649997291, - "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_static": false, - "is_virtual": false, - "hash": 1649997291, - "arguments": [ - { - "name": "timeout", - "type": "int", - "meta": "int32" - }, - { - "name": "timeout_min", - "type": "int", - "meta": "int32" - }, - { - "name": "timeout_max", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_remote_address", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_remote_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_statistic", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1642578323, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "statistic", - "type": "enum::ENetPacketPeer.PeerStatistic" - } - ] - }, - { - "name": "get_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711068532, - "return_value": { - "type": "enum::ENetPacketPeer.PeerState" - } - }, - { - "name": "get_channels", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ] - }, - { - "name": "EditorCommandPalette", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "ConfirmationDialog", - "api_type": "editor", - "methods": [ - { - "name": "add_command", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 864043298, - "hash_compatibility": [ - 3664614892 - ], - "arguments": [ - { - "name": "command_name", - "type": "String" - }, - { - "name": "key_name", - "type": "String" - }, - { - "name": "binded_callable", - "type": "Callable" - }, - { - "name": "shortcut_text", - "type": "String", - "default_value": "\"None\"" - } - ] - }, - { - "name": "remove_command", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "key_name", - "type": "String" - } - ] - } - ] - }, - { - "name": "EditorDebuggerPlugin", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_setup_session", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "session_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_has_capture", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "capture", - "type": "String" - } - ] - }, - { - "name": "_capture", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "message", - "type": "String" - }, - { - "name": "data", - "type": "Array" - }, - { - "name": "session_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_session", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3061968499, - "return_value": { - "type": "EditorDebuggerSession" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sessions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "Array" - } - } - ] - }, - { - "name": "EditorDebuggerSession", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "send_message", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 85656714, - "hash_compatibility": [ - 3780025912 - ], - "arguments": [ - { - "name": "message", - "type": "String" - }, - { - "name": "data", - "type": "Array", - "default_value": "[]" - } - ] - }, - { - "name": "toggle_profiler", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1198443697, - "hash_compatibility": [ - 35674246 - ], - "arguments": [ - { - "name": "profiler", - "type": "String" - }, - { - "name": "enable", - "type": "bool" - }, - { - "name": "data", - "type": "Array", - "default_value": "[]" - } - ] - }, - { - "name": "is_breaked", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_debuggable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_session_tab", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "remove_session_tab", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "control", - "type": "Control" - } - ] - } - ], - "signals": [ - { - "name": "started" - }, - { - "name": "stopped" - }, - { - "name": "breaked", - "arguments": [ - { - "name": "can_debug", - "type": "bool" - } - ] - }, - { - "name": "continued" - } - ] - }, - { - "name": "EditorExportPlatform", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "get_os_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ] - }, - { - "name": "EditorExportPlatformAndroid", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "EditorExportPlatform", - "api_type": "editor" - }, - { - "name": "EditorExportPlatformIOS", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "EditorExportPlatform", - "api_type": "editor" - }, - { - "name": "EditorExportPlatformLinuxBSD", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "EditorExportPlatformPC", - "api_type": "editor" - }, - { - "name": "EditorExportPlatformMacOS", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "EditorExportPlatform", - "api_type": "editor" - }, - { - "name": "EditorExportPlatformPC", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "EditorExportPlatform", - "api_type": "editor" - }, - { - "name": "EditorExportPlatformWeb", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "EditorExportPlatform", - "api_type": "editor" - }, - { - "name": "EditorExportPlatformWindows", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "EditorExportPlatformPC", - "api_type": "editor" - }, - { - "name": "EditorExportPlugin", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_export_file", - "is_const": false, - "is_static": 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_static": 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", - "meta": "uint32" - } - ] - }, - { - "name": "_export_end", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_begin_customize_resources", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "features", - "type": "PackedStringArray" - } - ] - }, - { - "name": "_customize_resource", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Resource" - }, - "arguments": [ - { - "name": "resource", - "type": "Resource" - }, - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_begin_customize_scenes", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "features", - "type": "PackedStringArray" - } - ] - }, - { - "name": "_customize_scene", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "scene", - "type": "Node" - }, - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_get_customization_configuration_hash", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "_end_customize_scenes", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_end_customize_resources", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_export_options", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - } - ] - }, - { - "name": "_should_update_export_options", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - } - ] - }, - { - "name": "_get_export_option_warning", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "option", - "type": "String" - } - ] - }, - { - "name": "_get_export_features", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "debug", - "type": "bool" - } - ] - }, - { - "name": "_get_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_supports_platform", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - } - ] - }, - { - "name": "_get_android_dependencies", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "debug", - "type": "bool" - } - ] - }, - { - "name": "_get_android_dependencies_maven_repos", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "debug", - "type": "bool" - } - ] - }, - { - "name": "_get_android_libraries", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "debug", - "type": "bool" - } - ] - }, - { - "name": "_get_android_manifest_activity_element_contents", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "debug", - "type": "bool" - } - ] - }, - { - "name": "_get_android_manifest_application_element_contents", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "debug", - "type": "bool" - } - ] - }, - { - "name": "_get_android_manifest_element_contents", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "platform", - "type": "EditorExportPlatform" - }, - { - "name": "debug", - "type": "bool" - } - ] - }, - { - "name": "add_shared_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3098291045, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "tags", - "type": "PackedStringArray" - }, - { - "name": "target", - "type": "String" - } - ] - }, - { - "name": "add_ios_project_static_lib", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "add_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 527928637, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "file", - "type": "PackedByteArray" - }, - { - "name": "remap", - "type": "bool" - } - ] - }, - { - "name": "add_ios_framework", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "add_ios_embedded_framework", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "add_ios_plist_content", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "plist_content", - "type": "String" - } - ] - }, - { - "name": "add_ios_linker_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "flags", - "type": "String" - } - ] - }, - { - "name": "add_ios_bundle_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "add_ios_cpp_code", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "code", - "type": "String" - } - ] - }, - { - "name": "add_macos_plugin_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "skip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_option", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - } - ] - }, - { - "name": "EditorFeatureProfile", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "enums": [ - { - "name": "Feature", - "is_bitfield": false, - "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_HISTORY_DOCK", - "value": 7 - }, - { - "name": "FEATURE_MAX", - "value": 8 - } - ] - } - ], - "methods": [ - { - "name": "set_disable_class", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2524380260, - "arguments": [ - { - "name": "class_name", - "type": "StringName" - }, - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "is_class_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "class_name", - "type": "StringName" - } - ] - }, - { - "name": "set_disable_class_editor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2524380260, - "arguments": [ - { - "name": "class_name", - "type": "StringName" - }, - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "is_class_editor_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "class_name", - "type": "StringName" - } - ] - }, - { - "name": "set_disable_class_property", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 865197084, - "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_static": false, - "is_virtual": false, - "hash": 471820014, - "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_static": false, - "is_virtual": false, - "hash": 1884871044, - "arguments": [ - { - "name": "feature", - "type": "enum::EditorFeatureProfile.Feature" - }, - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "is_feature_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2974403161, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "feature", - "type": "enum::EditorFeatureProfile.Feature" - } - ] - }, - { - "name": "get_feature_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3401335809, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "feature", - "type": "enum::EditorFeatureProfile.Feature" - } - ] - }, - { - "name": "save_to_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "load_from_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ] - }, - { - "name": "EditorFileDialog", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "ConfirmationDialog", - "api_type": "editor", - "enums": [ - { - "name": "FileMode", - "is_bitfield": false, - "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", - "is_bitfield": false, - "values": [ - { - "name": "ACCESS_RESOURCES", - "value": 0 - }, - { - "name": "ACCESS_USERDATA", - "value": 1 - }, - { - "name": "ACCESS_FILESYSTEM", - "value": 2 - } - ] - }, - { - "name": "DisplayMode", - "is_bitfield": false, - "values": [ - { - "name": "DISPLAY_THUMBNAILS", - "value": 0 - }, - { - "name": "DISPLAY_LIST", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "clear_filters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3388804757, - "hash_compatibility": [ - 233059325 - ], - "arguments": [ - { - "name": "filter", - "type": "String" - }, - { - "name": "description", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "set_filters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "filters", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_filters", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_current_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_current_file", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_current_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_current_dir", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "dir", - "type": "String" - } - ] - }, - { - "name": "set_current_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "set_current_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "set_file_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 274150415, - "arguments": [ - { - "name": "mode", - "type": "enum::EditorFileDialog.FileMode" - } - ] - }, - { - "name": "get_file_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2681044145, - "return_value": { - "type": "enum::EditorFileDialog.FileMode" - } - }, - { - "name": "get_vbox", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 915758477, - "return_value": { - "type": "VBoxContainer" - } - }, - { - "name": "get_line_edit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4071694264, - "return_value": { - "type": "LineEdit" - } - }, - { - "name": "set_access", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3882893764, - "arguments": [ - { - "name": "access", - "type": "enum::EditorFileDialog.Access" - } - ] - }, - { - "name": "get_access", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 778734016, - "return_value": { - "type": "enum::EditorFileDialog.Access" - } - }, - { - "name": "set_show_hidden_files", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "show", - "type": "bool" - } - ] - }, - { - "name": "is_showing_hidden_files", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_display_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3049004050, - "arguments": [ - { - "name": "mode", - "type": "enum::EditorFileDialog.DisplayMode" - } - ] - }, - { - "name": "get_display_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3517174669, - "return_value": { - "type": "enum::EditorFileDialog.DisplayMode" - } - }, - { - "name": "set_disable_overwrite_warning", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "is_overwrite_warning_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_side_menu", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 402368861, - "arguments": [ - { - "name": "menu", - "type": "Control" - }, - { - "name": "title", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "invalidate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "signals": [ - { - "name": "file_selected", - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "files_selected", - "arguments": [ - { - "name": "paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "dir_selected", - "arguments": [ - { - "name": "dir", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "access", - "setter": "set_access", - "getter": "get_access" - }, - { - "type": "int", - "name": "display_mode", - "setter": "set_display_mode", - "getter": "get_display_mode" - }, - { - "type": "int", - "name": "file_mode", - "setter": "set_file_mode", - "getter": "get_file_mode" - }, - { - "type": "String", - "name": "current_dir", - "setter": "set_current_dir", - "getter": "get_current_dir" - }, - { - "type": "String", - "name": "current_file", - "setter": "set_current_file", - "getter": "get_current_file" - }, - { - "type": "String", - "name": "current_path", - "setter": "set_current_path", - "getter": "get_current_path" - }, - { - "type": "PackedStringArray", - "name": "filters", - "setter": "set_filters", - "getter": "get_filters" - }, - { - "type": "bool", - "name": "show_hidden_files", - "setter": "set_show_hidden_files", - "getter": "is_showing_hidden_files" - }, - { - "type": "bool", - "name": "disable_overwrite_warning", - "setter": "set_disable_overwrite_warning", - "getter": "is_overwrite_warning_disabled" - } - ] - }, - { - "name": "EditorFileSystem", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Node", - "api_type": "editor", - "methods": [ - { - "name": "get_filesystem", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 842323275, - "return_value": { - "type": "EditorFileSystemDirectory" - } - }, - { - "name": "is_scanning", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_scanning_progress", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "scan", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "scan_sources", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "update_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_filesystem_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3188521125, - "return_value": { - "type": "EditorFileSystemDirectory" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_file_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "reimport_files", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "files", - "type": "PackedStringArray" - } - ] - } - ], - "signals": [ - { - "name": "filesystem_changed" - }, - { - "name": "script_classes_updated" - }, - { - "name": "sources_changed", - "arguments": [ - { - "name": "exist", - "type": "bool" - } - ] - }, - { - "name": "resources_reimported", - "arguments": [ - { - "name": "resources", - "type": "PackedStringArray" - } - ] - }, - { - "name": "resources_reload", - "arguments": [ - { - "name": "resources", - "type": "PackedStringArray" - } - ] - } - ] - }, - { - "name": "EditorFileSystemDirectory", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "editor", - "methods": [ - { - "name": "get_subdir_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_subdir", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2330964164, - "return_value": { - "type": "EditorFileSystemDirectory" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_file_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_file", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_file_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_file_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_file_script_class_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_file_script_class_extends", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_file_import_is_valid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "get_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 842323275, - "return_value": { - "type": "EditorFileSystemDirectory" - } - }, - { - "name": "find_file_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "find_dir_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - } - ] - }, - { - "name": "EditorFileSystemImportFormatSupportQuery", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_is_active", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_file_extensions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_query", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - } - ] - }, - { - "name": "EditorImportPlugin", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor", - "methods": [ - { - "name": "_get_importer_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_visible_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_preset_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_preset_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "preset_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_recognized_extensions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_get_import_options", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "preset_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_save_extension", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_resource_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_priority", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_get_import_order", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_option_visibility", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "option_name", - "type": "StringName" - }, - { - "name": "options", - "type": "Dictionary" - } - ] - }, - { - "name": "_import", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "source_file", - "type": "String" - }, - { - "name": "save_path", - "type": "String" - }, - { - "name": "options", - "type": "Dictionary" - }, - { - "name": "platform_variants", - "type": "typedarray::String" - }, - { - "name": "gen_files", - "type": "typedarray::String" - } - ] - }, - { - "name": "append_import_external_resource", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 320493106, - "hash_compatibility": [ - 3645925746 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "custom_options", - "type": "Dictionary", - "default_value": "{}" - }, - { - "name": "custom_importer", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "generator_parameters", - "type": "Variant", - "default_value": "null" - } - ] - } - ] - }, - { - "name": "EditorInspector", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "ScrollContainer", - "api_type": "editor", - "methods": [ - { - "name": "get_selected_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_edited_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2050059866, - "return_value": { - "type": "Object" - } - } - ], - "signals": [ - { - "name": "property_selected", - "arguments": [ - { - "name": "property", - "type": "String" - } - ] - }, - { - "name": "property_keyed", - "arguments": [ - { - "name": "property", - "type": "String" - }, - { - "name": "value", - "type": "Variant" - }, - { - "name": "advance", - "type": "bool" - } - ] - }, - { - "name": "property_deleted", - "arguments": [ - { - "name": "property", - "type": "String" - } - ] - }, - { - "name": "resource_selected", - "arguments": [ - { - "name": "resource", - "type": "Resource" - }, - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "object_id_selected", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "property_edited", - "arguments": [ - { - "name": "property", - "type": "String" - } - ] - }, - { - "name": "property_toggled", - "arguments": [ - { - "name": "property", - "type": "String" - }, - { - "name": "checked", - "type": "bool" - } - ] - }, - { - "name": "edited_object_changed" - }, - { - "name": "restart_requested" - } - ] - }, - { - "name": "EditorInspectorPlugin", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_can_handle", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "_parse_begin", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "_parse_category", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "category", - "type": "String" - } - ] - }, - { - "name": "_parse_group", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "group", - "type": "String" - } - ] - }, - { - "name": "_parse_property", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "type", - "type": "enum::Variant.Type" - }, - { - "name": "name", - "type": "String" - }, - { - "name": "hint_type", - "type": "enum::PropertyHint" - }, - { - "name": "hint_string", - "type": "String" - }, - { - "name": "usage_flags", - "type": "bitfield::PropertyUsageFlags" - }, - { - "name": "wide", - "type": "bool" - } - ] - }, - { - "name": "_parse_end", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "add_custom_control", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "add_property_editor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3406284123, - "arguments": [ - { - "name": "property", - "type": "String" - }, - { - "name": "editor", - "type": "Control" - }, - { - "name": "add_to_end", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "add_property_editor_for_multiple_properties", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 788598683, - "arguments": [ - { - "name": "label", - "type": "String" - }, - { - "name": "properties", - "type": "PackedStringArray" - }, - { - "name": "editor", - "type": "Control" - } - ] - } - ] - }, - { - "name": "EditorInterface", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "editor", - "methods": [ - { - "name": "restart_editor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3216645846, - "arguments": [ - { - "name": "save", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_command_palette", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2471163807, - "return_value": { - "type": "EditorCommandPalette" - } - }, - { - "name": "get_resource_filesystem", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 780151678, - "return_value": { - "type": "EditorFileSystem" - } - }, - { - "name": "get_editor_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1595760068, - "return_value": { - "type": "EditorPaths" - } - }, - { - "name": "get_resource_previewer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 943486957, - "return_value": { - "type": "EditorResourcePreview" - } - }, - { - "name": "get_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2690272531, - "return_value": { - "type": "EditorSelection" - } - }, - { - "name": "get_editor_settings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4086932459, - "return_value": { - "type": "EditorSettings" - } - }, - { - "name": "make_mesh_previews", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 878078554, - "return_value": { - "type": "typedarray::Texture2D" - }, - "arguments": [ - { - "name": "meshes", - "type": "typedarray::Mesh" - }, - { - "name": "preview_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_plugin_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2678287736, - "arguments": [ - { - "name": "plugin", - "type": "String" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_plugin_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "plugin", - "type": "String" - } - ] - }, - { - "name": "get_editor_theme", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3846893731, - "return_value": { - "type": "Theme" - } - }, - { - "name": "get_base_control", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2783021301, - "return_value": { - "type": "Control" - } - }, - { - "name": "get_editor_main_screen", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1706218421, - "return_value": { - "type": "VBoxContainer" - } - }, - { - "name": "get_script_editor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 90868003, - "return_value": { - "type": "ScriptEditor" - } - }, - { - "name": "get_editor_viewport_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3750751911, - "return_value": { - "type": "SubViewport" - } - }, - { - "name": "get_editor_viewport_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1970834490, - "return_value": { - "type": "SubViewport" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "set_main_screen_editor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_distraction_free_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enter", - "type": "bool" - } - ] - }, - { - "name": "is_distraction_free_mode_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_editor_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "popup_dialog", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2015770942, - "hash_compatibility": [ - 2478844058 - ], - "arguments": [ - { - "name": "dialog", - "type": "Window" - }, - { - "name": "rect", - "type": "Rect2i", - "default_value": "Rect2i(0, 0, 0, 0)" - } - ] - }, - { - "name": "popup_dialog_centered", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 346557367, - "hash_compatibility": [ - 1723337679 - ], - "arguments": [ - { - "name": "dialog", - "type": "Window" - }, - { - "name": "minsize", - "type": "Vector2i", - "default_value": "Vector2i(0, 0)" - } - ] - }, - { - "name": "popup_dialog_centered_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2093669136, - "hash_compatibility": [ - 1310934579 - ], - "arguments": [ - { - "name": "dialog", - "type": "Window" - }, - { - "name": "ratio", - "type": "float", - "meta": "float", - "default_value": "0.8" - } - ] - }, - { - "name": "popup_dialog_centered_clamped", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3763385571, - "hash_compatibility": [ - 3433759678 - ], - "arguments": [ - { - "name": "dialog", - "type": "Window" - }, - { - "name": "minsize", - "type": "Vector2i", - "default_value": "Vector2i(0, 0)" - }, - { - "name": "fallback_ratio", - "type": "float", - "meta": "float", - "default_value": "0.75" - } - ] - }, - { - "name": "get_current_feature_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_current_feature_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "profile_name", - "type": "String" - } - ] - }, - { - "name": "get_file_system_dock", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3751012327, - "return_value": { - "type": "FileSystemDock" - } - }, - { - "name": "select_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "get_selected_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_current_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_current_directory", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_inspector", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3517113938, - "return_value": { - "type": "EditorInspector" - } - }, - { - "name": "inspect_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 127962172, - "hash_compatibility": [ - 2564140749 - ], - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "for_property", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "inspector_only", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "edit_resource", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 968641751, - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "edit_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "edit_script", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 219829402, - "hash_compatibility": [ - 3664508569 - ], - "arguments": [ - { - "name": "script", - "type": "Script" - }, - { - "name": "line", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "column", - "type": "int", - "meta": "int32", - "default_value": "0" - }, - { - "name": "grab_focus", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "open_scene_from_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "scene_filepath", - "type": "String" - } - ] - }, - { - "name": "reload_scene_from_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "scene_filepath", - "type": "String" - } - ] - }, - { - "name": "get_open_scenes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_edited_scene_root", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "save_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "save_scene_as", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3647332257, - "hash_compatibility": [ - 1168363258 - ], - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "with_preview", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "save_all_scenes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "mark_scene_as_unsaved", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "play_main_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "play_current_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "play_custom_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "scene_filepath", - "type": "String" - } - ] - }, - { - "name": "stop_playing_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_playing_scene", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_playing_scene", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_movie_maker_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_movie_maker_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "distraction_free_mode", - "setter": "set_distraction_free_mode", - "getter": "is_distraction_free_mode_enabled" - }, - { - "type": "bool", - "name": "movie_maker_enabled", - "setter": "set_movie_maker_enabled", - "getter": "is_movie_maker_enabled" - } - ] - }, - { - "name": "EditorNode3DGizmo", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Node3DGizmo", - "api_type": "editor", - "methods": [ - { - "name": "_redraw", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_handle_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - } - ] - }, - { - "name": "_is_handle_highlighted", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - } - ] - }, - { - "name": "_get_handle_value", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - } - ] - }, - { - "name": "_set_handle", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - }, - { - "name": "camera", - "type": "Camera3D" - }, - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "_commit_handle", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - }, - { - "name": "restore", - "type": "Variant" - }, - { - "name": "cancel", - "type": "bool" - } - ] - }, - { - "name": "_subgizmos_intersect_ray", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "camera", - "type": "Camera3D" - }, - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "_subgizmos_intersect_frustum", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "camera", - "type": "Camera3D" - }, - { - "name": "frustum", - "type": "typedarray::Plane" - } - ] - }, - { - "name": "_set_subgizmo_transform", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "_get_subgizmo_transform", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_commit_subgizmos", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "ids", - "type": "PackedInt32Array" - }, - { - "name": "restores", - "type": "typedarray::Transform3D" - }, - { - "name": "cancel", - "type": "bool" - } - ] - }, - { - "name": "add_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2910971437, - "hash_compatibility": [ - 302451090 - ], - "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_static": false, - "is_virtual": false, - "hash": 1579955111, - "hash_compatibility": [ - 1868867708 - ], - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 334873810, - "arguments": [ - { - "name": "segments", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "add_collision_triangles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 54901064, - "arguments": [ - { - "name": "triangles", - "type": "TriangleMesh" - } - ] - }, - { - "name": "add_unscaled_billboard", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 520007164, - "hash_compatibility": [ - 3719733075 - ], - "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_static": false, - "is_virtual": false, - "hash": 2254560097, - "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_node_3d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "get_node_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 151077316, - "return_value": { - "type": "Node3D" - } - }, - { - "name": "get_plugin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4250544552, - "return_value": { - "type": "EditorNode3DGizmoPlugin" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_hidden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "is_subgizmo_selected", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_subgizmo_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - } - ] - }, - { - "name": "EditorNode3DGizmoPlugin", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "editor", - "methods": [ - { - "name": "_has_gizmo", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "for_node_3d", - "type": "Node3D" - } - ] - }, - { - "name": "_create_gizmo", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "EditorNode3DGizmo" - }, - "arguments": [ - { - "name": "for_node_3d", - "type": "Node3D" - } - ] - }, - { - "name": "_get_gizmo_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_priority", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_can_be_hidden", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_is_selectable_when_hidden", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_redraw", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - } - ] - }, - { - "name": "_get_handle_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "handle_id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - } - ] - }, - { - "name": "_is_handle_highlighted", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "handle_id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - } - ] - }, - { - "name": "_get_handle_value", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "handle_id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - } - ] - }, - { - "name": "_set_handle", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "handle_id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - }, - { - "name": "camera", - "type": "Camera3D" - }, - { - "name": "screen_pos", - "type": "Vector2" - } - ] - }, - { - "name": "_commit_handle", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "handle_id", - "type": "int", - "meta": "int32" - }, - { - "name": "secondary", - "type": "bool" - }, - { - "name": "restore", - "type": "Variant" - }, - { - "name": "cancel", - "type": "bool" - } - ] - }, - { - "name": "_subgizmos_intersect_ray", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "camera", - "type": "Camera3D" - }, - { - "name": "screen_pos", - "type": "Vector2" - } - ] - }, - { - "name": "_subgizmos_intersect_frustum", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "camera", - "type": "Camera3D" - }, - { - "name": "frustum_planes", - "type": "typedarray::Plane" - } - ] - }, - { - "name": "_get_subgizmo_transform", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "subgizmo_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_set_subgizmo_transform", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "subgizmo_id", - "type": "int", - "meta": "int32" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "_commit_subgizmos", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "gizmo", - "type": "EditorNode3DGizmo" - }, - { - "name": "ids", - "type": "PackedInt32Array" - }, - { - "name": "restores", - "type": "typedarray::Transform3D" - }, - { - "name": "cancel", - "type": "bool" - } - ] - }, - { - "name": "create_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3486012546, - "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_static": false, - "is_virtual": false, - "hash": 3804976916, - "hash_compatibility": [ - 2976007329 - ], - "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_static": false, - "is_virtual": false, - "hash": 2486475223, - "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_static": false, - "is_virtual": false, - "hash": 1374068695, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "material", - "type": "StandardMaterial3D" - } - ] - }, - { - "name": "get_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 974464017, - "hash_compatibility": [ - 3501703615 - ], - "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": "editor", - "methods": [ - { - "name": "get_data_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_config_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_cache_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_self_contained", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_self_contained_file", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_project_settings_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ] - }, - { - "name": "EditorPlugin", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "editor", - "enums": [ - { - "name": "CustomControlContainer", - "is_bitfield": false, - "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_INSPECTOR_BOTTOM", - "value": 9 - }, - { - "name": "CONTAINER_PROJECT_SETTING_TAB_LEFT", - "value": 10 - }, - { - "name": "CONTAINER_PROJECT_SETTING_TAB_RIGHT", - "value": 11 - } - ] - }, - { - "name": "DockSlot", - "is_bitfield": false, - "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": "AfterGUIInput", - "is_bitfield": false, - "values": [ - { - "name": "AFTER_GUI_INPUT_PASS", - "value": 0 - }, - { - "name": "AFTER_GUI_INPUT_STOP", - "value": 1 - }, - { - "name": "AFTER_GUI_INPUT_CUSTOM", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "_forward_canvas_gui_input", - "is_const": false, - "is_static": 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_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "viewport_control", - "type": "Control" - } - ] - }, - { - "name": "_forward_canvas_force_draw_over_viewport", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "viewport_control", - "type": "Control" - } - ] - }, - { - "name": "_forward_3d_gui_input", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "viewport_camera", - "type": "Camera3D" - }, - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "_forward_3d_draw_over_viewport", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "viewport_control", - "type": "Control" - } - ] - }, - { - "name": "_forward_3d_force_draw_over_viewport", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "viewport_control", - "type": "Control" - } - ] - }, - { - "name": "_get_plugin_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_plugin_icon", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "_has_main_screen", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_make_visible", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "_edit", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "_handles", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "_get_state", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "_set_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "state", - "type": "Dictionary" - } - ] - }, - { - "name": "_clear", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_unsaved_status", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "for_scene", - "type": "String" - } - ] - }, - { - "name": "_save_external_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_apply_changes", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_breakpoints", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_set_window_layout", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "configuration", - "type": "ConfigFile" - } - ] - }, - { - "name": "_get_window_layout", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "configuration", - "type": "ConfigFile" - } - ] - }, - { - "name": "_build", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_enable_plugin", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_disable_plugin", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "add_control_to_container", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3092750152, - "arguments": [ - { - "name": "container", - "type": "enum::EditorPlugin.CustomControlContainer" - }, - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "add_control_to_bottom_panel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3526039376, - "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_static": false, - "is_virtual": false, - "hash": 3354871258, - "arguments": [ - { - "name": "slot", - "type": "enum::EditorPlugin.DockSlot" - }, - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "remove_control_from_docks", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "remove_control_from_bottom_panel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "remove_control_from_container", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3092750152, - "arguments": [ - { - "name": "container", - "type": "enum::EditorPlugin.CustomControlContainer" - }, - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "add_tool_menu_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2137474292, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "add_tool_submenu_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1019428915, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "submenu", - "type": "PopupMenu" - } - ] - }, - { - "name": "remove_tool_menu_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_export_as_menu", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1775878644, - "return_value": { - "type": "PopupMenu" - } - }, - { - "name": "add_custom_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1986814599, - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "type", - "type": "String" - } - ] - }, - { - "name": "add_autoload_singleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3186203200, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "remove_autoload_singleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "update_overlays", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "make_bottom_panel_item_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "item", - "type": "Control" - } - ] - }, - { - "name": "hide_bottom_panel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_undo_redo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 773492341, - "return_value": { - "type": "EditorUndoRedoManager" - } - }, - { - "name": "add_undo_redo_inspector_hook_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "remove_undo_redo_inspector_hook_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "queue_save_layout", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_translation_parser_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3116463128, - "arguments": [ - { - "name": "parser", - "type": "EditorTranslationParserPlugin" - } - ] - }, - { - "name": "remove_translation_parser_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3116463128, - "arguments": [ - { - "name": "parser", - "type": "EditorTranslationParserPlugin" - } - ] - }, - { - "name": "add_import_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3113975762, - "arguments": [ - { - "name": "importer", - "type": "EditorImportPlugin" - }, - { - "name": "first_priority", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "remove_import_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312482773, - "arguments": [ - { - "name": "importer", - "type": "EditorImportPlugin" - } - ] - }, - { - "name": "add_scene_format_importer_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2764104752, - "arguments": [ - { - "name": "scene_format_importer", - "type": "EditorSceneFormatImporter" - }, - { - "name": "first_priority", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "remove_scene_format_importer_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2637776123, - "arguments": [ - { - "name": "scene_format_importer", - "type": "EditorSceneFormatImporter" - } - ] - }, - { - "name": "add_scene_post_import_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3492436322, - "arguments": [ - { - "name": "scene_import_plugin", - "type": "EditorScenePostImportPlugin" - }, - { - "name": "first_priority", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "remove_scene_post_import_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3045178206, - "arguments": [ - { - "name": "scene_import_plugin", - "type": "EditorScenePostImportPlugin" - } - ] - }, - { - "name": "add_export_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4095952207, - "arguments": [ - { - "name": "plugin", - "type": "EditorExportPlugin" - } - ] - }, - { - "name": "remove_export_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4095952207, - "arguments": [ - { - "name": "plugin", - "type": "EditorExportPlugin" - } - ] - }, - { - "name": "add_node_3d_gizmo_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1541015022, - "arguments": [ - { - "name": "plugin", - "type": "EditorNode3DGizmoPlugin" - } - ] - }, - { - "name": "remove_node_3d_gizmo_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1541015022, - "arguments": [ - { - "name": "plugin", - "type": "EditorNode3DGizmoPlugin" - } - ] - }, - { - "name": "add_inspector_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 546395733, - "arguments": [ - { - "name": "plugin", - "type": "EditorInspectorPlugin" - } - ] - }, - { - "name": "remove_inspector_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 546395733, - "arguments": [ - { - "name": "plugin", - "type": "EditorInspectorPlugin" - } - ] - }, - { - "name": "add_resource_conversion_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2124849111, - "arguments": [ - { - "name": "plugin", - "type": "EditorResourceConversionPlugin" - } - ] - }, - { - "name": "remove_resource_conversion_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2124849111, - "arguments": [ - { - "name": "plugin", - "type": "EditorResourceConversionPlugin" - } - ] - }, - { - "name": "set_input_event_forwarding_always_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_force_draw_over_forwarding_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_editor_interface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4223731786, - "return_value": { - "type": "EditorInterface" - } - }, - { - "name": "get_script_create_dialog", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3121871482, - "return_value": { - "type": "ScriptCreateDialog" - } - }, - { - "name": "add_debugger_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3749880309, - "arguments": [ - { - "name": "script", - "type": "EditorDebuggerPlugin" - } - ] - }, - { - "name": "remove_debugger_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3749880309, - "arguments": [ - { - "name": "script", - "type": "EditorDebuggerPlugin" - } - ] - }, - { - "name": "get_plugin_version", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "signals": [ - { - "name": "scene_changed", - "arguments": [ - { - "name": "scene_root", - "type": "Node" - } - ] - }, - { - "name": "scene_closed", - "arguments": [ - { - "name": "filepath", - "type": "String" - } - ] - }, - { - "name": "main_screen_changed", - "arguments": [ - { - "name": "screen_name", - "type": "String" - } - ] - }, - { - "name": "resource_saved", - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "project_settings_changed" - } - ] - }, - { - "name": "EditorProperty", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "editor", - "methods": [ - { - "name": "_update_property", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_set_read_only", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "read_only", - "type": "bool" - } - ] - }, - { - "name": "set_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_label", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_read_only", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "read_only", - "type": "bool" - } - ] - }, - { - "name": "is_read_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_checkable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "checkable", - "type": "bool" - } - ] - }, - { - "name": "is_checkable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_checked", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "checked", - "type": "bool" - } - ] - }, - { - "name": "is_checked", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_draw_warning", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "draw_warning", - "type": "bool" - } - ] - }, - { - "name": "is_draw_warning", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_keying", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "keying", - "type": "bool" - } - ] - }, - { - "name": "is_keying", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_deletable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "deletable", - "type": "bool" - } - ] - }, - { - "name": "is_deletable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_edited_property", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "get_edited_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2050059866, - "return_value": { - "type": "Object" - } - }, - { - "name": "update_property", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_focusable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "set_bottom_editor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "arguments": [ - { - "name": "editor", - "type": "Control" - } - ] - }, - { - "name": "emit_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3069422438, - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - }, - { - "name": "field", - "type": "StringName", - "default_value": "&\"\"" - }, - { - "name": "changing", - "type": "bool", - "default_value": "false" - } - ] - } - ], - "signals": [ - { - "name": "property_changed", - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - }, - { - "name": "field", - "type": "StringName" - }, - { - "name": "changing", - "type": "bool" - } - ] - }, - { - "name": "multiple_properties_changed", - "arguments": [ - { - "name": "properties", - "type": "PackedStringArray" - }, - { - "name": "value", - "type": "Array" - } - ] - }, - { - "name": "property_keyed", - "arguments": [ - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "property_deleted", - "arguments": [ - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "property_keyed_with_value", - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "property_checked", - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "checked", - "type": "bool" - } - ] - }, - { - "name": "property_pinned", - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "pinned", - "type": "bool" - } - ] - }, - { - "name": "property_can_revert_changed", - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "can_revert", - "type": "bool" - } - ] - }, - { - "name": "resource_selected", - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "object_id_selected", - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "selected", - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "focusable_idx", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "label", - "setter": "set_label", - "getter": "get_label" - }, - { - "type": "bool", - "name": "read_only", - "setter": "set_read_only", - "getter": "is_read_only" - }, - { - "type": "bool", - "name": "checkable", - "setter": "set_checkable", - "getter": "is_checkable" - }, - { - "type": "bool", - "name": "checked", - "setter": "set_checked", - "getter": "is_checked" - }, - { - "type": "bool", - "name": "draw_warning", - "setter": "set_draw_warning", - "getter": "is_draw_warning" - }, - { - "type": "bool", - "name": "keying", - "setter": "set_keying", - "getter": "is_keying" - }, - { - "type": "bool", - "name": "deletable", - "setter": "set_deletable", - "getter": "is_deletable" - } - ] - }, - { - "name": "EditorResourceConversionPlugin", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_converts_to", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_handles", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "_convert", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Resource" - }, - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - } - ] - }, - { - "name": "EditorResourcePicker", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "HBoxContainer", - "api_type": "editor", - "methods": [ - { - "name": "_set_create_options", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "menu_node", - "type": "Object" - } - ] - }, - { - "name": "_handle_menu_selected", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_base_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "base_type", - "type": "String" - } - ] - }, - { - "name": "get_base_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_allowed_types", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_edited_resource", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 968641751, - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "get_edited_resource", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2674603643, - "return_value": { - "type": "Resource" - } - }, - { - "name": "set_toggle_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_toggle_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_toggle_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "set_editable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_editable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "resource_selected", - "arguments": [ - { - "name": "resource", - "type": "Resource" - }, - { - "name": "inspect", - "type": "bool" - } - ] - }, - { - "name": "resource_changed", - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "base_type", - "setter": "set_base_type", - "getter": "get_base_type" - }, - { - "type": "Resource", - "name": "edited_resource", - "setter": "set_edited_resource", - "getter": "get_edited_resource" - }, - { - "type": "bool", - "name": "editable", - "setter": "set_editable", - "getter": "is_editable" - }, - { - "type": "bool", - "name": "toggle_mode", - "setter": "set_toggle_mode", - "getter": "is_toggle_mode" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 233177534, - "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_static": false, - "is_virtual": false, - "hash": 1608376650, - "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_static": false, - "is_virtual": false, - "hash": 332288124, - "arguments": [ - { - "name": "generator", - "type": "EditorResourcePreviewGenerator" - } - ] - }, - { - "name": "remove_preview_generator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 332288124, - "arguments": [ - { - "name": "generator", - "type": "EditorResourcePreviewGenerator" - } - ] - }, - { - "name": "check_for_invalidation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ], - "signals": [ - { - "name": "preview_invalidated", - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ] - }, - { - "name": "EditorResourcePreviewGenerator", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_handles", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "type", - "type": "String" - } - ] - }, - { - "name": "_generate", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "resource", - "type": "Resource" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "metadata", - "type": "Dictionary" - } - ] - }, - { - "name": "_generate_from_path", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "metadata", - "type": "Dictionary" - } - ] - }, - { - "name": "_generate_small_preview_automatically", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_can_generate_small_preview", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - } - ] - }, - { - "name": "EditorResourceTooltipPlugin", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_handles", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "type", - "type": "String" - } - ] - }, - { - "name": "_make_tooltip_for_path", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Control" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "metadata", - "type": "Dictionary" - }, - { - "name": "base", - "type": "Control" - } - ] - }, - { - "name": "request_thumbnail", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3245519720, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "control", - "type": "TextureRect" - } - ] - } - ] - }, - { - "name": "EditorSceneFormatImporter", - "is_refcounted": true, - "is_instantiable": true, - "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 - }, - { - "name": "IMPORT_DISCARD_MESHES_AND_MATERIALS", - "value": 32 - }, - { - "name": "IMPORT_FORCE_DISABLE_MESH_COMPRESSION", - "value": 64 - } - ], - "methods": [ - { - "name": "_get_import_flags", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "_get_extensions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_import_scene", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "flags", - "type": "int", - "meta": "uint32" - }, - { - "name": "options", - "type": "Dictionary" - } - ] - }, - { - "name": "_get_import_options", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_get_option_visibility", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "for_animation", - "type": "bool" - }, - { - "name": "option", - "type": "String" - } - ] - } - ] - }, - { - "name": "EditorSceneFormatImporterBlend", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "EditorSceneFormatImporter", - "api_type": "editor" - }, - { - "name": "EditorSceneFormatImporterFBX", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "EditorSceneFormatImporter", - "api_type": "editor" - }, - { - "name": "EditorSceneFormatImporterGLTF", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "EditorSceneFormatImporter", - "api_type": "editor" - }, - { - "name": "EditorScenePostImport", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_post_import", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "scene", - "type": "Node" - } - ] - }, - { - "name": "get_source_file", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ] - }, - { - "name": "EditorScenePostImportPlugin", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "enums": [ - { - "name": "InternalImportCategory", - "is_bitfield": false, - "values": [ - { - "name": "INTERNAL_IMPORT_CATEGORY_NODE", - "value": 0 - }, - { - "name": "INTERNAL_IMPORT_CATEGORY_MESH_3D_NODE", - "value": 1 - }, - { - "name": "INTERNAL_IMPORT_CATEGORY_MESH", - "value": 2 - }, - { - "name": "INTERNAL_IMPORT_CATEGORY_MATERIAL", - "value": 3 - }, - { - "name": "INTERNAL_IMPORT_CATEGORY_ANIMATION", - "value": 4 - }, - { - "name": "INTERNAL_IMPORT_CATEGORY_ANIMATION_NODE", - "value": 5 - }, - { - "name": "INTERNAL_IMPORT_CATEGORY_SKELETON_3D_NODE", - "value": 6 - }, - { - "name": "INTERNAL_IMPORT_CATEGORY_MAX", - "value": 7 - } - ] - } - ], - "methods": [ - { - "name": "_get_internal_import_options", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "category", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_internal_option_visibility", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "category", - "type": "int", - "meta": "int32" - }, - { - "name": "for_animation", - "type": "bool" - }, - { - "name": "option", - "type": "String" - } - ] - }, - { - "name": "_get_internal_option_update_view_required", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "category", - "type": "int", - "meta": "int32" - }, - { - "name": "option", - "type": "String" - } - ] - }, - { - "name": "_internal_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "category", - "type": "int", - "meta": "int32" - }, - { - "name": "base_node", - "type": "Node" - }, - { - "name": "node", - "type": "Node" - }, - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "_get_import_options", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_get_option_visibility", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "for_animation", - "type": "bool" - }, - { - "name": "option", - "type": "String" - } - ] - }, - { - "name": "_pre_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "scene", - "type": "Node" - } - ] - }, - { - "name": "_post_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "scene", - "type": "Node" - } - ] - }, - { - "name": "get_option_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "add_import_option", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 402577236, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "add_import_option_advanced", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3674075649, - "hash_compatibility": [ - 3774155785 - ], - "arguments": [ - { - "name": "type", - "type": "enum::Variant.Type" - }, - { - "name": "name", - "type": "String" - }, - { - "name": "default_value", - "type": "Variant" - }, - { - "name": "hint", - "type": "enum::PropertyHint", - "default_value": "0" - }, - { - "name": "hint_string", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "usage_flags", - "type": "int", - "meta": "int32", - "default_value": "6" - } - ] - } - ] - }, - { - "name": "EditorScript", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_run", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "add_root_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "get_scene", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "get_editor_interface", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1976662476, - "return_value": { - "type": "EditorInterface" - } - } - ] - }, - { - "name": "EditorScriptPicker", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "EditorResourcePicker", - "api_type": "editor", - "methods": [ - { - "name": "set_script_owner", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "owner_node", - "type": "Node" - } - ] - }, - { - "name": "get_script_owner", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - } - ], - "properties": [ - { - "type": "Node", - "name": "script_owner", - "setter": "set_script_owner", - "getter": "get_script_owner" - } - ] - }, - { - "name": "EditorSelection", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "editor", - "methods": [ - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "remove_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "get_selected_nodes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Node" - } - }, - { - "name": "get_transformable_selected_nodes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Node" - } - } - ], - "signals": [ - { - "name": "selection_changed" - } - ] - }, - { - "name": "EditorSettings", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "editor", - "constants": [ - { - "name": "NOTIFICATION_EDITOR_SETTINGS_CHANGED", - "value": 10000 - } - ], - "methods": [ - { - "name": "has_setting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_setting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 402577236, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get_setting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1868160156, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "erase", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "property", - "type": "String" - } - ] - }, - { - "name": "set_initial_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1529169264, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - }, - { - "name": "update_current", - "type": "bool" - } - ] - }, - { - "name": "add_property_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "info", - "type": "Dictionary" - } - ] - }, - { - "name": "set_project_metadata", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2504492430, - "arguments": [ - { - "name": "section", - "type": "String" - }, - { - "name": "key", - "type": "String" - }, - { - "name": "data", - "type": "Variant" - } - ] - }, - { - "name": "get_project_metadata", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 89809366, - "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_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "dirs", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_favorites", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_recent_dirs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "dirs", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_recent_dirs", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_builtin_action_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1209351045, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "actions_list", - "type": "typedarray::InputEvent" - } - ] - }, - { - "name": "check_changed_settings_in_group", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "setting_prefix", - "type": "String" - } - ] - }, - { - "name": "get_changed_settings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "mark_setting_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "setting", - "type": "String" - } - ] - } - ], - "signals": [ - { - "name": "settings_changed" - } - ] - }, - { - "name": "EditorSpinSlider", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Range", - "api_type": "editor", - "methods": [ - { - "name": "set_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "label", - "type": "String" - } - ] - }, - { - "name": "get_label", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_suffix", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "suffix", - "type": "String" - } - ] - }, - { - "name": "get_suffix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_read_only", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "read_only", - "type": "bool" - } - ] - }, - { - "name": "is_read_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_flat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flat", - "type": "bool" - } - ] - }, - { - "name": "is_flat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hide_slider", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "hide_slider", - "type": "bool" - } - ] - }, - { - "name": "is_hiding_slider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "grabbed" - }, - { - "name": "ungrabbed" - }, - { - "name": "value_focus_entered" - }, - { - "name": "value_focus_exited" - } - ], - "properties": [ - { - "type": "String", - "name": "label", - "setter": "set_label", - "getter": "get_label" - }, - { - "type": "String", - "name": "suffix", - "setter": "set_suffix", - "getter": "get_suffix" - }, - { - "type": "bool", - "name": "read_only", - "setter": "set_read_only", - "getter": "is_read_only" - }, - { - "type": "bool", - "name": "flat", - "setter": "set_flat", - "getter": "is_flat" - }, - { - "type": "bool", - "name": "hide_slider", - "setter": "set_hide_slider", - "getter": "is_hiding_slider" - } - ] - }, - { - "name": "EditorSyntaxHighlighter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "SyntaxHighlighter", - "api_type": "editor", - "methods": [ - { - "name": "_get_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_supported_languages", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - } - ] - }, - { - "name": "EditorTranslationParserPlugin", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "editor", - "methods": [ - { - "name": "_parse_file", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "msgids", - "type": "typedarray::String" - }, - { - "name": "msgids_context_plural", - "type": "typedarray::Array" - } - ] - }, - { - "name": "_get_recognized_extensions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - } - ] - }, - { - "name": "EditorUndoRedoManager", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "editor", - "enums": [ - { - "name": "SpecialHistory", - "is_bitfield": false, - "values": [ - { - "name": "GLOBAL_HISTORY", - "value": 0 - }, - { - "name": "REMOTE_HISTORY", - "value": -9 - }, - { - "name": "INVALID_HISTORY", - "value": -99 - } - ] - } - ], - "methods": [ - { - "name": "create_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2107025470, - "hash_compatibility": [ - 3577985681 - ], - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "merge_mode", - "type": "enum::UndoRedo.MergeMode", - "default_value": "0" - }, - { - "name": "custom_context", - "type": "Object", - "default_value": "null" - }, - { - "name": "backward_undo_ops", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "commit_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3216645846, - "arguments": [ - { - "name": "execute", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "is_committing_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_do_method", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 1517810467, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "add_undo_method", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 1517810467, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "add_do_property", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1017172818, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "add_undo_property", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1017172818, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "add_do_reference", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3975164845, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "add_undo_reference", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3975164845, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "get_object_history_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1107568780, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "get_history_undo_redo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2417974513, - "return_value": { - "type": "UndoRedo" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - } - ], - "signals": [ - { - "name": "history_changed" - }, - { - "name": "version_changed" - } - ] - }, - { - "name": "EditorVCSInterface", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "editor", - "enums": [ - { - "name": "ChangeType", - "is_bitfield": false, - "values": [ - { - "name": "CHANGE_TYPE_NEW", - "value": 0 - }, - { - "name": "CHANGE_TYPE_MODIFIED", - "value": 1 - }, - { - "name": "CHANGE_TYPE_RENAMED", - "value": 2 - }, - { - "name": "CHANGE_TYPE_DELETED", - "value": 3 - }, - { - "name": "CHANGE_TYPE_TYPECHANGE", - "value": 4 - }, - { - "name": "CHANGE_TYPE_UNMERGED", - "value": 5 - } - ] - }, - { - "name": "TreeArea", - "is_bitfield": false, - "values": [ - { - "name": "TREE_AREA_COMMIT", - "value": 0 - }, - { - "name": "TREE_AREA_STAGED", - "value": 1 - }, - { - "name": "TREE_AREA_UNSTAGED", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "_initialize", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "project_path", - "type": "String" - } - ] - }, - { - "name": "_set_credentials", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "username", - "type": "String" - }, - { - "name": "password", - "type": "String" - }, - { - "name": "ssh_public_key_path", - "type": "String" - }, - { - "name": "ssh_private_key_path", - "type": "String" - }, - { - "name": "ssh_passphrase", - "type": "String" - } - ] - }, - { - "name": "_get_modified_files_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "_stage_file", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "file_path", - "type": "String" - } - ] - }, - { - "name": "_unstage_file", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "file_path", - "type": "String" - } - ] - }, - { - "name": "_discard_file", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "file_path", - "type": "String" - } - ] - }, - { - "name": "_commit", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "msg", - "type": "String" - } - ] - }, - { - "name": "_get_diff", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "identifier", - "type": "String" - }, - { - "name": "area", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_shut_down", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_vcs_name", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_previous_commits", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "max_commits", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_branch_list", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::String" - } - }, - { - "name": "_get_remotes", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::String" - } - }, - { - "name": "_create_branch", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "branch_name", - "type": "String" - } - ] - }, - { - "name": "_remove_branch", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "branch_name", - "type": "String" - } - ] - }, - { - "name": "_create_remote", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "remote_name", - "type": "String" - }, - { - "name": "remote_url", - "type": "String" - } - ] - }, - { - "name": "_remove_remote", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "remote_name", - "type": "String" - } - ] - }, - { - "name": "_get_current_branch_name", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_checkout_branch", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "branch_name", - "type": "String" - } - ] - }, - { - "name": "_pull", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "remote", - "type": "String" - } - ] - }, - { - "name": "_push", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "remote", - "type": "String" - }, - { - "name": "force", - "type": "bool" - } - ] - }, - { - "name": "_fetch", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "remote", - "type": "String" - } - ] - }, - { - "name": "_get_line_diff", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "file_path", - "type": "String" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "create_diff_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2901184053, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "new_line_no", - "type": "int", - "meta": "int32" - }, - { - "name": "old_line_no", - "type": "int", - "meta": "int32" - }, - { - "name": "content", - "type": "String" - }, - { - "name": "status", - "type": "String" - } - ] - }, - { - "name": "create_diff_hunk", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3784842090, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "old_start", - "type": "int", - "meta": "int32" - }, - { - "name": "new_start", - "type": "int", - "meta": "int32" - }, - { - "name": "old_lines", - "type": "int", - "meta": "int32" - }, - { - "name": "new_lines", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "create_diff_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2723227684, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "new_file", - "type": "String" - }, - { - "name": "old_file", - "type": "String" - } - ] - }, - { - "name": "create_commit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1075983584, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "msg", - "type": "String" - }, - { - "name": "author", - "type": "String" - }, - { - "name": "id", - "type": "String" - }, - { - "name": "unix_timestamp", - "type": "int", - "meta": "int64" - }, - { - "name": "offset_minutes", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "create_status_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1083471673, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "file_path", - "type": "String" - }, - { - "name": "change_type", - "type": "enum::EditorVCSInterface.ChangeType" - }, - { - "name": "area", - "type": "enum::EditorVCSInterface.TreeArea" - } - ] - }, - { - "name": "add_diff_hunks_into_diff_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015243225, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "diff_file", - "type": "Dictionary" - }, - { - "name": "diff_hunks", - "type": "typedarray::Dictionary" - } - ] - }, - { - "name": "add_line_diffs_into_diff_hunk", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015243225, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "diff_hunk", - "type": "Dictionary" - }, - { - "name": "line_diffs", - "type": "typedarray::Dictionary" - } - ] - }, - { - "name": "popup_error", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "msg", - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "get_object_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - } - ], - "properties": [ - { - "type": "int", - "name": "object_id", - "setter": "set_object_id", - "getter": "get_object_id" - } - ] - }, - { - "name": "Engine", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "set_physics_ticks_per_second", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "physics_ticks_per_second", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_physics_ticks_per_second", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_physics_steps_per_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_physics_steps", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_physics_steps_per_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_physics_jitter_fix", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "physics_jitter_fix", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_physics_jitter_fix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_physics_interpolation_fraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_max_fps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_fps", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_fps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_time_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time_scale", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_time_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_frames_drawn", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_frames_per_second", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_physics_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_process_frames", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_main_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1016888095, - "return_value": { - "type": "MainLoop" - } - }, - { - "name": "get_version_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_author_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_copyright_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "get_donor_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_license_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_license_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_architecture_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_in_physics_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "has_singleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_singleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1371597918, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "register_singleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 965313290, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "instance", - "type": "Object" - } - ] - }, - { - "name": "unregister_singleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_singleton_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "register_script_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1850254898, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "language", - "type": "ScriptLanguage" - } - ] - }, - { - "name": "unregister_script_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1850254898, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "language", - "type": "ScriptLanguage" - } - ] - }, - { - "name": "get_script_language_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_script_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2151255799, - "return_value": { - "type": "ScriptLanguage" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_editor_hint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_write_movie_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_print_error_messages", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_printing_error_messages", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "print_error_messages", - "setter": "set_print_error_messages", - "getter": "is_printing_error_messages" - }, - { - "type": "int", - "name": "physics_ticks_per_second", - "setter": "set_physics_ticks_per_second", - "getter": "get_physics_ticks_per_second" - }, - { - "type": "int", - "name": "max_physics_steps_per_frame", - "setter": "set_max_physics_steps_per_frame", - "getter": "get_max_physics_steps_per_frame" - }, - { - "type": "int", - "name": "max_fps", - "setter": "set_max_fps", - "getter": "get_max_fps" - }, - { - "type": "float", - "name": "time_scale", - "setter": "set_time_scale", - "getter": "get_time_scale" - }, - { - "type": "float", - "name": "physics_jitter_fix", - "setter": "set_physics_jitter_fix", - "getter": "get_physics_jitter_fix" - } - ] - }, - { - "name": "EngineDebugger", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "is_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "register_profiler", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3651669560, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "profiler", - "type": "EngineProfiler" - } - ] - }, - { - "name": "unregister_profiler", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "is_profiling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2041966384, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_profiler", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2041966384, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "profiler_add_frame_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1895267858, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "data", - "type": "Array" - } - ] - }, - { - "name": "profiler_enable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3192561009, - "hash_compatibility": [ - 438160728 - ], - "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_static": false, - "is_virtual": false, - "hash": 1874754934, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "unregister_message_capture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_capture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2041966384, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "send_message", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1209351045, - "arguments": [ - { - "name": "message", - "type": "String" - }, - { - "name": "data", - "type": "Array" - } - ] - } - ] - }, - { - "name": "EngineProfiler", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "_toggle", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "enable", - "type": "bool" - }, - { - "name": "options", - "type": "Array" - } - ] - }, - { - "name": "_add_frame", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "data", - "type": "Array" - } - ] - }, - { - "name": "_tick", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "frame_time", - "type": "float", - "meta": "double" - }, - { - "name": "process_time", - "type": "float", - "meta": "double" - }, - { - "name": "physics_time", - "type": "float", - "meta": "double" - }, - { - "name": "physics_frame_time", - "type": "float", - "meta": "double" - } - ] - } - ] - }, - { - "name": "Environment", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "BGMode", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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": "ReflectionSource", - "is_bitfield": false, - "values": [ - { - "name": "REFLECTION_SOURCE_BG", - "value": 0 - }, - { - "name": "REFLECTION_SOURCE_DISABLED", - "value": 1 - }, - { - "name": "REFLECTION_SOURCE_SKY", - "value": 2 - } - ] - }, - { - "name": "ToneMapper", - "is_bitfield": false, - "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": "GlowBlendMode", - "is_bitfield": false, - "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": "SDFGIYScale", - "is_bitfield": false, - "values": [ - { - "name": "SDFGI_Y_SCALE_50_PERCENT", - "value": 0 - }, - { - "name": "SDFGI_Y_SCALE_75_PERCENT", - "value": 1 - }, - { - "name": "SDFGI_Y_SCALE_100_PERCENT", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_background", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4071623990, - "arguments": [ - { - "name": "mode", - "type": "enum::Environment.BGMode" - } - ] - }, - { - "name": "get_background", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1843210413, - "return_value": { - "type": "enum::Environment.BGMode" - } - }, - { - "name": "set_sky", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3336722921, - "arguments": [ - { - "name": "sky", - "type": "Sky" - } - ] - }, - { - "name": "get_sky", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1177136966, - "return_value": { - "type": "Sky" - } - }, - { - "name": "set_sky_custom_fov", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sky_custom_fov", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sky_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "euler_radians", - "type": "Vector3" - } - ] - }, - { - "name": "get_sky_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_bg_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_bg_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_bg_energy_multiplier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bg_energy_multiplier", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_bg_intensity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bg_intensity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_canvas_max_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_canvas_max_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_camera_feed_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_camera_feed_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_ambient_light_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_ambient_light_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_ambient_source", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2607780160, - "arguments": [ - { - "name": "source", - "type": "enum::Environment.AmbientSource" - } - ] - }, - { - "name": "get_ambient_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 67453933, - "return_value": { - "type": "enum::Environment.AmbientSource" - } - }, - { - "name": "set_ambient_light_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ambient_light_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ambient_light_sky_contribution", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ambient_light_sky_contribution", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_reflection_source", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 299673197, - "arguments": [ - { - "name": "source", - "type": "enum::Environment.ReflectionSource" - } - ] - }, - { - "name": "get_reflection_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 777700713, - "return_value": { - "type": "enum::Environment.ReflectionSource" - } - }, - { - "name": "set_tonemapper", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509116664, - "arguments": [ - { - "name": "mode", - "type": "enum::Environment.ToneMapper" - } - ] - }, - { - "name": "get_tonemapper", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2908408137, - "return_value": { - "type": "enum::Environment.ToneMapper" - } - }, - { - "name": "set_tonemap_exposure", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "exposure", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tonemap_exposure", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_tonemap_white", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "white", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tonemap_white", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssr_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_ssr_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_ssr_max_steps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_steps", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_ssr_max_steps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_ssr_fade_in", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fade_in", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssr_fade_in", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssr_fade_out", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fade_out", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssr_fade_out", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssr_depth_tolerance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "depth_tolerance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssr_depth_tolerance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssao_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_ssao_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_ssao_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssao_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssao_intensity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "intensity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssao_intensity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssao_power", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "power", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssao_power", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssao_detail", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "detail", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssao_detail", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssao_horizon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "horizon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssao_horizon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssao_sharpness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sharpness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssao_sharpness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssao_direct_light_affect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssao_direct_light_affect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssao_ao_channel_affect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssao_ao_channel_affect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssil_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_ssil_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_ssil_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssil_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssil_intensity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "intensity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssil_intensity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssil_sharpness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sharpness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssil_sharpness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ssil_normal_rejection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "normal_rejection", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ssil_normal_rejection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sdfgi_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_sdfgi_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_sdfgi_cascades", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sdfgi_cascades", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sdfgi_min_cell_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sdfgi_min_cell_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sdfgi_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sdfgi_max_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sdfgi_cascade0_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sdfgi_cascade0_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sdfgi_y_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3608608372, - "arguments": [ - { - "name": "scale", - "type": "enum::Environment.SDFGIYScale" - } - ] - }, - { - "name": "get_sdfgi_y_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2568002245, - "return_value": { - "type": "enum::Environment.SDFGIYScale" - } - }, - { - "name": "set_sdfgi_use_occlusion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_sdfgi_using_occlusion", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_sdfgi_bounce_feedback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sdfgi_bounce_feedback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sdfgi_read_sky_light", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_sdfgi_reading_sky_light", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_sdfgi_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sdfgi_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sdfgi_normal_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sdfgi_normal_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sdfgi_probe_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sdfgi_probe_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_glow_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_glow_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_glow_level", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "intensity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_glow_level", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_glow_normalized", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "normalize", - "type": "bool" - } - ] - }, - { - "name": "is_glow_normalized", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_glow_intensity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "intensity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_glow_intensity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_glow_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_glow_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_glow_mix", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mix", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_glow_mix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_glow_bloom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_glow_bloom", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_glow_blend_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2561587761, - "arguments": [ - { - "name": "mode", - "type": "enum::Environment.GlowBlendMode" - } - ] - }, - { - "name": "get_glow_blend_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1529667332, - "return_value": { - "type": "enum::Environment.GlowBlendMode" - } - }, - { - "name": "set_glow_hdr_bleed_threshold", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_glow_hdr_bleed_threshold", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_glow_hdr_bleed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_glow_hdr_bleed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_glow_hdr_luminance_cap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_glow_hdr_luminance_cap", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_glow_map_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_glow_map_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_glow_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1790811099, - "arguments": [ - { - "name": "mode", - "type": "Texture" - } - ] - }, - { - "name": "get_glow_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4037048985, - "return_value": { - "type": "Texture" - } - }, - { - "name": "set_fog_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_fog_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_fog_light_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "light_color", - "type": "Color" - } - ] - }, - { - "name": "get_fog_light_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_fog_light_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "light_energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fog_light_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fog_sun_scatter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sun_scatter", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fog_sun_scatter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fog_density", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "density", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fog_density", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fog_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fog_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fog_height_density", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height_density", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fog_height_density", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fog_aerial_perspective", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "aerial_perspective", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fog_aerial_perspective", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fog_sky_affect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sky_affect", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fog_sky_affect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volumetric_fog_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_volumetric_fog_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_volumetric_fog_emission", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_volumetric_fog_emission", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_volumetric_fog_albedo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_volumetric_fog_albedo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_volumetric_fog_density", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "density", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volumetric_fog_density", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volumetric_fog_emission_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "begin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volumetric_fog_emission_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volumetric_fog_anisotropy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "anisotropy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volumetric_fog_anisotropy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volumetric_fog_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volumetric_fog_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volumetric_fog_detail_spread", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "detail_spread", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volumetric_fog_detail_spread", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volumetric_fog_gi_inject", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "gi_inject", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volumetric_fog_gi_inject", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volumetric_fog_ambient_inject", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "enabled", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volumetric_fog_ambient_inject", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volumetric_fog_sky_affect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sky_affect", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volumetric_fog_sky_affect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volumetric_fog_temporal_reprojection_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_volumetric_fog_temporal_reprojection_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_volumetric_fog_temporal_reprojection_amount", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "temporal_reprojection_amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volumetric_fog_temporal_reprojection_amount", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_adjustment_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_adjustment_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_adjustment_brightness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "brightness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_adjustment_brightness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_adjustment_contrast", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "contrast", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_adjustment_contrast", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_adjustment_saturation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "saturation", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_adjustment_saturation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_adjustment_color_correction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1790811099, - "arguments": [ - { - "name": "color_correction", - "type": "Texture" - } - ] - }, - { - "name": "get_adjustment_color_correction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4037048985, - "return_value": { - "type": "Texture" - } - } - ], - "properties": [ - { - "type": "int", - "name": "background_mode", - "setter": "set_background", - "getter": "get_background" - }, - { - "type": "Color", - "name": "background_color", - "setter": "set_bg_color", - "getter": "get_bg_color" - }, - { - "type": "float", - "name": "background_energy_multiplier", - "setter": "set_bg_energy_multiplier", - "getter": "get_bg_energy_multiplier" - }, - { - "type": "float", - "name": "background_intensity", - "setter": "set_bg_intensity", - "getter": "get_bg_intensity" - }, - { - "type": "int", - "name": "background_canvas_max_layer", - "setter": "set_canvas_max_layer", - "getter": "get_canvas_max_layer" - }, - { - "type": "int", - "name": "background_camera_feed_id", - "setter": "set_camera_feed_id", - "getter": "get_camera_feed_id" - }, - { - "type": "Sky", - "name": "sky", - "setter": "set_sky", - "getter": "get_sky" - }, - { - "type": "float", - "name": "sky_custom_fov", - "setter": "set_sky_custom_fov", - "getter": "get_sky_custom_fov" - }, - { - "type": "Vector3", - "name": "sky_rotation", - "setter": "set_sky_rotation", - "getter": "get_sky_rotation" - }, - { - "type": "int", - "name": "ambient_light_source", - "setter": "set_ambient_source", - "getter": "get_ambient_source" - }, - { - "type": "Color", - "name": "ambient_light_color", - "setter": "set_ambient_light_color", - "getter": "get_ambient_light_color" - }, - { - "type": "float", - "name": "ambient_light_sky_contribution", - "setter": "set_ambient_light_sky_contribution", - "getter": "get_ambient_light_sky_contribution" - }, - { - "type": "float", - "name": "ambient_light_energy", - "setter": "set_ambient_light_energy", - "getter": "get_ambient_light_energy" - }, - { - "type": "int", - "name": "reflected_light_source", - "setter": "set_reflection_source", - "getter": "get_reflection_source" - }, - { - "type": "int", - "name": "tonemap_mode", - "setter": "set_tonemapper", - "getter": "get_tonemapper" - }, - { - "type": "float", - "name": "tonemap_exposure", - "setter": "set_tonemap_exposure", - "getter": "get_tonemap_exposure" - }, - { - "type": "float", - "name": "tonemap_white", - "setter": "set_tonemap_white", - "getter": "get_tonemap_white" - }, - { - "type": "bool", - "name": "ssr_enabled", - "setter": "set_ssr_enabled", - "getter": "is_ssr_enabled" - }, - { - "type": "int", - "name": "ssr_max_steps", - "setter": "set_ssr_max_steps", - "getter": "get_ssr_max_steps" - }, - { - "type": "float", - "name": "ssr_fade_in", - "setter": "set_ssr_fade_in", - "getter": "get_ssr_fade_in" - }, - { - "type": "float", - "name": "ssr_fade_out", - "setter": "set_ssr_fade_out", - "getter": "get_ssr_fade_out" - }, - { - "type": "float", - "name": "ssr_depth_tolerance", - "setter": "set_ssr_depth_tolerance", - "getter": "get_ssr_depth_tolerance" - }, - { - "type": "bool", - "name": "ssao_enabled", - "setter": "set_ssao_enabled", - "getter": "is_ssao_enabled" - }, - { - "type": "float", - "name": "ssao_radius", - "setter": "set_ssao_radius", - "getter": "get_ssao_radius" - }, - { - "type": "float", - "name": "ssao_intensity", - "setter": "set_ssao_intensity", - "getter": "get_ssao_intensity" - }, - { - "type": "float", - "name": "ssao_power", - "setter": "set_ssao_power", - "getter": "get_ssao_power" - }, - { - "type": "float", - "name": "ssao_detail", - "setter": "set_ssao_detail", - "getter": "get_ssao_detail" - }, - { - "type": "float", - "name": "ssao_horizon", - "setter": "set_ssao_horizon", - "getter": "get_ssao_horizon" - }, - { - "type": "float", - "name": "ssao_sharpness", - "setter": "set_ssao_sharpness", - "getter": "get_ssao_sharpness" - }, - { - "type": "float", - "name": "ssao_light_affect", - "setter": "set_ssao_direct_light_affect", - "getter": "get_ssao_direct_light_affect" - }, - { - "type": "float", - "name": "ssao_ao_channel_affect", - "setter": "set_ssao_ao_channel_affect", - "getter": "get_ssao_ao_channel_affect" - }, - { - "type": "bool", - "name": "ssil_enabled", - "setter": "set_ssil_enabled", - "getter": "is_ssil_enabled" - }, - { - "type": "float", - "name": "ssil_radius", - "setter": "set_ssil_radius", - "getter": "get_ssil_radius" - }, - { - "type": "float", - "name": "ssil_intensity", - "setter": "set_ssil_intensity", - "getter": "get_ssil_intensity" - }, - { - "type": "float", - "name": "ssil_sharpness", - "setter": "set_ssil_sharpness", - "getter": "get_ssil_sharpness" - }, - { - "type": "float", - "name": "ssil_normal_rejection", - "setter": "set_ssil_normal_rejection", - "getter": "get_ssil_normal_rejection" - }, - { - "type": "bool", - "name": "sdfgi_enabled", - "setter": "set_sdfgi_enabled", - "getter": "is_sdfgi_enabled" - }, - { - "type": "bool", - "name": "sdfgi_use_occlusion", - "setter": "set_sdfgi_use_occlusion", - "getter": "is_sdfgi_using_occlusion" - }, - { - "type": "bool", - "name": "sdfgi_read_sky_light", - "setter": "set_sdfgi_read_sky_light", - "getter": "is_sdfgi_reading_sky_light" - }, - { - "type": "float", - "name": "sdfgi_bounce_feedback", - "setter": "set_sdfgi_bounce_feedback", - "getter": "get_sdfgi_bounce_feedback" - }, - { - "type": "int", - "name": "sdfgi_cascades", - "setter": "set_sdfgi_cascades", - "getter": "get_sdfgi_cascades" - }, - { - "type": "float", - "name": "sdfgi_min_cell_size", - "setter": "set_sdfgi_min_cell_size", - "getter": "get_sdfgi_min_cell_size" - }, - { - "type": "float", - "name": "sdfgi_cascade0_distance", - "setter": "set_sdfgi_cascade0_distance", - "getter": "get_sdfgi_cascade0_distance" - }, - { - "type": "float", - "name": "sdfgi_max_distance", - "setter": "set_sdfgi_max_distance", - "getter": "get_sdfgi_max_distance" - }, - { - "type": "int", - "name": "sdfgi_y_scale", - "setter": "set_sdfgi_y_scale", - "getter": "get_sdfgi_y_scale" - }, - { - "type": "float", - "name": "sdfgi_energy", - "setter": "set_sdfgi_energy", - "getter": "get_sdfgi_energy" - }, - { - "type": "float", - "name": "sdfgi_normal_bias", - "setter": "set_sdfgi_normal_bias", - "getter": "get_sdfgi_normal_bias" - }, - { - "type": "float", - "name": "sdfgi_probe_bias", - "setter": "set_sdfgi_probe_bias", - "getter": "get_sdfgi_probe_bias" - }, - { - "type": "bool", - "name": "glow_enabled", - "setter": "set_glow_enabled", - "getter": "is_glow_enabled" - }, - { - "type": "bool", - "name": "glow_normalized", - "setter": "set_glow_normalized", - "getter": "is_glow_normalized" - }, - { - "type": "float", - "name": "glow_intensity", - "setter": "set_glow_intensity", - "getter": "get_glow_intensity" - }, - { - "type": "float", - "name": "glow_strength", - "setter": "set_glow_strength", - "getter": "get_glow_strength" - }, - { - "type": "float", - "name": "glow_mix", - "setter": "set_glow_mix", - "getter": "get_glow_mix" - }, - { - "type": "float", - "name": "glow_bloom", - "setter": "set_glow_bloom", - "getter": "get_glow_bloom" - }, - { - "type": "int", - "name": "glow_blend_mode", - "setter": "set_glow_blend_mode", - "getter": "get_glow_blend_mode" - }, - { - "type": "float", - "name": "glow_hdr_threshold", - "setter": "set_glow_hdr_bleed_threshold", - "getter": "get_glow_hdr_bleed_threshold" - }, - { - "type": "float", - "name": "glow_hdr_scale", - "setter": "set_glow_hdr_bleed_scale", - "getter": "get_glow_hdr_bleed_scale" - }, - { - "type": "float", - "name": "glow_hdr_luminance_cap", - "setter": "set_glow_hdr_luminance_cap", - "getter": "get_glow_hdr_luminance_cap" - }, - { - "type": "float", - "name": "glow_map_strength", - "setter": "set_glow_map_strength", - "getter": "get_glow_map_strength" - }, - { - "type": "Texture2D", - "name": "glow_map", - "setter": "set_glow_map", - "getter": "get_glow_map" - }, - { - "type": "bool", - "name": "fog_enabled", - "setter": "set_fog_enabled", - "getter": "is_fog_enabled" - }, - { - "type": "Color", - "name": "fog_light_color", - "setter": "set_fog_light_color", - "getter": "get_fog_light_color" - }, - { - "type": "float", - "name": "fog_light_energy", - "setter": "set_fog_light_energy", - "getter": "get_fog_light_energy" - }, - { - "type": "float", - "name": "fog_sun_scatter", - "setter": "set_fog_sun_scatter", - "getter": "get_fog_sun_scatter" - }, - { - "type": "float", - "name": "fog_density", - "setter": "set_fog_density", - "getter": "get_fog_density" - }, - { - "type": "float", - "name": "fog_aerial_perspective", - "setter": "set_fog_aerial_perspective", - "getter": "get_fog_aerial_perspective" - }, - { - "type": "float", - "name": "fog_sky_affect", - "setter": "set_fog_sky_affect", - "getter": "get_fog_sky_affect" - }, - { - "type": "float", - "name": "fog_height", - "setter": "set_fog_height", - "getter": "get_fog_height" - }, - { - "type": "float", - "name": "fog_height_density", - "setter": "set_fog_height_density", - "getter": "get_fog_height_density" - }, - { - "type": "bool", - "name": "volumetric_fog_enabled", - "setter": "set_volumetric_fog_enabled", - "getter": "is_volumetric_fog_enabled" - }, - { - "type": "float", - "name": "volumetric_fog_density", - "setter": "set_volumetric_fog_density", - "getter": "get_volumetric_fog_density" - }, - { - "type": "Color", - "name": "volumetric_fog_albedo", - "setter": "set_volumetric_fog_albedo", - "getter": "get_volumetric_fog_albedo" - }, - { - "type": "Color", - "name": "volumetric_fog_emission", - "setter": "set_volumetric_fog_emission", - "getter": "get_volumetric_fog_emission" - }, - { - "type": "float", - "name": "volumetric_fog_emission_energy", - "setter": "set_volumetric_fog_emission_energy", - "getter": "get_volumetric_fog_emission_energy" - }, - { - "type": "float", - "name": "volumetric_fog_gi_inject", - "setter": "set_volumetric_fog_gi_inject", - "getter": "get_volumetric_fog_gi_inject" - }, - { - "type": "float", - "name": "volumetric_fog_anisotropy", - "setter": "set_volumetric_fog_anisotropy", - "getter": "get_volumetric_fog_anisotropy" - }, - { - "type": "float", - "name": "volumetric_fog_length", - "setter": "set_volumetric_fog_length", - "getter": "get_volumetric_fog_length" - }, - { - "type": "float", - "name": "volumetric_fog_detail_spread", - "setter": "set_volumetric_fog_detail_spread", - "getter": "get_volumetric_fog_detail_spread" - }, - { - "type": "float", - "name": "volumetric_fog_ambient_inject", - "setter": "set_volumetric_fog_ambient_inject", - "getter": "get_volumetric_fog_ambient_inject" - }, - { - "type": "float", - "name": "volumetric_fog_sky_affect", - "setter": "set_volumetric_fog_sky_affect", - "getter": "get_volumetric_fog_sky_affect" - }, - { - "type": "bool", - "name": "volumetric_fog_temporal_reprojection_enabled", - "setter": "set_volumetric_fog_temporal_reprojection_enabled", - "getter": "is_volumetric_fog_temporal_reprojection_enabled" - }, - { - "type": "float", - "name": "volumetric_fog_temporal_reprojection_amount", - "setter": "set_volumetric_fog_temporal_reprojection_amount", - "getter": "get_volumetric_fog_temporal_reprojection_amount" - }, - { - "type": "bool", - "name": "adjustment_enabled", - "setter": "set_adjustment_enabled", - "getter": "is_adjustment_enabled" - }, - { - "type": "float", - "name": "adjustment_brightness", - "setter": "set_adjustment_brightness", - "getter": "get_adjustment_brightness" - }, - { - "type": "float", - "name": "adjustment_contrast", - "setter": "set_adjustment_contrast", - "getter": "get_adjustment_contrast" - }, - { - "type": "float", - "name": "adjustment_saturation", - "setter": "set_adjustment_saturation", - "getter": "get_adjustment_saturation" - }, - { - "type": "Texture2D,Texture3D", - "name": "adjustment_color_correction", - "setter": "set_adjustment_color_correction", - "getter": "get_adjustment_color_correction" - } - ] - }, - { - "name": "Expression", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "parse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3069722906, - "hash_compatibility": [ - 3658149758 - ], - "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_static": false, - "is_virtual": false, - "hash": 3712471238, - "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": "const_calls_only", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "has_execute_failed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_error_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ] - }, - { - "name": "FastNoiseLite", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Noise", - "api_type": "core", - "enums": [ - { - "name": "NoiseType", - "is_bitfield": false, - "values": [ - { - "name": "TYPE_VALUE", - "value": 5 - }, - { - "name": "TYPE_VALUE_CUBIC", - "value": 4 - }, - { - "name": "TYPE_PERLIN", - "value": 3 - }, - { - "name": "TYPE_CELLULAR", - "value": 2 - }, - { - "name": "TYPE_SIMPLEX", - "value": 0 - }, - { - "name": "TYPE_SIMPLEX_SMOOTH", - "value": 1 - } - ] - }, - { - "name": "FractalType", - "is_bitfield": false, - "values": [ - { - "name": "FRACTAL_NONE", - "value": 0 - }, - { - "name": "FRACTAL_FBM", - "value": 1 - }, - { - "name": "FRACTAL_RIDGED", - "value": 2 - }, - { - "name": "FRACTAL_PING_PONG", - "value": 3 - } - ] - }, - { - "name": "CellularDistanceFunction", - "is_bitfield": false, - "values": [ - { - "name": "DISTANCE_EUCLIDEAN", - "value": 0 - }, - { - "name": "DISTANCE_EUCLIDEAN_SQUARED", - "value": 1 - }, - { - "name": "DISTANCE_MANHATTAN", - "value": 2 - }, - { - "name": "DISTANCE_HYBRID", - "value": 3 - } - ] - }, - { - "name": "CellularReturnType", - "is_bitfield": false, - "values": [ - { - "name": "RETURN_CELL_VALUE", - "value": 0 - }, - { - "name": "RETURN_DISTANCE", - "value": 1 - }, - { - "name": "RETURN_DISTANCE2", - "value": 2 - }, - { - "name": "RETURN_DISTANCE2_ADD", - "value": 3 - }, - { - "name": "RETURN_DISTANCE2_SUB", - "value": 4 - }, - { - "name": "RETURN_DISTANCE2_MUL", - "value": 5 - }, - { - "name": "RETURN_DISTANCE2_DIV", - "value": 6 - } - ] - }, - { - "name": "DomainWarpType", - "is_bitfield": false, - "values": [ - { - "name": "DOMAIN_WARP_SIMPLEX", - "value": 0 - }, - { - "name": "DOMAIN_WARP_SIMPLEX_REDUCED", - "value": 1 - }, - { - "name": "DOMAIN_WARP_BASIC_GRID", - "value": 2 - } - ] - }, - { - "name": "DomainWarpFractalType", - "is_bitfield": false, - "values": [ - { - "name": "DOMAIN_WARP_FRACTAL_NONE", - "value": 0 - }, - { - "name": "DOMAIN_WARP_FRACTAL_PROGRESSIVE", - "value": 1 - }, - { - "name": "DOMAIN_WARP_FRACTAL_INDEPENDENT", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_noise_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2624461392, - "arguments": [ - { - "name": "type", - "type": "enum::FastNoiseLite.NoiseType" - } - ] - }, - { - "name": "get_noise_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1458108610, - "return_value": { - "type": "enum::FastNoiseLite.NoiseType" - } - }, - { - "name": "set_seed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "seed", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_seed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_frequency", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "freq", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_frequency", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_fractal_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4132731174, - "arguments": [ - { - "name": "type", - "type": "enum::FastNoiseLite.FractalType" - } - ] - }, - { - "name": "get_fractal_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1036889279, - "return_value": { - "type": "enum::FastNoiseLite.FractalType" - } - }, - { - "name": "set_fractal_octaves", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "octave_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_fractal_octaves", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_fractal_lacunarity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "lacunarity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fractal_lacunarity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fractal_gain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "gain", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fractal_gain", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fractal_weighted_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "weighted_strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fractal_weighted_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fractal_ping_pong_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ping_pong_strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fractal_ping_pong_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_cellular_distance_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1006013267, - "arguments": [ - { - "name": "func", - "type": "enum::FastNoiseLite.CellularDistanceFunction" - } - ] - }, - { - "name": "get_cellular_distance_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2021274088, - "return_value": { - "type": "enum::FastNoiseLite.CellularDistanceFunction" - } - }, - { - "name": "set_cellular_jitter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "jitter", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cellular_jitter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_cellular_return_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2654169698, - "arguments": [ - { - "name": "ret", - "type": "enum::FastNoiseLite.CellularReturnType" - } - ] - }, - { - "name": "get_cellular_return_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3699796343, - "return_value": { - "type": "enum::FastNoiseLite.CellularReturnType" - } - }, - { - "name": "set_domain_warp_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "domain_warp_enabled", - "type": "bool" - } - ] - }, - { - "name": "is_domain_warp_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_domain_warp_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3629692980, - "arguments": [ - { - "name": "domain_warp_type", - "type": "enum::FastNoiseLite.DomainWarpType" - } - ] - }, - { - "name": "get_domain_warp_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2980162020, - "return_value": { - "type": "enum::FastNoiseLite.DomainWarpType" - } - }, - { - "name": "set_domain_warp_amplitude", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "domain_warp_amplitude", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_domain_warp_amplitude", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_domain_warp_frequency", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "domain_warp_frequency", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_domain_warp_frequency", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_domain_warp_fractal_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3999408287, - "arguments": [ - { - "name": "domain_warp_fractal_type", - "type": "enum::FastNoiseLite.DomainWarpFractalType" - } - ] - }, - { - "name": "get_domain_warp_fractal_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 407716934, - "return_value": { - "type": "enum::FastNoiseLite.DomainWarpFractalType" - } - }, - { - "name": "set_domain_warp_fractal_octaves", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "domain_warp_octave_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_domain_warp_fractal_octaves", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_domain_warp_fractal_lacunarity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "domain_warp_lacunarity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_domain_warp_fractal_lacunarity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_domain_warp_fractal_gain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "domain_warp_gain", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_domain_warp_fractal_gain", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "int", - "name": "noise_type", - "setter": "set_noise_type", - "getter": "get_noise_type" - }, - { - "type": "int", - "name": "seed", - "setter": "set_seed", - "getter": "get_seed" - }, - { - "type": "float", - "name": "frequency", - "setter": "set_frequency", - "getter": "get_frequency" - }, - { - "type": "Vector3", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "int", - "name": "fractal_type", - "setter": "set_fractal_type", - "getter": "get_fractal_type" - }, - { - "type": "int", - "name": "fractal_octaves", - "setter": "set_fractal_octaves", - "getter": "get_fractal_octaves" - }, - { - "type": "float", - "name": "fractal_lacunarity", - "setter": "set_fractal_lacunarity", - "getter": "get_fractal_lacunarity" - }, - { - "type": "float", - "name": "fractal_gain", - "setter": "set_fractal_gain", - "getter": "get_fractal_gain" - }, - { - "type": "float", - "name": "fractal_weighted_strength", - "setter": "set_fractal_weighted_strength", - "getter": "get_fractal_weighted_strength" - }, - { - "type": "float", - "name": "fractal_ping_pong_strength", - "setter": "set_fractal_ping_pong_strength", - "getter": "get_fractal_ping_pong_strength" - }, - { - "type": "int", - "name": "cellular_distance_function", - "setter": "set_cellular_distance_function", - "getter": "get_cellular_distance_function" - }, - { - "type": "float", - "name": "cellular_jitter", - "setter": "set_cellular_jitter", - "getter": "get_cellular_jitter" - }, - { - "type": "int", - "name": "cellular_return_type", - "setter": "set_cellular_return_type", - "getter": "get_cellular_return_type" - }, - { - "type": "bool", - "name": "domain_warp_enabled", - "setter": "set_domain_warp_enabled", - "getter": "is_domain_warp_enabled" - }, - { - "type": "int", - "name": "domain_warp_type", - "setter": "set_domain_warp_type", - "getter": "get_domain_warp_type" - }, - { - "type": "float", - "name": "domain_warp_amplitude", - "setter": "set_domain_warp_amplitude", - "getter": "get_domain_warp_amplitude" - }, - { - "type": "float", - "name": "domain_warp_frequency", - "setter": "set_domain_warp_frequency", - "getter": "get_domain_warp_frequency" - }, - { - "type": "int", - "name": "domain_warp_fractal_type", - "setter": "set_domain_warp_fractal_type", - "getter": "get_domain_warp_fractal_type" - }, - { - "type": "int", - "name": "domain_warp_fractal_octaves", - "setter": "set_domain_warp_fractal_octaves", - "getter": "get_domain_warp_fractal_octaves" - }, - { - "type": "float", - "name": "domain_warp_fractal_lacunarity", - "setter": "set_domain_warp_fractal_lacunarity", - "getter": "get_domain_warp_fractal_lacunarity" - }, - { - "type": "float", - "name": "domain_warp_fractal_gain", - "setter": "set_domain_warp_fractal_gain", - "getter": "get_domain_warp_fractal_gain" - } - ] - }, - { - "name": "FileAccess", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "ModeFlags", - "is_bitfield": false, - "values": [ - { - "name": "READ", - "value": 1 - }, - { - "name": "WRITE", - "value": 2 - }, - { - "name": "READ_WRITE", - "value": 3 - }, - { - "name": "WRITE_READ", - "value": 7 - } - ] - }, - { - "name": "CompressionMode", - "is_bitfield": false, - "values": [ - { - "name": "COMPRESSION_FASTLZ", - "value": 0 - }, - { - "name": "COMPRESSION_DEFLATE", - "value": 1 - }, - { - "name": "COMPRESSION_ZSTD", - "value": 2 - }, - { - "name": "COMPRESSION_GZIP", - "value": 3 - }, - { - "name": "COMPRESSION_BROTLI", - "value": 4 - } - ] - }, - { - "name": "UnixPermissionFlags", - "is_bitfield": true, - "values": [ - { - "name": "UNIX_READ_OWNER", - "value": 256 - }, - { - "name": "UNIX_WRITE_OWNER", - "value": 128 - }, - { - "name": "UNIX_EXECUTE_OWNER", - "value": 64 - }, - { - "name": "UNIX_READ_GROUP", - "value": 32 - }, - { - "name": "UNIX_WRITE_GROUP", - "value": 16 - }, - { - "name": "UNIX_EXECUTE_GROUP", - "value": 8 - }, - { - "name": "UNIX_READ_OTHER", - "value": 4 - }, - { - "name": "UNIX_WRITE_OTHER", - "value": 2 - }, - { - "name": "UNIX_EXECUTE_OTHER", - "value": 1 - }, - { - "name": "UNIX_SET_USER_ID", - "value": 2048 - }, - { - "name": "UNIX_SET_GROUP_ID", - "value": 1024 - }, - { - "name": "UNIX_RESTRICTED_DELETE", - "value": 512 - } - ] - } - ], - "methods": [ - { - "name": "open", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 1247358404, - "return_value": { - "type": "FileAccess" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "flags", - "type": "enum::FileAccess.ModeFlags" - } - ] - }, - { - "name": "open_encrypted", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 1482131466, - "return_value": { - "type": "FileAccess" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "mode_flags", - "type": "enum::FileAccess.ModeFlags" - }, - { - "name": "key", - "type": "PackedByteArray" - } - ] - }, - { - "name": "open_encrypted_with_pass", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 790283377, - "return_value": { - "type": "FileAccess" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "mode_flags", - "type": "enum::FileAccess.ModeFlags" - }, - { - "name": "pass", - "type": "String" - } - ] - }, - { - "name": "open_compressed", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3686439335, - "hash_compatibility": [ - 2874458257 - ], - "return_value": { - "type": "FileAccess" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "mode_flags", - "type": "enum::FileAccess.ModeFlags" - }, - { - "name": "compression_mode", - "type": "enum::FileAccess.CompressionMode", - "default_value": "0" - } - ] - }, - { - "name": "get_open_error", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "get_file_as_bytes", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 659035735, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_file_as_string", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 1703090593, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "flush", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_path_absolute", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_open", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "seek", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "position", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "seek_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "position", - "type": "int", - "meta": "int64", - "default_value": "0" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "eof_reached", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_8", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint8" - } - }, - { - "name": "get_16", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint16" - } - }, - { - "name": "get_32", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "get_64", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_float", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_double", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_real", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_buffer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4131300905, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "length", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_csv_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2358116058, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "delim", - "type": "String", - "default_value": "\",\"" - } - ] - }, - { - "name": "get_as_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1162154673, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "skip_cr", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_md5", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 1703090593, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_sha256", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 1703090593, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "is_big_endian", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_big_endian", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "big_endian", - "type": "bool" - } - ] - }, - { - "name": "get_error", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3185525595, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "get_var", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 189129690, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "allow_objects", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "store_8", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "uint8" - } - ] - }, - { - "name": "store_16", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "uint16" - } - ] - }, - { - "name": "store_32", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "store_64", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "store_float", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "store_double", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "store_real", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "store_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2971499966, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "store_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "line", - "type": "String" - } - ] - }, - { - "name": "store_csv_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2173791505, - "hash_compatibility": [ - 2217842308 - ], - "arguments": [ - { - "name": "values", - "type": "PackedStringArray" - }, - { - "name": "delim", - "type": "String", - "default_value": "\",\"" - } - ] - }, - { - "name": "store_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "store_var", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 738511890, - "arguments": [ - { - "name": "value", - "type": "Variant" - }, - { - "name": "full_objects", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "store_pascal_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "get_pascal_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "close", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "file_exists", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_modified_time", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 1597066294, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "get_unix_permissions", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 524341837, - "return_value": { - "type": "bitfield::FileAccess.UnixPermissionFlags" - }, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "set_unix_permissions", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 846038644, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "file", - "type": "String" - }, - { - "name": "permissions", - "type": "bitfield::FileAccess.UnixPermissionFlags" - } - ] - }, - { - "name": "get_hidden_attribute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "set_hidden_attribute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2892558115, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "file", - "type": "String" - }, - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "set_read_only_attribute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2892558115, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "file", - "type": "String" - }, - { - "name": "ro", - "type": "bool" - } - ] - }, - { - "name": "get_read_only_attribute", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "big_endian", - "setter": "set_big_endian", - "getter": "is_big_endian" - } - ] - }, - { - "name": "FileDialog", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "ConfirmationDialog", - "api_type": "core", - "enums": [ - { - "name": "FileMode", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3388804757, - "hash_compatibility": [ - 233059325 - ], - "arguments": [ - { - "name": "filter", - "type": "String" - }, - { - "name": "description", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "set_filters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "filters", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_filters", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_current_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_current_file", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_current_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_current_dir", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "dir", - "type": "String" - } - ] - }, - { - "name": "set_current_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "set_current_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "set_mode_overrides_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "override", - "type": "bool" - } - ] - }, - { - "name": "is_mode_overriding_title", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_file_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3654936397, - "arguments": [ - { - "name": "mode", - "type": "enum::FileDialog.FileMode" - } - ] - }, - { - "name": "get_file_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4074825319, - "return_value": { - "type": "enum::FileDialog.FileMode" - } - }, - { - "name": "get_vbox", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 915758477, - "return_value": { - "type": "VBoxContainer" - } - }, - { - "name": "get_line_edit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4071694264, - "return_value": { - "type": "LineEdit" - } - }, - { - "name": "set_access", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4104413466, - "arguments": [ - { - "name": "access", - "type": "enum::FileDialog.Access" - } - ] - }, - { - "name": "get_access", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3344081076, - "return_value": { - "type": "enum::FileDialog.Access" - } - }, - { - "name": "set_root_subfolder", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "dir", - "type": "String" - } - ] - }, - { - "name": "get_root_subfolder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_show_hidden_files", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "show", - "type": "bool" - } - ] - }, - { - "name": "is_showing_hidden_files", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_native_dialog", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "native", - "type": "bool" - } - ] - }, - { - "name": "get_use_native_dialog", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "deselect_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "invalidate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "signals": [ - { - "name": "file_selected", - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "files_selected", - "arguments": [ - { - "name": "paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "dir_selected", - "arguments": [ - { - "name": "dir", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "mode_overrides_title", - "setter": "set_mode_overrides_title", - "getter": "is_mode_overriding_title" - }, - { - "type": "int", - "name": "file_mode", - "setter": "set_file_mode", - "getter": "get_file_mode" - }, - { - "type": "int", - "name": "access", - "setter": "set_access", - "getter": "get_access" - }, - { - "type": "String", - "name": "root_subfolder", - "setter": "set_root_subfolder", - "getter": "get_root_subfolder" - }, - { - "type": "PackedStringArray", - "name": "filters", - "setter": "set_filters", - "getter": "get_filters" - }, - { - "type": "bool", - "name": "show_hidden_files", - "setter": "set_show_hidden_files", - "getter": "is_showing_hidden_files" - }, - { - "type": "bool", - "name": "use_native_dialog", - "setter": "set_use_native_dialog", - "getter": "get_use_native_dialog" - }, - { - "type": "String", - "name": "current_dir", - "setter": "set_current_dir", - "getter": "get_current_dir" - }, - { - "type": "String", - "name": "current_file", - "setter": "set_current_file", - "getter": "get_current_file" - }, - { - "type": "String", - "name": "current_path", - "setter": "set_current_path", - "getter": "get_current_path" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "add_resource_tooltip_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2258356838, - "arguments": [ - { - "name": "plugin", - "type": "EditorResourceTooltipPlugin" - } - ] - }, - { - "name": "remove_resource_tooltip_plugin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2258356838, - "arguments": [ - { - "name": "plugin", - "type": "EditorResourceTooltipPlugin" - } - ] - } - ], - "signals": [ - { - "name": "inherit", - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "instantiate", - "arguments": [ - { - "name": "files", - "type": "PackedStringArray" - } - ] - }, - { - "name": "resource_removed", - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "file_removed", - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "folder_removed", - "arguments": [ - { - "name": "folder", - "type": "String" - } - ] - }, - { - "name": "files_moved", - "arguments": [ - { - "name": "old_file", - "type": "String" - }, - { - "name": "new_file", - "type": "String" - } - ] - }, - { - "name": "folder_moved", - "arguments": [ - { - "name": "old_folder", - "type": "String" - }, - { - "name": "new_folder", - "type": "String" - } - ] - }, - { - "name": "display_mode_changed" - } - ] - }, - { - "name": "FlowContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "core", - "enums": [ - { - "name": "AlignmentMode", - "is_bitfield": false, - "values": [ - { - "name": "ALIGNMENT_BEGIN", - "value": 0 - }, - { - "name": "ALIGNMENT_CENTER", - "value": 1 - }, - { - "name": "ALIGNMENT_END", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "get_line_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 575250951, - "arguments": [ - { - "name": "alignment", - "type": "enum::FlowContainer.AlignmentMode" - } - ] - }, - { - "name": "get_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3749743559, - "return_value": { - "type": "enum::FlowContainer.AlignmentMode" - } - }, - { - "name": "set_vertical", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "vertical", - "type": "bool" - } - ] - }, - { - "name": "is_vertical", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "alignment", - "setter": "set_alignment", - "getter": "get_alignment" - }, - { - "type": "bool", - "name": "vertical", - "setter": "set_vertical", - "getter": "is_vertical" - } - ] - }, - { - "name": "FogMaterial", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Material", - "api_type": "core", - "methods": [ - { - "name": "set_density", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "density", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_density", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_albedo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "albedo", - "type": "Color" - } - ] - }, - { - "name": "get_albedo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_emission", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "emission", - "type": "Color" - } - ] - }, - { - "name": "get_emission", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_height_falloff", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height_falloff", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height_falloff", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_edge_fade", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "edge_fade", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_edge_fade", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_density_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1188404210, - "arguments": [ - { - "name": "density_texture", - "type": "Texture3D" - } - ] - }, - { - "name": "get_density_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373985333, - "return_value": { - "type": "Texture3D" - } - } - ], - "properties": [ - { - "type": "float", - "name": "density", - "setter": "set_density", - "getter": "get_density" - }, - { - "type": "Color", - "name": "albedo", - "setter": "set_albedo", - "getter": "get_albedo" - }, - { - "type": "Color", - "name": "emission", - "setter": "set_emission", - "getter": "get_emission" - }, - { - "type": "float", - "name": "height_falloff", - "setter": "set_height_falloff", - "getter": "get_height_falloff" - }, - { - "type": "float", - "name": "edge_fade", - "setter": "set_edge_fade", - "getter": "get_edge_fade" - }, - { - "type": "Texture3D", - "name": "density_texture", - "setter": "set_density_texture", - "getter": "get_density_texture" - } - ] - }, - { - "name": "FogVolume", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VisualInstance3D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1416323362, - "arguments": [ - { - "name": "shape", - "type": "enum::RenderingServer.FogVolumeShape" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3920334604, - "return_value": { - "type": "enum::RenderingServer.FogVolumeShape" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "int", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "FogMaterial,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - } - ] - }, - { - "name": "Font", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_fallbacks", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "fallbacks", - "type": "typedarray::Font" - } - ] - }, - { - "name": "get_fallbacks", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Font" - } - }, - { - "name": "find_variation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3344325384, - "hash_compatibility": [ - 1851767612, - 1222433716, - 1149405976 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "variation_coordinates", - "type": "Dictionary" - }, - { - "name": "face_index", - "type": "int", - "meta": "int32", - "default_value": "0" - }, - { - "name": "strength", - "type": "float", - "meta": "float", - "default_value": "0.0" - }, - { - "name": "transform", - "type": "Transform2D", - "default_value": "Transform2D(1, 0, 0, 1, 0, 0)" - }, - { - "name": "spacing_top", - "type": "int", - "meta": "int32", - "default_value": "0" - }, - { - "name": "spacing_bottom", - "type": "int", - "meta": "int32", - "default_value": "0" - }, - { - "name": "spacing_space", - "type": "int", - "meta": "int32", - "default_value": "0" - }, - { - "name": "spacing_glyph", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_rids", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 378113874, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - } - ] - }, - { - "name": "get_ascent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 378113874, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - } - ] - }, - { - "name": "get_descent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 378113874, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - } - ] - }, - { - "name": "get_underline_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 378113874, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - } - ] - }, - { - "name": "get_underline_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 378113874, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - } - ] - }, - { - "name": "get_font_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_font_style_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_ot_name_strings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_font_style", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2520224254, - "return_value": { - "type": "bitfield::TextServer.FontStyle" - } - }, - { - "name": "get_font_weight", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_font_stretch", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_spacing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1310880908, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - } - ] - }, - { - "name": "get_opentype_features", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "set_cache_capacity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "single_line", - "type": "int", - "meta": "int32" - }, - { - "name": "multi_line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_string_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1868866121, - "hash_compatibility": [ - 3678918099 - ], - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "get_multiline_string_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 519636710, - "hash_compatibility": [ - 2427690650 - ], - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "max_lines", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "brk_flags", - "type": "bitfield::TextServer.LineBreakFlag", - "default_value": "3" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "draw_string", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1983721962, - "hash_compatibility": [ - 2565402639 - ], - "arguments": [ - { - "name": "canvas_item", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "draw_multiline_string", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1171506176, - "hash_compatibility": [ - 348869189 - ], - "arguments": [ - { - "name": "canvas_item", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "max_lines", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "brk_flags", - "type": "bitfield::TextServer.LineBreakFlag", - "default_value": "3" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "draw_string_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 623754045, - "hash_compatibility": [ - 657875837 - ], - "arguments": [ - { - "name": "canvas_item", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "1" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "draw_multiline_string_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3206388178, - "hash_compatibility": [ - 1649790182 - ], - "arguments": [ - { - "name": "canvas_item", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "alignment", - "type": "enum::HorizontalAlignment", - "default_value": "0" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "16" - }, - { - "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": "brk_flags", - "type": "bitfield::TextServer.LineBreakFlag", - "default_value": "3" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction", - "default_value": "0" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation", - "default_value": "0" - } - ] - }, - { - "name": "get_char_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3016396712, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "char", - "type": "int" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "draw_char", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3815617597, - "hash_compatibility": [ - 1462476057 - ], - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "canvas_item", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "char", - "type": "int" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - } - ] - }, - { - "name": "draw_char_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 209525354, - "hash_compatibility": [ - 4161008124 - ], - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "canvas_item", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "char", - "type": "int" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "modulate", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - } - ] - }, - { - "name": "has_char", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "char", - "type": "int" - } - ] - }, - { - "name": "get_supported_chars", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_language_supported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "is_script_supported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "get_supported_feature_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_supported_variation_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_face_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - } - ], - "properties": [ - { - "type": "typedarray::24/17:Font", - "name": "fallbacks", - "setter": "set_fallbacks", - "getter": "get_fallbacks" - } - ] - }, - { - "name": "FontFile", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Font", - "api_type": "core", - "methods": [ - { - "name": "load_bitmap_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "load_dynamic_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "set_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2971499966, - "arguments": [ - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "get_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2362200018, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "set_font_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_font_style_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_font_style", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 918070724, - "arguments": [ - { - "name": "style", - "type": "bitfield::TextServer.FontStyle" - } - ] - }, - { - "name": "set_font_weight", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "weight", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_font_stretch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "stretch", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_antialiasing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1669900, - "arguments": [ - { - "name": "antialiasing", - "type": "enum::TextServer.FontAntialiasing" - } - ] - }, - { - "name": "get_antialiasing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4262718649, - "return_value": { - "type": "enum::TextServer.FontAntialiasing" - } - }, - { - "name": "set_generate_mipmaps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "generate_mipmaps", - "type": "bool" - } - ] - }, - { - "name": "get_generate_mipmaps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_multichannel_signed_distance_field", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "msdf", - "type": "bool" - } - ] - }, - { - "name": "is_multichannel_signed_distance_field", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_msdf_pixel_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "msdf_pixel_range", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_msdf_pixel_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_msdf_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "msdf_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_msdf_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_fixed_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "fixed_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_fixed_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_fixed_size_scale_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1660989956, - "arguments": [ - { - "name": "fixed_size_scale_mode", - "type": "enum::TextServer.FixedSizeScaleMode" - } - ] - }, - { - "name": "get_fixed_size_scale_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 753873478, - "return_value": { - "type": "enum::TextServer.FixedSizeScaleMode" - } - }, - { - "name": "set_allow_system_fallback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow_system_fallback", - "type": "bool" - } - ] - }, - { - "name": "is_allow_system_fallback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_force_autohinter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "force_autohinter", - "type": "bool" - } - ] - }, - { - "name": "is_force_autohinter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hinting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1827459492, - "arguments": [ - { - "name": "hinting", - "type": "enum::TextServer.Hinting" - } - ] - }, - { - "name": "get_hinting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3683214614, - "return_value": { - "type": "enum::TextServer.Hinting" - } - }, - { - "name": "set_subpixel_positioning", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4225742182, - "arguments": [ - { - "name": "subpixel_positioning", - "type": "enum::TextServer.SubpixelPositioning" - } - ] - }, - { - "name": "get_subpixel_positioning", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1069238588, - "return_value": { - "type": "enum::TextServer.SubpixelPositioning" - } - }, - { - "name": "set_oversampling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "oversampling", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_oversampling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_cache_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "clear_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "remove_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_size_cache_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 663333327, - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_size_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_size_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2311374912, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "set_variation_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 64545446, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "variation_coordinates", - "type": "Dictionary" - } - ] - }, - { - "name": "get_variation_coordinates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3485342025, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_embolden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_embolden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 30160968, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3836996910, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_extra_spacing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 62942285, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_extra_spacing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1924257185, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - } - ] - }, - { - "name": "set_face_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "face_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_face_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_cache_ascent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3506521499, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "ascent", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cache_ascent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3085491603, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_cache_descent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3506521499, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "descent", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cache_descent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3085491603, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_cache_underline_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3506521499, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "underline_position", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cache_underline_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3085491603, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_cache_underline_thickness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3506521499, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "underline_thickness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cache_underline_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3085491603, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_cache_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3506521499, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cache_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3085491603, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_texture_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1987661582, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "clear_textures", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2311374912, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "remove_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2328951467, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_texture_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4157974066, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int32" - }, - { - "name": "image", - "type": "Image" - } - ] - }, - { - "name": "get_texture_image", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3878418953, - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_texture_offsets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2849993437, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int32" - }, - { - "name": "offset", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_texture_offsets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3703444828, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_glyph_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 681709689, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "clear_glyphs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2311374912, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "remove_glyph", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2328951467, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_glyph_advance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 947991729, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - }, - { - "name": "advance", - "type": "Vector2" - } - ] - }, - { - "name": "get_glyph_advance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1601573536, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_glyph_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 921719850, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - }, - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_glyph_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3205412300, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_glyph_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 921719850, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - }, - { - "name": "gl_size", - "type": "Vector2" - } - ] - }, - { - "name": "get_glyph_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3205412300, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_glyph_uv_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3821620992, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - }, - { - "name": "uv_rect", - "type": "Rect2" - } - ] - }, - { - "name": "get_glyph_uv_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927917900, - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_glyph_texture_idx", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 355564111, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - }, - { - "name": "texture_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_glyph_texture_idx", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1629411054, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_kerning_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2345056839, - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_kerning_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_kerning", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3930204747, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "glyph_pair", - "type": "Vector2i" - } - ] - }, - { - "name": "set_kerning", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3182200918, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "glyph_pair", - "type": "Vector2i" - }, - { - "name": "kerning", - "type": "Vector2" - } - ] - }, - { - "name": "get_kerning", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611912865, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "glyph_pair", - "type": "Vector2i" - } - ] - }, - { - "name": "render_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 355564111, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "start", - "type": "int" - }, - { - "name": "end", - "type": "int" - } - ] - }, - { - "name": "render_glyph", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2328951467, - "arguments": [ - { - "name": "cache_index", - "type": "int", - "meta": "int32" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_language_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2678287736, - "arguments": [ - { - "name": "language", - "type": "String" - }, - { - "name": "supported", - "type": "bool" - } - ] - }, - { - "name": "get_language_support_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "remove_language_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language_support_overrides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_script_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2678287736, - "arguments": [ - { - "name": "script", - "type": "String" - }, - { - "name": "supported", - "type": "bool" - } - ] - }, - { - "name": "get_script_support_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "remove_script_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "get_script_support_overrides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_opentype_feature_overrides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "overrides", - "type": "Dictionary" - } - ] - }, - { - "name": "get_opentype_feature_overrides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_glyph_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 864943070, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "char", - "type": "int" - }, - { - "name": "variation_selector", - "type": "int" - } - ] - }, - { - "name": "get_char_from_glyph_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175239445, - "return_value": { - "type": "int" - }, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "glyph_index", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "PackedByteArray", - "name": "data", - "setter": "set_data", - "getter": "get_data" - }, - { - "type": "bool", - "name": "generate_mipmaps", - "setter": "set_generate_mipmaps", - "getter": "get_generate_mipmaps" - }, - { - "type": "int", - "name": "antialiasing", - "setter": "set_antialiasing", - "getter": "get_antialiasing" - }, - { - "type": "String", - "name": "font_name", - "setter": "set_font_name", - "getter": "get_font_name" - }, - { - "type": "String", - "name": "style_name", - "setter": "set_font_style_name", - "getter": "get_font_style_name" - }, - { - "type": "int", - "name": "font_style", - "setter": "set_font_style", - "getter": "get_font_style" - }, - { - "type": "int", - "name": "font_weight", - "setter": "set_font_weight", - "getter": "get_font_weight" - }, - { - "type": "int", - "name": "font_stretch", - "setter": "set_font_stretch", - "getter": "get_font_stretch" - }, - { - "type": "int", - "name": "subpixel_positioning", - "setter": "set_subpixel_positioning", - "getter": "get_subpixel_positioning" - }, - { - "type": "bool", - "name": "multichannel_signed_distance_field", - "setter": "set_multichannel_signed_distance_field", - "getter": "is_multichannel_signed_distance_field" - }, - { - "type": "int", - "name": "msdf_pixel_range", - "setter": "set_msdf_pixel_range", - "getter": "get_msdf_pixel_range" - }, - { - "type": "int", - "name": "msdf_size", - "setter": "set_msdf_size", - "getter": "get_msdf_size" - }, - { - "type": "bool", - "name": "allow_system_fallback", - "setter": "set_allow_system_fallback", - "getter": "is_allow_system_fallback" - }, - { - "type": "bool", - "name": "force_autohinter", - "setter": "set_force_autohinter", - "getter": "is_force_autohinter" - }, - { - "type": "int", - "name": "hinting", - "setter": "set_hinting", - "getter": "get_hinting" - }, - { - "type": "float", - "name": "oversampling", - "setter": "set_oversampling", - "getter": "get_oversampling" - }, - { - "type": "int", - "name": "fixed_size", - "setter": "set_fixed_size", - "getter": "get_fixed_size" - }, - { - "type": "int", - "name": "fixed_size_scale_mode", - "setter": "set_fixed_size_scale_mode", - "getter": "get_fixed_size_scale_mode" - }, - { - "type": "Dictionary", - "name": "opentype_feature_overrides", - "setter": "set_opentype_feature_overrides", - "getter": "get_opentype_feature_overrides" - } - ] - }, - { - "name": "FontVariation", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Font", - "api_type": "core", - "methods": [ - { - "name": "set_base_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1262170328, - "arguments": [ - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "get_base_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229501585, - "return_value": { - "type": "Font" - } - }, - { - "name": "set_variation_opentype", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "coords", - "type": "Dictionary" - } - ] - }, - { - "name": "get_variation_opentype", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "set_variation_embolden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_variation_embolden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_variation_face_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "face_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_variation_face_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_variation_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_variation_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "set_opentype_features", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "features", - "type": "Dictionary" - } - ] - }, - { - "name": "set_spacing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3122339690, - "arguments": [ - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "Font", - "name": "base_font", - "setter": "set_base_font", - "getter": "get_base_font" - }, - { - "type": "Dictionary", - "name": "variation_opentype", - "setter": "set_variation_opentype", - "getter": "get_variation_opentype" - }, - { - "type": "int", - "name": "variation_face_index", - "setter": "set_variation_face_index", - "getter": "get_variation_face_index" - }, - { - "type": "float", - "name": "variation_embolden", - "setter": "set_variation_embolden", - "getter": "get_variation_embolden" - }, - { - "type": "Transform2D", - "name": "variation_transform", - "setter": "set_variation_transform", - "getter": "get_variation_transform" - }, - { - "type": "Dictionary", - "name": "opentype_features", - "setter": "set_opentype_features", - "getter": "get_opentype_features" - }, - { - "type": "int", - "name": "spacing_glyph", - "setter": "set_spacing", - "getter": "get_spacing", - "index": 0 - }, - { - "type": "int", - "name": "spacing_space", - "setter": "set_spacing", - "getter": "get_spacing", - "index": 1 - }, - { - "type": "int", - "name": "spacing_top", - "setter": "set_spacing", - "getter": "get_spacing", - "index": 2 - }, - { - "type": "int", - "name": "spacing_bottom", - "setter": "set_spacing", - "getter": "get_spacing", - "index": 3 - } - ] - }, - { - "name": "GDExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "InitializationLevel", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 852856452, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_library_open", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_minimum_library_initialization_level", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 964858755, - "return_value": { - "type": "enum::GDExtension.InitializationLevel" - } - }, - { - "name": "initialize_library", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3409922941, - "arguments": [ - { - "name": "level", - "type": "enum::GDExtension.InitializationLevel" - } - ] - } - ] - }, - { - "name": "GDExtensionManager", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "LoadStatus", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 4024158731, - "return_value": { - "type": "enum::GDExtensionManager.LoadStatus" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "reload_extension", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4024158731, - "return_value": { - "type": "enum::GDExtensionManager.LoadStatus" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "unload_extension", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4024158731, - "return_value": { - "type": "enum::GDExtensionManager.LoadStatus" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "is_extension_loaded", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_loaded_extensions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_extension", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 49743343, - "return_value": { - "type": "GDExtension" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ], - "signals": [ - { - "name": "extensions_reloaded" - } - ] - }, - { - "name": "GDScript", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Script", - "api_type": "core", - "methods": [ - { - "name": "new", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 1545262638, - "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_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_buffer_view", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "buffer_view", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_byte_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_byte_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "byte_offset", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_component_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_component_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "component_type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_normalized", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_normalized", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "normalized", - "type": "bool" - } - ] - }, - { - "name": "get_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 148677866, - "return_value": { - "type": "PackedFloat64Array" - } - }, - { - "name": "set_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2576592201, - "arguments": [ - { - "name": "min", - "type": "PackedFloat64Array" - } - ] - }, - { - "name": "get_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 148677866, - "return_value": { - "type": "PackedFloat64Array" - } - }, - { - "name": "set_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2576592201, - "arguments": [ - { - "name": "max", - "type": "PackedFloat64Array" - } - ] - }, - { - "name": "get_sparse_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sparse_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sparse_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sparse_indices_buffer_view", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sparse_indices_buffer_view", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sparse_indices_buffer_view", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sparse_indices_byte_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sparse_indices_byte_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sparse_indices_byte_offset", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sparse_indices_component_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sparse_indices_component_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sparse_indices_component_type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sparse_values_buffer_view", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sparse_values_buffer_view", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sparse_values_buffer_view", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sparse_values_byte_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sparse_values_byte_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sparse_values_byte_offset", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "buffer_view", - "setter": "set_buffer_view", - "getter": "get_buffer_view" - }, - { - "type": "int", - "name": "byte_offset", - "setter": "set_byte_offset", - "getter": "get_byte_offset" - }, - { - "type": "int", - "name": "component_type", - "setter": "set_component_type", - "getter": "get_component_type" - }, - { - "type": "bool", - "name": "normalized", - "setter": "set_normalized", - "getter": "get_normalized" - }, - { - "type": "int", - "name": "count", - "setter": "set_count", - "getter": "get_count" - }, - { - "type": "int", - "name": "type", - "setter": "set_type", - "getter": "get_type" - }, - { - "type": "PackedFloat64Array", - "name": "min", - "setter": "set_min", - "getter": "get_min" - }, - { - "type": "PackedFloat64Array", - "name": "max", - "setter": "set_max", - "getter": "get_max" - }, - { - "type": "int", - "name": "sparse_count", - "setter": "set_sparse_count", - "getter": "get_sparse_count" - }, - { - "type": "int", - "name": "sparse_indices_buffer_view", - "setter": "set_sparse_indices_buffer_view", - "getter": "get_sparse_indices_buffer_view" - }, - { - "type": "int", - "name": "sparse_indices_byte_offset", - "setter": "set_sparse_indices_byte_offset", - "getter": "get_sparse_indices_byte_offset" - }, - { - "type": "int", - "name": "sparse_indices_component_type", - "setter": "set_sparse_indices_component_type", - "getter": "get_sparse_indices_component_type" - }, - { - "type": "int", - "name": "sparse_values_buffer_view", - "setter": "set_sparse_values_buffer_view", - "getter": "get_sparse_values_buffer_view" - }, - { - "type": "int", - "name": "sparse_values_byte_offset", - "setter": "set_sparse_values_byte_offset", - "getter": "get_sparse_values_byte_offset" - } - ] - }, - { - "name": "GLTFAnimation", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_loop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "loop", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "loop", - "setter": "set_loop", - "getter": "get_loop" - } - ] - }, - { - "name": "GLTFBufferView", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "buffer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_byte_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_byte_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "byte_offset", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_byte_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_byte_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "byte_length", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_byte_stride", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_byte_stride", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "byte_stride", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_indices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_indices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "indices", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "buffer", - "setter": "set_buffer", - "getter": "get_buffer" - }, - { - "type": "int", - "name": "byte_offset", - "setter": "set_byte_offset", - "getter": "get_byte_offset" - }, - { - "type": "int", - "name": "byte_length", - "setter": "set_byte_length", - "getter": "get_byte_length" - }, - { - "type": "int", - "name": "byte_stride", - "setter": "set_byte_stride", - "getter": "get_byte_stride" - }, - { - "type": "bool", - "name": "indices", - "setter": "set_indices", - "getter": "get_indices" - } - ] - }, - { - "name": "GLTFCamera", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "from_node", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 237784, - "return_value": { - "type": "GLTFCamera" - }, - "arguments": [ - { - "name": "camera_node", - "type": "Camera3D" - } - ] - }, - { - "name": "to_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2285090890, - "return_value": { - "type": "Camera3D" - } - }, - { - "name": "from_dictionary", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2495512509, - "return_value": { - "type": "GLTFCamera" - }, - "arguments": [ - { - "name": "dictionary", - "type": "Dictionary" - } - ] - }, - { - "name": "to_dictionary", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_perspective", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_perspective", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "perspective", - "type": "bool" - } - ] - }, - { - "name": "get_fov", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fov", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fov", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_size_mag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_size_mag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size_mag", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth_far", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_depth_far", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "zdepth_far", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth_near", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_depth_near", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "zdepth_near", - "type": "float", - "meta": "float" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "perspective", - "setter": "set_perspective", - "getter": "get_perspective" - }, - { - "type": "float", - "name": "fov", - "setter": "set_fov", - "getter": "get_fov" - }, - { - "type": "float", - "name": "size_mag", - "setter": "set_size_mag", - "getter": "get_size_mag" - }, - { - "type": "float", - "name": "depth_far", - "setter": "set_depth_far", - "getter": "get_depth_far" - }, - { - "type": "float", - "name": "depth_near", - "setter": "set_depth_near", - "getter": "get_depth_near" - } - ] - }, - { - "name": "GLTFDocument", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "RootNodeMode", - "is_bitfield": false, - "values": [ - { - "name": "ROOT_NODE_MODE_SINGLE_ROOT", - "value": 0 - }, - { - "name": "ROOT_NODE_MODE_KEEP_ROOT", - "value": 1 - }, - { - "name": "ROOT_NODE_MODE_MULTI_ROOT", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "append_from_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866380864, - "hash_compatibility": [ - 1862991421 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "flags", - "type": "int", - "meta": "uint32", - "default_value": "0" - }, - { - "name": "base_path", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "append_from_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1616081266, - "hash_compatibility": [ - 2818062664 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "bytes", - "type": "PackedByteArray" - }, - { - "name": "base_path", - "type": "String" - }, - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "flags", - "type": "int", - "meta": "uint32", - "default_value": "0" - } - ] - }, - { - "name": "append_from_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1622574258, - "hash_compatibility": [ - 374125375 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "node", - "type": "Node" - }, - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "flags", - "type": "int", - "meta": "uint32", - "default_value": "0" - } - ] - }, - { - "name": "generate_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 596118388, - "hash_compatibility": [ - 2770277081 - ], - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "bake_fps", - "type": "float", - "meta": "float", - "default_value": "30" - }, - { - "name": "trimming", - "type": "bool", - "default_value": "false" - }, - { - "name": "remove_immutable_tracks", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "generate_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 741783455, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - } - ] - }, - { - "name": "write_to_filesystem", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1784551478, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "set_image_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "image_format", - "type": "String" - } - ] - }, - { - "name": "get_image_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_lossy_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "lossy_quality", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_lossy_quality", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_root_node_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 463633402, - "arguments": [ - { - "name": "root_node_mode", - "type": "enum::GLTFDocument.RootNodeMode" - } - ] - }, - { - "name": "get_root_node_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 948057992, - "return_value": { - "type": "enum::GLTFDocument.RootNodeMode" - } - }, - { - "name": "register_gltf_document_extension", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3752678331, - "arguments": [ - { - "name": "extension", - "type": "GLTFDocumentExtension" - }, - { - "name": "first_priority", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "unregister_gltf_document_extension", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2684415758, - "arguments": [ - { - "name": "extension", - "type": "GLTFDocumentExtension" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "image_format", - "setter": "set_image_format", - "getter": "get_image_format" - }, - { - "type": "float", - "name": "lossy_quality", - "setter": "set_lossy_quality", - "getter": "get_lossy_quality" - }, - { - "type": "int", - "name": "root_node_mode", - "setter": "set_root_node_mode", - "getter": "get_root_node_mode" - } - ] - }, - { - "name": "GLTFDocumentExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "_import_preflight", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "extensions", - "type": "PackedStringArray" - } - ] - }, - { - "name": "_get_supported_extensions", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_parse_node_extensions", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "gltf_node", - "type": "GLTFNode" - }, - { - "name": "extensions", - "type": "Dictionary" - } - ] - }, - { - "name": "_parse_image_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "image_data", - "type": "PackedByteArray" - }, - { - "name": "mime_type", - "type": "String" - }, - { - "name": "ret_image", - "type": "Image" - } - ] - }, - { - "name": "_get_image_file_extension", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_parse_texture_json", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "texture_json", - "type": "Dictionary" - }, - { - "name": "ret_gltf_texture", - "type": "GLTFTexture" - } - ] - }, - { - "name": "_generate_scene_node", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Node3D" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "gltf_node", - "type": "GLTFNode" - }, - { - "name": "scene_parent", - "type": "Node" - } - ] - }, - { - "name": "_import_post_parse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - } - ] - }, - { - "name": "_import_node", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "gltf_node", - "type": "GLTFNode" - }, - { - "name": "json", - "type": "Dictionary" - }, - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "_import_post", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "root", - "type": "Node" - } - ] - }, - { - "name": "_export_preflight", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "root", - "type": "Node" - } - ] - }, - { - "name": "_convert_scene_node", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "gltf_node", - "type": "GLTFNode" - }, - { - "name": "scene_node", - "type": "Node" - } - ] - }, - { - "name": "_export_preserialize", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - } - ] - }, - { - "name": "_get_saveable_image_formats", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_serialize_image_to_bytes", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "image", - "type": "Image" - }, - { - "name": "image_dict", - "type": "Dictionary" - }, - { - "name": "image_format", - "type": "String" - }, - { - "name": "lossy_quality", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_save_image_at_path", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "image", - "type": "Image" - }, - { - "name": "file_path", - "type": "String" - }, - { - "name": "image_format", - "type": "String" - }, - { - "name": "lossy_quality", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_serialize_texture_json", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "texture_json", - "type": "Dictionary" - }, - { - "name": "gltf_texture", - "type": "GLTFTexture" - }, - { - "name": "image_format", - "type": "String" - } - ] - }, - { - "name": "_export_node", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - }, - { - "name": "gltf_node", - "type": "GLTFNode" - }, - { - "name": "json", - "type": "Dictionary" - }, - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "_export_post", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "state", - "type": "GLTFState" - } - ] - } - ] - }, - { - "name": "GLTFDocumentExtensionConvertImporterMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "GLTFDocumentExtension", - "api_type": "core" - }, - { - "name": "GLTFLight", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "from_node", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3907677874, - "return_value": { - "type": "GLTFLight" - }, - "arguments": [ - { - "name": "light_node", - "type": "Light3D" - } - ] - }, - { - "name": "to_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2040811672, - "return_value": { - "type": "Light3D" - } - }, - { - "name": "from_dictionary", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 4057087208, - "return_value": { - "type": "GLTFLight" - }, - "arguments": [ - { - "name": "dictionary", - "type": "Dictionary" - } - ] - }, - { - "name": "to_dictionary", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3200896285, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_intensity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_intensity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "intensity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_light_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "set_light_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "light_type", - "type": "String" - } - ] - }, - { - "name": "get_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "range", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_inner_cone_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_inner_cone_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "inner_cone_angle", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_outer_cone_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_outer_cone_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "outer_cone_angle", - "type": "float", - "meta": "float" - } - ] - } - ], - "properties": [ - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - }, - { - "type": "float", - "name": "intensity", - "setter": "set_intensity", - "getter": "get_intensity" - }, - { - "type": "String", - "name": "light_type", - "setter": "set_light_type", - "getter": "get_light_type" - }, - { - "type": "float", - "name": "range", - "setter": "set_range", - "getter": "get_range" - }, - { - "type": "float", - "name": "inner_cone_angle", - "setter": "set_inner_cone_angle", - "getter": "get_inner_cone_angle" - }, - { - "type": "float", - "name": "outer_cone_angle", - "setter": "set_outer_cone_angle", - "getter": "get_outer_cone_angle" - } - ] - }, - { - "name": "GLTFMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3754628756, - "return_value": { - "type": "ImporterMesh" - } - }, - { - "name": "set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2255166972, - "arguments": [ - { - "name": "mesh", - "type": "ImporterMesh" - } - ] - }, - { - "name": "get_blend_weights", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2445143706, - "return_value": { - "type": "PackedFloat32Array" - } - }, - { - "name": "set_blend_weights", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2899603908, - "arguments": [ - { - "name": "blend_weights", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "get_instance_materials", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Material" - } - }, - { - "name": "set_instance_materials", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "instance_materials", - "type": "typedarray::Material" - } - ] - } - ], - "properties": [ - { - "type": "Object", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "PackedFloat32Array", - "name": "blend_weights", - "setter": "set_blend_weights", - "getter": "get_blend_weights" - }, - { - "type": "Array", - "name": "instance_materials", - "setter": "set_instance_materials", - "getter": "get_instance_materials" - } - ] - }, - { - "name": "GLTFNode", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "parent", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "height", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_xform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4183770049, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "set_xform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "xform", - "type": "Transform3D" - } - ] - }, - { - "name": "get_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mesh", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_camera", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_camera", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "camera", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_skin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_skin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "skin", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "skeleton", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3783033775, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2916281908, - "return_value": { - "type": "Quaternion" - } - }, - { - "name": "set_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1727505552, - "arguments": [ - { - "name": "rotation", - "type": "Quaternion" - } - ] - }, - { - "name": "get_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3783033775, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "get_children", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_children", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "children", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_light", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_light", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "light", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_additional_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2138907829, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "extension_name", - "type": "StringName" - } - ] - }, - { - "name": "set_additional_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "extension_name", - "type": "StringName" - }, - { - "name": "additional_data", - "type": "Variant" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "parent", - "setter": "set_parent", - "getter": "get_parent" - }, - { - "type": "int", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "Transform3D", - "name": "xform", - "setter": "set_xform", - "getter": "get_xform" - }, - { - "type": "int", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "int", - "name": "camera", - "setter": "set_camera", - "getter": "get_camera" - }, - { - "type": "int", - "name": "skin", - "setter": "set_skin", - "getter": "get_skin" - }, - { - "type": "int", - "name": "skeleton", - "setter": "set_skeleton", - "getter": "get_skeleton" - }, - { - "type": "Vector3", - "name": "position", - "setter": "set_position", - "getter": "get_position" - }, - { - "type": "Quaternion", - "name": "rotation", - "setter": "set_rotation", - "getter": "get_rotation" - }, - { - "type": "Vector3", - "name": "scale", - "setter": "set_scale", - "getter": "get_scale" - }, - { - "type": "PackedInt32Array", - "name": "children", - "setter": "set_children", - "getter": "get_children" - }, - { - "type": "int", - "name": "light", - "setter": "set_light", - "getter": "get_light" - } - ] - }, - { - "name": "GLTFPhysicsBody", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "from_node", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 420544174, - "return_value": { - "type": "GLTFPhysicsBody" - }, - "arguments": [ - { - "name": "body_node", - "type": "CollisionObject3D" - } - ] - }, - { - "name": "to_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3224013656, - "return_value": { - "type": "CollisionObject3D" - } - }, - { - "name": "from_dictionary", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 1177544336, - "return_value": { - "type": "GLTFPhysicsBody" - }, - "arguments": [ - { - "name": "dictionary", - "type": "Dictionary" - } - ] - }, - { - "name": "to_dictionary", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_body_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_body_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "body_type", - "type": "String" - } - ] - }, - { - "name": "get_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mass", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_linear_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "linear_velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "angular_velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_center_of_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_center_of_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "center_of_mass", - "type": "Vector3" - } - ] - }, - { - "name": "get_inertia_tensor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2716978435, - "return_value": { - "type": "Basis" - } - }, - { - "name": "set_inertia_tensor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1055510324, - "arguments": [ - { - "name": "inertia_tensor", - "type": "Basis" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "body_type", - "setter": "set_body_type", - "getter": "get_body_type" - }, - { - "type": "float", - "name": "mass", - "setter": "set_mass", - "getter": "get_mass" - }, - { - "type": "Vector3", - "name": "linear_velocity", - "setter": "set_linear_velocity", - "getter": "get_linear_velocity" - }, - { - "type": "Vector3", - "name": "angular_velocity", - "setter": "set_angular_velocity", - "getter": "get_angular_velocity" - }, - { - "type": "Vector3", - "name": "center_of_mass", - "setter": "set_center_of_mass", - "getter": "get_center_of_mass" - }, - { - "type": "Basis", - "name": "inertia_tensor", - "setter": "set_inertia_tensor", - "getter": "get_inertia_tensor" - } - ] - }, - { - "name": "GLTFPhysicsShape", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "from_node", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3613751275, - "return_value": { - "type": "GLTFPhysicsShape" - }, - "arguments": [ - { - "name": "shape_node", - "type": "CollisionShape3D" - } - ] - }, - { - "name": "to_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 563689933, - "return_value": { - "type": "CollisionShape3D" - }, - "arguments": [ - { - "name": "cache_shapes", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "from_dictionary", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2390691823, - "return_value": { - "type": "GLTFPhysicsShape" - }, - "arguments": [ - { - "name": "dictionary", - "type": "Dictionary" - } - ] - }, - { - "name": "to_dictionary", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_shape_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_shape_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "shape_type", - "type": "String" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_is_trigger", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_is_trigger", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "is_trigger", - "type": "bool" - } - ] - }, - { - "name": "get_mesh_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_mesh_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mesh_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_importer_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3161779525, - "return_value": { - "type": "ImporterMesh" - } - }, - { - "name": "set_importer_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2255166972, - "arguments": [ - { - "name": "importer_mesh", - "type": "ImporterMesh" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "shape_type", - "setter": "set_shape_type", - "getter": "get_shape_type" - }, - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "bool", - "name": "is_trigger", - "setter": "set_is_trigger", - "getter": "get_is_trigger" - }, - { - "type": "int", - "name": "mesh_index", - "setter": "set_mesh_index", - "getter": "get_mesh_index" - }, - { - "type": "ImporterMesh", - "name": "importer_mesh", - "setter": "set_importer_mesh", - "getter": "get_importer_mesh" - } - ] - }, - { - "name": "GLTFSkeleton", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_joints", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_joints", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "joints", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_roots", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_roots", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "roots", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_godot_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1814733083, - "return_value": { - "type": "Skeleton3D" - } - }, - { - "name": "get_unique_names", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::String" - } - }, - { - "name": "set_unique_names", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "unique_names", - "type": "typedarray::String" - } - ] - }, - { - "name": "get_godot_bone_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2382534195, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "set_godot_bone_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "godot_bone_node", - "type": "Dictionary" - } - ] - }, - { - "name": "get_bone_attachment_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_bone_attachment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 945440495, - "return_value": { - "type": "BoneAttachment3D" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "PackedInt32Array", - "name": "joints", - "setter": "set_joints", - "getter": "get_joints" - }, - { - "type": "PackedInt32Array", - "name": "roots", - "setter": "set_roots", - "getter": "get_roots" - }, - { - "type": "Array", - "name": "unique_names", - "setter": "set_unique_names", - "getter": "get_unique_names" - }, - { - "type": "Dictionary", - "name": "godot_bone_node", - "setter": "set_godot_bone_node", - "getter": "get_godot_bone_node" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_skin_root", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "skin_root", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_joints_original", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_joints_original", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "joints_original", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_inverse_binds", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Transform3D" - } - }, - { - "name": "set_inverse_binds", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "inverse_binds", - "type": "typedarray::Transform3D" - } - ] - }, - { - "name": "get_joints", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_joints", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "joints", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_non_joints", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_non_joints", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "non_joints", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_roots", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_roots", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "roots", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "skeleton", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_joint_i_to_bone_i", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2382534195, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "set_joint_i_to_bone_i", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "joint_i_to_bone_i", - "type": "Dictionary" - } - ] - }, - { - "name": "get_joint_i_to_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2382534195, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "set_joint_i_to_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "joint_i_to_name", - "type": "Dictionary" - } - ] - }, - { - "name": "get_godot_skin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1032037385, - "return_value": { - "type": "Skin" - } - }, - { - "name": "set_godot_skin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3971435618, - "arguments": [ - { - "name": "godot_skin", - "type": "Skin" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "skin_root", - "setter": "set_skin_root", - "getter": "get_skin_root" - }, - { - "type": "PackedInt32Array", - "name": "joints_original", - "setter": "set_joints_original", - "getter": "get_joints_original" - }, - { - "type": "Array", - "name": "inverse_binds", - "setter": "set_inverse_binds", - "getter": "get_inverse_binds" - }, - { - "type": "PackedInt32Array", - "name": "joints", - "setter": "set_joints", - "getter": "get_joints" - }, - { - "type": "PackedInt32Array", - "name": "non_joints", - "setter": "set_non_joints", - "getter": "get_non_joints" - }, - { - "type": "PackedInt32Array", - "name": "roots", - "setter": "set_roots", - "getter": "get_roots" - }, - { - "type": "int", - "name": "skeleton", - "setter": "set_skeleton", - "getter": "get_skeleton" - }, - { - "type": "Dictionary", - "name": "joint_i_to_bone_i", - "setter": "set_joint_i_to_bone_i", - "getter": "get_joint_i_to_bone_i" - }, - { - "type": "Dictionary", - "name": "joint_i_to_name", - "setter": "set_joint_i_to_name", - "getter": "get_joint_i_to_name" - }, - { - "type": "Skin", - "name": "godot_skin", - "setter": "set_godot_skin", - "getter": "get_godot_skin" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 564927088, - "return_value": { - "type": "Image" - } - }, - { - "name": "set_diffuse_img", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 532598488, - "arguments": [ - { - "name": "diffuse_img", - "type": "Image" - } - ] - }, - { - "name": "get_diffuse_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3200896285, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_diffuse_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "diffuse_factor", - "type": "Color" - } - ] - }, - { - "name": "get_gloss_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_gloss_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "gloss_factor", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_specular_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3200896285, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_specular_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "specular_factor", - "type": "Color" - } - ] - }, - { - "name": "get_spec_gloss_img", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 564927088, - "return_value": { - "type": "Image" - } - }, - { - "name": "set_spec_gloss_img", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 532598488, - "arguments": [ - { - "name": "spec_gloss_img", - "type": "Image" - } - ] - } - ], - "properties": [ - { - "type": "Object", - "name": "diffuse_img", - "setter": "set_diffuse_img", - "getter": "get_diffuse_img" - }, - { - "type": "Color", - "name": "diffuse_factor", - "setter": "set_diffuse_factor", - "getter": "get_diffuse_factor" - }, - { - "type": "float", - "name": "gloss_factor", - "setter": "set_gloss_factor", - "getter": "get_gloss_factor" - }, - { - "type": "Color", - "name": "specular_factor", - "setter": "set_specular_factor", - "getter": "get_specular_factor" - }, - { - "type": "Object", - "name": "spec_gloss_img", - "setter": "set_spec_gloss_img", - "getter": "get_spec_gloss_img" - } - ] - }, - { - "name": "GLTFState", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "constants": [ - { - "name": "HANDLE_BINARY_DISCARD_TEXTURES", - "value": 0 - }, - { - "name": "HANDLE_BINARY_EXTRACT_TEXTURES", - "value": 1 - }, - { - "name": "HANDLE_BINARY_EMBED_AS_BASISU", - "value": 2 - }, - { - "name": "HANDLE_BINARY_EMBED_AS_UNCOMPRESSED", - "value": 3 - } - ], - "methods": [ - { - "name": "add_used_extension", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2678287736, - "arguments": [ - { - "name": "extension_name", - "type": "String" - }, - { - "name": "required", - "type": "bool" - } - ] - }, - { - "name": "get_json", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2382534195, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "set_json", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "json", - "type": "Dictionary" - } - ] - }, - { - "name": "get_major_version", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_major_version", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "major_version", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_minor_version", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_minor_version", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "minor_version", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_copyright", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_copyright", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "copyright", - "type": "String" - } - ] - }, - { - "name": "get_glb_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2115431945, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "set_glb_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2971499966, - "arguments": [ - { - "name": "glb_data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "get_use_named_skin_binds", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_named_skin_binds", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_named_skin_binds", - "type": "bool" - } - ] - }, - { - "name": "get_nodes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFNode" - } - }, - { - "name": "set_nodes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "nodes", - "type": "typedarray::GLTFNode" - } - ] - }, - { - "name": "get_buffers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::PackedByteArray" - } - }, - { - "name": "set_buffers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "buffers", - "type": "typedarray::PackedByteArray" - } - ] - }, - { - "name": "get_buffer_views", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFBufferView" - } - }, - { - "name": "set_buffer_views", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "buffer_views", - "type": "typedarray::GLTFBufferView" - } - ] - }, - { - "name": "get_accessors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFAccessor" - } - }, - { - "name": "set_accessors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "accessors", - "type": "typedarray::GLTFAccessor" - } - ] - }, - { - "name": "get_meshes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFMesh" - } - }, - { - "name": "set_meshes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "meshes", - "type": "typedarray::GLTFMesh" - } - ] - }, - { - "name": "get_animation_players_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3744713108, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_animation_player", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 925043400, - "return_value": { - "type": "AnimationPlayer" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_materials", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Material" - } - }, - { - "name": "set_materials", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "materials", - "type": "typedarray::Material" - } - ] - }, - { - "name": "get_scene_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "set_scene_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "scene_name", - "type": "String" - } - ] - }, - { - "name": "get_base_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "set_base_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "base_path", - "type": "String" - } - ] - }, - { - "name": "get_filename", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_filename", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "filename", - "type": "String" - } - ] - }, - { - "name": "get_root_nodes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_root_nodes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "root_nodes", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_textures", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFTexture" - } - }, - { - "name": "set_textures", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "textures", - "type": "typedarray::GLTFTexture" - } - ] - }, - { - "name": "get_texture_samplers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFTextureSampler" - } - }, - { - "name": "set_texture_samplers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "texture_samplers", - "type": "typedarray::GLTFTextureSampler" - } - ] - }, - { - "name": "get_images", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Texture2D" - } - }, - { - "name": "set_images", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "images", - "type": "typedarray::Texture2D" - } - ] - }, - { - "name": "get_skins", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFSkin" - } - }, - { - "name": "set_skins", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "skins", - "type": "typedarray::GLTFSkin" - } - ] - }, - { - "name": "get_cameras", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFCamera" - } - }, - { - "name": "set_cameras", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "cameras", - "type": "typedarray::GLTFCamera" - } - ] - }, - { - "name": "get_lights", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFLight" - } - }, - { - "name": "set_lights", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "lights", - "type": "typedarray::GLTFLight" - } - ] - }, - { - "name": "get_unique_names", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::String" - } - }, - { - "name": "set_unique_names", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "unique_names", - "type": "typedarray::String" - } - ] - }, - { - "name": "get_unique_animation_names", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::String" - } - }, - { - "name": "set_unique_animation_names", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "unique_animation_names", - "type": "typedarray::String" - } - ] - }, - { - "name": "get_skeletons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFSkeleton" - } - }, - { - "name": "set_skeletons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "skeletons", - "type": "typedarray::GLTFSkeleton" - } - ] - }, - { - "name": "get_create_animations", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_create_animations", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "create_animations", - "type": "bool" - } - ] - }, - { - "name": "get_animations", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::GLTFAnimation" - } - }, - { - "name": "set_animations", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "animations", - "type": "typedarray::GLTFAnimation" - } - ] - }, - { - "name": "get_scene_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4253421667, - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_node_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1205807060, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "scene_node", - "type": "Node" - } - ] - }, - { - "name": "get_additional_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2138907829, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "extension_name", - "type": "StringName" - } - ] - }, - { - "name": "set_additional_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "extension_name", - "type": "StringName" - }, - { - "name": "additional_data", - "type": "Variant" - } - ] - }, - { - "name": "get_handle_binary_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_handle_binary_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "method", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "Dictionary", - "name": "json", - "setter": "set_json", - "getter": "get_json" - }, - { - "type": "int", - "name": "major_version", - "setter": "set_major_version", - "getter": "get_major_version" - }, - { - "type": "int", - "name": "minor_version", - "setter": "set_minor_version", - "getter": "get_minor_version" - }, - { - "type": "String", - "name": "copyright", - "setter": "set_copyright", - "getter": "get_copyright" - }, - { - "type": "PackedByteArray", - "name": "glb_data", - "setter": "set_glb_data", - "getter": "get_glb_data" - }, - { - "type": "bool", - "name": "use_named_skin_binds", - "setter": "set_use_named_skin_binds", - "getter": "get_use_named_skin_binds" - }, - { - "type": "Array", - "name": "nodes", - "setter": "set_nodes", - "getter": "get_nodes" - }, - { - "type": "Array", - "name": "buffers", - "setter": "set_buffers", - "getter": "get_buffers" - }, - { - "type": "Array", - "name": "buffer_views", - "setter": "set_buffer_views", - "getter": "get_buffer_views" - }, - { - "type": "Array", - "name": "accessors", - "setter": "set_accessors", - "getter": "get_accessors" - }, - { - "type": "Array", - "name": "meshes", - "setter": "set_meshes", - "getter": "get_meshes" - }, - { - "type": "Array", - "name": "materials", - "setter": "set_materials", - "getter": "get_materials" - }, - { - "type": "String", - "name": "scene_name", - "setter": "set_scene_name", - "getter": "get_scene_name" - }, - { - "type": "String", - "name": "base_path", - "setter": "set_base_path", - "getter": "get_base_path" - }, - { - "type": "String", - "name": "filename", - "setter": "set_filename", - "getter": "get_filename" - }, - { - "type": "PackedInt32Array", - "name": "root_nodes", - "setter": "set_root_nodes", - "getter": "get_root_nodes" - }, - { - "type": "Array", - "name": "textures", - "setter": "set_textures", - "getter": "get_textures" - }, - { - "type": "Array", - "name": "texture_samplers", - "setter": "set_texture_samplers", - "getter": "get_texture_samplers" - }, - { - "type": "Array", - "name": "images", - "setter": "set_images", - "getter": "get_images" - }, - { - "type": "Array", - "name": "skins", - "setter": "set_skins", - "getter": "get_skins" - }, - { - "type": "Array", - "name": "cameras", - "setter": "set_cameras", - "getter": "get_cameras" - }, - { - "type": "Array", - "name": "lights", - "setter": "set_lights", - "getter": "get_lights" - }, - { - "type": "Array", - "name": "unique_names", - "setter": "set_unique_names", - "getter": "get_unique_names" - }, - { - "type": "Array", - "name": "unique_animation_names", - "setter": "set_unique_animation_names", - "getter": "get_unique_animation_names" - }, - { - "type": "Array", - "name": "skeletons", - "setter": "set_skeletons", - "getter": "get_skeletons" - }, - { - "type": "bool", - "name": "create_animations", - "setter": "set_create_animations", - "getter": "get_create_animations" - }, - { - "type": "Array", - "name": "animations", - "setter": "set_animations", - "getter": "get_animations" - }, - { - "type": "int", - "name": "handle_binary_image", - "setter": "set_handle_binary_image", - "getter": "get_handle_binary_image" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_src_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "src_image", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sampler", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sampler", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sampler", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "src_image", - "setter": "set_src_image", - "getter": "get_src_image" - }, - { - "type": "int", - "name": "sampler", - "setter": "set_sampler", - "getter": "get_sampler" - } - ] - }, - { - "name": "GLTFTextureSampler", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_mag_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_mag_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "filter_mode", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_min_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_min_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "filter_mode", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_wrap_s", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_wrap_s", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "wrap_mode", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_wrap_t", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_wrap_t", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "wrap_mode", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "mag_filter", - "setter": "set_mag_filter", - "getter": "get_mag_filter" - }, - { - "type": "int", - "name": "min_filter", - "setter": "set_min_filter", - "getter": "get_min_filter" - }, - { - "type": "int", - "name": "wrap_s", - "setter": "set_wrap_s", - "getter": "get_wrap_s" - }, - { - "type": "int", - "name": "wrap_t", - "setter": "set_wrap_t", - "getter": "get_wrap_t" - } - ] - }, - { - "name": "GPUParticles2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "enums": [ - { - "name": "DrawOrder", - "is_bitfield": false, - "values": [ - { - "name": "DRAW_ORDER_INDEX", - "value": 0 - }, - { - "name": "DRAW_ORDER_LIFETIME", - "value": 1 - }, - { - "name": "DRAW_ORDER_REVERSE_LIFETIME", - "value": 2 - } - ] - }, - { - "name": "EmitFlags", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "set_emitting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "emitting", - "type": "bool" - } - ] - }, - { - "name": "set_amount", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_lifetime", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_one_shot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "secs", - "type": "bool" - } - ] - }, - { - "name": "set_pre_process_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_explosiveness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_randomness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_visibility_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "visibility_rect", - "type": "Rect2" - } - ] - }, - { - "name": "set_use_local_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_fixed_fps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "fps", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_fractional_delta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_interpolate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_process_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_collision_base_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_interp_to_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "interp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "is_emitting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_amount", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_lifetime", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_one_shot", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_pre_process_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_explosiveness_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_randomness_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_visibility_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "get_use_local_coordinates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_fixed_fps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_fractional_delta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_interpolate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_process_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "get_speed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_collision_base_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_interp_to_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_draw_order", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1939677959, - "arguments": [ - { - "name": "order", - "type": "enum::GPUParticles2D.DrawOrder" - } - ] - }, - { - "name": "get_draw_order", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 941479095, - "return_value": { - "type": "enum::GPUParticles2D.DrawOrder" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "capture_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "restart", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_sub_emitter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_sub_emitter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "emit_particle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2179202058, - "arguments": [ - { - "name": "xform", - "type": "Transform2D" - }, - { - "name": "velocity", - "type": "Vector2" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "set_trail_lifetime", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "is_trail_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_trail_lifetime", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_trail_sections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sections", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_trail_sections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_trail_section_subdivisions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "subdivisions", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_trail_section_subdivisions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "convert_from_particles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "particles", - "type": "Node" - } - ] - }, - { - "name": "set_amount_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_amount_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "signals": [ - { - "name": "finished" - } - ], - "properties": [ - { - "type": "bool", - "name": "emitting", - "setter": "set_emitting", - "getter": "is_emitting" - }, - { - "type": "int", - "name": "amount", - "setter": "set_amount", - "getter": "get_amount" - }, - { - "type": "float", - "name": "amount_ratio", - "setter": "set_amount_ratio", - "getter": "get_amount_ratio" - }, - { - "type": "NodePath", - "name": "sub_emitter", - "setter": "set_sub_emitter", - "getter": "get_sub_emitter" - }, - { - "type": "ShaderMaterial,ParticleProcessMaterial", - "name": "process_material", - "setter": "set_process_material", - "getter": "get_process_material" - }, - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "float", - "name": "lifetime", - "setter": "set_lifetime", - "getter": "get_lifetime" - }, - { - "type": "bool", - "name": "one_shot", - "setter": "set_one_shot", - "getter": "get_one_shot" - }, - { - "type": "float", - "name": "preprocess", - "setter": "set_pre_process_time", - "getter": "get_pre_process_time" - }, - { - "type": "float", - "name": "speed_scale", - "setter": "set_speed_scale", - "getter": "get_speed_scale" - }, - { - "type": "float", - "name": "explosiveness", - "setter": "set_explosiveness_ratio", - "getter": "get_explosiveness_ratio" - }, - { - "type": "float", - "name": "randomness", - "setter": "set_randomness_ratio", - "getter": "get_randomness_ratio" - }, - { - "type": "int", - "name": "fixed_fps", - "setter": "set_fixed_fps", - "getter": "get_fixed_fps" - }, - { - "type": "bool", - "name": "interpolate", - "setter": "set_interpolate", - "getter": "get_interpolate" - }, - { - "type": "bool", - "name": "fract_delta", - "setter": "set_fractional_delta", - "getter": "get_fractional_delta" - }, - { - "type": "float", - "name": "interp_to_end", - "setter": "set_interp_to_end", - "getter": "get_interp_to_end" - }, - { - "type": "float", - "name": "collision_base_size", - "setter": "set_collision_base_size", - "getter": "get_collision_base_size" - }, - { - "type": "Rect2", - "name": "visibility_rect", - "setter": "set_visibility_rect", - "getter": "get_visibility_rect" - }, - { - "type": "bool", - "name": "local_coords", - "setter": "set_use_local_coordinates", - "getter": "get_use_local_coordinates" - }, - { - "type": "int", - "name": "draw_order", - "setter": "set_draw_order", - "getter": "get_draw_order" - }, - { - "type": "bool", - "name": "trail_enabled", - "setter": "set_trail_enabled", - "getter": "is_trail_enabled" - }, - { - "type": "float", - "name": "trail_lifetime", - "setter": "set_trail_lifetime", - "getter": "get_trail_lifetime" - }, - { - "type": "int", - "name": "trail_sections", - "setter": "set_trail_sections", - "getter": "get_trail_sections" - }, - { - "type": "int", - "name": "trail_section_subdivisions", - "setter": "set_trail_section_subdivisions", - "getter": "get_trail_section_subdivisions" - } - ] - }, - { - "name": "GPUParticles3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GeometryInstance3D", - "api_type": "core", - "constants": [ - { - "name": "MAX_DRAW_PASSES", - "value": 4 - } - ], - "enums": [ - { - "name": "DrawOrder", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "EmitFlags", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "set_emitting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "emitting", - "type": "bool" - } - ] - }, - { - "name": "set_amount", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_lifetime", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_one_shot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_pre_process_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_explosiveness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_randomness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_visibility_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 259215842, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "set_use_local_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_fixed_fps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "fps", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_fractional_delta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_interpolate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_process_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_collision_base_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_interp_to_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "interp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "is_emitting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_amount", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_lifetime", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_one_shot", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_pre_process_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_explosiveness_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_randomness_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_visibility_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - }, - { - "name": "get_use_local_coordinates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_fixed_fps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_fractional_delta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_interpolate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_process_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "get_speed_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_collision_base_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_interp_to_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_draw_order", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1208074815, - "arguments": [ - { - "name": "order", - "type": "enum::GPUParticles3D.DrawOrder" - } - ] - }, - { - "name": "get_draw_order", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3770381780, - "return_value": { - "type": "enum::GPUParticles3D.DrawOrder" - } - }, - { - "name": "set_draw_passes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "passes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_draw_pass_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969122797, - "arguments": [ - { - "name": "pass", - "type": "int", - "meta": "int32" - }, - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "get_draw_passes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_draw_pass_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1576363275, - "return_value": { - "type": "Mesh" - }, - "arguments": [ - { - "name": "pass", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_skin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3971435618, - "arguments": [ - { - "name": "skin", - "type": "Skin" - } - ] - }, - { - "name": "get_skin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2074563878, - "return_value": { - "type": "Skin" - } - }, - { - "name": "restart", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "capture_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - }, - { - "name": "set_sub_emitter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_sub_emitter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "emit_particle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 992173727, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "set_trail_lifetime", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "secs", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "is_trail_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_trail_lifetime", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_transform_align", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3892425954, - "arguments": [ - { - "name": "align", - "type": "enum::GPUParticles3D.TransformAlign" - } - ] - }, - { - "name": "get_transform_align", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2100992166, - "return_value": { - "type": "enum::GPUParticles3D.TransformAlign" - } - }, - { - "name": "convert_from_particles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "particles", - "type": "Node" - } - ] - }, - { - "name": "set_amount_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_amount_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "signals": [ - { - "name": "finished" - } - ], - "properties": [ - { - "type": "bool", - "name": "emitting", - "setter": "set_emitting", - "getter": "is_emitting" - }, - { - "type": "int", - "name": "amount", - "setter": "set_amount", - "getter": "get_amount" - }, - { - "type": "float", - "name": "amount_ratio", - "setter": "set_amount_ratio", - "getter": "get_amount_ratio" - }, - { - "type": "NodePath", - "name": "sub_emitter", - "setter": "set_sub_emitter", - "getter": "get_sub_emitter" - }, - { - "type": "float", - "name": "lifetime", - "setter": "set_lifetime", - "getter": "get_lifetime" - }, - { - "type": "float", - "name": "interp_to_end", - "setter": "set_interp_to_end", - "getter": "get_interp_to_end" - }, - { - "type": "bool", - "name": "one_shot", - "setter": "set_one_shot", - "getter": "get_one_shot" - }, - { - "type": "float", - "name": "preprocess", - "setter": "set_pre_process_time", - "getter": "get_pre_process_time" - }, - { - "type": "float", - "name": "speed_scale", - "setter": "set_speed_scale", - "getter": "get_speed_scale" - }, - { - "type": "float", - "name": "explosiveness", - "setter": "set_explosiveness_ratio", - "getter": "get_explosiveness_ratio" - }, - { - "type": "float", - "name": "randomness", - "setter": "set_randomness_ratio", - "getter": "get_randomness_ratio" - }, - { - "type": "int", - "name": "fixed_fps", - "setter": "set_fixed_fps", - "getter": "get_fixed_fps" - }, - { - "type": "bool", - "name": "interpolate", - "setter": "set_interpolate", - "getter": "get_interpolate" - }, - { - "type": "bool", - "name": "fract_delta", - "setter": "set_fractional_delta", - "getter": "get_fractional_delta" - }, - { - "type": "float", - "name": "collision_base_size", - "setter": "set_collision_base_size", - "getter": "get_collision_base_size" - }, - { - "type": "AABB", - "name": "visibility_aabb", - "setter": "set_visibility_aabb", - "getter": "get_visibility_aabb" - }, - { - "type": "bool", - "name": "local_coords", - "setter": "set_use_local_coordinates", - "getter": "get_use_local_coordinates" - }, - { - "type": "int", - "name": "draw_order", - "setter": "set_draw_order", - "getter": "get_draw_order" - }, - { - "type": "int", - "name": "transform_align", - "setter": "set_transform_align", - "getter": "get_transform_align" - }, - { - "type": "bool", - "name": "trail_enabled", - "setter": "set_trail_enabled", - "getter": "is_trail_enabled" - }, - { - "type": "float", - "name": "trail_lifetime", - "setter": "set_trail_lifetime", - "getter": "get_trail_lifetime" - }, - { - "type": "ShaderMaterial,ParticleProcessMaterial", - "name": "process_material", - "setter": "set_process_material", - "getter": "get_process_material" - }, - { - "type": "int", - "name": "draw_passes", - "setter": "set_draw_passes", - "getter": "get_draw_passes" - }, - { - "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" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_cull_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_attenuation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "attenuation", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_attenuation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_directionality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_directionality", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "strength", - "setter": "set_strength", - "getter": "get_strength" - }, - { - "type": "float", - "name": "attenuation", - "setter": "set_attenuation", - "getter": "get_attenuation" - }, - { - "type": "float", - "name": "directionality", - "setter": "set_directionality", - "getter": "get_directionality" - }, - { - "type": "int", - "name": "cull_mask", - "setter": "set_cull_mask", - "getter": "get_cull_mask" - } - ] - }, - { - "name": "GPUParticlesAttractorBox3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GPUParticlesAttractor3D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - } - ] - }, - { - "name": "GPUParticlesAttractorSphere3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GPUParticlesAttractor3D", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - } - ] - }, - { - "name": "GPUParticlesAttractorVectorField3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GPUParticlesAttractor3D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1188404210, - "arguments": [ - { - "name": "texture", - "type": "Texture3D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373985333, - "return_value": { - "type": "Texture3D" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "Texture3D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_cull_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "cull_mask", - "setter": "set_cull_mask", - "getter": "get_cull_mask" - } - ] - }, - { - "name": "GPUParticlesCollisionBox3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GPUParticlesCollision3D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - } - ] - }, - { - "name": "GPUParticlesCollisionHeightField3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GPUParticlesCollision3D", - "api_type": "core", - "enums": [ - { - "name": "Resolution", - "is_bitfield": false, - "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", - "is_bitfield": false, - "values": [ - { - "name": "UPDATE_MODE_WHEN_MOVED", - "value": 0 - }, - { - "name": "UPDATE_MODE_ALWAYS", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_resolution", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1009996517, - "arguments": [ - { - "name": "resolution", - "type": "enum::GPUParticlesCollisionHeightField3D.Resolution" - } - ] - }, - { - "name": "get_resolution", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1156065644, - "return_value": { - "type": "enum::GPUParticlesCollisionHeightField3D.Resolution" - } - }, - { - "name": "set_update_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 673680859, - "arguments": [ - { - "name": "update_mode", - "type": "enum::GPUParticlesCollisionHeightField3D.UpdateMode" - } - ] - }, - { - "name": "get_update_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1998141380, - "return_value": { - "type": "enum::GPUParticlesCollisionHeightField3D.UpdateMode" - } - }, - { - "name": "set_follow_camera_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_follow_camera_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "int", - "name": "resolution", - "setter": "set_resolution", - "getter": "get_resolution" - }, - { - "type": "int", - "name": "update_mode", - "setter": "set_update_mode", - "getter": "get_update_mode" - }, - { - "type": "bool", - "name": "follow_camera_enabled", - "setter": "set_follow_camera_enabled", - "getter": "is_follow_camera_enabled" - } - ] - }, - { - "name": "GPUParticlesCollisionSDF3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GPUParticlesCollision3D", - "api_type": "core", - "enums": [ - { - "name": "Resolution", - "is_bitfield": false, - "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_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_resolution", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1155629297, - "arguments": [ - { - "name": "resolution", - "type": "enum::GPUParticlesCollisionSDF3D.Resolution" - } - ] - }, - { - "name": "get_resolution", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2919555867, - "return_value": { - "type": "enum::GPUParticlesCollisionSDF3D.Resolution" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1188404210, - "arguments": [ - { - "name": "texture", - "type": "Texture3D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373985333, - "return_value": { - "type": "Texture3D" - } - }, - { - "name": "set_thickness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "thickness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_bake_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_bake_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_bake_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_bake_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "int", - "name": "resolution", - "setter": "set_resolution", - "getter": "get_resolution" - }, - { - "type": "float", - "name": "thickness", - "setter": "set_thickness", - "getter": "get_thickness" - }, - { - "type": "int", - "name": "bake_mask", - "setter": "set_bake_mask", - "getter": "get_bake_mask" - }, - { - "type": "Texture3D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - } - ] - }, - { - "name": "GPUParticlesCollisionSphere3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GPUParticlesCollision3D", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - } - ] - }, - { - "name": "Generic6DOFJoint3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Joint3D", - "api_type": "core", - "enums": [ - { - "name": "Param", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2018184242, - "arguments": [ - { - "name": "param", - "type": "enum::Generic6DOFJoint3D.Param" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param_x", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2599835054, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::Generic6DOFJoint3D.Param" - } - ] - }, - { - "name": "set_param_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2018184242, - "arguments": [ - { - "name": "param", - "type": "enum::Generic6DOFJoint3D.Param" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param_y", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2599835054, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::Generic6DOFJoint3D.Param" - } - ] - }, - { - "name": "set_param_z", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2018184242, - "arguments": [ - { - "name": "param", - "type": "enum::Generic6DOFJoint3D.Param" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param_z", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2599835054, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::Generic6DOFJoint3D.Param" - } - ] - }, - { - "name": "set_flag_x", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2451594564, - "arguments": [ - { - "name": "flag", - "type": "enum::Generic6DOFJoint3D.Flag" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_flag_x", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2122427807, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "flag", - "type": "enum::Generic6DOFJoint3D.Flag" - } - ] - }, - { - "name": "set_flag_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2451594564, - "arguments": [ - { - "name": "flag", - "type": "enum::Generic6DOFJoint3D.Flag" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_flag_y", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2122427807, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "flag", - "type": "enum::Generic6DOFJoint3D.Flag" - } - ] - }, - { - "name": "set_flag_z", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2451594564, - "arguments": [ - { - "name": "flag", - "type": "enum::Generic6DOFJoint3D.Flag" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_flag_z", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2122427807, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "flag", - "type": "enum::Generic6DOFJoint3D.Flag" - } - ] - } - ] - }, - { - "name": "Geometry2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "PolyBooleanOperation", - "is_bitfield": false, - "values": [ - { - "name": "OPERATION_UNION", - "value": 0 - }, - { - "name": "OPERATION_DIFFERENCE", - "value": 1 - }, - { - "name": "OPERATION_INTERSECTION", - "value": 2 - }, - { - "name": "OPERATION_XOR", - "value": 3 - } - ] - }, - { - "name": "PolyJoinType", - "is_bitfield": false, - "values": [ - { - "name": "JOIN_SQUARE", - "value": 0 - }, - { - "name": "JOIN_ROUND", - "value": 1 - }, - { - "name": "JOIN_MITER", - "value": 2 - } - ] - }, - { - "name": "PolyEndType", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "is_point_in_circle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2929491703, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - }, - { - "name": "circle_position", - "type": "Vector2" - }, - { - "name": "circle_radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "segment_intersects_circle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1356928167, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "segment_from", - "type": "Vector2" - }, - { - "name": "segment_to", - "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_static": false, - "is_virtual": false, - "hash": 2058025344, - "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_static": false, - "is_virtual": false, - "hash": 2058025344, - "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_static": false, - "is_virtual": false, - "hash": 3344690961, - "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_static": false, - "is_virtual": false, - "hash": 4172901909, - "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_static": false, - "is_virtual": false, - "hash": 4172901909, - "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_static": false, - "is_virtual": false, - "hash": 1025948137, - "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_static": false, - "is_virtual": false, - "hash": 1361156557, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "is_point_in_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 738277916, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - }, - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "triangulate_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1389921771, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "triangulate_delaunay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1389921771, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "points", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "convex_hull", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2004331998, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "points", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "decompose_polygon_in_convex", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3982393695, - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "merge_polygons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3637387053, - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "arguments": [ - { - "name": "polygon_a", - "type": "PackedVector2Array" - }, - { - "name": "polygon_b", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "clip_polygons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3637387053, - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "arguments": [ - { - "name": "polygon_a", - "type": "PackedVector2Array" - }, - { - "name": "polygon_b", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "intersect_polygons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3637387053, - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "arguments": [ - { - "name": "polygon_a", - "type": "PackedVector2Array" - }, - { - "name": "polygon_b", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "exclude_polygons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3637387053, - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "arguments": [ - { - "name": "polygon_a", - "type": "PackedVector2Array" - }, - { - "name": "polygon_b", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "clip_polyline_with_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3637387053, - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "arguments": [ - { - "name": "polyline", - "type": "PackedVector2Array" - }, - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "intersect_polyline_with_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3637387053, - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "arguments": [ - { - "name": "polyline", - "type": "PackedVector2Array" - }, - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "offset_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1275354010, - "hash_compatibility": [ - 3837618924 - ], - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "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_static": false, - "is_virtual": false, - "hash": 2328231778, - "hash_compatibility": [ - 328033063 - ], - "return_value": { - "type": "typedarray::PackedVector2Array" - }, - "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_static": false, - "is_virtual": false, - "hash": 1337682371, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "sizes", - "type": "PackedVector2Array" - } - ] - } - ] - }, - { - "name": "Geometry3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "compute_convex_mesh_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1936902142, - "return_value": { - "type": "PackedVector3Array" - }, - "arguments": [ - { - "name": "planes", - "type": "typedarray::Plane" - } - ] - }, - { - "name": "build_box_planes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3622277145, - "return_value": { - "type": "typedarray::Plane" - }, - "arguments": [ - { - "name": "extents", - "type": "Vector3" - } - ] - }, - { - "name": "build_cylinder_planes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 449920067, - "hash_compatibility": [ - 3142160516 - ], - "return_value": { - "type": "typedarray::Plane" - }, - "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_static": false, - "is_virtual": false, - "hash": 2113592876, - "hash_compatibility": [ - 410870045 - ], - "return_value": { - "type": "typedarray::Plane" - }, - "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_static": false, - "is_virtual": false, - "hash": 1056373962, - "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_static": false, - "is_virtual": false, - "hash": 2168193209, - "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_static": false, - "is_virtual": false, - "hash": 2168193209, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "point", - "type": "Vector3" - }, - { - "name": "s1", - "type": "Vector3" - }, - { - "name": "s2", - "type": "Vector3" - } - ] - }, - { - "name": "get_triangle_barycentric_coords", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1362048029, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "point", - "type": "Vector3" - }, - { - "name": "a", - "type": "Vector3" - }, - { - "name": "b", - "type": "Vector3" - }, - { - "name": "c", - "type": "Vector3" - } - ] - }, - { - "name": "ray_intersects_triangle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1718655448, - "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_static": false, - "is_virtual": false, - "hash": 1718655448, - "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_static": false, - "is_virtual": false, - "hash": 4080141172, - "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_static": false, - "is_virtual": false, - "hash": 2361316491, - "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_static": false, - "is_virtual": false, - "hash": 537425332, - "return_value": { - "type": "PackedVector3Array" - }, - "arguments": [ - { - "name": "from", - "type": "Vector3" - }, - { - "name": "to", - "type": "Vector3" - }, - { - "name": "planes", - "type": "typedarray::Plane" - } - ] - }, - { - "name": "clip_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2603188319, - "return_value": { - "type": "PackedVector3Array" - }, - "arguments": [ - { - "name": "points", - "type": "PackedVector3Array" - }, - { - "name": "plane", - "type": "Plane" - } - ] - } - ] - }, - { - "name": "GeometryInstance3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VisualInstance3D", - "api_type": "core", - "enums": [ - { - "name": "ShadowCastingSetting", - "is_bitfield": false, - "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": "GIMode", - "is_bitfield": false, - "values": [ - { - "name": "GI_MODE_DISABLED", - "value": 0 - }, - { - "name": "GI_MODE_STATIC", - "value": 1 - }, - { - "name": "GI_MODE_DYNAMIC", - "value": 2 - } - ] - }, - { - "name": "LightmapScale", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "VisibilityRangeFadeMode", - "is_bitfield": false, - "values": [ - { - "name": "VISIBILITY_RANGE_FADE_DISABLED", - "value": 0 - }, - { - "name": "VISIBILITY_RANGE_FADE_SELF", - "value": 1 - }, - { - "name": "VISIBILITY_RANGE_FADE_DEPENDENCIES", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_material_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "set_material_overlay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material_overlay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "set_cast_shadows_setting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 856677339, - "arguments": [ - { - "name": "shadow_casting_setting", - "type": "enum::GeometryInstance3D.ShadowCastingSetting" - } - ] - }, - { - "name": "get_cast_shadows_setting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3383019359, - "return_value": { - "type": "enum::GeometryInstance3D.ShadowCastingSetting" - } - }, - { - "name": "set_lod_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_lod_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_transparency", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "transparency", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_transparency", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_visibility_range_end_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visibility_range_end_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_visibility_range_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visibility_range_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_visibility_range_begin_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visibility_range_begin_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_visibility_range_begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visibility_range_begin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_visibility_range_fade_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1440117808, - "arguments": [ - { - "name": "mode", - "type": "enum::GeometryInstance3D.VisibilityRangeFadeMode" - } - ] - }, - { - "name": "get_visibility_range_fade_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2067221882, - "return_value": { - "type": "enum::GeometryInstance3D.VisibilityRangeFadeMode" - } - }, - { - "name": "set_instance_shader_parameter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get_instance_shader_parameter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "set_extra_cull_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_extra_cull_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_lightmap_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2462696582, - "arguments": [ - { - "name": "scale", - "type": "enum::GeometryInstance3D.LightmapScale" - } - ] - }, - { - "name": "get_lightmap_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 798767852, - "return_value": { - "type": "enum::GeometryInstance3D.LightmapScale" - } - }, - { - "name": "set_gi_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2548557163, - "arguments": [ - { - "name": "mode", - "type": "enum::GeometryInstance3D.GIMode" - } - ] - }, - { - "name": "get_gi_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2188566509, - "return_value": { - "type": "enum::GeometryInstance3D.GIMode" - } - }, - { - "name": "set_ignore_occlusion_culling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "ignore_culling", - "type": "bool" - } - ] - }, - { - "name": "is_ignoring_occlusion_culling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_custom_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 259215842, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "get_custom_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - } - ], - "properties": [ - { - "type": "BaseMaterial3D,ShaderMaterial", - "name": "material_override", - "setter": "set_material_override", - "getter": "get_material_override" - }, - { - "type": "BaseMaterial3D,ShaderMaterial", - "name": "material_overlay", - "setter": "set_material_overlay", - "getter": "get_material_overlay" - }, - { - "type": "float", - "name": "transparency", - "setter": "set_transparency", - "getter": "get_transparency" - }, - { - "type": "int", - "name": "cast_shadow", - "setter": "set_cast_shadows_setting", - "getter": "get_cast_shadows_setting" - }, - { - "type": "float", - "name": "extra_cull_margin", - "setter": "set_extra_cull_margin", - "getter": "get_extra_cull_margin" - }, - { - "type": "AABB", - "name": "custom_aabb", - "setter": "set_custom_aabb", - "getter": "get_custom_aabb" - }, - { - "type": "float", - "name": "lod_bias", - "setter": "set_lod_bias", - "getter": "get_lod_bias" - }, - { - "type": "bool", - "name": "ignore_occlusion_culling", - "setter": "set_ignore_occlusion_culling", - "getter": "is_ignoring_occlusion_culling" - }, - { - "type": "int", - "name": "gi_mode", - "setter": "set_gi_mode", - "getter": "get_gi_mode" - }, - { - "type": "int", - "name": "gi_lightmap_scale", - "setter": "set_lightmap_scale", - "getter": "get_lightmap_scale" - }, - { - "type": "float", - "name": "visibility_range_begin", - "setter": "set_visibility_range_begin", - "getter": "get_visibility_range_begin" - }, - { - "type": "float", - "name": "visibility_range_begin_margin", - "setter": "set_visibility_range_begin_margin", - "getter": "get_visibility_range_begin_margin" - }, - { - "type": "float", - "name": "visibility_range_end", - "setter": "set_visibility_range_end", - "getter": "get_visibility_range_end" - }, - { - "type": "float", - "name": "visibility_range_end_margin", - "setter": "set_visibility_range_end_margin", - "getter": "get_visibility_range_end_margin" - }, - { - "type": "int", - "name": "visibility_range_fade_mode", - "setter": "set_visibility_range_fade_mode", - "getter": "get_visibility_range_fade_mode" - } - ] - }, - { - "name": "Gradient", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "InterpolationMode", - "is_bitfield": false, - "values": [ - { - "name": "GRADIENT_INTERPOLATE_LINEAR", - "value": 0 - }, - { - "name": "GRADIENT_INTERPOLATE_CONSTANT", - "value": 1 - }, - { - "name": "GRADIENT_INTERPOLATE_CUBIC", - "value": 2 - } - ] - }, - { - "name": "ColorSpace", - "is_bitfield": false, - "values": [ - { - "name": "GRADIENT_COLOR_SPACE_SRGB", - "value": 0 - }, - { - "name": "GRADIENT_COLOR_SPACE_LINEAR_SRGB", - "value": 1 - }, - { - "name": "GRADIENT_COLOR_SPACE_OKLAB", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "add_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3629403827, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "remove_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - }, - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4025615559, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "reverse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2624840992, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "point", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "sample", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1250405064, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_point_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_offsets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2899603908, - "arguments": [ - { - "name": "offsets", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "get_offsets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 675695659, - "return_value": { - "type": "PackedFloat32Array" - } - }, - { - "name": "set_colors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3546319833, - "arguments": [ - { - "name": "colors", - "type": "PackedColorArray" - } - ] - }, - { - "name": "get_colors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1392750486, - "return_value": { - "type": "PackedColorArray" - } - }, - { - "name": "set_interpolation_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1971444490, - "arguments": [ - { - "name": "interpolation_mode", - "type": "enum::Gradient.InterpolationMode" - } - ] - }, - { - "name": "get_interpolation_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3674172981, - "return_value": { - "type": "enum::Gradient.InterpolationMode" - } - }, - { - "name": "set_interpolation_color_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3685995981, - "arguments": [ - { - "name": "interpolation_color_space", - "type": "enum::Gradient.ColorSpace" - } - ] - }, - { - "name": "get_interpolation_color_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1538296000, - "return_value": { - "type": "enum::Gradient.ColorSpace" - } - } - ], - "properties": [ - { - "type": "int", - "name": "interpolation_mode", - "setter": "set_interpolation_mode", - "getter": "get_interpolation_mode" - }, - { - "type": "int", - "name": "interpolation_color_space", - "setter": "set_interpolation_color_space", - "getter": "get_interpolation_color_space" - }, - { - "type": "PackedFloat32Array", - "name": "offsets", - "setter": "set_offsets", - "getter": "get_offsets" - }, - { - "type": "PackedColorArray", - "name": "colors", - "setter": "set_colors", - "getter": "get_colors" - } - ] - }, - { - "name": "GradientTexture1D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "methods": [ - { - "name": "set_gradient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "gradient", - "type": "Gradient" - } - ] - }, - { - "name": "get_gradient", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_use_hdr", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_using_hdr", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Gradient", - "name": "gradient", - "setter": "set_gradient", - "getter": "get_gradient" - }, - { - "type": "int", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "bool", - "name": "use_hdr", - "setter": "set_use_hdr", - "getter": "is_using_hdr" - } - ] - }, - { - "name": "GradientTexture2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "enums": [ - { - "name": "Fill", - "is_bitfield": false, - "values": [ - { - "name": "FILL_LINEAR", - "value": 0 - }, - { - "name": "FILL_RADIAL", - "value": 1 - }, - { - "name": "FILL_SQUARE", - "value": 2 - } - ] - }, - { - "name": "Repeat", - "is_bitfield": false, - "values": [ - { - "name": "REPEAT_NONE", - "value": 0 - }, - { - "name": "REPEAT", - "value": 1 - }, - { - "name": "REPEAT_MIRROR", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_gradient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "gradient", - "type": "Gradient" - } - ] - }, - { - "name": "get_gradient", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "height", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_use_hdr", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_using_hdr", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_fill", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3623927636, - "arguments": [ - { - "name": "fill", - "type": "enum::GradientTexture2D.Fill" - } - ] - }, - { - "name": "get_fill", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1876227217, - "return_value": { - "type": "enum::GradientTexture2D.Fill" - } - }, - { - "name": "set_fill_from", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "fill_from", - "type": "Vector2" - } - ] - }, - { - "name": "get_fill_from", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_fill_to", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "fill_to", - "type": "Vector2" - } - ] - }, - { - "name": "get_fill_to", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_repeat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1357597002, - "arguments": [ - { - "name": "repeat", - "type": "enum::GradientTexture2D.Repeat" - } - ] - }, - { - "name": "get_repeat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3351758665, - "return_value": { - "type": "enum::GradientTexture2D.Repeat" - } - } - ], - "properties": [ - { - "type": "Gradient", - "name": "gradient", - "setter": "set_gradient", - "getter": "get_gradient" - }, - { - "type": "int", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "int", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "bool", - "name": "use_hdr", - "setter": "set_use_hdr", - "getter": "is_using_hdr" - }, - { - "type": "int", - "name": "fill", - "setter": "set_fill", - "getter": "get_fill" - }, - { - "type": "Vector2", - "name": "fill_from", - "setter": "set_fill_from", - "getter": "get_fill_from" - }, - { - "type": "Vector2", - "name": "fill_to", - "setter": "set_fill_to", - "getter": "get_fill_to" - }, - { - "type": "int", - "name": "repeat", - "setter": "set_repeat", - "getter": "get_repeat" - } - ] - }, - { - "name": "GraphEdit", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "enums": [ - { - "name": "PanningScheme", - "is_bitfield": false, - "values": [ - { - "name": "SCROLL_ZOOMS", - "value": 0 - }, - { - "name": "SCROLL_PANS", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "_is_in_input_hotzone", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "in_node", - "type": "Object" - }, - { - "name": "in_port", - "type": "int", - "meta": "int32" - }, - { - "name": "mouse_position", - "type": "Vector2" - } - ] - }, - { - "name": "_is_in_output_hotzone", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "in_node", - "type": "Object" - }, - { - "name": "in_port", - "type": "int", - "meta": "int32" - }, - { - "name": "mouse_position", - "type": "Vector2" - } - ] - }, - { - "name": "_get_connection_line", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "from_position", - "type": "Vector2" - }, - { - "name": "to_position", - "type": "Vector2" - } - ] - }, - { - "name": "_is_node_hover_valid", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "from_node", - "type": "StringName" - }, - { - "name": "from_port", - "type": "int", - "meta": "int32" - }, - { - "name": "to_node", - "type": "StringName" - }, - { - "name": "to_port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "connect_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 195065850, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "from_node", - "type": "StringName" - }, - { - "name": "from_port", - "type": "int", - "meta": "int32" - }, - { - "name": "to_node", - "type": "StringName" - }, - { - "name": "to_port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_node_connected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4216241294, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "from_node", - "type": "StringName" - }, - { - "name": "from_port", - "type": "int", - "meta": "int32" - }, - { - "name": "to_node", - "type": "StringName" - }, - { - "name": "to_port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "disconnect_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1933654315, - "arguments": [ - { - "name": "from_node", - "type": "StringName" - }, - { - "name": "from_port", - "type": "int", - "meta": "int32" - }, - { - "name": "to_node", - "type": "StringName" - }, - { - "name": "to_port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_connection_activity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1141899943, - "arguments": [ - { - "name": "from_node", - "type": "StringName" - }, - { - "name": "from_port", - "type": "int", - "meta": "int32" - }, - { - "name": "to_node", - "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_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "clear_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "force_connection_drag_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_scroll_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_scroll_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "add_valid_right_disconnect_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_valid_right_disconnect_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_valid_left_disconnect_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_valid_left_disconnect_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_valid_connection_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 2522259332, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "from_type", - "type": "int", - "meta": "int32" - }, - { - "name": "to_type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_connection_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1562168077, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "from_node", - "type": "Vector2" - }, - { - "name": "to_node", - "type": "Vector2" - } - ] - }, - { - "name": "set_panning_scheme", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 18893313, - "arguments": [ - { - "name": "scheme", - "type": "enum::GraphEdit.PanningScheme" - } - ] - }, - { - "name": "get_panning_scheme", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 549924446, - "return_value": { - "type": "enum::GraphEdit.PanningScheme" - } - }, - { - "name": "set_zoom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "zoom", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_zoom", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_zoom_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "zoom_min", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_zoom_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_zoom_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "zoom_max", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_zoom_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_zoom_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "zoom_step", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_zoom_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_show_grid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_showing_grid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_snapping_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_snapping_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_snapping_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "pixels", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_snapping_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_connection_lines_curvature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "curvature", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_connection_lines_curvature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_connection_lines_thickness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pixels", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_connection_lines_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_connection_lines_antialiased", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pixels", - "type": "bool" - } - ] - }, - { - "name": "is_connection_lines_antialiased", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_minimap_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "size", - "type": "Vector2" - } - ] - }, - { - "name": "get_minimap_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_minimap_opacity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "opacity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_minimap_opacity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_minimap_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_minimap_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_show_menu", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "is_showing_menu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_show_zoom_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_showing_zoom_label", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_show_grid_buttons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "is_showing_grid_buttons", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_show_zoom_buttons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "is_showing_zoom_buttons", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_show_minimap_button", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "is_showing_minimap_button", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_show_arrange_button", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "is_showing_arrange_button", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_right_disconnects", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_right_disconnects_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_menu_hbox", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3590609951, - "return_value": { - "type": "HBoxContainer" - } - }, - { - "name": "arrange_nodes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_selected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - } - ], - "signals": [ - { - "name": "connection_request", - "arguments": [ - { - "name": "from_node", - "type": "StringName" - }, - { - "name": "from_port", - "type": "int" - }, - { - "name": "to_node", - "type": "StringName" - }, - { - "name": "to_port", - "type": "int" - } - ] - }, - { - "name": "disconnection_request", - "arguments": [ - { - "name": "from_node", - "type": "StringName" - }, - { - "name": "from_port", - "type": "int" - }, - { - "name": "to_node", - "type": "StringName" - }, - { - "name": "to_port", - "type": "int" - } - ] - }, - { - "name": "connection_to_empty", - "arguments": [ - { - "name": "from_node", - "type": "StringName" - }, - { - "name": "from_port", - "type": "int" - }, - { - "name": "release_position", - "type": "Vector2" - } - ] - }, - { - "name": "connection_from_empty", - "arguments": [ - { - "name": "to_node", - "type": "StringName" - }, - { - "name": "to_port", - "type": "int" - }, - { - "name": "release_position", - "type": "Vector2" - } - ] - }, - { - "name": "connection_drag_started", - "arguments": [ - { - "name": "from_node", - "type": "StringName" - }, - { - "name": "from_port", - "type": "int" - }, - { - "name": "is_output", - "type": "bool" - } - ] - }, - { - "name": "connection_drag_ended" - }, - { - "name": "copy_nodes_request" - }, - { - "name": "paste_nodes_request" - }, - { - "name": "duplicate_nodes_request" - }, - { - "name": "delete_nodes_request", - "arguments": [ - { - "name": "nodes", - "type": "typedarray::StringName" - } - ] - }, - { - "name": "node_selected", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "node_deselected", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "popup_request", - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "begin_node_move" - }, - { - "name": "end_node_move" - }, - { - "name": "scroll_offset_changed", - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - } - ], - "properties": [ - { - "type": "Vector2", - "name": "scroll_offset", - "setter": "set_scroll_offset", - "getter": "get_scroll_offset" - }, - { - "type": "bool", - "name": "show_grid", - "setter": "set_show_grid", - "getter": "is_showing_grid" - }, - { - "type": "bool", - "name": "snapping_enabled", - "setter": "set_snapping_enabled", - "getter": "is_snapping_enabled" - }, - { - "type": "int", - "name": "snapping_distance", - "setter": "set_snapping_distance", - "getter": "get_snapping_distance" - }, - { - "type": "int", - "name": "panning_scheme", - "setter": "set_panning_scheme", - "getter": "get_panning_scheme" - }, - { - "type": "bool", - "name": "right_disconnects", - "setter": "set_right_disconnects", - "getter": "is_right_disconnects_enabled" - }, - { - "type": "float", - "name": "connection_lines_curvature", - "setter": "set_connection_lines_curvature", - "getter": "get_connection_lines_curvature" - }, - { - "type": "float", - "name": "connection_lines_thickness", - "setter": "set_connection_lines_thickness", - "getter": "get_connection_lines_thickness" - }, - { - "type": "bool", - "name": "connection_lines_antialiased", - "setter": "set_connection_lines_antialiased", - "getter": "is_connection_lines_antialiased" - }, - { - "type": "float", - "name": "zoom", - "setter": "set_zoom", - "getter": "get_zoom" - }, - { - "type": "float", - "name": "zoom_min", - "setter": "set_zoom_min", - "getter": "get_zoom_min" - }, - { - "type": "float", - "name": "zoom_max", - "setter": "set_zoom_max", - "getter": "get_zoom_max" - }, - { - "type": "float", - "name": "zoom_step", - "setter": "set_zoom_step", - "getter": "get_zoom_step" - }, - { - "type": "bool", - "name": "minimap_enabled", - "setter": "set_minimap_enabled", - "getter": "is_minimap_enabled" - }, - { - "type": "Vector2", - "name": "minimap_size", - "setter": "set_minimap_size", - "getter": "get_minimap_size" - }, - { - "type": "float", - "name": "minimap_opacity", - "setter": "set_minimap_opacity", - "getter": "get_minimap_opacity" - }, - { - "type": "bool", - "name": "show_menu", - "setter": "set_show_menu", - "getter": "is_showing_menu" - }, - { - "type": "bool", - "name": "show_zoom_label", - "setter": "set_show_zoom_label", - "getter": "is_showing_zoom_label" - }, - { - "type": "bool", - "name": "show_zoom_buttons", - "setter": "set_show_zoom_buttons", - "getter": "is_showing_zoom_buttons" - }, - { - "type": "bool", - "name": "show_grid_buttons", - "setter": "set_show_grid_buttons", - "getter": "is_showing_grid_buttons" - }, - { - "type": "bool", - "name": "show_minimap_button", - "setter": "set_show_minimap_button", - "getter": "is_showing_minimap_button" - }, - { - "type": "bool", - "name": "show_arrange_button", - "setter": "set_show_arrange_button", - "getter": "is_showing_arrange_button" - } - ] - }, - { - "name": "GraphElement", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "core", - "methods": [ - { - "name": "set_resizable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "resizable", - "type": "bool" - } - ] - }, - { - "name": "is_resizable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_draggable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "draggable", - "type": "bool" - } - ] - }, - { - "name": "is_draggable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_selectable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "selectable", - "type": "bool" - } - ] - }, - { - "name": "is_selectable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_selected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "selected", - "type": "bool" - } - ] - }, - { - "name": "is_selected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_position_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_position_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "signals": [ - { - "name": "node_selected" - }, - { - "name": "node_deselected" - }, - { - "name": "raise_request" - }, - { - "name": "delete_request" - }, - { - "name": "resize_request", - "arguments": [ - { - "name": "new_minsize", - "type": "Vector2" - } - ] - }, - { - "name": "dragged", - "arguments": [ - { - "name": "from", - "type": "Vector2" - }, - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "position_offset_changed" - } - ], - "properties": [ - { - "type": "Vector2", - "name": "position_offset", - "setter": "set_position_offset", - "getter": "get_position_offset" - }, - { - "type": "bool", - "name": "resizable", - "setter": "set_resizable", - "getter": "is_resizable" - }, - { - "type": "bool", - "name": "draggable", - "setter": "set_draggable", - "getter": "is_draggable" - }, - { - "type": "bool", - "name": "selectable", - "setter": "set_selectable", - "getter": "is_selectable" - }, - { - "type": "bool", - "name": "selected", - "setter": "set_selected", - "getter": "is_selected" - } - ] - }, - { - "name": "GraphNode", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GraphElement", - "api_type": "core", - "methods": [ - { - "name": "_draw_port", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector2i" - }, - { - "name": "left", - "type": "bool" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "set_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "title", - "type": "String" - } - ] - }, - { - "name": "get_title", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_titlebar_hbox", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3590609951, - "return_value": { - "type": "HBoxContainer" - } - }, - { - "name": "set_slot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2873310869, - "hash_compatibility": [ - 902131739 - ], - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - }, - { - "name": "enable_left_port", - "type": "bool" - }, - { - "name": "type_left", - "type": "int", - "meta": "int32" - }, - { - "name": "color_left", - "type": "Color" - }, - { - "name": "enable_right_port", - "type": "bool" - }, - { - "name": "type_right", - "type": "int", - "meta": "int32" - }, - { - "name": "color_right", - "type": "Color" - }, - { - "name": "custom_icon_left", - "type": "Texture2D", - "default_value": "null" - }, - { - "name": "custom_icon_right", - "type": "Texture2D", - "default_value": "null" - }, - { - "name": "draw_stylebox", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "clear_slot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_all_slots", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_slot_enabled_left", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_slot_enabled_left", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_slot_type_left", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - }, - { - "name": "type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_slot_type_left", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_slot_color_left", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_slot_color_left", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_slot_enabled_right", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_slot_enabled_right", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_slot_type_right", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - }, - { - "name": "type", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_slot_type_right", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_slot_color_right", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_slot_color_right", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_slot_draw_stylebox", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_slot_draw_stylebox", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "slot_index", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_input_port_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_input_port_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3114997196, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "port_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_input_port_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3744713108, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "port_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_input_port_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2624840992, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "port_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_input_port_slot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3744713108, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "port_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_output_port_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_output_port_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3114997196, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "port_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_output_port_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3744713108, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "port_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_output_port_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2624840992, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "port_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_output_port_slot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3744713108, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "port_idx", - "type": "int", - "meta": "int32" - } - ] - } - ], - "signals": [ - { - "name": "slot_updated", - "arguments": [ - { - "name": "slot_index", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "title", - "setter": "set_title", - "getter": "get_title" - } - ] - }, - { - "name": "GridContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "core", - "methods": [ - { - "name": "set_columns", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "columns", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_columns", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "columns", - "setter": "set_columns", - "getter": "get_columns" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_collision_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_physics_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1784508650, - "arguments": [ - { - "name": "material", - "type": "PhysicsMaterial" - } - ] - }, - { - "name": "get_physics_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2521850424, - "return_value": { - "type": "PhysicsMaterial" - } - }, - { - "name": "set_bake_navigation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "bake_navigation", - "type": "bool" - } - ] - }, - { - "name": "is_baking_navigation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_navigation_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "navigation_map", - "type": "RID" - } - ] - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_mesh_library", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1488083439, - "arguments": [ - { - "name": "mesh_library", - "type": "MeshLibrary" - } - ] - }, - { - "name": "get_mesh_library", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3350993772, - "return_value": { - "type": "MeshLibrary" - } - }, - { - "name": "set_cell_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_cell_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_cell_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cell_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_octant_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_octant_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_cell_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3449088946, - "hash_compatibility": [ - 4177201334 - ], - "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_static": false, - "is_virtual": false, - "hash": 3724960147, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "position", - "type": "Vector3i" - } - ] - }, - { - "name": "get_cell_item_orientation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3724960147, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "position", - "type": "Vector3i" - } - ] - }, - { - "name": "get_cell_item_basis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3493604918, - "return_value": { - "type": "Basis" - }, - "arguments": [ - { - "name": "position", - "type": "Vector3i" - } - ] - }, - { - "name": "get_basis_with_orthogonal_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2816196998, - "return_value": { - "type": "Basis" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_orthogonal_index_from_basis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4210359952, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "basis", - "type": "Basis" - } - ] - }, - { - "name": "local_to_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1257687843, - "return_value": { - "type": "Vector3i" - }, - "arguments": [ - { - "name": "local_position", - "type": "Vector3" - } - ] - }, - { - "name": "map_to_local", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1088329196, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "map_position", - "type": "Vector3i" - } - ] - }, - { - "name": "resource_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 968641751, - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "set_center_x", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_center_x", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_center_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_center_y", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_center_z", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_center_z", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_used_cells", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Vector3i" - } - }, - { - "name": "get_used_cells_by_item", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 663333327, - "return_value": { - "type": "typedarray::Vector3i" - }, - "arguments": [ - { - "name": "item", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_meshes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_bake_meshes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_bake_mesh_instance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 937000113, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_baked_meshes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "make_baked_meshes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3609286057, - "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" - } - ] - }, - { - "name": "changed" - } - ], - "properties": [ - { - "type": "MeshLibrary", - "name": "mesh_library", - "setter": "set_mesh_library", - "getter": "get_mesh_library" - }, - { - "type": "PhysicsMaterial", - "name": "physics_material", - "setter": "set_physics_material", - "getter": "get_physics_material" - }, - { - "type": "Vector3", - "name": "cell_size", - "setter": "set_cell_size", - "getter": "get_cell_size" - }, - { - "type": "int", - "name": "cell_octant_size", - "setter": "set_octant_size", - "getter": "get_octant_size" - }, - { - "type": "bool", - "name": "cell_center_x", - "setter": "set_center_x", - "getter": "get_center_x" - }, - { - "type": "bool", - "name": "cell_center_y", - "setter": "set_center_y", - "getter": "get_center_y" - }, - { - "type": "bool", - "name": "cell_center_z", - "setter": "set_center_z", - "getter": "get_center_z" - }, - { - "type": "float", - "name": "cell_scale", - "setter": "set_cell_scale", - "getter": "get_cell_scale" - }, - { - "type": "int", - "name": "collision_layer", - "setter": "set_collision_layer", - "getter": "get_collision_layer" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "float", - "name": "collision_priority", - "setter": "set_collision_priority", - "getter": "get_collision_priority" - }, - { - "type": "bool", - "name": "bake_navigation", - "setter": "set_bake_navigation", - "getter": "is_baking_navigation" - } - ] - }, - { - "name": "GrooveJoint2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Joint2D", - "api_type": "core", - "methods": [ - { - "name": "set_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_initial_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_initial_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "length", - "setter": "set_length", - "getter": "get_length" - }, - { - "type": "float", - "name": "initial_offset", - "setter": "set_initial_offset", - "getter": "get_initial_offset" - } - ] - }, - { - "name": "HBoxContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "BoxContainer", - "api_type": "core" - }, - { - "name": "HFlowContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "FlowContainer", - "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_static": false, - "is_virtual": false, - "hash": 3537364598, - "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_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "finish", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2115431945, - "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": "Method", - "is_bitfield": false, - "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": "Status", - "is_bitfield": false, - "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_TLS_HANDSHAKE_ERROR", - "value": 9 - } - ] - }, - { - "name": "ResponseCode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 504540374, - "hash_compatibility": [ - 1970282951 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "host", - "type": "String" - }, - { - "name": "port", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "tls_options", - "type": "TLSOptions", - "default_value": "null" - } - ] - }, - { - "name": "set_connection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3281897016, - "arguments": [ - { - "name": "connection", - "type": "StreamPeer" - } - ] - }, - { - "name": "get_connection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2741655269, - "return_value": { - "type": "StreamPeer" - } - }, - { - "name": "request_raw", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 540161961, - "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_static": false, - "is_virtual": false, - "hash": 3778990155, - "hash_compatibility": [ - 3249905507 - ], - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "has_response", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_response_chunked", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_response_code", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_response_headers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_response_headers_as_dictionary", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2382534195, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_response_body_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "read_response_body_chunk", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2115431945, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "set_read_chunk_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bytes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_read_chunk_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_blocking_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_blocking_mode_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_status", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1426656811, - "return_value": { - "type": "enum::HTTPClient.Status" - } - }, - { - "name": "poll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "set_http_proxy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "arguments": [ - { - "name": "host", - "type": "String" - }, - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_https_proxy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "arguments": [ - { - "name": "host", - "type": "String" - }, - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "query_string_from_dict", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2538086567, - "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" - }, - { - "type": "StreamPeer", - "name": "connection", - "setter": "set_connection", - "getter": "get_connection" - }, - { - "type": "int", - "name": "read_chunk_size", - "setter": "set_read_chunk_size", - "getter": "get_read_chunk_size" - } - ] - }, - { - "name": "HTTPRequest", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "enums": [ - { - "name": "Result", - "is_bitfield": false, - "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_TLS_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_static": false, - "is_virtual": false, - "hash": 3215244323, - "hash_compatibility": [ - 2720304520 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "url", - "type": "String" - }, - { - "name": "custom_headers", - "type": "PackedStringArray", - "default_value": "PackedStringArray()" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2714829993, - "hash_compatibility": [ - 4282724657 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "url", - "type": "String" - }, - { - "name": "custom_headers", - "type": "PackedStringArray", - "default_value": "PackedStringArray()" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_tls_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2210231844, - "arguments": [ - { - "name": "client_options", - "type": "TLSOptions" - } - ] - }, - { - "name": "get_http_client_status", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1426656811, - "return_value": { - "type": "enum::HTTPClient.Status" - } - }, - { - "name": "set_use_threads", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_threads", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_accept_gzip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_accepting_gzip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_body_size_limit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bytes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_body_size_limit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_redirects", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_redirects", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_download_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_download_file", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_downloaded_bytes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_body_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_timeout", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "timeout", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_timeout", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_download_chunk_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "chunk_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_download_chunk_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_http_proxy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "arguments": [ - { - "name": "host", - "type": "String" - }, - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_https_proxy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "arguments": [ - { - "name": "host", - "type": "String" - }, - { - "name": "port", - "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" - }, - { - "type": "int", - "name": "download_chunk_size", - "setter": "set_download_chunk_size", - "getter": "get_download_chunk_size" - }, - { - "type": "bool", - "name": "use_threads", - "setter": "set_use_threads", - "getter": "is_using_threads" - }, - { - "type": "bool", - "name": "accept_gzip", - "setter": "set_accept_gzip", - "getter": "is_accepting_gzip" - }, - { - "type": "int", - "name": "body_size_limit", - "setter": "set_body_size_limit", - "getter": "get_body_size_limit" - }, - { - "type": "int", - "name": "max_redirects", - "setter": "set_max_redirects", - "getter": "get_max_redirects" - }, - { - "type": "float", - "name": "timeout", - "setter": "set_timeout", - "getter": "get_timeout" - } - ] - }, - { - "name": "HashingContext", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "HashType", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3940338335, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "type", - "type": "enum::HashingContext.HashType" - } - ] - }, - { - "name": "update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "chunk", - "type": "PackedByteArray" - } - ] - }, - { - "name": "finish", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2115431945, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_map_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_map_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "height", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_map_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_map_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2899603908, - "arguments": [ - { - "name": "data", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "get_map_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 675695659, - "return_value": { - "type": "PackedFloat32Array" - } - } - ], - "properties": [ - { - "type": "int", - "name": "map_width", - "setter": "set_map_width", - "getter": "get_map_width" - }, - { - "type": "int", - "name": "map_depth", - "setter": "set_map_depth", - "getter": "get_map_depth" - }, - { - "type": "PackedFloat32Array", - "name": "map_data", - "setter": "set_map_data", - "getter": "get_map_data" - } - ] - }, - { - "name": "HingeJoint3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Joint3D", - "api_type": "core", - "enums": [ - { - "name": "Param", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3082977519, - "arguments": [ - { - "name": "param", - "type": "enum::HingeJoint3D.Param" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4066002676, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::HingeJoint3D.Param" - } - ] - }, - { - "name": "set_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1083494620, - "arguments": [ - { - "name": "flag", - "type": "enum::HingeJoint3D.Flag" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_flag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841369610, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "flag", - "type": "enum::HingeJoint3D.Flag" - } - ] - } - ] - }, - { - "name": "IP", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "constants": [ - { - "name": "RESOLVER_MAX_QUERIES", - "value": 256 - }, - { - "name": "RESOLVER_INVALID_ID", - "value": -1 - } - ], - "enums": [ - { - "name": "ResolverStatus", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 4283295457, - "hash_compatibility": [ - 396864159 - ], - "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_static": false, - "is_virtual": false, - "hash": 773767525, - "hash_compatibility": [ - 3462780090 - ], - "return_value": { - "type": "PackedStringArray" - }, - "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_static": false, - "is_virtual": false, - "hash": 1749894742, - "hash_compatibility": [ - 3936392508 - ], - "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_static": false, - "is_virtual": false, - "hash": 3812250196, - "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_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_resolve_item_addresses", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 663333327, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "erase_resolve_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_local_addresses", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_local_interfaces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "clear_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3005725572, - "arguments": [ - { - "name": "hostname", - "type": "String", - "default_value": "\"\"" - } - ] - } - ] - }, - { - "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": "Format", - "is_bitfield": false, - "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_ETC", - "value": 25 - }, - { - "name": "FORMAT_ETC2_R11", - "value": 26 - }, - { - "name": "FORMAT_ETC2_R11S", - "value": 27 - }, - { - "name": "FORMAT_ETC2_RG11", - "value": 28 - }, - { - "name": "FORMAT_ETC2_RG11S", - "value": 29 - }, - { - "name": "FORMAT_ETC2_RGB8", - "value": 30 - }, - { - "name": "FORMAT_ETC2_RGBA8", - "value": 31 - }, - { - "name": "FORMAT_ETC2_RGB8A1", - "value": 32 - }, - { - "name": "FORMAT_ETC2_RA_AS_RG", - "value": 33 - }, - { - "name": "FORMAT_DXT5_RA_AS_RG", - "value": 34 - }, - { - "name": "FORMAT_ASTC_4x4", - "value": 35 - }, - { - "name": "FORMAT_ASTC_4x4_HDR", - "value": 36 - }, - { - "name": "FORMAT_ASTC_8x8", - "value": 37 - }, - { - "name": "FORMAT_ASTC_8x8_HDR", - "value": 38 - }, - { - "name": "FORMAT_MAX", - "value": 39 - } - ] - }, - { - "name": "Interpolation", - "is_bitfield": false, - "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": "AlphaMode", - "is_bitfield": false, - "values": [ - { - "name": "ALPHA_NONE", - "value": 0 - }, - { - "name": "ALPHA_BIT", - "value": 1 - }, - { - "name": "ALPHA_BLEND", - "value": 2 - } - ] - }, - { - "name": "CompressMode", - "is_bitfield": false, - "values": [ - { - "name": "COMPRESS_S3TC", - "value": 0 - }, - { - "name": "COMPRESS_ETC", - "value": 1 - }, - { - "name": "COMPRESS_ETC2", - "value": 2 - }, - { - "name": "COMPRESS_BPTC", - "value": 3 - }, - { - "name": "COMPRESS_ASTC", - "value": 4 - }, - { - "name": "COMPRESS_MAX", - "value": 5 - } - ] - }, - { - "name": "UsedChannels", - "is_bitfield": false, - "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": "CompressSource", - "is_bitfield": false, - "values": [ - { - "name": "COMPRESS_SOURCE_GENERIC", - "value": 0 - }, - { - "name": "COMPRESS_SOURCE_SRGB", - "value": 1 - }, - { - "name": "COMPRESS_SOURCE_NORMAL", - "value": 2 - } - ] - }, - { - "name": "ASTCFormat", - "is_bitfield": false, - "values": [ - { - "name": "ASTC_FORMAT_4x4", - "value": 0 - }, - { - "name": "ASTC_FORMAT_8x8", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "has_mipmaps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3847873762, - "return_value": { - "type": "enum::Image.Format" - } - }, - { - "name": "get_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2362200018, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "convert", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2120693146, - "arguments": [ - { - "name": "format", - "type": "enum::Image.Format" - } - ] - }, - { - "name": "get_mipmap_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_mipmap_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "mipmap", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "resize_to_po2", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4189212329, - "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_static": false, - "is_virtual": false, - "hash": 994498151, - "hash_compatibility": [ - 2461393748 - ], - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "crop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - }, - { - "name": "height", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "flip_x", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "flip_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "generate_mipmaps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1633102583, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "renormalize", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "clear_mipmaps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "create", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 986942177, - "return_value": { - "type": "Image" - }, - "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_static": true, - "is_virtual": false, - "hash": 299398494, - "return_value": { - "type": "Image" - }, - "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": "set_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2740482212, - "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_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "load", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "load_from_file", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 736337515, - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "save_png", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2113323047, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "save_png_to_buffer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2362200018, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "save_jpg", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2800019068, - "hash_compatibility": [ - 578836491 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "quality", - "type": "float", - "meta": "float", - "default_value": "0.75" - } - ] - }, - { - "name": "save_jpg_to_buffer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 592235273, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "quality", - "type": "float", - "meta": "float", - "default_value": "0.75" - } - ] - }, - { - "name": "save_exr", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3108122999, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "grayscale", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "save_exr_to_buffer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3178917920, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "grayscale", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "save_webp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2781156876, - "hash_compatibility": [ - 3594949219 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "lossy", - "type": "bool", - "default_value": "false" - }, - { - "name": "quality", - "type": "float", - "meta": "float", - "default_value": "0.75" - } - ] - }, - { - "name": "save_webp_to_buffer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1214628238, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "lossy", - "type": "bool", - "default_value": "false" - }, - { - "name": "quality", - "type": "float", - "meta": "float", - "default_value": "0.75" - } - ] - }, - { - "name": "detect_alpha", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2030116505, - "return_value": { - "type": "enum::Image.AlphaMode" - } - }, - { - "name": "is_invisible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "detect_used_channels", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2703139984, - "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_static": false, - "is_virtual": false, - "hash": 2975424957, - "hash_compatibility": [ - 4094210332 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::Image.CompressMode" - }, - { - "name": "source", - "type": "enum::Image.CompressSource", - "default_value": "0" - }, - { - "name": "astc_format", - "type": "enum::Image.ASTCFormat", - "default_value": "0" - } - ] - }, - { - "name": "compress_from_channels", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4212890953, - "hash_compatibility": [ - 279105990 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::Image.CompressMode" - }, - { - "name": "channels", - "type": "enum::Image.UsedChannels" - }, - { - "name": "astc_format", - "type": "enum::Image.ASTCFormat", - "default_value": "0" - } - ] - }, - { - "name": "decompress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "is_compressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "rotate_90", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1901204267, - "arguments": [ - { - "name": "direction", - "type": "enum::ClockDirection" - } - ] - }, - { - "name": "rotate_180", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "fix_alpha_edges", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "premultiply_alpha", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "srgb_to_linear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "normal_map_to_xy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "rgbe_to_srgb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 564927088, - "return_value": { - "type": "Image" - } - }, - { - "name": "bump_map_to_normal_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3423495036, - "arguments": [ - { - "name": "bump_scale", - "type": "float", - "meta": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "compute_image_metrics", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3080961247, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "compared_image", - "type": "Image" - }, - { - "name": "use_luma", - "type": "bool" - } - ] - }, - { - "name": "blit_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2903928755, - "arguments": [ - { - "name": "src", - "type": "Image" - }, - { - "name": "src_rect", - "type": "Rect2i" - }, - { - "name": "dst", - "type": "Vector2i" - } - ] - }, - { - "name": "blit_rect_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3383581145, - "arguments": [ - { - "name": "src", - "type": "Image" - }, - { - "name": "mask", - "type": "Image" - }, - { - "name": "src_rect", - "type": "Rect2i" - }, - { - "name": "dst", - "type": "Vector2i" - } - ] - }, - { - "name": "blend_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2903928755, - "arguments": [ - { - "name": "src", - "type": "Image" - }, - { - "name": "src_rect", - "type": "Rect2i" - }, - { - "name": "dst", - "type": "Vector2i" - } - ] - }, - { - "name": "blend_rect_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3383581145, - "arguments": [ - { - "name": "src", - "type": "Image" - }, - { - "name": "mask", - "type": "Image" - }, - { - "name": "src_rect", - "type": "Rect2i" - }, - { - "name": "dst", - "type": "Vector2i" - } - ] - }, - { - "name": "fill", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "fill_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 514693913, - "arguments": [ - { - "name": "rect", - "type": "Rect2i" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_used_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 410525958, - "return_value": { - "type": "Rect2i" - } - }, - { - "name": "get_region", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2601441065, - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "region", - "type": "Rect2i" - } - ] - }, - { - "name": "copy_from", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 532598488, - "arguments": [ - { - "name": "src", - "type": "Image" - } - ] - }, - { - "name": "get_pixelv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1532707496, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2i" - } - ] - }, - { - "name": "get_pixel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2165839948, - "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_static": false, - "is_virtual": false, - "hash": 287851464, - "arguments": [ - { - "name": "point", - "type": "Vector2i" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "set_pixel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3733378741, - "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_static": false, - "is_virtual": false, - "hash": 2385087082, - "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_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "load_jpg_from_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "load_webp_from_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "load_tga_from_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "load_bmp_from_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "load_ktx_from_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "load_svg_from_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 311853421, - "hash_compatibility": [ - 1822513750 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - }, - { - "name": "scale", - "type": "float", - "meta": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "load_svg_from_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3254053600, - "hash_compatibility": [ - 1461766635 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "svg_str", - "type": "String" - }, - { - "name": "scale", - "type": "float", - "meta": "float", - "default_value": "1.0" - } - ] - } - ], - "properties": [ - { - "type": "Dictionary", - "name": "data", - "setter": "_set_data", - "getter": "_get_data" - } - ] - }, - { - "name": "ImageFormatLoader", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "LoaderFlags", - "is_bitfield": true, - "values": [ - { - "name": "FLAG_NONE", - "value": 0 - }, - { - "name": "FLAG_FORCE_LINEAR", - "value": 1 - }, - { - "name": "FLAG_CONVERT_COLORS", - "value": 2 - } - ] - } - ] - }, - { - "name": "ImageFormatLoaderExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ImageFormatLoader", - "api_type": "core", - "methods": [ - { - "name": "_get_recognized_extensions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_load_image", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "image", - "type": "Image" - }, - { - "name": "fileaccess", - "type": "FileAccess" - }, - { - "name": "flags", - "type": "bitfield::ImageFormatLoader.LoaderFlags" - }, - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "add_format_loader", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "remove_format_loader", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "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_static": true, - "is_virtual": false, - "hash": 2775144163, - "return_value": { - "type": "ImageTexture" - }, - "arguments": [ - { - "name": "image", - "type": "Image" - } - ] - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3847873762, - "return_value": { - "type": "enum::Image.Format" - } - }, - { - "name": "set_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 532598488, - "arguments": [ - { - "name": "image", - "type": "Image" - } - ] - }, - { - "name": "update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 532598488, - "arguments": [ - { - "name": "image", - "type": "Image" - } - ] - }, - { - "name": "set_size_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - } - ] - }, - { - "name": "ImageTexture3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture3D", - "api_type": "core", - "methods": [ - { - "name": "create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130379827, - "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": "typedarray::Image" - } - ] - }, - { - "name": "update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "data", - "type": "typedarray::Image" - } - ] - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2785773503, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "images", - "type": "typedarray::Image" - } - ] - }, - { - "name": "update_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3331733361, - "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_static": false, - "is_virtual": false, - "hash": 2794442543, - "hash_compatibility": [ - 3716480242 - ], - "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_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "surface_set_normal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "normal", - "type": "Vector3" - } - ] - }, - { - "name": "surface_set_tangent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3505987427, - "arguments": [ - { - "name": "tangent", - "type": "Plane" - } - ] - }, - { - "name": "surface_set_uv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "uv", - "type": "Vector2" - } - ] - }, - { - "name": "surface_set_uv2", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "uv2", - "type": "Vector2" - } - ] - }, - { - "name": "surface_add_vertex", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "vertex", - "type": "Vector3" - } - ] - }, - { - "name": "surface_add_vertex_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "vertex", - "type": "Vector2" - } - ] - }, - { - "name": "surface_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear_surfaces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "ImporterMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "add_blend_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_blend_shape_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_blend_shape_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "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_static": false, - "is_virtual": false, - "hash": 227983991, - "arguments": [ - { - "name": "mode", - "type": "enum::Mesh.BlendShapeMode" - } - ] - }, - { - "name": "get_blend_shape_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 836485024, - "return_value": { - "type": "enum::Mesh.BlendShapeMode" - } - }, - { - "name": "add_surface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740448849, - "hash_compatibility": [ - 4122361985 - ], - "arguments": [ - { - "name": "primitive", - "type": "enum::Mesh.PrimitiveType" - }, - { - "name": "arrays", - "type": "Array" - }, - { - "name": "blend_shapes", - "type": "typedarray::Array", - "default_value": "Array[Array]([])" - }, - { - "name": "lods", - "type": "Dictionary", - "default_value": "{}" - }, - { - "name": "material", - "type": "Material", - "default_value": "null" - }, - { - "name": "name", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "flags", - "type": "int", - "meta": "uint64", - "default_value": "0" - } - ] - }, - { - "name": "get_surface_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_surface_primitive_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3552571330, - "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_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "surface_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_surface_arrays", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 663333327, - "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_static": false, - "is_virtual": false, - "hash": 2345056839, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 3085491603, - "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_static": false, - "is_virtual": false, - "hash": 1265128013, - "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_static": false, - "is_virtual": false, - "hash": 2897466400, - "return_value": { - "type": "Material" - }, - "arguments": [ - { - "name": "surface_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_surface_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "surface_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_surface_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "surface_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_surface_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3671737478, - "arguments": [ - { - "name": "surface_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "generate_lods", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2491878677, - "arguments": [ - { - "name": "normal_merge_angle", - "type": "float", - "meta": "float" - }, - { - "name": "normal_split_angle", - "type": "float", - "meta": "float" - }, - { - "name": "bone_transform_array", - "type": "Array" - } - ] - }, - { - "name": "get_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1457573577, - "return_value": { - "type": "ArrayMesh" - }, - "arguments": [ - { - "name": "base_mesh", - "type": "ArrayMesh", - "default_value": "null" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_lightmap_size_hint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_lightmap_size_hint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - } - ] - }, - { - "name": "ImporterMeshInstance3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2255166972, - "arguments": [ - { - "name": "mesh", - "type": "ImporterMesh" - } - ] - }, - { - "name": "get_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3161779525, - "return_value": { - "type": "ImporterMesh" - } - }, - { - "name": "set_skin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3971435618, - "arguments": [ - { - "name": "skin", - "type": "Skin" - } - ] - }, - { - "name": "get_skin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2074563878, - "return_value": { - "type": "Skin" - } - }, - { - "name": "set_skeleton_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "skeleton_path", - "type": "NodePath" - } - ] - }, - { - "name": "get_skeleton_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_layer_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_layer_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_cast_shadows_setting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 856677339, - "arguments": [ - { - "name": "shadow_casting_setting", - "type": "enum::GeometryInstance3D.ShadowCastingSetting" - } - ] - }, - { - "name": "get_cast_shadows_setting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3383019359, - "return_value": { - "type": "enum::GeometryInstance3D.ShadowCastingSetting" - } - }, - { - "name": "set_visibility_range_end_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visibility_range_end_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_visibility_range_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visibility_range_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_visibility_range_begin_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visibility_range_begin_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_visibility_range_begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visibility_range_begin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_visibility_range_fade_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1440117808, - "arguments": [ - { - "name": "mode", - "type": "enum::GeometryInstance3D.VisibilityRangeFadeMode" - } - ] - }, - { - "name": "get_visibility_range_fade_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2067221882, - "return_value": { - "type": "enum::GeometryInstance3D.VisibilityRangeFadeMode" - } - } - ], - "properties": [ - { - "type": "ImporterMesh", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "Skin", - "name": "skin", - "setter": "set_skin", - "getter": "get_skin" - }, - { - "type": "NodePath", - "name": "skeleton_path", - "setter": "set_skeleton_path", - "getter": "get_skeleton_path" - }, - { - "type": "int", - "name": "layer_mask", - "setter": "set_layer_mask", - "getter": "get_layer_mask" - }, - { - "type": "int", - "name": "cast_shadow", - "setter": "set_cast_shadows_setting", - "getter": "get_cast_shadows_setting" - }, - { - "type": "float", - "name": "visibility_range_begin", - "setter": "set_visibility_range_begin", - "getter": "get_visibility_range_begin" - }, - { - "type": "float", - "name": "visibility_range_begin_margin", - "setter": "set_visibility_range_begin_margin", - "getter": "get_visibility_range_begin_margin" - }, - { - "type": "float", - "name": "visibility_range_end", - "setter": "set_visibility_range_end", - "getter": "get_visibility_range_end" - }, - { - "type": "float", - "name": "visibility_range_end_margin", - "setter": "set_visibility_range_end_margin", - "getter": "get_visibility_range_end_margin" - }, - { - "type": "int", - "name": "visibility_range_fade_mode", - "setter": "set_visibility_range_fade_mode", - "getter": "get_visibility_range_fade_mode" - } - ] - }, - { - "name": "Input", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "MouseMode", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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_anything_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_key_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1938909964, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "keycode", - "type": "enum::Key" - } - ] - }, - { - "name": "is_physical_key_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1938909964, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "keycode", - "type": "enum::Key" - } - ] - }, - { - "name": "is_key_label_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1938909964, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "keycode", - "type": "enum::Key" - } - ] - }, - { - "name": "is_mouse_button_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1821097125, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "button", - "type": "enum::MouseButton" - } - ] - }, - { - "name": "is_joy_button_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 787208542, - "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_static": false, - "is_virtual": false, - "hash": 1558498928, - "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_static": false, - "is_virtual": false, - "hash": 1558498928, - "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_static": false, - "is_virtual": false, - "hash": 1558498928, - "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_static": false, - "is_virtual": false, - "hash": 801543509, - "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_static": false, - "is_virtual": false, - "hash": 801543509, - "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_static": false, - "is_virtual": false, - "hash": 1958752504, - "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_static": false, - "is_virtual": false, - "hash": 2479607902, - "hash_compatibility": [ - 1517139831 - ], - "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_static": false, - "is_virtual": false, - "hash": 1168363258, - "arguments": [ - { - "name": "mapping", - "type": "String" - }, - { - "name": "update_existing", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "remove_joy_mapping", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "guid", - "type": "String" - } - ] - }, - { - "name": "is_joy_known", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3067735520, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "device", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_joy_axis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4063175957, - "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_static": false, - "is_virtual": false, - "hash": 990163283, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "device", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_joy_guid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "device", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_joy_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3485342025, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "device", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "should_ignore_device", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2522259332, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "vendor_id", - "type": "int", - "meta": "int32" - }, - { - "name": "product_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_connected_joypads", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::int" - } - }, - { - "name": "get_joy_vibration_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3114997196, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "device", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_joy_vibration_duration", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4025615559, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "device", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "start_joy_vibration", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2576575033, - "hash_compatibility": [ - 1890603622 - ], - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "device", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "vibrate_handheld", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 955504365, - "arguments": [ - { - "name": "duration_ms", - "type": "int", - "meta": "int32", - "default_value": "500" - } - ] - }, - { - "name": "get_gravity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_accelerometer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_magnetometer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_gyroscope", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_gravity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "set_accelerometer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "set_magnetometer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "set_gyroscope", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "get_last_mouse_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1497962370, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_mouse_button_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2512161324, - "return_value": { - "type": "bitfield::MouseButtonMask" - } - }, - { - "name": "set_mouse_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2228490894, - "arguments": [ - { - "name": "mode", - "type": "enum::Input.MouseMode" - } - ] - }, - { - "name": "get_mouse_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 965286182, - "return_value": { - "type": "enum::Input.MouseMode" - } - }, - { - "name": "warp_mouse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "action_press", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1713091165, - "hash_compatibility": [ - 573731101 - ], - "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_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "action", - "type": "StringName" - } - ] - }, - { - "name": "set_default_cursor_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2124816902, - "arguments": [ - { - "name": "shape", - "type": "enum::Input.CursorShape", - "default_value": "0" - } - ] - }, - { - "name": "get_current_cursor_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3455658929, - "return_value": { - "type": "enum::Input.CursorShape" - } - }, - { - "name": "set_custom_mouse_cursor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 703945977, - "hash_compatibility": [ - 3489634142 - ], - "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_static": false, - "is_virtual": false, - "hash": 3754044979, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "set_use_accumulated_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_accumulated_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "flush_buffered_events", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "signals": [ - { - "name": "joy_connection_changed", - "arguments": [ - { - "name": "device", - "type": "int" - }, - { - "name": "connected", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "mouse_mode", - "setter": "set_mouse_mode", - "getter": "get_mouse_mode" - }, - { - "type": "bool", - "name": "use_accumulated_input", - "setter": "set_use_accumulated_input", - "getter": "is_using_accumulated_input" - } - ] - }, - { - "name": "InputEvent", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_device", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "device", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_device", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1558498928, - "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_static": false, - "is_virtual": false, - "hash": 1631499404, - "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_static": false, - "is_virtual": false, - "hash": 1558498928, - "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_static": false, - "is_virtual": false, - "hash": 801543509, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "action", - "type": "StringName" - }, - { - "name": "exact_match", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "is_canceled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_released", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_echo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "as_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_match", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1754951977, - "hash_compatibility": [ - 3392494811 - ], - "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_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "accumulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1062211774, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "with_event", - "type": "InputEvent" - } - ] - }, - { - "name": "xformed_by", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1282766827, - "hash_compatibility": [ - 2747409789 - ], - "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" - } - ] - }, - { - "name": "InputEventAction", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEvent", - "api_type": "core", - "methods": [ - { - "name": "set_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "action", - "type": "StringName" - } - ] - }, - { - "name": "get_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "set_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "StringName", - "name": "action", - "setter": "set_action", - "getter": "get_action" - }, - { - "type": "bool", - "name": "pressed", - "setter": "set_pressed", - "getter": "is_pressed" - }, - { - "type": "float", - "name": "strength", - "setter": "set_strength", - "getter": "get_strength" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_window_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - } - ], - "properties": [ - { - "type": "int", - "name": "window_id", - "setter": "set_window_id", - "getter": "get_window_id" - } - ] - }, - { - "name": "InputEventGesture", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "InputEventWithModifiers", - "api_type": "core", - "methods": [ - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "position", - "setter": "set_position", - "getter": "get_position" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1466368136, - "arguments": [ - { - "name": "button_index", - "type": "enum::JoyButton" - } - ] - }, - { - "name": "get_button_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 595588182, - "return_value": { - "type": "enum::JoyButton" - } - }, - { - "name": "set_pressure", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pressure", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pressure", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "button_index", - "setter": "set_button_index", - "getter": "get_button_index" - }, - { - "type": "float", - "name": "pressure", - "setter": "set_pressure", - "getter": "get_pressure" - }, - { - "type": "bool", - "name": "pressed", - "setter": "set_pressed", - "getter": "is_pressed" - } - ] - }, - { - "name": "InputEventJoypadMotion", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEvent", - "api_type": "core", - "methods": [ - { - "name": "set_axis", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1332685170, - "arguments": [ - { - "name": "axis", - "type": "enum::JoyAxis" - } - ] - }, - { - "name": "get_axis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4019121683, - "return_value": { - "type": "enum::JoyAxis" - } - }, - { - "name": "set_axis_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "axis_value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_axis_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "int", - "name": "axis", - "setter": "set_axis", - "getter": "get_axis" - }, - { - "type": "float", - "name": "axis_value", - "setter": "set_axis_value", - "getter": "get_axis_value" - } - ] - }, - { - "name": "InputEventKey", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEventWithModifiers", - "api_type": "core", - "methods": [ - { - "name": "set_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "set_keycode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 888074362, - "arguments": [ - { - "name": "keycode", - "type": "enum::Key" - } - ] - }, - { - "name": "get_keycode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1585896689, - "return_value": { - "type": "enum::Key" - } - }, - { - "name": "set_physical_keycode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 888074362, - "arguments": [ - { - "name": "physical_keycode", - "type": "enum::Key" - } - ] - }, - { - "name": "get_physical_keycode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1585896689, - "return_value": { - "type": "enum::Key" - } - }, - { - "name": "set_key_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 888074362, - "arguments": [ - { - "name": "key_label", - "type": "enum::Key" - } - ] - }, - { - "name": "get_key_label", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1585896689, - "return_value": { - "type": "enum::Key" - } - }, - { - "name": "set_unicode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "unicode", - "type": "int" - } - ] - }, - { - "name": "get_unicode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int" - } - }, - { - "name": "set_echo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "echo", - "type": "bool" - } - ] - }, - { - "name": "get_keycode_with_modifiers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1585896689, - "return_value": { - "type": "enum::Key" - } - }, - { - "name": "get_physical_keycode_with_modifiers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1585896689, - "return_value": { - "type": "enum::Key" - } - }, - { - "name": "get_key_label_with_modifiers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1585896689, - "return_value": { - "type": "enum::Key" - } - }, - { - "name": "as_text_keycode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "as_text_physical_keycode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "as_text_key_label", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "pressed", - "setter": "set_pressed", - "getter": "is_pressed" - }, - { - "type": "int", - "name": "keycode", - "setter": "set_keycode", - "getter": "get_keycode" - }, - { - "type": "int", - "name": "physical_keycode", - "setter": "set_physical_keycode", - "getter": "get_physical_keycode" - }, - { - "type": "int", - "name": "key_label", - "setter": "set_key_label", - "getter": "get_key_label" - }, - { - "type": "int", - "name": "unicode", - "setter": "set_unicode", - "getter": "get_unicode" - }, - { - "type": "bool", - "name": "echo", - "setter": "set_echo", - "getter": "is_echo" - } - ] - }, - { - "name": "InputEventMIDI", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEvent", - "api_type": "core", - "methods": [ - { - "name": "set_channel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "channel", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_channel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_message", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1064271510, - "arguments": [ - { - "name": "message", - "type": "enum::MIDIMessage" - } - ] - }, - { - "name": "get_message", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1936512097, - "return_value": { - "type": "enum::MIDIMessage" - } - }, - { - "name": "set_pitch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "pitch", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_pitch", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "velocity", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_instrument", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "instrument", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_instrument", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_pressure", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "pressure", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_pressure", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_controller_number", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "controller_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_controller_number", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_controller_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "controller_value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_controller_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "channel", - "setter": "set_channel", - "getter": "get_channel" - }, - { - "type": "int", - "name": "message", - "setter": "set_message", - "getter": "get_message" - }, - { - "type": "int", - "name": "pitch", - "setter": "set_pitch", - "getter": "get_pitch" - }, - { - "type": "int", - "name": "velocity", - "setter": "set_velocity", - "getter": "get_velocity" - }, - { - "type": "int", - "name": "instrument", - "setter": "set_instrument", - "getter": "get_instrument" - }, - { - "type": "int", - "name": "pressure", - "setter": "set_pressure", - "getter": "get_pressure" - }, - { - "type": "int", - "name": "controller_number", - "setter": "set_controller_number", - "getter": "get_controller_number" - }, - { - "type": "int", - "name": "controller_value", - "setter": "set_controller_value", - "getter": "get_controller_value" - } - ] - }, - { - "name": "InputEventMagnifyGesture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEventGesture", - "api_type": "core", - "methods": [ - { - "name": "set_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "factor", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "factor", - "setter": "set_factor", - "getter": "get_factor" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3950145251, - "arguments": [ - { - "name": "button_mask", - "type": "bitfield::MouseButtonMask" - } - ] - }, - { - "name": "get_button_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2512161324, - "return_value": { - "type": "bitfield::MouseButtonMask" - } - }, - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_global_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "global_position", - "type": "Vector2" - } - ] - }, - { - "name": "get_global_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "int", - "name": "button_mask", - "setter": "set_button_mask", - "getter": "get_button_mask" - }, - { - "type": "Vector2", - "name": "position", - "setter": "set_position", - "getter": "get_position" - }, - { - "type": "Vector2", - "name": "global_position", - "setter": "set_global_position", - "getter": "get_global_position" - } - ] - }, - { - "name": "InputEventMouseButton", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEventMouse", - "api_type": "core", - "methods": [ - { - "name": "set_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "factor", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_button_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3624991109, - "arguments": [ - { - "name": "button_index", - "type": "enum::MouseButton" - } - ] - }, - { - "name": "get_button_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1132662608, - "return_value": { - "type": "enum::MouseButton" - } - }, - { - "name": "set_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "set_canceled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "canceled", - "type": "bool" - } - ] - }, - { - "name": "set_double_click", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "double_click", - "type": "bool" - } - ] - }, - { - "name": "is_double_click", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "factor", - "setter": "set_factor", - "getter": "get_factor" - }, - { - "type": "int", - "name": "button_index", - "setter": "set_button_index", - "getter": "get_button_index" - }, - { - "type": "bool", - "name": "canceled", - "setter": "set_canceled", - "getter": "is_canceled" - }, - { - "type": "bool", - "name": "pressed", - "setter": "set_pressed", - "getter": "is_pressed" - }, - { - "type": "bool", - "name": "double_click", - "setter": "set_double_click", - "getter": "is_double_click" - } - ] - }, - { - "name": "InputEventMouseMotion", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEventMouse", - "api_type": "core", - "methods": [ - { - "name": "set_tilt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "tilt", - "type": "Vector2" - } - ] - }, - { - "name": "get_tilt", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_pressure", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pressure", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pressure", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_pen_inverted", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pen_inverted", - "type": "bool" - } - ] - }, - { - "name": "get_pen_inverted", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_relative", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "relative", - "type": "Vector2" - } - ] - }, - { - "name": "get_relative", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "get_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "tilt", - "setter": "set_tilt", - "getter": "get_tilt" - }, - { - "type": "float", - "name": "pressure", - "setter": "set_pressure", - "getter": "get_pressure" - }, - { - "type": "bool", - "name": "pen_inverted", - "setter": "set_pen_inverted", - "getter": "get_pen_inverted" - }, - { - "type": "Vector2", - "name": "relative", - "setter": "set_relative", - "getter": "get_relative" - }, - { - "type": "Vector2", - "name": "velocity", - "setter": "set_velocity", - "getter": "get_velocity" - } - ] - }, - { - "name": "InputEventPanGesture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEventGesture", - "api_type": "core", - "methods": [ - { - "name": "set_delta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "delta", - "type": "Vector2" - } - ] - }, - { - "name": "get_delta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "delta", - "setter": "set_delta", - "getter": "get_delta" - } - ] - }, - { - "name": "InputEventScreenDrag", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEventFromWindow", - "api_type": "core", - "methods": [ - { - "name": "set_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_tilt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "tilt", - "type": "Vector2" - } - ] - }, - { - "name": "get_tilt", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_pressure", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pressure", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pressure", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_pen_inverted", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pen_inverted", - "type": "bool" - } - ] - }, - { - "name": "get_pen_inverted", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_relative", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "relative", - "type": "Vector2" - } - ] - }, - { - "name": "get_relative", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "get_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "int", - "name": "index", - "setter": "set_index", - "getter": "get_index" - }, - { - "type": "Vector2", - "name": "tilt", - "setter": "set_tilt", - "getter": "get_tilt" - }, - { - "type": "float", - "name": "pressure", - "setter": "set_pressure", - "getter": "get_pressure" - }, - { - "type": "bool", - "name": "pen_inverted", - "setter": "set_pen_inverted", - "getter": "get_pen_inverted" - }, - { - "type": "Vector2", - "name": "position", - "setter": "set_position", - "getter": "get_position" - }, - { - "type": "Vector2", - "name": "relative", - "setter": "set_relative", - "getter": "get_relative" - }, - { - "type": "Vector2", - "name": "velocity", - "setter": "set_velocity", - "getter": "get_velocity" - } - ] - }, - { - "name": "InputEventScreenTouch", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEventFromWindow", - "api_type": "core", - "methods": [ - { - "name": "set_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "set_canceled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "canceled", - "type": "bool" - } - ] - }, - { - "name": "set_double_tap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "double_tap", - "type": "bool" - } - ] - }, - { - "name": "is_double_tap", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "index", - "setter": "set_index", - "getter": "get_index" - }, - { - "type": "Vector2", - "name": "position", - "setter": "set_position", - "getter": "get_position" - }, - { - "type": "bool", - "name": "canceled", - "setter": "set_canceled", - "getter": "is_canceled" - }, - { - "type": "bool", - "name": "pressed", - "setter": "set_pressed", - "getter": "is_pressed" - }, - { - "type": "bool", - "name": "double_tap", - "setter": "set_double_tap", - "getter": "is_double_tap" - } - ] - }, - { - "name": "InputEventShortcut", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "InputEvent", - "api_type": "core", - "methods": [ - { - "name": "set_shortcut", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 857163497, - "arguments": [ - { - "name": "shortcut", - "type": "Shortcut" - } - ] - }, - { - "name": "get_shortcut", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3766804753, - "return_value": { - "type": "Shortcut" - } - } - ], - "properties": [ - { - "type": "Shortcut", - "name": "shortcut", - "setter": "set_shortcut", - "getter": "get_shortcut" - } - ] - }, - { - "name": "InputEventWithModifiers", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "InputEventFromWindow", - "api_type": "core", - "methods": [ - { - "name": "set_command_or_control_autoremap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_command_or_control_autoremap", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_command_or_control_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_alt_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "is_alt_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shift_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "is_shift_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_ctrl_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "is_ctrl_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_meta_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "pressed", - "type": "bool" - } - ] - }, - { - "name": "is_meta_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_modifiers_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1258259499, - "return_value": { - "type": "bitfield::KeyModifierMask" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "command_or_control_autoremap", - "setter": "set_command_or_control_autoremap", - "getter": "is_command_or_control_autoremap" - }, - { - "type": "bool", - "name": "alt_pressed", - "setter": "set_alt_pressed", - "getter": "is_alt_pressed" - }, - { - "type": "bool", - "name": "shift_pressed", - "setter": "set_shift_pressed", - "getter": "is_shift_pressed" - }, - { - "type": "bool", - "name": "ctrl_pressed", - "setter": "set_ctrl_pressed", - "getter": "is_ctrl_pressed" - }, - { - "type": "bool", - "name": "meta_pressed", - "setter": "set_meta_pressed", - "getter": "is_meta_pressed" - } - ] - }, - { - "name": "InputMap", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "has_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "action", - "type": "StringName" - } - ] - }, - { - "name": "get_actions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::StringName" - } - }, - { - "name": "add_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4100757082, - "hash_compatibility": [ - 573731101 - ], - "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_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "action", - "type": "StringName" - } - ] - }, - { - "name": "action_set_deadzone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4135858297, - "arguments": [ - { - "name": "action", - "type": "StringName" - }, - { - "name": "deadzone", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "action_get_deadzone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1391627649, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "action", - "type": "StringName" - } - ] - }, - { - "name": "action_add_event", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 518302593, - "arguments": [ - { - "name": "action", - "type": "StringName" - }, - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "action_has_event", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1185871985, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "action", - "type": "StringName" - }, - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "action_erase_event", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 518302593, - "arguments": [ - { - "name": "action", - "type": "StringName" - }, - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "action_erase_events", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "action", - "type": "StringName" - } - ] - }, - { - "name": "action_get_events", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 689397652, - "return_value": { - "type": "typedarray::InputEvent" - }, - "arguments": [ - { - "name": "action", - "type": "StringName" - } - ] - }, - { - "name": "event_is_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3193353650, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2230153369, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "with_order", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "create_instance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3794612210, - "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_static": false, - "is_virtual": false, - "hash": 201670096, - "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": "IconMode", - "is_bitfield": false, - "values": [ - { - "name": "ICON_MODE_TOP", - "value": 0 - }, - { - "name": "ICON_MODE_LEFT", - "value": 1 - } - ] - }, - { - "name": "SelectMode", - "is_bitfield": false, - "values": [ - { - "name": "SELECT_SINGLE", - "value": 0 - }, - { - "name": "SELECT_MULTI", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "add_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 359861678, - "hash_compatibility": [ - 4086250691 - ], - "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_static": false, - "is_virtual": false, - "hash": 4256579627, - "hash_compatibility": [ - 3332687421 - ], - "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_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_item_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "icon", - "type": "Texture2D" - } - ] - }, - { - "name": "get_item_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1707680378, - "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_static": false, - "is_virtual": false, - "hash": 4235602388, - "return_value": { - "type": "enum::Control.TextDirection" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_item_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_icon_transposed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "transposed", - "type": "bool" - } - ] - }, - { - "name": "is_item_icon_transposed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_icon_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1356297692, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "get_item_icon_region", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3327874267, - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_icon_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "get_item_icon_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_selectable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "selectable", - "type": "bool" - } - ] - }, - { - "name": "is_item_selectable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_item_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_metadata", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2152698145, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "metadata", - "type": "Variant" - } - ] - }, - { - "name": "get_item_metadata", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_custom_bg_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "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_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_custom_fg_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "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_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 159227807, - "hash_compatibility": [ - 1501513492 - ], - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "expand", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "set_item_tooltip_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_item_tooltip_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_tooltip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tooltip", - "type": "String" - } - ] - }, - { - "name": "get_item_tooltip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "select", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 972357352, - "hash_compatibility": [ - 4023243586 - ], - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "single", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "deselect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "deselect_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_selected", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_selected_items", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "move_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "from_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "to_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "remove_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "sort_items_by_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_fixed_column_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_fixed_column_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_same_column_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_same_column_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_max_text_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "lines", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_text_lines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_columns", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_columns", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_select_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 928267388, - "arguments": [ - { - "name": "mode", - "type": "enum::ItemList.SelectMode" - } - ] - }, - { - "name": "get_select_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1191945842, - "return_value": { - "type": "enum::ItemList.SelectMode" - } - }, - { - "name": "set_icon_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2025053633, - "arguments": [ - { - "name": "mode", - "type": "enum::ItemList.IconMode" - } - ] - }, - { - "name": "get_icon_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3353929232, - "return_value": { - "type": "enum::ItemList.IconMode" - } - }, - { - "name": "set_fixed_icon_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_fixed_icon_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_icon_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_icon_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_allow_rmb_select", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "get_allow_rmb_select", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_allow_reselect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "get_allow_reselect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_allow_search", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "get_allow_search", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_auto_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "has_auto_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_anything_selected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_item_at_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2300324924, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_v_scroll_bar", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2630340773, - "return_value": { - "type": "VScrollBar" - } - }, - { - "name": "set_text_overrun_behavior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1008890932, - "arguments": [ - { - "name": "overrun_behavior", - "type": "enum::TextServer.OverrunBehavior" - } - ] - }, - { - "name": "get_text_overrun_behavior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3779142101, - "return_value": { - "type": "enum::TextServer.OverrunBehavior" - } - }, - { - "name": "force_update_list_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "signals": [ - { - "name": "item_selected", - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "empty_clicked", - "arguments": [ - { - "name": "at_position", - "type": "Vector2" - }, - { - "name": "mouse_button_index", - "type": "int" - } - ] - }, - { - "name": "item_clicked", - "arguments": [ - { - "name": "index", - "type": "int" - }, - { - "name": "at_position", - "type": "Vector2" - }, - { - "name": "mouse_button_index", - "type": "int" - } - ] - }, - { - "name": "multi_selected", - "arguments": [ - { - "name": "index", - "type": "int" - }, - { - "name": "selected", - "type": "bool" - } - ] - }, - { - "name": "item_activated", - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "select_mode", - "setter": "set_select_mode", - "getter": "get_select_mode" - }, - { - "type": "bool", - "name": "allow_reselect", - "setter": "set_allow_reselect", - "getter": "get_allow_reselect" - }, - { - "type": "bool", - "name": "allow_rmb_select", - "setter": "set_allow_rmb_select", - "getter": "get_allow_rmb_select" - }, - { - "type": "bool", - "name": "allow_search", - "setter": "set_allow_search", - "getter": "get_allow_search" - }, - { - "type": "int", - "name": "max_text_lines", - "setter": "set_max_text_lines", - "getter": "get_max_text_lines" - }, - { - "type": "bool", - "name": "auto_height", - "setter": "set_auto_height", - "getter": "has_auto_height" - }, - { - "type": "int", - "name": "text_overrun_behavior", - "setter": "set_text_overrun_behavior", - "getter": "get_text_overrun_behavior" - }, - { - "type": "int", - "name": "item_count", - "setter": "set_item_count", - "getter": "get_item_count" - }, - { - "type": "int", - "name": "max_columns", - "setter": "set_max_columns", - "getter": "get_max_columns" - }, - { - "type": "bool", - "name": "same_column_width", - "setter": "set_same_column_width", - "getter": "is_same_column_width" - }, - { - "type": "int", - "name": "fixed_column_width", - "setter": "set_fixed_column_width", - "getter": "get_fixed_column_width" - }, - { - "type": "int", - "name": "icon_mode", - "setter": "set_icon_mode", - "getter": "get_icon_mode" - }, - { - "type": "float", - "name": "icon_scale", - "setter": "set_icon_scale", - "getter": "get_icon_scale" - }, - { - "type": "Vector2i", - "name": "fixed_icon_size", - "setter": "set_fixed_icon_size", - "getter": "get_fixed_icon_size" - } - ] - }, - { - "name": "JNISingleton", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core" - }, - { - "name": "JSON", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "stringify", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 462733549, - "hash_compatibility": [ - 2656701787 - ], - "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_string", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 309047738, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "json_string", - "type": "String" - } - ] - }, - { - "name": "parse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 885841341, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "json_text", - "type": "String" - }, - { - "name": "keep_text", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1214101251, - "return_value": { - "type": "Variant" - } - }, - { - "name": "set_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1114965689, - "arguments": [ - { - "name": "data", - "type": "Variant" - } - ] - }, - { - "name": "get_parsed_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_error_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_error_message", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "Variant", - "name": "data", - "setter": "set_data", - "getter": "get_data" - } - ] - }, - { - "name": "JSONRPC", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "ErrorCode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2572618360, - "arguments": [ - { - "name": "scope", - "type": "String" - }, - { - "name": "target", - "type": "Object" - } - ] - }, - { - "name": "process_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2963479484, - "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_static": false, - "is_virtual": false, - "hash": 1703090593, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "action", - "type": "String" - } - ] - }, - { - "name": "make_request", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3423508980, - "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_static": false, - "is_virtual": false, - "hash": 5053918, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "result", - "type": "Variant" - }, - { - "name": "id", - "type": "Variant" - } - ] - }, - { - "name": "make_notification", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2949127017, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "method", - "type": "String" - }, - { - "name": "params", - "type": "Variant" - } - ] - }, - { - "name": "make_response_error", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 928596297, - "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_static": false, - "is_virtual": false, - "hash": 1124367868, - "return_value": { - "type": "JavaClass" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - } - ] - }, - { - "name": "JavaScriptBridge", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "eval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 218087648, - "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_static": false, - "is_virtual": false, - "hash": 1355533281, - "return_value": { - "type": "JavaScriptObject" - }, - "arguments": [ - { - "name": "interface", - "type": "String" - } - ] - }, - { - "name": "create_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 422818440, - "return_value": { - "type": "JavaScriptObject" - }, - "arguments": [ - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "create_object", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 3093893586, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "object", - "type": "String" - } - ] - }, - { - "name": "download_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3352272093, - "hash_compatibility": [ - 4123979296 - ], - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - }, - { - "name": "name", - "type": "String" - }, - { - "name": "mime", - "type": "String", - "default_value": "\"application/octet-stream\"" - } - ] - }, - { - "name": "pwa_needs_update", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "pwa_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "force_fs_sync", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "signals": [ - { - "name": "pwa_update_available" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "node", - "type": "NodePath" - } - ] - }, - { - "name": "get_node_a", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_node_b", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "node", - "type": "NodePath" - } - ] - }, - { - "name": "get_node_b", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_exclude_nodes_from_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_exclude_nodes_from_collision", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - } - ], - "properties": [ - { - "type": "NodePath", - "name": "node_a", - "setter": "set_node_a", - "getter": "get_node_a" - }, - { - "type": "NodePath", - "name": "node_b", - "setter": "set_node_b", - "getter": "get_node_b" - }, - { - "type": "float", - "name": "bias", - "setter": "set_bias", - "getter": "get_bias" - }, - { - "type": "bool", - "name": "disable_collision", - "setter": "set_exclude_nodes_from_collision", - "getter": "get_exclude_nodes_from_collision" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "node", - "type": "NodePath" - } - ] - }, - { - "name": "get_node_a", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_node_b", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "node", - "type": "NodePath" - } - ] - }, - { - "name": "get_node_b", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_solver_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_solver_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_exclude_nodes_from_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_exclude_nodes_from_collision", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - } - ], - "properties": [ - { - "type": "NodePath", - "name": "node_a", - "setter": "set_node_a", - "getter": "get_node_a" - }, - { - "type": "NodePath", - "name": "node_b", - "setter": "set_node_b", - "getter": "get_node_b" - }, - { - "type": "int", - "name": "solver_priority", - "setter": "set_solver_priority", - "getter": "get_solver_priority" - }, - { - "type": "bool", - "name": "exclude_nodes_from_collision", - "setter": "set_exclude_nodes_from_collision", - "getter": "get_exclude_nodes_from_collision" - } - ] - }, - { - "name": "KinematicCollision2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_travel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_remainder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841063350, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "up_direction", - "type": "Vector2", - "default_value": "Vector2(0, -1)" - } - ] - }, - { - "name": "get_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_local_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1981248198, - "return_value": { - "type": "Object" - } - }, - { - "name": "get_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1981248198, - "return_value": { - "type": "Object" - } - }, - { - "name": "get_collider_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_collider_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1981248198, - "return_value": { - "type": "Object" - } - }, - { - "name": "get_collider_shape_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_collider_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ] - }, - { - "name": "KinematicCollision3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_travel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_remainder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_collision_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1914908202, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1914908202, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_angle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1242741860, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - }, - { - "name": "up_direction", - "type": "Vector3", - "default_value": "Vector3(0, 1, 0)" - } - ] - }, - { - "name": "get_local_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2639523548, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2639523548, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1231817359, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2639523548, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider_shape_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1914908202, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - } - ] - }, - { - "name": "Label", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "methods": [ - { - "name": "set_horizontal_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312603777, - "arguments": [ - { - "name": "alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_horizontal_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 341400642, - "return_value": { - "type": "enum::HorizontalAlignment" - } - }, - { - "name": "set_vertical_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1796458609, - "arguments": [ - { - "name": "alignment", - "type": "enum::VerticalAlignment" - } - ] - }, - { - "name": "get_vertical_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3274884059, - "return_value": { - "type": "enum::VerticalAlignment" - } - }, - { - "name": "set_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_label_settings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1030653839, - "arguments": [ - { - "name": "settings", - "type": "LabelSettings" - } - ] - }, - { - "name": "get_label_settings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 826676056, - "return_value": { - "type": "LabelSettings" - } - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 119160795, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.TextDirection" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 797257663, - "return_value": { - "type": "enum::Control.TextDirection" - } - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_autowrap_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3289138044, - "arguments": [ - { - "name": "autowrap_mode", - "type": "enum::TextServer.AutowrapMode" - } - ] - }, - { - "name": "get_autowrap_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1549071663, - "return_value": { - "type": "enum::TextServer.AutowrapMode" - } - }, - { - "name": "set_justification_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2877345813, - "arguments": [ - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag" - } - ] - }, - { - "name": "get_justification_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1583363614, - "return_value": { - "type": "bitfield::TextServer.JustificationFlag" - } - }, - { - "name": "set_clip_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_clipping_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tab_stops", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2899603908, - "arguments": [ - { - "name": "tab_stops", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "get_tab_stops", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 675695659, - "return_value": { - "type": "PackedFloat32Array" - } - }, - { - "name": "set_text_overrun_behavior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1008890932, - "arguments": [ - { - "name": "overrun_behavior", - "type": "enum::TextServer.OverrunBehavior" - } - ] - }, - { - "name": "get_text_overrun_behavior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3779142101, - "return_value": { - "type": "enum::TextServer.OverrunBehavior" - } - }, - { - "name": "set_uppercase", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_uppercase", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_line_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 181039630, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_visible_line_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_total_character_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_visible_characters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_visible_characters", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_visible_characters_behavior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 258789322, - "return_value": { - "type": "enum::TextServer.VisibleCharactersBehavior" - } - }, - { - "name": "set_visible_characters_behavior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3383839701, - "arguments": [ - { - "name": "behavior", - "type": "enum::TextServer.VisibleCharactersBehavior" - } - ] - }, - { - "name": "set_visible_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visible_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_lines_skipped", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "lines_skipped", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_lines_skipped", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_lines_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "lines_visible", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_lines_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_structured_text_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 55961453, - "arguments": [ - { - "name": "parser", - "type": "enum::TextServer.StructuredTextParser" - } - ] - }, - { - "name": "get_structured_text_bidi_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3385126229, - "return_value": { - "type": "enum::TextServer.StructuredTextParser" - } - }, - { - "name": "set_structured_text_bidi_override_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "args", - "type": "Array" - } - ] - }, - { - "name": "get_structured_text_bidi_override_options", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - } - ], - "properties": [ - { - "type": "String", - "name": "text", - "setter": "set_text", - "getter": "get_text" - }, - { - "type": "LabelSettings", - "name": "label_settings", - "setter": "set_label_settings", - "getter": "get_label_settings" - }, - { - "type": "int", - "name": "horizontal_alignment", - "setter": "set_horizontal_alignment", - "getter": "get_horizontal_alignment" - }, - { - "type": "int", - "name": "vertical_alignment", - "setter": "set_vertical_alignment", - "getter": "get_vertical_alignment" - }, - { - "type": "int", - "name": "autowrap_mode", - "setter": "set_autowrap_mode", - "getter": "get_autowrap_mode" - }, - { - "type": "int", - "name": "justification_flags", - "setter": "set_justification_flags", - "getter": "get_justification_flags" - }, - { - "type": "bool", - "name": "clip_text", - "setter": "set_clip_text", - "getter": "is_clipping_text" - }, - { - "type": "int", - "name": "text_overrun_behavior", - "setter": "set_text_overrun_behavior", - "getter": "get_text_overrun_behavior" - }, - { - "type": "bool", - "name": "uppercase", - "setter": "set_uppercase", - "getter": "is_uppercase" - }, - { - "type": "PackedFloat32Array", - "name": "tab_stops", - "setter": "set_tab_stops", - "getter": "get_tab_stops" - }, - { - "type": "int", - "name": "lines_skipped", - "setter": "set_lines_skipped", - "getter": "get_lines_skipped" - }, - { - "type": "int", - "name": "max_lines_visible", - "setter": "set_max_lines_visible", - "getter": "get_max_lines_visible" - }, - { - "type": "int", - "name": "visible_characters", - "setter": "set_visible_characters", - "getter": "get_visible_characters" - }, - { - "type": "int", - "name": "visible_characters_behavior", - "setter": "set_visible_characters_behavior", - "getter": "get_visible_characters_behavior" - }, - { - "type": "float", - "name": "visible_ratio", - "setter": "set_visible_ratio", - "getter": "get_visible_ratio" - }, - { - "type": "int", - "name": "text_direction", - "setter": "set_text_direction", - "getter": "get_text_direction" - }, - { - "type": "String", - "name": "language", - "setter": "set_language", - "getter": "get_language" - }, - { - "type": "int", - "name": "structured_text_bidi_override", - "setter": "set_structured_text_bidi_override", - "getter": "get_structured_text_bidi_override" - }, - { - "type": "Array", - "name": "structured_text_bidi_override_options", - "setter": "set_structured_text_bidi_override_options", - "getter": "get_structured_text_bidi_override_options" - } - ] - }, - { - "name": "Label3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GeometryInstance3D", - "api_type": "core", - "enums": [ - { - "name": "DrawFlags", - "is_bitfield": false, - "values": [ - { - "name": "FLAG_SHADED", - "value": 0 - }, - { - "name": "FLAG_DOUBLE_SIDED", - "value": 1 - }, - { - "name": "FLAG_DISABLE_DEPTH_TEST", - "value": 2 - }, - { - "name": "FLAG_FIXED_SIZE", - "value": 3 - }, - { - "name": "FLAG_MAX", - "value": 4 - } - ] - }, - { - "name": "AlphaCutMode", - "is_bitfield": false, - "values": [ - { - "name": "ALPHA_CUT_DISABLED", - "value": 0 - }, - { - "name": "ALPHA_CUT_DISCARD", - "value": 1 - }, - { - "name": "ALPHA_CUT_OPAQUE_PREPASS", - "value": 2 - }, - { - "name": "ALPHA_CUT_HASH", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_horizontal_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312603777, - "arguments": [ - { - "name": "alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_horizontal_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 341400642, - "return_value": { - "type": "enum::HorizontalAlignment" - } - }, - { - "name": "set_vertical_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1796458609, - "arguments": [ - { - "name": "alignment", - "type": "enum::VerticalAlignment" - } - ] - }, - { - "name": "get_vertical_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3274884059, - "return_value": { - "type": "enum::VerticalAlignment" - } - }, - { - "name": "set_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "get_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_outline_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "get_outline_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1418190634, - "arguments": [ - { - "name": "direction", - "type": "enum::TextServer.Direction" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2516697328, - "return_value": { - "type": "enum::TextServer.Direction" - } - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_structured_text_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 55961453, - "arguments": [ - { - "name": "parser", - "type": "enum::TextServer.StructuredTextParser" - } - ] - }, - { - "name": "get_structured_text_bidi_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3385126229, - "return_value": { - "type": "enum::TextServer.StructuredTextParser" - } - }, - { - "name": "set_structured_text_bidi_override_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "args", - "type": "Array" - } - ] - }, - { - "name": "get_structured_text_bidi_override_options", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_uppercase", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_uppercase", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_render_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_render_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_outline_render_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_outline_render_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1262170328, - "arguments": [ - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "get_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229501585, - "return_value": { - "type": "Font" - } - }, - { - "name": "set_font_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_font_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_outline_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "outline_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_outline_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_line_spacing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "line_spacing", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_line_spacing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_autowrap_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3289138044, - "arguments": [ - { - "name": "autowrap_mode", - "type": "enum::TextServer.AutowrapMode" - } - ] - }, - { - "name": "get_autowrap_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1549071663, - "return_value": { - "type": "enum::TextServer.AutowrapMode" - } - }, - { - "name": "set_justification_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2877345813, - "arguments": [ - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag" - } - ] - }, - { - "name": "get_justification_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1583363614, - "return_value": { - "type": "bitfield::TextServer.JustificationFlag" - } - }, - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "width", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_pixel_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pixel_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pixel_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_draw_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1285833066, - "arguments": [ - { - "name": "flag", - "type": "enum::Label3D.DrawFlags" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_draw_flag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 259226453, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "flag", - "type": "enum::Label3D.DrawFlags" - } - ] - }, - { - "name": "set_billboard_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4202036497, - "arguments": [ - { - "name": "mode", - "type": "enum::BaseMaterial3D.BillboardMode" - } - ] - }, - { - "name": "get_billboard_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1283840139, - "return_value": { - "type": "enum::BaseMaterial3D.BillboardMode" - } - }, - { - "name": "set_alpha_cut_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2549142916, - "arguments": [ - { - "name": "mode", - "type": "enum::Label3D.AlphaCutMode" - } - ] - }, - { - "name": "get_alpha_cut_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 219468601, - "return_value": { - "type": "enum::Label3D.AlphaCutMode" - } - }, - { - "name": "set_alpha_scissor_threshold", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_alpha_scissor_threshold", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_alpha_hash_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_alpha_hash_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_alpha_antialiasing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3212649852, - "arguments": [ - { - "name": "alpha_aa", - "type": "enum::BaseMaterial3D.AlphaAntiAliasing" - } - ] - }, - { - "name": "get_alpha_antialiasing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2889939400, - "return_value": { - "type": "enum::BaseMaterial3D.AlphaAntiAliasing" - } - }, - { - "name": "set_alpha_antialiasing_edge", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "edge", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_alpha_antialiasing_edge", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_texture_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 22904437, - "arguments": [ - { - "name": "mode", - "type": "enum::BaseMaterial3D.TextureFilter" - } - ] - }, - { - "name": "get_texture_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3289213076, - "return_value": { - "type": "enum::BaseMaterial3D.TextureFilter" - } - }, - { - "name": "generate_triangle_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3476533166, - "return_value": { - "type": "TriangleMesh" - } - } - ], - "properties": [ - { - "type": "float", - "name": "pixel_size", - "setter": "set_pixel_size", - "getter": "get_pixel_size" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "int", - "name": "billboard", - "setter": "set_billboard_mode", - "getter": "get_billboard_mode" - }, - { - "type": "bool", - "name": "shaded", - "setter": "set_draw_flag", - "getter": "get_draw_flag", - "index": 0 - }, - { - "type": "bool", - "name": "double_sided", - "setter": "set_draw_flag", - "getter": "get_draw_flag", - "index": 1 - }, - { - "type": "bool", - "name": "no_depth_test", - "setter": "set_draw_flag", - "getter": "get_draw_flag", - "index": 2 - }, - { - "type": "bool", - "name": "fixed_size", - "setter": "set_draw_flag", - "getter": "get_draw_flag", - "index": 3 - }, - { - "type": "int", - "name": "alpha_cut", - "setter": "set_alpha_cut_mode", - "getter": "get_alpha_cut_mode" - }, - { - "type": "float", - "name": "alpha_scissor_threshold", - "setter": "set_alpha_scissor_threshold", - "getter": "get_alpha_scissor_threshold" - }, - { - "type": "float", - "name": "alpha_hash_scale", - "setter": "set_alpha_hash_scale", - "getter": "get_alpha_hash_scale" - }, - { - "type": "int", - "name": "alpha_antialiasing_mode", - "setter": "set_alpha_antialiasing", - "getter": "get_alpha_antialiasing" - }, - { - "type": "float", - "name": "alpha_antialiasing_edge", - "setter": "set_alpha_antialiasing_edge", - "getter": "get_alpha_antialiasing_edge" - }, - { - "type": "int", - "name": "texture_filter", - "setter": "set_texture_filter", - "getter": "get_texture_filter" - }, - { - "type": "int", - "name": "render_priority", - "setter": "set_render_priority", - "getter": "get_render_priority" - }, - { - "type": "int", - "name": "outline_render_priority", - "setter": "set_outline_render_priority", - "getter": "get_outline_render_priority" - }, - { - "type": "Color", - "name": "modulate", - "setter": "set_modulate", - "getter": "get_modulate" - }, - { - "type": "Color", - "name": "outline_modulate", - "setter": "set_outline_modulate", - "getter": "get_outline_modulate" - }, - { - "type": "String", - "name": "text", - "setter": "set_text", - "getter": "get_text" - }, - { - "type": "Font", - "name": "font", - "setter": "set_font", - "getter": "get_font" - }, - { - "type": "int", - "name": "font_size", - "setter": "set_font_size", - "getter": "get_font_size" - }, - { - "type": "int", - "name": "outline_size", - "setter": "set_outline_size", - "getter": "get_outline_size" - }, - { - "type": "int", - "name": "horizontal_alignment", - "setter": "set_horizontal_alignment", - "getter": "get_horizontal_alignment" - }, - { - "type": "int", - "name": "vertical_alignment", - "setter": "set_vertical_alignment", - "getter": "get_vertical_alignment" - }, - { - "type": "bool", - "name": "uppercase", - "setter": "set_uppercase", - "getter": "is_uppercase" - }, - { - "type": "float", - "name": "line_spacing", - "setter": "set_line_spacing", - "getter": "get_line_spacing" - }, - { - "type": "int", - "name": "autowrap_mode", - "setter": "set_autowrap_mode", - "getter": "get_autowrap_mode" - }, - { - "type": "int", - "name": "justification_flags", - "setter": "set_justification_flags", - "getter": "get_justification_flags" - }, - { - "type": "float", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "int", - "name": "text_direction", - "setter": "set_text_direction", - "getter": "get_text_direction" - }, - { - "type": "String", - "name": "language", - "setter": "set_language", - "getter": "get_language" - }, - { - "type": "int", - "name": "structured_text_bidi_override", - "setter": "set_structured_text_bidi_override", - "getter": "get_structured_text_bidi_override" - }, - { - "type": "Array", - "name": "structured_text_bidi_override_options", - "setter": "set_structured_text_bidi_override_options", - "getter": "get_structured_text_bidi_override_options" - } - ] - }, - { - "name": "LabelSettings", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_line_spacing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "spacing", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_line_spacing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1262170328, - "arguments": [ - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "get_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229501585, - "return_value": { - "type": "Font" - } - }, - { - "name": "set_font_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_font_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_font_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_font_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_outline_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_outline_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_outline_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_outline_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_shadow_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_shadow_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_shadow_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_shadow_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_shadow_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_shadow_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "float", - "name": "line_spacing", - "setter": "set_line_spacing", - "getter": "get_line_spacing" - }, - { - "type": "Font", - "name": "font", - "setter": "set_font", - "getter": "get_font" - }, - { - "type": "int", - "name": "font_size", - "setter": "set_font_size", - "getter": "get_font_size" - }, - { - "type": "Color", - "name": "font_color", - "setter": "set_font_color", - "getter": "get_font_color" - }, - { - "type": "int", - "name": "outline_size", - "setter": "set_outline_size", - "getter": "get_outline_size" - }, - { - "type": "Color", - "name": "outline_color", - "setter": "set_outline_color", - "getter": "get_outline_color" - }, - { - "type": "int", - "name": "shadow_size", - "setter": "set_shadow_size", - "getter": "get_shadow_size" - }, - { - "type": "Color", - "name": "shadow_color", - "setter": "set_shadow_color", - "getter": "get_shadow_color" - }, - { - "type": "Vector2", - "name": "shadow_offset", - "setter": "set_shadow_offset", - "getter": "get_shadow_offset" - } - ] - }, - { - "name": "Light2D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Node2D", - "api_type": "core", - "enums": [ - { - "name": "ShadowFilter", - "is_bitfield": false, - "values": [ - { - "name": "SHADOW_FILTER_NONE", - "value": 0 - }, - { - "name": "SHADOW_FILTER_PCF5", - "value": 1 - }, - { - "name": "SHADOW_FILTER_PCF13", - "value": 2 - } - ] - }, - { - "name": "BlendMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_editor_only", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "editor_only", - "type": "bool" - } - ] - }, - { - "name": "is_editor_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_z_range_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "z", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_z_range_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_z_range_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "z", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_z_range_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_layer_range_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_layer_range_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_layer_range_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_layer_range_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_item_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "item_cull_mask", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_cull_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_item_shadow_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "item_shadow_cull_mask", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_shadow_cull_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_shadow_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_shadow_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shadow_smooth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "smooth", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_shadow_smooth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_shadow_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3209356555, - "arguments": [ - { - "name": "filter", - "type": "enum::Light2D.ShadowFilter" - } - ] - }, - { - "name": "get_shadow_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1973619177, - "return_value": { - "type": "enum::Light2D.ShadowFilter" - } - }, - { - "name": "set_shadow_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "shadow_color", - "type": "Color" - } - ] - }, - { - "name": "get_shadow_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_blend_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2916638796, - "arguments": [ - { - "name": "mode", - "type": "enum::Light2D.BlendMode" - } - ] - }, - { - "name": "get_blend_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 936255250, - "return_value": { - "type": "enum::Light2D.BlendMode" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "bool", - "name": "editor_only", - "setter": "set_editor_only", - "getter": "is_editor_only" - }, - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - }, - { - "type": "float", - "name": "energy", - "setter": "set_energy", - "getter": "get_energy" - }, - { - "type": "int", - "name": "blend_mode", - "setter": "set_blend_mode", - "getter": "get_blend_mode" - }, - { - "type": "int", - "name": "range_z_min", - "setter": "set_z_range_min", - "getter": "get_z_range_min" - }, - { - "type": "int", - "name": "range_z_max", - "setter": "set_z_range_max", - "getter": "get_z_range_max" - }, - { - "type": "int", - "name": "range_layer_min", - "setter": "set_layer_range_min", - "getter": "get_layer_range_min" - }, - { - "type": "int", - "name": "range_layer_max", - "setter": "set_layer_range_max", - "getter": "get_layer_range_max" - }, - { - "type": "int", - "name": "range_item_cull_mask", - "setter": "set_item_cull_mask", - "getter": "get_item_cull_mask" - }, - { - "type": "bool", - "name": "shadow_enabled", - "setter": "set_shadow_enabled", - "getter": "is_shadow_enabled" - }, - { - "type": "Color", - "name": "shadow_color", - "setter": "set_shadow_color", - "getter": "get_shadow_color" - }, - { - "type": "int", - "name": "shadow_filter", - "setter": "set_shadow_filter", - "getter": "get_shadow_filter" - }, - { - "type": "float", - "name": "shadow_filter_smooth", - "setter": "set_shadow_smooth", - "getter": "get_shadow_smooth" - }, - { - "type": "int", - "name": "shadow_item_cull_mask", - "setter": "set_item_shadow_cull_mask", - "getter": "get_item_shadow_cull_mask" - } - ] - }, - { - "name": "Light3D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "VisualInstance3D", - "api_type": "core", - "enums": [ - { - "name": "Param", - "is_bitfield": false, - "values": [ - { - "name": "PARAM_ENERGY", - "value": 0 - }, - { - "name": "PARAM_INDIRECT_ENERGY", - "value": 1 - }, - { - "name": "PARAM_VOLUMETRIC_FOG_ENERGY", - "value": 2 - }, - { - "name": "PARAM_SPECULAR", - "value": 3 - }, - { - "name": "PARAM_RANGE", - "value": 4 - }, - { - "name": "PARAM_SIZE", - "value": 5 - }, - { - "name": "PARAM_ATTENUATION", - "value": 6 - }, - { - "name": "PARAM_SPOT_ANGLE", - "value": 7 - }, - { - "name": "PARAM_SPOT_ATTENUATION", - "value": 8 - }, - { - "name": "PARAM_SHADOW_MAX_DISTANCE", - "value": 9 - }, - { - "name": "PARAM_SHADOW_SPLIT_1_OFFSET", - "value": 10 - }, - { - "name": "PARAM_SHADOW_SPLIT_2_OFFSET", - "value": 11 - }, - { - "name": "PARAM_SHADOW_SPLIT_3_OFFSET", - "value": 12 - }, - { - "name": "PARAM_SHADOW_FADE_START", - "value": 13 - }, - { - "name": "PARAM_SHADOW_NORMAL_BIAS", - "value": 14 - }, - { - "name": "PARAM_SHADOW_BIAS", - "value": 15 - }, - { - "name": "PARAM_SHADOW_PANCAKE_SIZE", - "value": 16 - }, - { - "name": "PARAM_SHADOW_OPACITY", - "value": 17 - }, - { - "name": "PARAM_SHADOW_BLUR", - "value": 18 - }, - { - "name": "PARAM_TRANSMITTANCE_BIAS", - "value": 19 - }, - { - "name": "PARAM_INTENSITY", - "value": 20 - }, - { - "name": "PARAM_MAX", - "value": 21 - } - ] - }, - { - "name": "BakeMode", - "is_bitfield": false, - "values": [ - { - "name": "BAKE_DISABLED", - "value": 0 - }, - { - "name": "BAKE_STATIC", - "value": 1 - }, - { - "name": "BAKE_DYNAMIC", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_editor_only", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "editor_only", - "type": "bool" - } - ] - }, - { - "name": "is_editor_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1722734213, - "arguments": [ - { - "name": "param", - "type": "enum::Light3D.Param" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1844084987, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::Light3D.Param" - } - ] - }, - { - "name": "set_shadow", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "has_shadow", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_negative", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_negative", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "cull_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_cull_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_enable_distance_fade", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_distance_fade_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_distance_fade_begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_distance_fade_begin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_distance_fade_shadow", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_distance_fade_shadow", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_distance_fade_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_distance_fade_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_shadow_reverse_cull_face", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_shadow_reverse_cull_face", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_bake_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 37739303, - "arguments": [ - { - "name": "bake_mode", - "type": "enum::Light3D.BakeMode" - } - ] - }, - { - "name": "get_bake_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 371737608, - "return_value": { - "type": "enum::Light3D.BakeMode" - } - }, - { - "name": "set_projector", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "projector", - "type": "Texture2D" - } - ] - }, - { - "name": "get_projector", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_temperature", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "temperature", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_temperature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_correlated_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - } - ], - "properties": [ - { - "type": "float", - "name": "light_intensity_lumens", - "setter": "set_param", - "getter": "get_param", - "index": 20 - }, - { - "type": "float", - "name": "light_intensity_lux", - "setter": "set_param", - "getter": "get_param", - "index": 20 - }, - { - "type": "float", - "name": "light_temperature", - "setter": "set_temperature", - "getter": "get_temperature" - }, - { - "type": "Color", - "name": "light_color", - "setter": "set_color", - "getter": "get_color" - }, - { - "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": "float", - "name": "light_volumetric_fog_energy", - "setter": "set_param", - "getter": "get_param", - "index": 2 - }, - { - "type": "Texture2D", - "name": "light_projector", - "setter": "set_projector", - "getter": "get_projector" - }, - { - "type": "float", - "name": "light_size", - "setter": "set_param", - "getter": "get_param", - "index": 5 - }, - { - "type": "float", - "name": "light_angular_distance", - "setter": "set_param", - "getter": "get_param", - "index": 5 - }, - { - "type": "bool", - "name": "light_negative", - "setter": "set_negative", - "getter": "is_negative" - }, - { - "type": "float", - "name": "light_specular", - "setter": "set_param", - "getter": "get_param", - "index": 3 - }, - { - "type": "int", - "name": "light_bake_mode", - "setter": "set_bake_mode", - "getter": "get_bake_mode" - }, - { - "type": "int", - "name": "light_cull_mask", - "setter": "set_cull_mask", - "getter": "get_cull_mask" - }, - { - "type": "bool", - "name": "shadow_enabled", - "setter": "set_shadow", - "getter": "has_shadow" - }, - { - "type": "float", - "name": "shadow_bias", - "setter": "set_param", - "getter": "get_param", - "index": 15 - }, - { - "type": "float", - "name": "shadow_normal_bias", - "setter": "set_param", - "getter": "get_param", - "index": 14 - }, - { - "type": "bool", - "name": "shadow_reverse_cull_face", - "setter": "set_shadow_reverse_cull_face", - "getter": "get_shadow_reverse_cull_face" - }, - { - "type": "float", - "name": "shadow_transmittance_bias", - "setter": "set_param", - "getter": "get_param", - "index": 19 - }, - { - "type": "float", - "name": "shadow_opacity", - "setter": "set_param", - "getter": "get_param", - "index": 17 - }, - { - "type": "float", - "name": "shadow_blur", - "setter": "set_param", - "getter": "get_param", - "index": 18 - }, - { - "type": "bool", - "name": "distance_fade_enabled", - "setter": "set_enable_distance_fade", - "getter": "is_distance_fade_enabled" - }, - { - "type": "float", - "name": "distance_fade_begin", - "setter": "set_distance_fade_begin", - "getter": "get_distance_fade_begin" - }, - { - "type": "float", - "name": "distance_fade_shadow", - "setter": "set_distance_fade_shadow", - "getter": "get_distance_fade_shadow" - }, - { - "type": "float", - "name": "distance_fade_length", - "setter": "set_distance_fade_length", - "getter": "get_distance_fade_length" - }, - { - "type": "bool", - "name": "editor_only", - "setter": "set_editor_only", - "getter": "is_editor_only" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3258315893, - "arguments": [ - { - "name": "polygon", - "type": "OccluderPolygon2D" - } - ] - }, - { - "name": "get_occluder_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3962317075, - "return_value": { - "type": "OccluderPolygon2D" - } - }, - { - "name": "set_occluder_light_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_occluder_light_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_as_sdf_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_set_as_sdf_collision", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "OccluderPolygon2D", - "name": "occluder", - "setter": "set_occluder_polygon", - "getter": "get_occluder_polygon" - }, - { - "type": "bool", - "name": "sdf_collision", - "setter": "set_as_sdf_collision", - "getter": "is_set_as_sdf_collision" - }, - { - "type": "int", - "name": "occluder_light_mask", - "setter": "set_occluder_light_mask", - "getter": "get_occluder_light_mask" - } - ] - }, - { - "name": "LightmapGI", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VisualInstance3D", - "api_type": "core", - "enums": [ - { - "name": "BakeQuality", - "is_bitfield": false, - "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": "GenerateProbes", - "is_bitfield": false, - "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": "BakeError", - "is_bitfield": false, - "values": [ - { - "name": "BAKE_ERROR_OK", - "value": 0 - }, - { - "name": "BAKE_ERROR_NO_SCENE_ROOT", - "value": 1 - }, - { - "name": "BAKE_ERROR_FOREIGN_DATA", - "value": 2 - }, - { - "name": "BAKE_ERROR_NO_LIGHTMAPPER", - "value": 3 - }, - { - "name": "BAKE_ERROR_NO_SAVE_PATH", - "value": 4 - }, - { - "name": "BAKE_ERROR_NO_MESHES", - "value": 5 - }, - { - "name": "BAKE_ERROR_MESHES_INVALID", - "value": 6 - }, - { - "name": "BAKE_ERROR_CANT_CREATE_IMAGE", - "value": 7 - }, - { - "name": "BAKE_ERROR_USER_ABORTED", - "value": 8 - }, - { - "name": "BAKE_ERROR_TEXTURE_SIZE_TOO_SMALL", - "value": 9 - } - ] - }, - { - "name": "EnvironmentMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1790597277, - "arguments": [ - { - "name": "data", - "type": "LightmapGIData" - } - ] - }, - { - "name": "get_light_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 290354153, - "return_value": { - "type": "LightmapGIData" - } - }, - { - "name": "set_bake_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1192215803, - "arguments": [ - { - "name": "bake_quality", - "type": "enum::LightmapGI.BakeQuality" - } - ] - }, - { - "name": "get_bake_quality", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 688832735, - "return_value": { - "type": "enum::LightmapGI.BakeQuality" - } - }, - { - "name": "set_bounces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bounces", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bounces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_bounce_indirect_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bounce_indirect_energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bounce_indirect_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_generate_probes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 549981046, - "arguments": [ - { - "name": "subdivision", - "type": "enum::LightmapGI.GenerateProbes" - } - ] - }, - { - "name": "get_generate_probes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3930596226, - "return_value": { - "type": "enum::LightmapGI.GenerateProbes" - } - }, - { - "name": "set_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_environment_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2282650285, - "arguments": [ - { - "name": "mode", - "type": "enum::LightmapGI.EnvironmentMode" - } - ] - }, - { - "name": "get_environment_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4128646479, - "return_value": { - "type": "enum::LightmapGI.EnvironmentMode" - } - }, - { - "name": "set_environment_custom_sky", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3336722921, - "arguments": [ - { - "name": "sky", - "type": "Sky" - } - ] - }, - { - "name": "get_environment_custom_sky", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1177136966, - "return_value": { - "type": "Sky" - } - }, - { - "name": "set_environment_custom_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_environment_custom_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_environment_custom_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_environment_custom_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_texture_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_texture_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_texture_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_use_denoiser", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_denoiser", - "type": "bool" - } - ] - }, - { - "name": "is_using_denoiser", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_denoiser_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "denoiser_strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_denoiser_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_interior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_interior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_directional", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "directional", - "type": "bool" - } - ] - }, - { - "name": "is_directional", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_texture_for_bounces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_texture_for_bounces", - "type": "bool" - } - ] - }, - { - "name": "is_using_texture_for_bounces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_camera_attributes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2817810567, - "arguments": [ - { - "name": "camera_attributes", - "type": "CameraAttributes" - } - ] - }, - { - "name": "get_camera_attributes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3921283215, - "return_value": { - "type": "CameraAttributes" - } - } - ], - "properties": [ - { - "type": "int", - "name": "quality", - "setter": "set_bake_quality", - "getter": "get_bake_quality" - }, - { - "type": "int", - "name": "bounces", - "setter": "set_bounces", - "getter": "get_bounces" - }, - { - "type": "float", - "name": "bounce_indirect_energy", - "setter": "set_bounce_indirect_energy", - "getter": "get_bounce_indirect_energy" - }, - { - "type": "bool", - "name": "directional", - "setter": "set_directional", - "getter": "is_directional" - }, - { - "type": "bool", - "name": "use_texture_for_bounces", - "setter": "set_use_texture_for_bounces", - "getter": "is_using_texture_for_bounces" - }, - { - "type": "bool", - "name": "interior", - "setter": "set_interior", - "getter": "is_interior" - }, - { - "type": "bool", - "name": "use_denoiser", - "setter": "set_use_denoiser", - "getter": "is_using_denoiser" - }, - { - "type": "float", - "name": "denoiser_strength", - "setter": "set_denoiser_strength", - "getter": "get_denoiser_strength" - }, - { - "type": "float", - "name": "bias", - "setter": "set_bias", - "getter": "get_bias" - }, - { - "type": "int", - "name": "max_texture_size", - "setter": "set_max_texture_size", - "getter": "get_max_texture_size" - }, - { - "type": "int", - "name": "environment_mode", - "setter": "set_environment_mode", - "getter": "get_environment_mode" - }, - { - "type": "Sky", - "name": "environment_custom_sky", - "setter": "set_environment_custom_sky", - "getter": "get_environment_custom_sky" - }, - { - "type": "Color", - "name": "environment_custom_color", - "setter": "set_environment_custom_color", - "getter": "get_environment_custom_color" - }, - { - "type": "float", - "name": "environment_custom_energy", - "setter": "set_environment_custom_energy", - "getter": "get_environment_custom_energy" - }, - { - "type": "CameraAttributesPractical,CameraAttributesPhysical", - "name": "camera_attributes", - "setter": "set_camera_attributes", - "getter": "get_camera_attributes" - }, - { - "type": "int", - "name": "generate_probes_subdiv", - "setter": "set_generate_probes", - "getter": "get_generate_probes" - }, - { - "type": "LightmapGIData", - "name": "light_data", - "setter": "set_light_data", - "getter": "get_light_data" - } - ] - }, - { - "name": "LightmapGIData", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_lightmap_textures", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "light_textures", - "type": "typedarray::TextureLayered" - } - ] - }, - { - "name": "get_lightmap_textures", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::TextureLayered" - } - }, - { - "name": "set_uses_spherical_harmonics", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "uses_spherical_harmonics", - "type": "bool" - } - ] - }, - { - "name": "is_using_spherical_harmonics", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_user", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4272570515, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_user_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 408788394, - "return_value": { - "type": "NodePath" - }, - "arguments": [ - { - "name": "user_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_users", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_light_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1278366092, - "arguments": [ - { - "name": "light_texture", - "type": "TextureLayered" - } - ] - }, - { - "name": "get_light_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3984243839, - "return_value": { - "type": "TextureLayered" - } - } - ], - "properties": [ - { - "type": "typedarray::TextureLayered", - "name": "lightmap_textures", - "setter": "set_lightmap_textures", - "getter": "get_lightmap_textures" - }, - { - "type": "bool", - "name": "uses_spherical_harmonics", - "setter": "set_uses_spherical_harmonics", - "getter": "is_using_spherical_harmonics" - }, - { - "type": "Array", - "name": "user_data", - "setter": "_set_user_data", - "getter": "_get_user_data" - }, - { - "type": "Dictionary", - "name": "probe_data", - "setter": "_set_probe_data", - "getter": "_get_probe_data" - }, - { - "type": "TextureLayered", - "name": "light_texture", - "setter": "set_light_texture", - "getter": "get_light_texture" - }, - { - "type": "Array", - "name": "light_textures", - "setter": "_set_light_textures_data", - "getter": "_get_light_textures_data" - } - ] - }, - { - "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": "LineJointMode", - "is_bitfield": false, - "values": [ - { - "name": "LINE_JOINT_SHARP", - "value": 0 - }, - { - "name": "LINE_JOINT_BEVEL", - "value": 1 - }, - { - "name": "LINE_JOINT_ROUND", - "value": 2 - } - ] - }, - { - "name": "LineCapMode", - "is_bitfield": false, - "values": [ - { - "name": "LINE_CAP_NONE", - "value": 0 - }, - { - "name": "LINE_CAP_BOX", - "value": 1 - }, - { - "name": "LINE_CAP_ROUND", - "value": 2 - } - ] - }, - { - "name": "LineTextureMode", - "is_bitfield": false, - "values": [ - { - "name": "LINE_TEXTURE_NONE", - "value": 0 - }, - { - "name": "LINE_TEXTURE_TILE", - "value": 1 - }, - { - "name": "LINE_TEXTURE_STRETCH", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "points", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_points", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_point_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_point_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_point_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2654014372, - "hash_compatibility": [ - 468506575 - ], - "arguments": [ - { - "name": "position", - "type": "Vector2" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "remove_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_closed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "closed", - "type": "bool" - } - ] - }, - { - "name": "is_closed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "width", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_default_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_default_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_gradient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "color", - "type": "Gradient" - } - ] - }, - { - "name": "get_gradient", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_texture_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1952559516, - "arguments": [ - { - "name": "mode", - "type": "enum::Line2D.LineTextureMode" - } - ] - }, - { - "name": "get_texture_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2341040722, - "return_value": { - "type": "enum::Line2D.LineTextureMode" - } - }, - { - "name": "set_joint_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 604292979, - "arguments": [ - { - "name": "mode", - "type": "enum::Line2D.LineJointMode" - } - ] - }, - { - "name": "get_joint_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2546544037, - "return_value": { - "type": "enum::Line2D.LineJointMode" - } - }, - { - "name": "set_begin_cap_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1669024546, - "arguments": [ - { - "name": "mode", - "type": "enum::Line2D.LineCapMode" - } - ] - }, - { - "name": "get_begin_cap_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1107511441, - "return_value": { - "type": "enum::Line2D.LineCapMode" - } - }, - { - "name": "set_end_cap_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1669024546, - "arguments": [ - { - "name": "mode", - "type": "enum::Line2D.LineCapMode" - } - ] - }, - { - "name": "get_end_cap_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1107511441, - "return_value": { - "type": "enum::Line2D.LineCapMode" - } - }, - { - "name": "set_sharp_limit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "limit", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sharp_limit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_round_precision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "precision", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_round_precision", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_antialiased", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "antialiased", - "type": "bool" - } - ] - }, - { - "name": "get_antialiased", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "PackedVector2Array", - "name": "points", - "setter": "set_points", - "getter": "get_points" - }, - { - "type": "bool", - "name": "closed", - "setter": "set_closed", - "getter": "is_closed" - }, - { - "type": "float", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "Curve", - "name": "width_curve", - "setter": "set_curve", - "getter": "get_curve" - }, - { - "type": "Color", - "name": "default_color", - "setter": "set_default_color", - "getter": "get_default_color" - }, - { - "type": "Gradient", - "name": "gradient", - "setter": "set_gradient", - "getter": "get_gradient" - }, - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "int", - "name": "texture_mode", - "setter": "set_texture_mode", - "getter": "get_texture_mode" - }, - { - "type": "int", - "name": "joint_mode", - "setter": "set_joint_mode", - "getter": "get_joint_mode" - }, - { - "type": "int", - "name": "begin_cap_mode", - "setter": "set_begin_cap_mode", - "getter": "get_begin_cap_mode" - }, - { - "type": "int", - "name": "end_cap_mode", - "setter": "set_end_cap_mode", - "getter": "get_end_cap_mode" - }, - { - "type": "float", - "name": "sharp_limit", - "setter": "set_sharp_limit", - "getter": "get_sharp_limit" - }, - { - "type": "int", - "name": "round_precision", - "setter": "set_round_precision", - "getter": "get_round_precision" - }, - { - "type": "bool", - "name": "antialiased", - "setter": "set_antialiased", - "getter": "get_antialiased" - } - ] - }, - { - "name": "LineEdit", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "enums": [ - { - "name": "MenuItems", - "is_bitfield": false, - "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_SUBMENU_TEXT_DIR", - "value": 7 - }, - { - "name": "MENU_DIR_INHERITED", - "value": 8 - }, - { - "name": "MENU_DIR_AUTO", - "value": 9 - }, - { - "name": "MENU_DIR_LTR", - "value": 10 - }, - { - "name": "MENU_DIR_RTL", - "value": 11 - }, - { - "name": "MENU_DISPLAY_UCC", - "value": 12 - }, - { - "name": "MENU_SUBMENU_INSERT_UCC", - "value": 13 - }, - { - "name": "MENU_INSERT_LRM", - "value": 14 - }, - { - "name": "MENU_INSERT_RLM", - "value": 15 - }, - { - "name": "MENU_INSERT_LRE", - "value": 16 - }, - { - "name": "MENU_INSERT_RLE", - "value": 17 - }, - { - "name": "MENU_INSERT_LRO", - "value": 18 - }, - { - "name": "MENU_INSERT_RLO", - "value": 19 - }, - { - "name": "MENU_INSERT_PDF", - "value": 20 - }, - { - "name": "MENU_INSERT_ALM", - "value": 21 - }, - { - "name": "MENU_INSERT_LRI", - "value": 22 - }, - { - "name": "MENU_INSERT_RLI", - "value": 23 - }, - { - "name": "MENU_INSERT_FSI", - "value": 24 - }, - { - "name": "MENU_INSERT_PDI", - "value": 25 - }, - { - "name": "MENU_INSERT_ZWJ", - "value": 26 - }, - { - "name": "MENU_INSERT_ZWNJ", - "value": 27 - }, - { - "name": "MENU_INSERT_WJ", - "value": 28 - }, - { - "name": "MENU_INSERT_SHY", - "value": 29 - }, - { - "name": "MENU_MAX", - "value": 30 - } - ] - }, - { - "name": "VirtualKeyboardType", - "is_bitfield": false, - "values": [ - { - "name": "KEYBOARD_TYPE_DEFAULT", - "value": 0 - }, - { - "name": "KEYBOARD_TYPE_MULTILINE", - "value": 1 - }, - { - "name": "KEYBOARD_TYPE_NUMBER", - "value": 2 - }, - { - "name": "KEYBOARD_TYPE_NUMBER_DECIMAL", - "value": 3 - }, - { - "name": "KEYBOARD_TYPE_PHONE", - "value": 4 - }, - { - "name": "KEYBOARD_TYPE_EMAIL_ADDRESS", - "value": 5 - }, - { - "name": "KEYBOARD_TYPE_PASSWORD", - "value": 6 - }, - { - "name": "KEYBOARD_TYPE_URL", - "value": 7 - } - ] - } - ], - "methods": [ - { - "name": "set_horizontal_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312603777, - "arguments": [ - { - "name": "alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_horizontal_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 341400642, - "return_value": { - "type": "enum::HorizontalAlignment" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "select", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1328111411, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "deselect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "has_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_selected_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "get_selection_from_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_selection_to_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_draw_control_chars", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_draw_control_chars", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 119160795, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.TextDirection" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 797257663, - "return_value": { - "type": "enum::Control.TextDirection" - } - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_structured_text_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 55961453, - "arguments": [ - { - "name": "parser", - "type": "enum::TextServer.StructuredTextParser" - } - ] - }, - { - "name": "get_structured_text_bidi_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3385126229, - "return_value": { - "type": "enum::TextServer.StructuredTextParser" - } - }, - { - "name": "set_structured_text_bidi_override_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "args", - "type": "Array" - } - ] - }, - { - "name": "get_structured_text_bidi_override_options", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_placeholder", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_caret_column", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_caret_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_scroll_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_expand_to_text_length_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_expand_to_text_length_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_caret_blink_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_caret_blink_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_caret_mid_grapheme_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_caret_mid_grapheme_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_caret_force_displayed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_caret_force_displayed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_caret_blink_interval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "interval", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_caret_blink_interval", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "chars", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "insert_text_at_caret", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "delete_char_at_caret", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "delete_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_editable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_secret", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_secret", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_secret_character", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "character", - "type": "String" - } - ] - }, - { - "name": "get_secret_character", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "menu_option", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "option", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_menu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 229722558, - "return_value": { - "type": "PopupMenu" - } - }, - { - "name": "is_menu_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_context_menu_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_context_menu_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_virtual_keyboard_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_virtual_keyboard_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_virtual_keyboard_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2696893573, - "arguments": [ - { - "name": "type", - "type": "enum::LineEdit.VirtualKeyboardType" - } - ] - }, - { - "name": "get_virtual_keyboard_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1928699316, - "return_value": { - "type": "enum::LineEdit.VirtualKeyboardType" - } - }, - { - "name": "set_clear_button_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_clear_button_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shortcut_keys_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_shortcut_keys_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_middle_mouse_paste_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_middle_mouse_paste_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_selecting_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_selecting_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_deselect_on_focus_loss_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_deselect_on_focus_loss_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_drag_and_drop_selection_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_drag_and_drop_selection_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_right_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "icon", - "type": "Texture2D" - } - ] - }, - { - "name": "get_right_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 255860311, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_flat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_flat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_select_all_on_focus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_select_all_on_focus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "text_changed", - "arguments": [ - { - "name": "new_text", - "type": "String" - } - ] - }, - { - "name": "text_change_rejected", - "arguments": [ - { - "name": "rejected_substring", - "type": "String" - } - ] - }, - { - "name": "text_submitted", - "arguments": [ - { - "name": "new_text", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "text", - "setter": "set_text", - "getter": "get_text" - }, - { - "type": "String", - "name": "placeholder_text", - "setter": "set_placeholder", - "getter": "get_placeholder" - }, - { - "type": "int", - "name": "alignment", - "setter": "set_horizontal_alignment", - "getter": "get_horizontal_alignment" - }, - { - "type": "int", - "name": "max_length", - "setter": "set_max_length", - "getter": "get_max_length" - }, - { - "type": "bool", - "name": "editable", - "setter": "set_editable", - "getter": "is_editable" - }, - { - "type": "bool", - "name": "expand_to_text_length", - "setter": "set_expand_to_text_length_enabled", - "getter": "is_expand_to_text_length_enabled" - }, - { - "type": "bool", - "name": "context_menu_enabled", - "setter": "set_context_menu_enabled", - "getter": "is_context_menu_enabled" - }, - { - "type": "bool", - "name": "virtual_keyboard_enabled", - "setter": "set_virtual_keyboard_enabled", - "getter": "is_virtual_keyboard_enabled" - }, - { - "type": "int", - "name": "virtual_keyboard_type", - "setter": "set_virtual_keyboard_type", - "getter": "get_virtual_keyboard_type" - }, - { - "type": "bool", - "name": "clear_button_enabled", - "setter": "set_clear_button_enabled", - "getter": "is_clear_button_enabled" - }, - { - "type": "bool", - "name": "shortcut_keys_enabled", - "setter": "set_shortcut_keys_enabled", - "getter": "is_shortcut_keys_enabled" - }, - { - "type": "bool", - "name": "middle_mouse_paste_enabled", - "setter": "set_middle_mouse_paste_enabled", - "getter": "is_middle_mouse_paste_enabled" - }, - { - "type": "bool", - "name": "selecting_enabled", - "setter": "set_selecting_enabled", - "getter": "is_selecting_enabled" - }, - { - "type": "bool", - "name": "deselect_on_focus_loss_enabled", - "setter": "set_deselect_on_focus_loss_enabled", - "getter": "is_deselect_on_focus_loss_enabled" - }, - { - "type": "bool", - "name": "drag_and_drop_selection_enabled", - "setter": "set_drag_and_drop_selection_enabled", - "getter": "is_drag_and_drop_selection_enabled" - }, - { - "type": "Texture2D", - "name": "right_icon", - "setter": "set_right_icon", - "getter": "get_right_icon" - }, - { - "type": "bool", - "name": "flat", - "setter": "set_flat", - "getter": "is_flat" - }, - { - "type": "bool", - "name": "draw_control_chars", - "setter": "set_draw_control_chars", - "getter": "get_draw_control_chars" - }, - { - "type": "bool", - "name": "select_all_on_focus", - "setter": "set_select_all_on_focus", - "getter": "is_select_all_on_focus" - }, - { - "type": "bool", - "name": "caret_blink", - "setter": "set_caret_blink_enabled", - "getter": "is_caret_blink_enabled" - }, - { - "type": "float", - "name": "caret_blink_interval", - "setter": "set_caret_blink_interval", - "getter": "get_caret_blink_interval" - }, - { - "type": "int", - "name": "caret_column", - "setter": "set_caret_column", - "getter": "get_caret_column" - }, - { - "type": "bool", - "name": "caret_force_displayed", - "setter": "set_caret_force_displayed", - "getter": "is_caret_force_displayed" - }, - { - "type": "bool", - "name": "caret_mid_grapheme", - "setter": "set_caret_mid_grapheme_enabled", - "getter": "is_caret_mid_grapheme_enabled" - }, - { - "type": "bool", - "name": "secret", - "setter": "set_secret", - "getter": "is_secret" - }, - { - "type": "String", - "name": "secret_character", - "setter": "set_secret_character", - "getter": "get_secret_character" - }, - { - "type": "int", - "name": "text_direction", - "setter": "set_text_direction", - "getter": "get_text_direction" - }, - { - "type": "String", - "name": "language", - "setter": "set_language", - "getter": "get_language" - }, - { - "type": "int", - "name": "structured_text_bidi_override", - "setter": "set_structured_text_bidi_override", - "getter": "get_structured_text_bidi_override" - }, - { - "type": "Array", - "name": "structured_text_bidi_override_options", - "setter": "set_structured_text_bidi_override_options", - "getter": "get_structured_text_bidi_override_options" - } - ] - }, - { - "name": "LinkButton", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "BaseButton", - "api_type": "core", - "enums": [ - { - "name": "UnderlineMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 119160795, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.TextDirection" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 797257663, - "return_value": { - "type": "enum::Control.TextDirection" - } - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_uri", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "uri", - "type": "String" - } - ] - }, - { - "name": "get_uri", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_underline_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4032947085, - "arguments": [ - { - "name": "underline_mode", - "type": "enum::LinkButton.UnderlineMode" - } - ] - }, - { - "name": "get_underline_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 568343738, - "return_value": { - "type": "enum::LinkButton.UnderlineMode" - } - }, - { - "name": "set_structured_text_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 55961453, - "arguments": [ - { - "name": "parser", - "type": "enum::TextServer.StructuredTextParser" - } - ] - }, - { - "name": "get_structured_text_bidi_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3385126229, - "return_value": { - "type": "enum::TextServer.StructuredTextParser" - } - }, - { - "name": "set_structured_text_bidi_override_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "args", - "type": "Array" - } - ] - }, - { - "name": "get_structured_text_bidi_override_options", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - } - ], - "properties": [ - { - "type": "String", - "name": "text", - "setter": "set_text", - "getter": "get_text" - }, - { - "type": "int", - "name": "underline", - "setter": "set_underline_mode", - "getter": "get_underline_mode" - }, - { - "type": "String", - "name": "uri", - "setter": "set_uri", - "getter": "get_uri" - }, - { - "type": "int", - "name": "text_direction", - "setter": "set_text_direction", - "getter": "get_text_direction" - }, - { - "type": "String", - "name": "language", - "setter": "set_language", - "getter": "get_language" - }, - { - "type": "int", - "name": "structured_text_bidi_override", - "setter": "set_structured_text_bidi_override", - "getter": "get_structured_text_bidi_override" - }, - { - "type": "Array", - "name": "structured_text_bidi_override_options", - "setter": "set_structured_text_bidi_override_options", - "getter": "get_structured_text_bidi_override_options" - } - ] - }, - { - "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_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_physics_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "delta", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "delta", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_finalize", - "is_const": false, - "is_static": 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": "Marker2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_gizmo_extents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "extents", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gizmo_extents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "gizmo_extents", - "setter": "set_gizmo_extents", - "getter": "get_gizmo_extents" - } - ] - }, - { - "name": "Marker3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "set_gizmo_extents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "extents", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gizmo_extents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "gizmo_extents", - "setter": "set_gizmo_extents", - "getter": "get_gizmo_extents" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3876248563, - "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_static": false, - "is_virtual": false, - "hash": 218087648, - "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_static": false, - "is_virtual": false, - "hash": 3999417757, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "array", - "type": "PackedByteArray" - } - ] - }, - { - "name": "base64_to_raw", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659035735, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "base64_str", - "type": "String" - } - ] - }, - { - "name": "utf8_to_base64", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1703090593, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "utf8_str", - "type": "String" - } - ] - }, - { - "name": "base64_to_utf8", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1703090593, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "base64_str", - "type": "String" - } - ] - } - ] - }, - { - "name": "Material", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "constants": [ - { - "name": "RENDER_PRIORITY_MAX", - "value": 127 - }, - { - "name": "RENDER_PRIORITY_MIN", - "value": -128 - } - ], - "methods": [ - { - "name": "_get_shader_rid", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_get_shader_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Shader.Mode" - } - }, - { - "name": "_can_do_next_pass", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_can_use_render_priority", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_next_pass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "next_pass", - "type": "Material" - } - ] - }, - { - "name": "get_next_pass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "set_render_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_render_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "inspect_native_shader_code", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "create_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121922552, - "return_value": { - "type": "Resource" - } - } - ], - "properties": [ - { - "type": "int", - "name": "render_priority", - "setter": "set_render_priority", - "getter": "get_render_priority" - }, - { - "type": "Material", - "name": "next_pass", - "setter": "set_next_pass", - "getter": "get_next_pass" - } - ] - }, - { - "name": "MenuBar", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "methods": [ - { - "name": "set_switch_on_hover", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_switch_on_hover", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_disable_shortcuts", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "set_prefer_global_menu", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_prefer_global_menu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_native_menu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_menu_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 119160795, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.TextDirection" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 797257663, - "return_value": { - "type": "enum::Control.TextDirection" - } - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_flat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_flat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_start_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "enabled", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_start_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_menu_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "menu", - "type": "int", - "meta": "int32" - }, - { - "name": "title", - "type": "String" - } - ] - }, - { - "name": "get_menu_title", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "menu", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_menu_tooltip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "menu", - "type": "int", - "meta": "int32" - }, - { - "name": "tooltip", - "type": "String" - } - ] - }, - { - "name": "get_menu_tooltip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "menu", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_menu_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "menu", - "type": "int", - "meta": "int32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_menu_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "menu", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_menu_hidden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "menu", - "type": "int", - "meta": "int32" - }, - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "is_menu_hidden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "menu", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_menu_popup", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2100501353, - "return_value": { - "type": "PopupMenu" - }, - "arguments": [ - { - "name": "menu", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "flat", - "setter": "set_flat", - "getter": "is_flat" - }, - { - "type": "int", - "name": "start_index", - "setter": "set_start_index", - "getter": "get_start_index" - }, - { - "type": "bool", - "name": "switch_on_hover", - "setter": "set_switch_on_hover", - "getter": "is_switch_on_hover" - }, - { - "type": "bool", - "name": "prefer_global_menu", - "setter": "set_prefer_global_menu", - "getter": "is_prefer_global_menu" - }, - { - "type": "int", - "name": "text_direction", - "setter": "set_text_direction", - "getter": "get_text_direction" - }, - { - "type": "String", - "name": "language", - "setter": "set_language", - "getter": "get_language" - } - ] - }, - { - "name": "MenuButton", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Button", - "api_type": "core", - "methods": [ - { - "name": "get_popup", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 229722558, - "return_value": { - "type": "PopupMenu" - } - }, - { - "name": "show_popup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_switch_on_hover", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_switch_on_hover", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_disable_shortcuts", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "set_item_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "signals": [ - { - "name": "about_to_popup" - } - ], - "properties": [ - { - "type": "bool", - "name": "switch_on_hover", - "setter": "set_switch_on_hover", - "getter": "is_switch_on_hover" - }, - { - "type": "int", - "name": "item_count", - "setter": "set_item_count", - "getter": "get_item_count" - } - ] - }, - { - "name": "Mesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "PrimitiveType", - "is_bitfield": false, - "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": "ArrayType", - "is_bitfield": false, - "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": "ArrayCustomFormat", - "is_bitfield": false, - "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": "ArrayFormat", - "is_bitfield": true, - "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": 7 - }, - { - "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": "ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY", - "value": 268435456 - }, - { - "name": "ARRAY_FLAG_COMPRESS_ATTRIBUTES", - "value": 536870912 - } - ] - }, - { - "name": "BlendShapeMode", - "is_bitfield": false, - "values": [ - { - "name": "BLEND_SHAPE_MODE_NORMALIZED", - "value": 0 - }, - { - "name": "BLEND_SHAPE_MODE_RELATIVE", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "_get_surface_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_surface_get_array_len", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_surface_get_array_index_len", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_surface_get_arrays", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_surface_get_blend_shape_arrays", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Array" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_surface_get_lods", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_surface_get_format", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_surface_get_primitive_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_surface_set_material", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "_surface_get_material", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Material" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_blend_shape_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_blend_shape_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_set_blend_shape_name", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "_get_aabb", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "AABB" - } - }, - { - "name": "set_lightmap_size_hint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_lightmap_size_hint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "get_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - }, - { - "name": "get_faces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "get_surface_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "surface_get_arrays", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 663333327, - "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_static": false, - "is_virtual": false, - "hash": 663333327, - "return_value": { - "type": "typedarray::Array" - }, - "arguments": [ - { - "name": "surf_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "surface_set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3671737478, - "arguments": [ - { - "name": "surf_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "surface_get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2897466400, - "return_value": { - "type": "Material" - }, - "arguments": [ - { - "name": "surf_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "create_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121922552, - "return_value": { - "type": "Resource" - } - }, - { - "name": "create_trimesh_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4160111210, - "return_value": { - "type": "ConcavePolygonShape3D" - } - }, - { - "name": "create_convex_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2529984628, - "return_value": { - "type": "ConvexPolygonShape3D" - }, - "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_static": false, - "is_virtual": false, - "hash": 1208642001, - "return_value": { - "type": "Mesh" - }, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "generate_triangle_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3476533166, - "return_value": { - "type": "TriangleMesh" - } - } - ], - "properties": [ - { - "type": "Vector2i", - "name": "lightmap_size_hint", - "setter": "set_lightmap_size_hint", - "getter": "get_lightmap_size_hint" - } - ] - }, - { - "name": "MeshConvexDecompositionSettings", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "Mode", - "is_bitfield": false, - "values": [ - { - "name": "CONVEX_DECOMPOSITION_MODE_VOXEL", - "value": 0 - }, - { - "name": "CONVEX_DECOMPOSITION_MODE_TETRAHEDRON", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_max_concavity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max_concavity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_concavity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_symmetry_planes_clipping_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "symmetry_planes_clipping_bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_symmetry_planes_clipping_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_revolution_axes_clipping_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "revolution_axes_clipping_bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_revolution_axes_clipping_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_min_volume_per_convex_hull", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "min_volume_per_convex_hull", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_min_volume_per_convex_hull", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_resolution", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "min_volume_per_convex_hull", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_resolution", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_max_num_vertices_per_convex_hull", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_num_vertices_per_convex_hull", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_max_num_vertices_per_convex_hull", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_plane_downsampling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "plane_downsampling", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_plane_downsampling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_convex_hull_downsampling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "convex_hull_downsampling", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_convex_hull_downsampling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_normalize_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "normalize_mesh", - "type": "bool" - } - ] - }, - { - "name": "get_normalize_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1668072869, - "arguments": [ - { - "name": "mode", - "type": "enum::MeshConvexDecompositionSettings.Mode" - } - ] - }, - { - "name": "get_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 23479454, - "return_value": { - "type": "enum::MeshConvexDecompositionSettings.Mode" - } - }, - { - "name": "set_convex_hull_approximation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "convex_hull_approximation", - "type": "bool" - } - ] - }, - { - "name": "get_convex_hull_approximation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_max_convex_hulls", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_convex_hulls", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_max_convex_hulls", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_project_hull_vertices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "project_hull_vertices", - "type": "bool" - } - ] - }, - { - "name": "get_project_hull_vertices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "max_concavity", - "setter": "set_max_concavity", - "getter": "get_max_concavity" - }, - { - "type": "float", - "name": "symmetry_planes_clipping_bias", - "setter": "set_symmetry_planes_clipping_bias", - "getter": "get_symmetry_planes_clipping_bias" - }, - { - "type": "float", - "name": "revolution_axes_clipping_bias", - "setter": "set_revolution_axes_clipping_bias", - "getter": "get_revolution_axes_clipping_bias" - }, - { - "type": "float", - "name": "min_volume_per_convex_hull", - "setter": "set_min_volume_per_convex_hull", - "getter": "get_min_volume_per_convex_hull" - }, - { - "type": "int", - "name": "resolution", - "setter": "set_resolution", - "getter": "get_resolution" - }, - { - "type": "int", - "name": "max_num_vertices_per_convex_hull", - "setter": "set_max_num_vertices_per_convex_hull", - "getter": "get_max_num_vertices_per_convex_hull" - }, - { - "type": "int", - "name": "plane_downsampling", - "setter": "set_plane_downsampling", - "getter": "get_plane_downsampling" - }, - { - "type": "int", - "name": "convex_hull_downsampling", - "setter": "set_convex_hull_downsampling", - "getter": "get_convex_hull_downsampling" - }, - { - "type": "bool", - "name": "normalize_mesh", - "setter": "set_normalize_mesh", - "getter": "get_normalize_mesh" - }, - { - "type": "int", - "name": "mode", - "setter": "set_mode", - "getter": "get_mode" - }, - { - "type": "bool", - "name": "convex_hull_approximation", - "setter": "set_convex_hull_approximation", - "getter": "get_convex_hull_approximation" - }, - { - "type": "int", - "name": "max_convex_hulls", - "setter": "set_max_convex_hulls", - "getter": "get_max_convex_hulls" - }, - { - "type": "bool", - "name": "project_hull_vertices", - "setter": "set_project_hull_vertices", - "getter": "get_project_hull_vertices" - } - ] - }, - { - "name": "MeshDataTool", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "create_from_surface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2727020678, - "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_static": false, - "is_virtual": false, - "hash": 2021686445, - "hash_compatibility": [ - 3521099812 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "mesh", - "type": "ArrayMesh" - }, - { - "name": "compression_flags", - "type": "int", - "meta": "uint64", - "default_value": "0" - } - ] - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_vertex_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_edge_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_face_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_vertex", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "vertex", - "type": "Vector3" - } - ] - }, - { - "name": "get_vertex", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_vertex_normal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "normal", - "type": "Vector3" - } - ] - }, - { - "name": "get_vertex_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_vertex_tangent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1104099133, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tangent", - "type": "Plane" - } - ] - }, - { - "name": "get_vertex_tangent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1372055458, - "return_value": { - "type": "Plane" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_vertex_uv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "uv", - "type": "Vector2" - } - ] - }, - { - "name": "get_vertex_uv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_vertex_uv2", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "uv2", - "type": "Vector2" - } - ] - }, - { - "name": "get_vertex_uv2", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_vertex_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_vertex_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_vertex_bones", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3500328261, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "bones", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_vertex_bones", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1706082319, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_vertex_weights", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1345852415, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "weights", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "get_vertex_weights", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1542882410, - "return_value": { - "type": "PackedFloat32Array" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_vertex_meta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2152698145, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "meta", - "type": "Variant" - } - ] - }, - { - "name": "get_vertex_meta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_vertex_edges", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1706082319, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_vertex_faces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1706082319, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_edge_vertex", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175239445, - "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_static": false, - "is_virtual": false, - "hash": 1706082319, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_edge_meta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2152698145, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "meta", - "type": "Variant" - } - ] - }, - { - "name": "get_edge_meta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_face_vertex", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175239445, - "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_static": false, - "is_virtual": false, - "hash": 3175239445, - "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_static": false, - "is_virtual": false, - "hash": 2152698145, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "meta", - "type": "Variant" - } - ] - }, - { - "name": "get_face_meta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_face_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "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_static": false, - "is_virtual": false, - "hash": 194775623, - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "get_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1808005922, - "return_value": { - "type": "Mesh" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - } - ], - "signals": [ - { - "name": "texture_changed" - } - ], - "properties": [ - { - "type": "Mesh", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - } - ] - }, - { - "name": "MeshInstance3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GeometryInstance3D", - "api_type": "core", - "methods": [ - { - "name": "set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 194775623, - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "get_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1808005922, - "return_value": { - "type": "Mesh" - } - }, - { - "name": "set_skeleton_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "skeleton_path", - "type": "NodePath" - } - ] - }, - { - "name": "get_skeleton_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 277076166, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_skin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3971435618, - "arguments": [ - { - "name": "skin", - "type": "Skin" - } - ] - }, - { - "name": "get_skin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2074563878, - "return_value": { - "type": "Skin" - } - }, - { - "name": "get_surface_override_material_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_surface_override_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3671737478, - "arguments": [ - { - "name": "surface", - "type": "int", - "meta": "int32" - }, - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_surface_override_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2897466400, - "return_value": { - "type": "Material" - }, - "arguments": [ - { - "name": "surface", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_active_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2897466400, - "return_value": { - "type": "Material" - }, - "arguments": [ - { - "name": "surface", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "create_trimesh_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "create_convex_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2751962654, - "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_static": false, - "is_virtual": false, - "hash": 628789669, - "arguments": [ - { - "name": "settings", - "type": "MeshConvexDecompositionSettings", - "default_value": "null" - } - ] - }, - { - "name": "get_blend_shape_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_blend_shape_by_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4150868206, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_blend_shape_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "blend_shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_blend_shape_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "blend_shape_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "create_debug_tangents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "Mesh", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "Skin", - "name": "skin", - "setter": "set_skin", - "getter": "get_skin" - }, - { - "type": "NodePath", - "name": "skeleton", - "setter": "set_skeleton_path", - "getter": "get_skeleton_path" - } - ] - }, - { - "name": "MeshLibrary", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "create_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_item_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969122797, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "set_item_mesh_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3616898986, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "mesh_transform", - "type": "Transform3D" - } - ] - }, - { - "name": "set_item_navigation_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3483353960, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "navigation_mesh", - "type": "NavigationMesh" - } - ] - }, - { - "name": "set_item_navigation_mesh_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3616898986, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "navigation_mesh", - "type": "Transform3D" - } - ] - }, - { - "name": "set_item_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "set_item_shapes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 537221740, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "shapes", - "type": "Array" - } - ] - }, - { - "name": "set_item_preview", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_item_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1576363275, - "return_value": { - "type": "Mesh" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_mesh_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_navigation_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2729647406, - "return_value": { - "type": "NavigationMesh" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_navigation_mesh_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_shapes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 663333327, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_preview", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "find_item_by_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_item_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "get_last_unused_item_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "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_static": false, - "is_virtual": false, - "hash": 194775623, - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "get_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1808005922, - "return_value": { - "type": "Mesh" - } - }, - { - "name": "set_image_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "size", - "type": "Vector2" - } - ] - }, - { - "name": "get_image_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_base_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_base_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - } - ], - "properties": [ - { - "type": "Mesh", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "Texture2D", - "name": "base_texture", - "setter": "set_base_texture", - "getter": "get_base_texture" - }, - { - "type": "Vector2", - "name": "image_size", - "setter": "set_image_size", - "getter": "get_image_size" - } - ] - }, - { - "name": "MethodTweener", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Tweener", - "api_type": "core", - "methods": [ - { - "name": "set_delay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 266477812, - "return_value": { - "type": "MethodTweener" - }, - "arguments": [ - { - "name": "delay", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_trans", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740975367, - "return_value": { - "type": "MethodTweener" - }, - "arguments": [ - { - "name": "trans", - "type": "enum::Tween.TransitionType" - } - ] - }, - { - "name": "set_ease", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 315540545, - "return_value": { - "type": "MethodTweener" - }, - "arguments": [ - { - "name": "ease", - "type": "enum::Tween.EaseType" - } - ] - } - ] - }, - { - "name": "MissingNode", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "methods": [ - { - "name": "set_original_class", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_original_class", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_recording_properties", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_recording_properties", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "String", - "name": "original_class", - "setter": "set_original_class", - "getter": "get_original_class" - }, - { - "type": "bool", - "name": "recording_properties", - "setter": "set_recording_properties", - "getter": "is_recording_properties" - } - ] - }, - { - "name": "MissingResource", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_original_class", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_original_class", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_recording_properties", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_recording_properties", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "String", - "name": "original_class", - "setter": "set_original_class", - "getter": "get_original_class" - }, - { - "type": "bool", - "name": "recording_properties", - "setter": "set_recording_properties", - "getter": "is_recording_properties" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "eye_height", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_eye_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_iod", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "iod", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_iod", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_display_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "display_width", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_display_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_display_to_lens", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "display_to_lens", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_display_to_lens", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_oversample", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "oversample", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_oversample", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_k1", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "k", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_k1", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_k2", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "k", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_k2", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - } - ], - "properties": [ - { - "type": "float", - "name": "eye_height", - "setter": "set_eye_height", - "getter": "get_eye_height" - }, - { - "type": "float", - "name": "iod", - "setter": "set_iod", - "getter": "get_iod" - }, - { - "type": "float", - "name": "display_width", - "setter": "set_display_width", - "getter": "get_display_width" - }, - { - "type": "float", - "name": "display_to_lens", - "setter": "set_display_to_lens", - "getter": "get_display_to_lens" - }, - { - "type": "float", - "name": "oversample", - "setter": "set_oversample", - "getter": "get_oversample" - }, - { - "type": "float", - "name": "k1", - "setter": "set_k1", - "getter": "get_k1" - }, - { - "type": "float", - "name": "k2", - "setter": "set_k2", - "getter": "get_k2" - } - ] - }, - { - "name": "MovieWriter", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "_get_audio_mix_rate", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "_get_audio_speaker_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::AudioServer.SpeakerMode" - } - }, - { - "name": "_handles_file", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_write_begin", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "movie_size", - "type": "Vector2i" - }, - { - "name": "fps", - "type": "int", - "meta": "uint32" - }, - { - "name": "base_path", - "type": "String" - } - ] - }, - { - "name": "_write_frame", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "frame_image", - "type": "Image" - }, - { - "name": "audio_frame_block", - "type": "const void*" - } - ] - }, - { - "name": "_write_end", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "add_writer", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 4023702871, - "arguments": [ - { - "name": "writer", - "type": "MovieWriter" - } - ] - } - ] - }, - { - "name": "MultiMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "TransformFormat", - "is_bitfield": false, - "values": [ - { - "name": "TRANSFORM_2D", - "value": 0 - }, - { - "name": "TRANSFORM_3D", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 194775623, - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "get_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1808005922, - "return_value": { - "type": "Mesh" - } - }, - { - "name": "set_use_colors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_colors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_custom_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_custom_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_transform_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2404750322, - "arguments": [ - { - "name": "format", - "type": "enum::MultiMesh.TransformFormat" - } - ] - }, - { - "name": "get_transform_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2444156481, - "return_value": { - "type": "enum::MultiMesh.TransformFormat" - } - }, - { - "name": "set_instance_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_instance_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_visible_instance_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_visible_instance_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_instance_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3616898986, - "arguments": [ - { - "name": "instance", - "type": "int", - "meta": "int32" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "set_instance_transform_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 30160968, - "arguments": [ - { - "name": "instance", - "type": "int", - "meta": "int32" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_instance_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "instance", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_instance_transform_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3836996910, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "instance", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_instance_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "instance", - "type": "int", - "meta": "int32" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_instance_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "instance", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_instance_custom_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "instance", - "type": "int", - "meta": "int32" - }, - { - "name": "custom_data", - "type": "Color" - } - ] - }, - { - "name": "get_instance_custom_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "instance", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - }, - { - "name": "get_buffer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 675695659, - "return_value": { - "type": "PackedFloat32Array" - } - }, - { - "name": "set_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2899603908, - "arguments": [ - { - "name": "buffer", - "type": "PackedFloat32Array" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "transform_format", - "setter": "set_transform_format", - "getter": "get_transform_format" - }, - { - "type": "bool", - "name": "use_colors", - "setter": "set_use_colors", - "getter": "is_using_colors" - }, - { - "type": "bool", - "name": "use_custom_data", - "setter": "set_use_custom_data", - "getter": "is_using_custom_data" - }, - { - "type": "int", - "name": "instance_count", - "setter": "set_instance_count", - "getter": "get_instance_count" - }, - { - "type": "int", - "name": "visible_instance_count", - "setter": "set_visible_instance_count", - "getter": "get_visible_instance_count" - }, - { - "type": "Mesh", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "PackedFloat32Array", - "name": "buffer", - "setter": "set_buffer", - "getter": "get_buffer" - }, - { - "type": "PackedVector3Array", - "name": "transform_array", - "setter": "_set_transform_array", - "getter": "_get_transform_array" - }, - { - "type": "PackedVector2Array", - "name": "transform_2d_array", - "setter": "_set_transform_2d_array", - "getter": "_get_transform_2d_array" - }, - { - "type": "PackedColorArray", - "name": "color_array", - "setter": "_set_color_array", - "getter": "_get_color_array" - }, - { - "type": "PackedColorArray", - "name": "custom_data_array", - "setter": "_set_custom_data_array", - "getter": "_get_custom_data_array" - } - ] - }, - { - "name": "MultiMeshInstance2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_multimesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2246127404, - "arguments": [ - { - "name": "multimesh", - "type": "MultiMesh" - } - ] - }, - { - "name": "get_multimesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1385450523, - "return_value": { - "type": "MultiMesh" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - } - ], - "signals": [ - { - "name": "texture_changed" - } - ], - "properties": [ - { - "type": "MultiMesh", - "name": "multimesh", - "setter": "set_multimesh", - "getter": "get_multimesh" - }, - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - } - ] - }, - { - "name": "MultiMeshInstance3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "GeometryInstance3D", - "api_type": "core", - "methods": [ - { - "name": "set_multimesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2246127404, - "arguments": [ - { - "name": "multimesh", - "type": "MultiMesh" - } - ] - }, - { - "name": "get_multimesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1385450523, - "return_value": { - "type": "MultiMesh" - } - } - ], - "properties": [ - { - "type": "MultiMesh", - "name": "multimesh", - "setter": "set_multimesh", - "getter": "get_multimesh" - } - ] - }, - { - "name": "MultiplayerAPI", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "RPCMode", - "is_bitfield": false, - "values": [ - { - "name": "RPC_MODE_DISABLED", - "value": 0 - }, - { - "name": "RPC_MODE_ANY_PEER", - "value": 1 - }, - { - "name": "RPC_MODE_AUTHORITY", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "has_multiplayer_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_multiplayer_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3223692825, - "return_value": { - "type": "MultiplayerPeer" - } - }, - { - "name": "set_multiplayer_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3694835298, - "arguments": [ - { - "name": "peer", - "type": "MultiplayerPeer" - } - ] - }, - { - "name": "get_unique_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_server", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_remote_sender_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "poll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "rpc", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2077486355, - "hash_compatibility": [ - 1833408346 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "peer", - "type": "int", - "meta": "int32" - }, - { - "name": "object", - "type": "Object" - }, - { - "name": "method", - "type": "StringName" - }, - { - "name": "arguments", - "type": "Array", - "default_value": "[]" - } - ] - }, - { - "name": "object_configuration_add", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1171879464, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "configuration", - "type": "Variant" - } - ] - }, - { - "name": "object_configuration_remove", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1171879464, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "configuration", - "type": "Variant" - } - ] - }, - { - "name": "get_peers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_default_interface", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "interface_name", - "type": "StringName" - } - ] - }, - { - "name": "get_default_interface", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2737447660, - "return_value": { - "type": "StringName" - } - }, - { - "name": "create_default_interface", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3294156723, - "return_value": { - "type": "MultiplayerAPI" - } - } - ], - "signals": [ - { - "name": "peer_connected", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "peer_disconnected", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "connected_to_server" - }, - { - "name": "connection_failed" - }, - { - "name": "server_disconnected" - } - ], - "properties": [ - { - "type": "MultiplayerPeer", - "name": "multiplayer_peer", - "setter": "set_multiplayer_peer", - "getter": "get_multiplayer_peer" - } - ] - }, - { - "name": "MultiplayerAPIExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "MultiplayerAPI", - "api_type": "core", - "methods": [ - { - "name": "_poll", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "_set_multiplayer_peer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "multiplayer_peer", - "type": "MultiplayerPeer" - } - ] - }, - { - "name": "_get_multiplayer_peer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "MultiplayerPeer" - } - }, - { - "name": "_get_unique_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_peer_ids", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "_rpc", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "peer", - "type": "int", - "meta": "int32" - }, - { - "name": "object", - "type": "Object" - }, - { - "name": "method", - "type": "StringName" - }, - { - "name": "args", - "type": "Array" - } - ] - }, - { - "name": "_get_remote_sender_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_object_configuration_add", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "configuration", - "type": "Variant" - } - ] - }, - { - "name": "_object_configuration_remove", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "configuration", - "type": "Variant" - } - ] - } - ] - }, - { - "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", - "is_bitfield": false, - "values": [ - { - "name": "CONNECTION_DISCONNECTED", - "value": 0 - }, - { - "name": "CONNECTION_CONNECTING", - "value": 1 - }, - { - "name": "CONNECTION_CONNECTED", - "value": 2 - } - ] - }, - { - "name": "TransferMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "channel", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_transfer_channel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_transfer_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 950411049, - "arguments": [ - { - "name": "mode", - "type": "enum::MultiplayerPeer.TransferMode" - } - ] - }, - { - "name": "get_transfer_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3369852622, - "return_value": { - "type": "enum::MultiplayerPeer.TransferMode" - } - }, - { - "name": "set_target_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_packet_peer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_packet_channel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_packet_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3369852622, - "return_value": { - "type": "enum::MultiplayerPeer.TransferMode" - } - }, - { - "name": "poll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "close", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "disconnect_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4023243586, - "arguments": [ - { - "name": "peer", - "type": "int", - "meta": "int32" - }, - { - "name": "force", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_connection_status", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2147374275, - "return_value": { - "type": "enum::MultiplayerPeer.ConnectionStatus" - } - }, - { - "name": "get_unique_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "generate_unique_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_refuse_new_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_refusing_new_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_server_relay_supported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "peer_connected", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "peer_disconnected", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "refuse_new_connections", - "setter": "set_refuse_new_connections", - "getter": "is_refusing_new_connections" - }, - { - "type": "int", - "name": "transfer_mode", - "setter": "set_transfer_mode", - "getter": "get_transfer_mode" - }, - { - "type": "int", - "name": "transfer_channel", - "setter": "set_transfer_channel", - "getter": "get_transfer_channel" - } - ] - }, - { - "name": "MultiplayerPeerExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "MultiplayerPeer", - "api_type": "core", - "methods": [ - { - "name": "_get_packet", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "r_buffer", - "type": "const uint8_t **" - }, - { - "name": "r_buffer_size", - "type": "int32_t*" - } - ] - }, - { - "name": "_put_packet", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_buffer", - "type": "const uint8_t*" - }, - { - "name": "p_buffer_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_available_packet_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_max_packet_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_packet_script", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "_put_packet_script", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "_get_packet_channel", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_packet_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::MultiplayerPeer.TransferMode" - } - }, - { - "name": "_set_transfer_channel", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "p_channel", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_transfer_channel", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_set_transfer_mode", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "p_mode", - "type": "enum::MultiplayerPeer.TransferMode" - } - ] - }, - { - "name": "_get_transfer_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::MultiplayerPeer.TransferMode" - } - }, - { - "name": "_set_target_peer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "p_peer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_packet_peer", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_is_server", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_poll", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_close", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_disconnect_peer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "p_peer", - "type": "int", - "meta": "int32" - }, - { - "name": "p_force", - "type": "bool" - } - ] - }, - { - "name": "_get_unique_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_set_refuse_new_connections", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "p_enable", - "type": "bool" - } - ] - }, - { - "name": "_is_refusing_new_connections", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_is_server_relay_supported", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_connection_status", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::MultiplayerPeer.ConnectionStatus" - } - } - ] - }, - { - "name": "MultiplayerSpawner", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "methods": [ - { - "name": "add_spawnable_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_spawnable_scene_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_spawnable_scene", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_spawnable_scenes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "spawn", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1991184589, - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "data", - "type": "Variant", - "default_value": "null" - } - ] - }, - { - "name": "get_spawn_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_spawn_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_spawn_limit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_spawn_limit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "limit", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_spawn_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1307783378, - "return_value": { - "type": "Callable" - } - }, - { - "name": "set_spawn_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "spawn_function", - "type": "Callable" - } - ] - } - ], - "signals": [ - { - "name": "despawned", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "spawned", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - } - ], - "properties": [ - { - "type": "NodePath", - "name": "spawn_path", - "setter": "set_spawn_path", - "getter": "get_spawn_path" - }, - { - "type": "int", - "name": "spawn_limit", - "setter": "set_spawn_limit", - "getter": "get_spawn_limit" - }, - { - "type": "Callable", - "name": "spawn_function", - "setter": "set_spawn_function", - "getter": "get_spawn_function" - } - ] - }, - { - "name": "MultiplayerSynchronizer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "enums": [ - { - "name": "VisibilityUpdateMode", - "is_bitfield": false, - "values": [ - { - "name": "VISIBILITY_PROCESS_IDLE", - "value": 0 - }, - { - "name": "VISIBILITY_PROCESS_PHYSICS", - "value": 1 - }, - { - "name": "VISIBILITY_PROCESS_NONE", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_root_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_root_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_replication_interval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "milliseconds", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_replication_interval", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_delta_interval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "milliseconds", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_delta_interval", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_replication_config", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3889206742, - "arguments": [ - { - "name": "config", - "type": "SceneReplicationConfig" - } - ] - }, - { - "name": "get_replication_config", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3200254614, - "return_value": { - "type": "SceneReplicationConfig" - } - }, - { - "name": "set_visibility_update_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3494860300, - "arguments": [ - { - "name": "mode", - "type": "enum::MultiplayerSynchronizer.VisibilityUpdateMode" - } - ] - }, - { - "name": "get_visibility_update_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3352241418, - "return_value": { - "type": "enum::MultiplayerSynchronizer.VisibilityUpdateMode" - } - }, - { - "name": "update_visibility", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "for_peer", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "set_visibility_public", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "is_visibility_public", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_visibility_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "filter", - "type": "Callable" - } - ] - }, - { - "name": "remove_visibility_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "filter", - "type": "Callable" - } - ] - }, - { - "name": "set_visibility_for", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "peer", - "type": "int", - "meta": "int32" - }, - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "get_visibility_for", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "peer", - "type": "int", - "meta": "int32" - } - ] - } - ], - "signals": [ - { - "name": "synchronized" - }, - { - "name": "delta_synchronized" - }, - { - "name": "visibility_changed", - "arguments": [ - { - "name": "for_peer", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "NodePath", - "name": "root_path", - "setter": "set_root_path", - "getter": "get_root_path" - }, - { - "type": "float", - "name": "replication_interval", - "setter": "set_replication_interval", - "getter": "get_replication_interval" - }, - { - "type": "float", - "name": "delta_interval", - "setter": "set_delta_interval", - "getter": "get_delta_interval" - }, - { - "type": "SceneReplicationConfig", - "name": "replication_config", - "setter": "set_replication_config", - "getter": "get_replication_config" - }, - { - "type": "int", - "name": "visibility_update_mode", - "setter": "set_visibility_update_mode", - "getter": "get_visibility_update_mode" - }, - { - "type": "bool", - "name": "public_visibility", - "setter": "set_visibility_public", - "getter": "is_visibility_public" - } - ] - }, - { - "name": "Mutex", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "lock", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "try_lock", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "unlock", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "NavigationAgent2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "methods": [ - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_avoidance_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_path_desired_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "desired_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_path_desired_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_target_desired_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "desired_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_target_desired_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_neighbor_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "neighbor_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_neighbor_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_neighbors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_neighbors", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_neighbors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_time_horizon_agents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time_horizon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_time_horizon_agents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_time_horizon_obstacles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time_horizon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_time_horizon_obstacles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max_speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_path_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max_speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_path_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_navigation_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_navigation_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_pathfinding_algorithm", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2783519915, - "arguments": [ - { - "name": "pathfinding_algorithm", - "type": "enum::NavigationPathQueryParameters2D.PathfindingAlgorithm" - } - ] - }, - { - "name": "get_pathfinding_algorithm", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3000421146, - "return_value": { - "type": "enum::NavigationPathQueryParameters2D.PathfindingAlgorithm" - } - }, - { - "name": "set_path_postprocessing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2864409082, - "arguments": [ - { - "name": "path_postprocessing", - "type": "enum::NavigationPathQueryParameters2D.PathPostProcessing" - } - ] - }, - { - "name": "get_path_postprocessing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3798118993, - "return_value": { - "type": "enum::NavigationPathQueryParameters2D.PathPostProcessing" - } - }, - { - "name": "set_path_metadata_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 24274129, - "arguments": [ - { - "name": "flags", - "type": "bitfield::NavigationPathQueryParameters2D.PathMetadataFlags" - } - ] - }, - { - "name": "get_path_metadata_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 488152976, - "return_value": { - "type": "bitfield::NavigationPathQueryParameters2D.PathMetadataFlags" - } - }, - { - "name": "set_navigation_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "navigation_map", - "type": "RID" - } - ] - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_target_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_target_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_next_path_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1497962370, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_velocity_forced", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "get_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1497962370, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "distance_to_target", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_current_navigation_result", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166799483, - "return_value": { - "type": "NavigationPathQueryResult2D" - } - }, - { - "name": "get_current_navigation_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "get_current_navigation_path_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_target_reached", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_target_reachable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_navigation_finished", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_final_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1497962370, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_avoidance_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_avoidance_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_avoidance_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_avoidance_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_avoidance_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_avoidance_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "mask_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "mask_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_avoidance_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_avoidance_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_debug_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_debug_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_debug_use_custom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_debug_use_custom", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_debug_path_custom_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_debug_path_custom_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_debug_path_custom_point_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "point_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_debug_path_custom_point_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_debug_path_custom_line_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "line_width", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_debug_path_custom_line_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "signals": [ - { - "name": "path_changed" - }, - { - "name": "target_reached" - }, - { - "name": "waypoint_reached", - "arguments": [ - { - "name": "details", - "type": "Dictionary" - } - ] - }, - { - "name": "link_reached", - "arguments": [ - { - "name": "details", - "type": "Dictionary" - } - ] - }, - { - "name": "navigation_finished" - }, - { - "name": "velocity_computed", - "arguments": [ - { - "name": "safe_velocity", - "type": "Vector2" - } - ] - } - ], - "properties": [ - { - "type": "Vector2", - "name": "target_position", - "setter": "set_target_position", - "getter": "get_target_position" - }, - { - "type": "float", - "name": "path_desired_distance", - "setter": "set_path_desired_distance", - "getter": "get_path_desired_distance" - }, - { - "type": "float", - "name": "target_desired_distance", - "setter": "set_target_desired_distance", - "getter": "get_target_desired_distance" - }, - { - "type": "float", - "name": "path_max_distance", - "setter": "set_path_max_distance", - "getter": "get_path_max_distance" - }, - { - "type": "int", - "name": "navigation_layers", - "setter": "set_navigation_layers", - "getter": "get_navigation_layers" - }, - { - "type": "int", - "name": "pathfinding_algorithm", - "setter": "set_pathfinding_algorithm", - "getter": "get_pathfinding_algorithm" - }, - { - "type": "int", - "name": "path_postprocessing", - "setter": "set_path_postprocessing", - "getter": "get_path_postprocessing" - }, - { - "type": "int", - "name": "path_metadata_flags", - "setter": "set_path_metadata_flags", - "getter": "get_path_metadata_flags" - }, - { - "type": "bool", - "name": "avoidance_enabled", - "setter": "set_avoidance_enabled", - "getter": "get_avoidance_enabled" - }, - { - "type": "Vector2", - "name": "velocity", - "setter": "set_velocity", - "getter": "get_velocity" - }, - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "neighbor_distance", - "setter": "set_neighbor_distance", - "getter": "get_neighbor_distance" - }, - { - "type": "int", - "name": "max_neighbors", - "setter": "set_max_neighbors", - "getter": "get_max_neighbors" - }, - { - "type": "float", - "name": "time_horizon_agents", - "setter": "set_time_horizon_agents", - "getter": "get_time_horizon_agents" - }, - { - "type": "float", - "name": "time_horizon_obstacles", - "setter": "set_time_horizon_obstacles", - "getter": "get_time_horizon_obstacles" - }, - { - "type": "float", - "name": "max_speed", - "setter": "set_max_speed", - "getter": "get_max_speed" - }, - { - "type": "int", - "name": "avoidance_layers", - "setter": "set_avoidance_layers", - "getter": "get_avoidance_layers" - }, - { - "type": "int", - "name": "avoidance_mask", - "setter": "set_avoidance_mask", - "getter": "get_avoidance_mask" - }, - { - "type": "float", - "name": "avoidance_priority", - "setter": "set_avoidance_priority", - "getter": "get_avoidance_priority" - }, - { - "type": "bool", - "name": "debug_enabled", - "setter": "set_debug_enabled", - "getter": "get_debug_enabled" - }, - { - "type": "bool", - "name": "debug_use_custom", - "setter": "set_debug_use_custom", - "getter": "get_debug_use_custom" - }, - { - "type": "Color", - "name": "debug_path_custom_color", - "setter": "set_debug_path_custom_color", - "getter": "get_debug_path_custom_color" - }, - { - "type": "float", - "name": "debug_path_custom_point_size", - "setter": "set_debug_path_custom_point_size", - "getter": "get_debug_path_custom_point_size" - }, - { - "type": "float", - "name": "debug_path_custom_line_width", - "setter": "set_debug_path_custom_line_width", - "getter": "get_debug_path_custom_line_width" - } - ] - }, - { - "name": "NavigationAgent3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "methods": [ - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_avoidance_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_path_desired_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "desired_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_path_desired_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_target_desired_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "desired_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_target_desired_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_path_height_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "path_height_offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_path_height_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_use_3d_avoidance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_use_3d_avoidance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_keep_y_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_keep_y_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_neighbor_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "neighbor_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_neighbor_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_neighbors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_neighbors", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_neighbors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_time_horizon_agents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time_horizon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_time_horizon_agents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_time_horizon_obstacles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time_horizon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_time_horizon_obstacles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max_speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_path_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max_speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_path_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_navigation_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_navigation_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_pathfinding_algorithm", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 394560454, - "arguments": [ - { - "name": "pathfinding_algorithm", - "type": "enum::NavigationPathQueryParameters3D.PathfindingAlgorithm" - } - ] - }, - { - "name": "get_pathfinding_algorithm", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3398491350, - "return_value": { - "type": "enum::NavigationPathQueryParameters3D.PathfindingAlgorithm" - } - }, - { - "name": "set_path_postprocessing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2267362344, - "arguments": [ - { - "name": "path_postprocessing", - "type": "enum::NavigationPathQueryParameters3D.PathPostProcessing" - } - ] - }, - { - "name": "get_path_postprocessing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3883858360, - "return_value": { - "type": "enum::NavigationPathQueryParameters3D.PathPostProcessing" - } - }, - { - "name": "set_path_metadata_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2713846708, - "arguments": [ - { - "name": "flags", - "type": "bitfield::NavigationPathQueryParameters3D.PathMetadataFlags" - } - ] - }, - { - "name": "get_path_metadata_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1582332802, - "return_value": { - "type": "bitfield::NavigationPathQueryParameters3D.PathMetadataFlags" - } - }, - { - "name": "set_navigation_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "navigation_map", - "type": "RID" - } - ] - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_target_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_target_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_next_path_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3783033775, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_velocity_forced", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3783033775, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "distance_to_target", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_current_navigation_result", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 728825684, - "return_value": { - "type": "NavigationPathQueryResult3D" - } - }, - { - "name": "get_current_navigation_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "get_current_navigation_path_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_target_reached", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_target_reachable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_navigation_finished", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_final_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3783033775, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_avoidance_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_avoidance_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_avoidance_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_avoidance_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_avoidance_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_avoidance_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "mask_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "mask_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_avoidance_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_avoidance_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_debug_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_debug_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_debug_use_custom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_debug_use_custom", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_debug_path_custom_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_debug_path_custom_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_debug_path_custom_point_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "point_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_debug_path_custom_point_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "signals": [ - { - "name": "path_changed" - }, - { - "name": "target_reached" - }, - { - "name": "waypoint_reached", - "arguments": [ - { - "name": "details", - "type": "Dictionary" - } - ] - }, - { - "name": "link_reached", - "arguments": [ - { - "name": "details", - "type": "Dictionary" - } - ] - }, - { - "name": "navigation_finished" - }, - { - "name": "velocity_computed", - "arguments": [ - { - "name": "safe_velocity", - "type": "Vector3" - } - ] - } - ], - "properties": [ - { - "type": "Vector3", - "name": "target_position", - "setter": "set_target_position", - "getter": "get_target_position" - }, - { - "type": "float", - "name": "path_desired_distance", - "setter": "set_path_desired_distance", - "getter": "get_path_desired_distance" - }, - { - "type": "float", - "name": "target_desired_distance", - "setter": "set_target_desired_distance", - "getter": "get_target_desired_distance" - }, - { - "type": "float", - "name": "path_height_offset", - "setter": "set_path_height_offset", - "getter": "get_path_height_offset" - }, - { - "type": "float", - "name": "path_max_distance", - "setter": "set_path_max_distance", - "getter": "get_path_max_distance" - }, - { - "type": "int", - "name": "navigation_layers", - "setter": "set_navigation_layers", - "getter": "get_navigation_layers" - }, - { - "type": "int", - "name": "pathfinding_algorithm", - "setter": "set_pathfinding_algorithm", - "getter": "get_pathfinding_algorithm" - }, - { - "type": "int", - "name": "path_postprocessing", - "setter": "set_path_postprocessing", - "getter": "get_path_postprocessing" - }, - { - "type": "int", - "name": "path_metadata_flags", - "setter": "set_path_metadata_flags", - "getter": "get_path_metadata_flags" - }, - { - "type": "bool", - "name": "avoidance_enabled", - "setter": "set_avoidance_enabled", - "getter": "get_avoidance_enabled" - }, - { - "type": "Vector3", - "name": "velocity", - "setter": "set_velocity", - "getter": "get_velocity" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "neighbor_distance", - "setter": "set_neighbor_distance", - "getter": "get_neighbor_distance" - }, - { - "type": "int", - "name": "max_neighbors", - "setter": "set_max_neighbors", - "getter": "get_max_neighbors" - }, - { - "type": "float", - "name": "time_horizon_agents", - "setter": "set_time_horizon_agents", - "getter": "get_time_horizon_agents" - }, - { - "type": "float", - "name": "time_horizon_obstacles", - "setter": "set_time_horizon_obstacles", - "getter": "get_time_horizon_obstacles" - }, - { - "type": "float", - "name": "max_speed", - "setter": "set_max_speed", - "getter": "get_max_speed" - }, - { - "type": "bool", - "name": "use_3d_avoidance", - "setter": "set_use_3d_avoidance", - "getter": "get_use_3d_avoidance" - }, - { - "type": "bool", - "name": "keep_y_velocity", - "setter": "set_keep_y_velocity", - "getter": "get_keep_y_velocity" - }, - { - "type": "int", - "name": "avoidance_layers", - "setter": "set_avoidance_layers", - "getter": "get_avoidance_layers" - }, - { - "type": "int", - "name": "avoidance_mask", - "setter": "set_avoidance_mask", - "getter": "get_avoidance_mask" - }, - { - "type": "float", - "name": "avoidance_priority", - "setter": "set_avoidance_priority", - "getter": "get_avoidance_priority" - }, - { - "type": "bool", - "name": "debug_enabled", - "setter": "set_debug_enabled", - "getter": "get_debug_enabled" - }, - { - "type": "bool", - "name": "debug_use_custom", - "setter": "set_debug_use_custom", - "getter": "get_debug_use_custom" - }, - { - "type": "Color", - "name": "debug_path_custom_color", - "setter": "set_debug_path_custom_color", - "getter": "get_debug_path_custom_color" - }, - { - "type": "float", - "name": "debug_path_custom_point_size", - "setter": "set_debug_path_custom_point_size", - "getter": "get_debug_path_custom_point_size" - } - ] - }, - { - "name": "NavigationLink2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_bidirectional", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "bidirectional", - "type": "bool" - } - ] - }, - { - "name": "is_bidirectional", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_navigation_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_navigation_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_start_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_start_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_end_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_end_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_global_start_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_global_start_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_global_end_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_global_end_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_enter_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "enter_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_enter_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_travel_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "travel_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_travel_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "bool", - "name": "bidirectional", - "setter": "set_bidirectional", - "getter": "is_bidirectional" - }, - { - "type": "int", - "name": "navigation_layers", - "setter": "set_navigation_layers", - "getter": "get_navigation_layers" - }, - { - "type": "Vector2", - "name": "start_position", - "setter": "set_start_position", - "getter": "get_start_position" - }, - { - "type": "Vector2", - "name": "end_position", - "setter": "set_end_position", - "getter": "get_end_position" - }, - { - "type": "float", - "name": "enter_cost", - "setter": "set_enter_cost", - "getter": "get_enter_cost" - }, - { - "type": "float", - "name": "travel_cost", - "setter": "set_travel_cost", - "getter": "get_travel_cost" - } - ] - }, - { - "name": "NavigationLink3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_bidirectional", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "bidirectional", - "type": "bool" - } - ] - }, - { - "name": "is_bidirectional", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_navigation_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_navigation_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_start_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_start_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_end_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_end_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_global_start_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_global_start_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_global_end_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_global_end_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_enter_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "enter_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_enter_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_travel_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "travel_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_travel_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "bool", - "name": "bidirectional", - "setter": "set_bidirectional", - "getter": "is_bidirectional" - }, - { - "type": "int", - "name": "navigation_layers", - "setter": "set_navigation_layers", - "getter": "get_navigation_layers" - }, - { - "type": "Vector3", - "name": "start_position", - "setter": "set_start_position", - "getter": "get_start_position" - }, - { - "type": "Vector3", - "name": "end_position", - "setter": "set_end_position", - "getter": "get_end_position" - }, - { - "type": "float", - "name": "enter_cost", - "setter": "set_enter_cost", - "getter": "get_enter_cost" - }, - { - "type": "float", - "name": "travel_cost", - "setter": "set_travel_cost", - "getter": "get_travel_cost" - } - ] - }, - { - "name": "NavigationMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "SamplePartitionType", - "is_bitfield": false, - "values": [ - { - "name": "SAMPLE_PARTITION_WATERSHED", - "value": 0 - }, - { - "name": "SAMPLE_PARTITION_MONOTONE", - "value": 1 - }, - { - "name": "SAMPLE_PARTITION_LAYERS", - "value": 2 - }, - { - "name": "SAMPLE_PARTITION_MAX", - "value": 3 - } - ] - }, - { - "name": "ParsedGeometryType", - "is_bitfield": false, - "values": [ - { - "name": "PARSED_GEOMETRY_MESH_INSTANCES", - "value": 0 - }, - { - "name": "PARSED_GEOMETRY_STATIC_COLLIDERS", - "value": 1 - }, - { - "name": "PARSED_GEOMETRY_BOTH", - "value": 2 - }, - { - "name": "PARSED_GEOMETRY_MAX", - "value": 3 - } - ] - }, - { - "name": "SourceGeometryMode", - "is_bitfield": false, - "values": [ - { - "name": "SOURCE_GEOMETRY_ROOT_NODE_CHILDREN", - "value": 0 - }, - { - "name": "SOURCE_GEOMETRY_GROUPS_WITH_CHILDREN", - "value": 1 - }, - { - "name": "SOURCE_GEOMETRY_GROUPS_EXPLICIT", - "value": 2 - }, - { - "name": "SOURCE_GEOMETRY_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_sample_partition_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2472437533, - "arguments": [ - { - "name": "sample_partition_type", - "type": "enum::NavigationMesh.SamplePartitionType" - } - ] - }, - { - "name": "get_sample_partition_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 833513918, - "return_value": { - "type": "enum::NavigationMesh.SamplePartitionType" - } - }, - { - "name": "set_parsed_geometry_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3064713163, - "arguments": [ - { - "name": "geometry_type", - "type": "enum::NavigationMesh.ParsedGeometryType" - } - ] - }, - { - "name": "get_parsed_geometry_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3928011953, - "return_value": { - "type": "enum::NavigationMesh.ParsedGeometryType" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_source_geometry_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2700825194, - "arguments": [ - { - "name": "mask", - "type": "enum::NavigationMesh.SourceGeometryMode" - } - ] - }, - { - "name": "get_source_geometry_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2770484141, - "return_value": { - "type": "enum::NavigationMesh.SourceGeometryMode" - } - }, - { - "name": "set_source_group_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "mask", - "type": "StringName" - } - ] - }, - { - "name": "get_source_group_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_cell_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "cell_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cell_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_cell_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "cell_height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cell_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_agent_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "agent_height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_agent_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_agent_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "agent_radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_agent_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_agent_max_climb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "agent_max_climb", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_agent_max_climb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_agent_max_slope", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "agent_max_slope", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_agent_max_slope", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_region_min_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "region_min_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_region_min_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_region_merge_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "region_merge_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_region_merge_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_edge_max_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "edge_max_length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_edge_max_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_edge_max_error", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "edge_max_error", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_edge_max_error", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_vertices_per_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "vertices_per_polygon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_vertices_per_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_detail_sample_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "detail_sample_dist", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_detail_sample_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_detail_sample_max_error", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "detail_sample_max_error", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_detail_sample_max_error", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_filter_low_hanging_obstacles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "filter_low_hanging_obstacles", - "type": "bool" - } - ] - }, - { - "name": "get_filter_low_hanging_obstacles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_filter_ledge_spans", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "filter_ledge_spans", - "type": "bool" - } - ] - }, - { - "name": "get_filter_ledge_spans", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_filter_walkable_low_height_spans", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "filter_walkable_low_height_spans", - "type": "bool" - } - ] - }, - { - "name": "get_filter_walkable_low_height_spans", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_filter_baking_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 259215842, - "arguments": [ - { - "name": "baking_aabb", - "type": "AABB" - } - ] - }, - { - "name": "get_filter_baking_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - }, - { - "name": "set_filter_baking_aabb_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "baking_aabb_offset", - "type": "Vector3" - } - ] - }, - { - "name": "get_filter_baking_aabb_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_vertices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 334873810, - "arguments": [ - { - "name": "vertices", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "get_vertices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "add_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "polygon", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_polygon_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3668444399, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_polygons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "create_from_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 194775623, - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "PackedVector3Array", - "name": "vertices", - "setter": "set_vertices", - "getter": "get_vertices" - }, - { - "type": "Array", - "name": "polygons", - "setter": "_set_polygons", - "getter": "_get_polygons" - }, - { - "type": "int", - "name": "sample_partition_type", - "setter": "set_sample_partition_type", - "getter": "get_sample_partition_type" - }, - { - "type": "int", - "name": "geometry_parsed_geometry_type", - "setter": "set_parsed_geometry_type", - "getter": "get_parsed_geometry_type" - }, - { - "type": "int", - "name": "geometry_collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "int", - "name": "geometry_source_geometry_mode", - "setter": "set_source_geometry_mode", - "getter": "get_source_geometry_mode" - }, - { - "type": "String", - "name": "geometry_source_group_name", - "setter": "set_source_group_name", - "getter": "get_source_group_name" - }, - { - "type": "float", - "name": "cell_size", - "setter": "set_cell_size", - "getter": "get_cell_size" - }, - { - "type": "float", - "name": "cell_height", - "setter": "set_cell_height", - "getter": "get_cell_height" - }, - { - "type": "float", - "name": "agent_height", - "setter": "set_agent_height", - "getter": "get_agent_height" - }, - { - "type": "float", - "name": "agent_radius", - "setter": "set_agent_radius", - "getter": "get_agent_radius" - }, - { - "type": "float", - "name": "agent_max_climb", - "setter": "set_agent_max_climb", - "getter": "get_agent_max_climb" - }, - { - "type": "float", - "name": "agent_max_slope", - "setter": "set_agent_max_slope", - "getter": "get_agent_max_slope" - }, - { - "type": "float", - "name": "region_min_size", - "setter": "set_region_min_size", - "getter": "get_region_min_size" - }, - { - "type": "float", - "name": "region_merge_size", - "setter": "set_region_merge_size", - "getter": "get_region_merge_size" - }, - { - "type": "float", - "name": "edge_max_length", - "setter": "set_edge_max_length", - "getter": "get_edge_max_length" - }, - { - "type": "float", - "name": "edge_max_error", - "setter": "set_edge_max_error", - "getter": "get_edge_max_error" - }, - { - "type": "float", - "name": "vertices_per_polygon", - "setter": "set_vertices_per_polygon", - "getter": "get_vertices_per_polygon" - }, - { - "type": "float", - "name": "detail_sample_distance", - "setter": "set_detail_sample_distance", - "getter": "get_detail_sample_distance" - }, - { - "type": "float", - "name": "detail_sample_max_error", - "setter": "set_detail_sample_max_error", - "getter": "get_detail_sample_max_error" - }, - { - "type": "bool", - "name": "filter_low_hanging_obstacles", - "setter": "set_filter_low_hanging_obstacles", - "getter": "get_filter_low_hanging_obstacles" - }, - { - "type": "bool", - "name": "filter_ledge_spans", - "setter": "set_filter_ledge_spans", - "getter": "get_filter_ledge_spans" - }, - { - "type": "bool", - "name": "filter_walkable_low_height_spans", - "setter": "set_filter_walkable_low_height_spans", - "getter": "get_filter_walkable_low_height_spans" - }, - { - "type": "AABB", - "name": "filter_baking_aabb", - "setter": "set_filter_baking_aabb", - "getter": "get_filter_baking_aabb" - }, - { - "type": "Vector3", - "name": "filter_baking_aabb_offset", - "setter": "set_filter_baking_aabb_offset", - "getter": "get_filter_baking_aabb_offset" - } - ] - }, - { - "name": "NavigationMeshGenerator", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "bake", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1401173477, - "arguments": [ - { - "name": "navigation_mesh", - "type": "NavigationMesh" - }, - { - "name": "root_node", - "type": "Node" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2923361153, - "arguments": [ - { - "name": "navigation_mesh", - "type": "NavigationMesh" - } - ] - }, - { - "name": "parse_source_geometry_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 685862123, - "hash_compatibility": [ - 3703028813 - ], - "arguments": [ - { - "name": "navigation_mesh", - "type": "NavigationMesh" - }, - { - "name": "source_geometry_data", - "type": "NavigationMeshSourceGeometryData3D" - }, - { - "name": "root_node", - "type": "Node" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - } - ] - }, - { - "name": "bake_from_source_geometry_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2469318639, - "hash_compatibility": [ - 3669016597 - ], - "arguments": [ - { - "name": "navigation_mesh", - "type": "NavigationMesh" - }, - { - "name": "source_geometry_data", - "type": "NavigationMeshSourceGeometryData3D" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - } - ] - } - ] - }, - { - "name": "NavigationMeshSourceGeometryData2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "has_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_traversable_outlines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "traversable_outlines", - "type": "typedarray::PackedVector2Array" - } - ] - }, - { - "name": "get_traversable_outlines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::PackedVector2Array" - } - }, - { - "name": "set_obstruction_outlines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "obstruction_outlines", - "type": "typedarray::PackedVector2Array" - } - ] - }, - { - "name": "get_obstruction_outlines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::PackedVector2Array" - } - }, - { - "name": "add_traversable_outline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "shape_outline", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "add_obstruction_outline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "shape_outline", - "type": "PackedVector2Array" - } - ] - } - ], - "properties": [ - { - "type": "Array", - "name": "traversable_outlines", - "setter": "set_traversable_outlines", - "getter": "get_traversable_outlines" - }, - { - "type": "Array", - "name": "obstruction_outlines", - "setter": "set_obstruction_outlines", - "getter": "get_obstruction_outlines" - } - ] - }, - { - "name": "NavigationMeshSourceGeometryData3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_vertices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2899603908, - "arguments": [ - { - "name": "vertices", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "get_vertices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 675695659, - "return_value": { - "type": "PackedFloat32Array" - } - }, - { - "name": "set_indices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "indices", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_indices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "has_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 975462459, - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - }, - { - "name": "xform", - "type": "Transform3D" - } - ] - }, - { - "name": "add_mesh_array", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4235710913, - "arguments": [ - { - "name": "mesh_array", - "type": "Array" - }, - { - "name": "xform", - "type": "Transform3D" - } - ] - }, - { - "name": "add_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1440358797, - "arguments": [ - { - "name": "faces", - "type": "PackedVector3Array" - }, - { - "name": "xform", - "type": "Transform3D" - } - ] - } - ], - "properties": [ - { - "type": "PackedVector3Array", - "name": "vertices", - "setter": "set_vertices", - "getter": "get_vertices" - }, - { - "type": "PackedInt32Array", - "name": "indices", - "setter": "set_indices", - "getter": "get_indices" - } - ] - }, - { - "name": "NavigationObstacle2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_avoidance_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_navigation_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "navigation_map", - "type": "RID" - } - ] - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "get_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_vertices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "vertices", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_vertices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_avoidance_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_avoidance_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_avoidance_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "avoidance_enabled", - "setter": "set_avoidance_enabled", - "getter": "get_avoidance_enabled" - }, - { - "type": "Vector2", - "name": "velocity", - "setter": "set_velocity", - "getter": "get_velocity" - }, - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "PackedVector2Array", - "name": "vertices", - "setter": "set_vertices", - "getter": "get_vertices" - }, - { - "type": "int", - "name": "avoidance_layers", - "setter": "set_avoidance_layers", - "getter": "get_avoidance_layers" - } - ] - }, - { - "name": "NavigationObstacle3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_avoidance_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_navigation_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "navigation_map", - "type": "RID" - } - ] - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_vertices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 334873810, - "arguments": [ - { - "name": "vertices", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "get_vertices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "set_avoidance_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_avoidance_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_avoidance_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_use_3d_avoidance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_use_3d_avoidance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "avoidance_enabled", - "setter": "set_avoidance_enabled", - "getter": "get_avoidance_enabled" - }, - { - "type": "Vector3", - "name": "velocity", - "setter": "set_velocity", - "getter": "get_velocity" - }, - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "PackedVector3Array", - "name": "vertices", - "setter": "set_vertices", - "getter": "get_vertices" - }, - { - "type": "int", - "name": "avoidance_layers", - "setter": "set_avoidance_layers", - "getter": "get_avoidance_layers" - }, - { - "type": "bool", - "name": "use_3d_avoidance", - "setter": "set_use_3d_avoidance", - "getter": "get_use_3d_avoidance" - } - ] - }, - { - "name": "NavigationPathQueryParameters2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "PathfindingAlgorithm", - "is_bitfield": false, - "values": [ - { - "name": "PATHFINDING_ALGORITHM_ASTAR", - "value": 0 - } - ] - }, - { - "name": "PathPostProcessing", - "is_bitfield": false, - "values": [ - { - "name": "PATH_POSTPROCESSING_CORRIDORFUNNEL", - "value": 0 - }, - { - "name": "PATH_POSTPROCESSING_EDGECENTERED", - "value": 1 - } - ] - }, - { - "name": "PathMetadataFlags", - "is_bitfield": true, - "values": [ - { - "name": "PATH_METADATA_INCLUDE_NONE", - "value": 0 - }, - { - "name": "PATH_METADATA_INCLUDE_TYPES", - "value": 1 - }, - { - "name": "PATH_METADATA_INCLUDE_RIDS", - "value": 2 - }, - { - "name": "PATH_METADATA_INCLUDE_OWNERS", - "value": 4 - }, - { - "name": "PATH_METADATA_INCLUDE_ALL", - "value": 7 - } - ] - } - ], - "methods": [ - { - "name": "set_pathfinding_algorithm", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2783519915, - "arguments": [ - { - "name": "pathfinding_algorithm", - "type": "enum::NavigationPathQueryParameters2D.PathfindingAlgorithm" - } - ] - }, - { - "name": "get_pathfinding_algorithm", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3000421146, - "return_value": { - "type": "enum::NavigationPathQueryParameters2D.PathfindingAlgorithm" - } - }, - { - "name": "set_path_postprocessing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2864409082, - "arguments": [ - { - "name": "path_postprocessing", - "type": "enum::NavigationPathQueryParameters2D.PathPostProcessing" - } - ] - }, - { - "name": "get_path_postprocessing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3798118993, - "return_value": { - "type": "enum::NavigationPathQueryParameters2D.PathPostProcessing" - } - }, - { - "name": "set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_start_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "start_position", - "type": "Vector2" - } - ] - }, - { - "name": "get_start_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_target_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "target_position", - "type": "Vector2" - } - ] - }, - { - "name": "get_target_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_metadata_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 24274129, - "arguments": [ - { - "name": "flags", - "type": "bitfield::NavigationPathQueryParameters2D.PathMetadataFlags" - } - ] - }, - { - "name": "get_metadata_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 488152976, - "return_value": { - "type": "bitfield::NavigationPathQueryParameters2D.PathMetadataFlags" - } - } - ], - "properties": [ - { - "type": "RID", - "name": "map", - "setter": "set_map", - "getter": "get_map" - }, - { - "type": "Vector2", - "name": "start_position", - "setter": "set_start_position", - "getter": "get_start_position" - }, - { - "type": "Vector2", - "name": "target_position", - "setter": "set_target_position", - "getter": "get_target_position" - }, - { - "type": "int", - "name": "navigation_layers", - "setter": "set_navigation_layers", - "getter": "get_navigation_layers" - }, - { - "type": "int", - "name": "pathfinding_algorithm", - "setter": "set_pathfinding_algorithm", - "getter": "get_pathfinding_algorithm" - }, - { - "type": "int", - "name": "path_postprocessing", - "setter": "set_path_postprocessing", - "getter": "get_path_postprocessing" - }, - { - "type": "int", - "name": "metadata_flags", - "setter": "set_metadata_flags", - "getter": "get_metadata_flags" - } - ] - }, - { - "name": "NavigationPathQueryParameters3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "PathfindingAlgorithm", - "is_bitfield": false, - "values": [ - { - "name": "PATHFINDING_ALGORITHM_ASTAR", - "value": 0 - } - ] - }, - { - "name": "PathPostProcessing", - "is_bitfield": false, - "values": [ - { - "name": "PATH_POSTPROCESSING_CORRIDORFUNNEL", - "value": 0 - }, - { - "name": "PATH_POSTPROCESSING_EDGECENTERED", - "value": 1 - } - ] - }, - { - "name": "PathMetadataFlags", - "is_bitfield": true, - "values": [ - { - "name": "PATH_METADATA_INCLUDE_NONE", - "value": 0 - }, - { - "name": "PATH_METADATA_INCLUDE_TYPES", - "value": 1 - }, - { - "name": "PATH_METADATA_INCLUDE_RIDS", - "value": 2 - }, - { - "name": "PATH_METADATA_INCLUDE_OWNERS", - "value": 4 - }, - { - "name": "PATH_METADATA_INCLUDE_ALL", - "value": 7 - } - ] - } - ], - "methods": [ - { - "name": "set_pathfinding_algorithm", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 394560454, - "arguments": [ - { - "name": "pathfinding_algorithm", - "type": "enum::NavigationPathQueryParameters3D.PathfindingAlgorithm" - } - ] - }, - { - "name": "get_pathfinding_algorithm", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3398491350, - "return_value": { - "type": "enum::NavigationPathQueryParameters3D.PathfindingAlgorithm" - } - }, - { - "name": "set_path_postprocessing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2267362344, - "arguments": [ - { - "name": "path_postprocessing", - "type": "enum::NavigationPathQueryParameters3D.PathPostProcessing" - } - ] - }, - { - "name": "get_path_postprocessing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3883858360, - "return_value": { - "type": "enum::NavigationPathQueryParameters3D.PathPostProcessing" - } - }, - { - "name": "set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_start_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "start_position", - "type": "Vector3" - } - ] - }, - { - "name": "get_start_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_target_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "target_position", - "type": "Vector3" - } - ] - }, - { - "name": "get_target_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_metadata_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2713846708, - "arguments": [ - { - "name": "flags", - "type": "bitfield::NavigationPathQueryParameters3D.PathMetadataFlags" - } - ] - }, - { - "name": "get_metadata_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1582332802, - "return_value": { - "type": "bitfield::NavigationPathQueryParameters3D.PathMetadataFlags" - } - } - ], - "properties": [ - { - "type": "RID", - "name": "map", - "setter": "set_map", - "getter": "get_map" - }, - { - "type": "Vector3", - "name": "start_position", - "setter": "set_start_position", - "getter": "get_start_position" - }, - { - "type": "Vector3", - "name": "target_position", - "setter": "set_target_position", - "getter": "get_target_position" - }, - { - "type": "int", - "name": "navigation_layers", - "setter": "set_navigation_layers", - "getter": "get_navigation_layers" - }, - { - "type": "int", - "name": "pathfinding_algorithm", - "setter": "set_pathfinding_algorithm", - "getter": "get_pathfinding_algorithm" - }, - { - "type": "int", - "name": "path_postprocessing", - "setter": "set_path_postprocessing", - "getter": "get_path_postprocessing" - }, - { - "type": "int", - "name": "metadata_flags", - "setter": "set_metadata_flags", - "getter": "get_metadata_flags" - } - ] - }, - { - "name": "NavigationPathQueryResult2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "PathSegmentType", - "is_bitfield": false, - "values": [ - { - "name": "PATH_SEGMENT_TYPE_REGION", - "value": 0 - }, - { - "name": "PATH_SEGMENT_TYPE_LINK", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "path", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_path_types", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "path_types", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_path_types", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_path_rids", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "path_rids", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_path_rids", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_path_owner_ids", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3709968205, - "arguments": [ - { - "name": "path_owner_ids", - "type": "PackedInt64Array" - } - ] - }, - { - "name": "get_path_owner_ids", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 235988956, - "return_value": { - "type": "PackedInt64Array" - } - }, - { - "name": "reset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "PackedVector2Array", - "name": "path", - "setter": "set_path", - "getter": "get_path" - }, - { - "type": "PackedInt32Array", - "name": "path_types", - "setter": "set_path_types", - "getter": "get_path_types" - }, - { - "type": "typedarray::RID", - "name": "path_rids", - "setter": "set_path_rids", - "getter": "get_path_rids" - }, - { - "type": "PackedInt64Array", - "name": "path_owner_ids", - "setter": "set_path_owner_ids", - "getter": "get_path_owner_ids" - } - ] - }, - { - "name": "NavigationPathQueryResult3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "PathSegmentType", - "is_bitfield": false, - "values": [ - { - "name": "PATH_SEGMENT_TYPE_REGION", - "value": 0 - }, - { - "name": "PATH_SEGMENT_TYPE_LINK", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 334873810, - "arguments": [ - { - "name": "path", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "get_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "set_path_types", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "path_types", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_path_types", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_path_rids", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "path_rids", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_path_rids", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_path_owner_ids", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3709968205, - "arguments": [ - { - "name": "path_owner_ids", - "type": "PackedInt64Array" - } - ] - }, - { - "name": "get_path_owner_ids", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 235988956, - "return_value": { - "type": "PackedInt64Array" - } - }, - { - "name": "reset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "PackedVector3Array", - "name": "path", - "setter": "set_path", - "getter": "get_path" - }, - { - "type": "PackedInt32Array", - "name": "path_types", - "setter": "set_path_types", - "getter": "get_path_types" - }, - { - "type": "typedarray::RID", - "name": "path_rids", - "setter": "set_path_rids", - "getter": "get_path_rids" - }, - { - "type": "PackedInt64Array", - "name": "path_owner_ids", - "setter": "set_path_owner_ids", - "getter": "get_path_owner_ids" - } - ] - }, - { - "name": "NavigationPolygon", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "ParsedGeometryType", - "is_bitfield": false, - "values": [ - { - "name": "PARSED_GEOMETRY_MESH_INSTANCES", - "value": 0 - }, - { - "name": "PARSED_GEOMETRY_STATIC_COLLIDERS", - "value": 1 - }, - { - "name": "PARSED_GEOMETRY_BOTH", - "value": 2 - }, - { - "name": "PARSED_GEOMETRY_MAX", - "value": 3 - } - ] - }, - { - "name": "SourceGeometryMode", - "is_bitfield": false, - "values": [ - { - "name": "SOURCE_GEOMETRY_ROOT_NODE_CHILDREN", - "value": 0 - }, - { - "name": "SOURCE_GEOMETRY_GROUPS_WITH_CHILDREN", - "value": 1 - }, - { - "name": "SOURCE_GEOMETRY_GROUPS_EXPLICIT", - "value": 2 - }, - { - "name": "SOURCE_GEOMETRY_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_vertices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "vertices", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_vertices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "add_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "polygon", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_polygon_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3668444399, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_polygons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_navigation_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 330232164, - "return_value": { - "type": "NavigationMesh" - } - }, - { - "name": "add_outline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "outline", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "add_outline_at_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1569738947, - "arguments": [ - { - "name": "outline", - "type": "PackedVector2Array" - }, - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_outline_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_outline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1201971903, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "outline", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3946907486, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_outline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_outlines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "make_polygons_from_outlines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_cell_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "cell_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cell_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_parsed_geometry_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2507971764, - "arguments": [ - { - "name": "geometry_type", - "type": "enum::NavigationPolygon.ParsedGeometryType" - } - ] - }, - { - "name": "get_parsed_geometry_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1073219508, - "return_value": { - "type": "enum::NavigationPolygon.ParsedGeometryType" - } - }, - { - "name": "set_parsed_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_parsed_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_parsed_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_parsed_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_source_geometry_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4002316705, - "arguments": [ - { - "name": "geometry_mode", - "type": "enum::NavigationPolygon.SourceGeometryMode" - } - ] - }, - { - "name": "get_source_geometry_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 459686762, - "return_value": { - "type": "enum::NavigationPolygon.SourceGeometryMode" - } - }, - { - "name": "set_source_geometry_group_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "group_name", - "type": "StringName" - } - ] - }, - { - "name": "get_source_geometry_group_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_agent_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "agent_radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_agent_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "PackedVector2Array", - "name": "vertices", - "setter": "set_vertices", - "getter": "get_vertices" - }, - { - "type": "Array", - "name": "polygons", - "setter": "_set_polygons", - "getter": "_get_polygons" - }, - { - "type": "Array", - "name": "outlines", - "setter": "_set_outlines", - "getter": "_get_outlines" - }, - { - "type": "int", - "name": "parsed_geometry_type", - "setter": "set_parsed_geometry_type", - "getter": "get_parsed_geometry_type" - }, - { - "type": "int", - "name": "parsed_collision_mask", - "setter": "set_parsed_collision_mask", - "getter": "get_parsed_collision_mask" - }, - { - "type": "int", - "name": "source_geometry_mode", - "setter": "set_source_geometry_mode", - "getter": "get_source_geometry_mode" - }, - { - "type": "String", - "name": "source_geometry_group_name", - "setter": "set_source_geometry_group_name", - "getter": "get_source_geometry_group_name" - }, - { - "type": "float", - "name": "cell_size", - "setter": "set_cell_size", - "getter": "get_cell_size" - }, - { - "type": "float", - "name": "agent_radius", - "setter": "set_agent_radius", - "getter": "get_agent_radius" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1515040758, - "arguments": [ - { - "name": "navigation_polygon", - "type": "NavigationPolygon" - } - ] - }, - { - "name": "get_navigation_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1046532237, - "return_value": { - "type": "NavigationPolygon" - } - }, - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_navigation_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "navigation_map", - "type": "RID" - } - ] - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_use_edge_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_use_edge_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_navigation_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_navigation_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_constrain_avoidance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_constrain_avoidance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_avoidance_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_avoidance_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_avoidance_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_avoidance_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_region_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_enter_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "enter_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_enter_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_travel_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "travel_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_travel_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "bake_navigation_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3216645846, - "arguments": [ - { - "name": "on_thread", - "type": "bool", - "default_value": "true" - } - ] - } - ], - "signals": [ - { - "name": "navigation_polygon_changed" - }, - { - "name": "bake_finished" - } - ], - "properties": [ - { - "type": "NavigationPolygon", - "name": "navigation_polygon", - "setter": "set_navigation_polygon", - "getter": "get_navigation_polygon" - }, - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "bool", - "name": "use_edge_connections", - "setter": "set_use_edge_connections", - "getter": "get_use_edge_connections" - }, - { - "type": "int", - "name": "navigation_layers", - "setter": "set_navigation_layers", - "getter": "get_navigation_layers" - }, - { - "type": "float", - "name": "enter_cost", - "setter": "set_enter_cost", - "getter": "get_enter_cost" - }, - { - "type": "float", - "name": "travel_cost", - "setter": "set_travel_cost", - "getter": "get_travel_cost" - }, - { - "type": "bool", - "name": "constrain_avoidance", - "setter": "set_constrain_avoidance", - "getter": "get_constrain_avoidance" - }, - { - "type": "int", - "name": "avoidance_layers", - "setter": "set_avoidance_layers", - "getter": "get_avoidance_layers" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2923361153, - "arguments": [ - { - "name": "navigation_mesh", - "type": "NavigationMesh" - } - ] - }, - { - "name": "get_navigation_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1468720886, - "return_value": { - "type": "NavigationMesh" - } - }, - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_navigation_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "navigation_map", - "type": "RID" - } - ] - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_use_edge_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_use_edge_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_navigation_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_navigation_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_region_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_enter_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "enter_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_enter_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_travel_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "travel_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_travel_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "bake_navigation_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3216645846, - "arguments": [ - { - "name": "on_thread", - "type": "bool", - "default_value": "true" - } - ] - } - ], - "signals": [ - { - "name": "navigation_mesh_changed" - }, - { - "name": "bake_finished" - } - ], - "properties": [ - { - "type": "NavigationMesh", - "name": "navigation_mesh", - "setter": "set_navigation_mesh", - "getter": "get_navigation_mesh" - }, - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "bool", - "name": "use_edge_connections", - "setter": "set_use_edge_connections", - "getter": "get_use_edge_connections" - }, - { - "type": "int", - "name": "navigation_layers", - "setter": "set_navigation_layers", - "getter": "get_navigation_layers" - }, - { - "type": "float", - "name": "enter_cost", - "setter": "set_enter_cost", - "getter": "get_enter_cost" - }, - { - "type": "float", - "name": "travel_cost", - "setter": "set_travel_cost", - "getter": "get_travel_cost" - } - ] - }, - { - "name": "NavigationServer2D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "get_maps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "map_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "map_set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "map_is_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_cell_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "cell_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "map_get_cell_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_use_edge_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "map_get_use_edge_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_edge_connection_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "map_get_edge_connection_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_link_connection_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "map_get_link_connection_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_get_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3146466012, - "hash_compatibility": [ - 56240621 - ], - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "origin", - "type": "Vector2" - }, - { - "name": "destination", - "type": "Vector2" - }, - { - "name": "optimize", - "type": "bool" - }, - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32", - "default_value": "1" - } - ] - }, - { - "name": "map_get_closest_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1358334418, - "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_static": false, - "is_virtual": false, - "hash": 1353467510, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "to_point", - "type": "Vector2" - } - ] - }, - { - "name": "map_get_links", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_get_regions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_get_agents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_get_obstacles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_force_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "query_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3394638789, - "arguments": [ - { - "name": "parameters", - "type": "NavigationPathQueryParameters2D" - }, - { - "name": "result", - "type": "NavigationPathQueryResult2D" - } - ] - }, - { - "name": "region_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "region_set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "region_get_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_use_edge_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "region_get_use_edge_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_enter_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "enter_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "region_get_enter_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_travel_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "travel_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "region_get_travel_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_owner_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "owner_id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "region_get_owner_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_owns_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 219849798, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "region_set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "region_get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "region_get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1246044741, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "region_set_navigation_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3633623451, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "navigation_polygon", - "type": "NavigationPolygon" - } - ] - }, - { - "name": "region_get_connections_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_get_connection_pathway_start", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2546185844, - "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_static": false, - "is_virtual": false, - "hash": 2546185844, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "connection", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "link_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "link_set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "link_get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "link_get_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_bidirectional", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "bidirectional", - "type": "bool" - } - ] - }, - { - "name": "link_is_bidirectional", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "link_get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_start_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "link_get_start_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2440833711, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_end_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "link_get_end_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2440833711, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_enter_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "enter_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "link_get_enter_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_travel_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "travel_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "link_get_travel_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_owner_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "owner_id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "link_get_owner_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "agent_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "agent_set_avoidance_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "agent_get_avoidance_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "agent", - "type": "RID" - } - ] - }, - { - "name": "agent_set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "agent_get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "agent", - "type": "RID" - } - ] - }, - { - "name": "agent_set_paused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "paused", - "type": "bool" - } - ] - }, - { - "name": "agent_get_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "agent", - "type": "RID" - } - ] - }, - { - "name": "agent_set_neighbor_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_max_neighbors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "agent_set_time_horizon_agents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "time_horizon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_time_horizon_obstacles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "time_horizon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_max_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "max_speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_velocity_forced", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "agent_set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "agent_set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "agent_is_map_changed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "agent", - "type": "RID" - } - ] - }, - { - "name": "agent_set_avoidance_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3379118538, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "agent_set_avoidance_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "agent_set_avoidance_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "agent_set_avoidance_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "obstacle_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "obstacle_set_avoidance_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "obstacle_get_avoidance_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - } - ] - }, - { - "name": "obstacle_set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "obstacle_get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - } - ] - }, - { - "name": "obstacle_set_paused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "paused", - "type": "bool" - } - ] - }, - { - "name": "obstacle_get_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - } - ] - }, - { - "name": "obstacle_set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "obstacle_set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "obstacle_set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "obstacle_set_vertices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 29476483, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "vertices", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "obstacle_set_avoidance_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "parse_source_geometry_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1176164995, - "arguments": [ - { - "name": "navigation_polygon", - "type": "NavigationPolygon" - }, - { - "name": "source_geometry_data", - "type": "NavigationMeshSourceGeometryData2D" - }, - { - "name": "root_node", - "type": "Node" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - } - ] - }, - { - "name": "bake_from_source_geometry_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2909414286, - "arguments": [ - { - "name": "navigation_polygon", - "type": "NavigationPolygon" - }, - { - "name": "source_geometry_data", - "type": "NavigationMeshSourceGeometryData2D" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - } - ] - }, - { - "name": "bake_from_source_geometry_data_async", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2909414286, - "arguments": [ - { - "name": "navigation_polygon", - "type": "NavigationPolygon" - }, - { - "name": "source_geometry_data", - "type": "NavigationMeshSourceGeometryData2D" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - } - ] - }, - { - "name": "free_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "set_debug_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_debug_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "map_changed", - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "navigation_debug_changed" - } - ] - }, - { - "name": "NavigationServer3D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "ProcessInfo", - "is_bitfield": false, - "values": [ - { - "name": "INFO_ACTIVE_MAPS", - "value": 0 - }, - { - "name": "INFO_REGION_COUNT", - "value": 1 - }, - { - "name": "INFO_AGENT_COUNT", - "value": 2 - }, - { - "name": "INFO_LINK_COUNT", - "value": 3 - }, - { - "name": "INFO_POLYGON_COUNT", - "value": 4 - }, - { - "name": "INFO_EDGE_COUNT", - "value": 5 - }, - { - "name": "INFO_EDGE_MERGE_COUNT", - "value": 6 - }, - { - "name": "INFO_EDGE_CONNECTION_COUNT", - "value": 7 - }, - { - "name": "INFO_EDGE_FREE_COUNT", - "value": 8 - } - ] - } - ], - "methods": [ - { - "name": "get_maps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "map_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "map_set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "map_is_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_up", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "up", - "type": "Vector3" - } - ] - }, - { - "name": "map_get_up", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 531438156, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_cell_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "cell_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "map_get_cell_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_cell_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "cell_height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "map_get_cell_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_use_edge_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "map_get_use_edge_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_edge_connection_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "map_get_edge_connection_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_set_link_connection_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "map_get_link_connection_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_get_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1187418690, - "hash_compatibility": [ - 2121045993 - ], - "return_value": { - "type": "PackedVector3Array" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "origin", - "type": "Vector3" - }, - { - "name": "destination", - "type": "Vector3" - }, - { - "name": "optimize", - "type": "bool" - }, - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32", - "default_value": "1" - } - ] - }, - { - "name": "map_get_closest_point_to_segment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3830095642, - "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_static": false, - "is_virtual": false, - "hash": 2056183332, - "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_static": false, - "is_virtual": false, - "hash": 2056183332, - "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_static": false, - "is_virtual": false, - "hash": 553364610, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - }, - { - "name": "to_point", - "type": "Vector3" - } - ] - }, - { - "name": "map_get_links", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_get_regions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_get_agents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_get_obstacles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "map_force_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "query_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3415008901, - "arguments": [ - { - "name": "parameters", - "type": "NavigationPathQueryParameters3D" - }, - { - "name": "result", - "type": "NavigationPathQueryResult3D" - } - ] - }, - { - "name": "region_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "region_set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "region_get_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_use_edge_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "region_get_use_edge_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_enter_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "enter_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "region_get_enter_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_travel_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "travel_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "region_get_travel_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_owner_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "owner_id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "region_get_owner_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_owns_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2360011153, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "point", - "type": "Vector3" - } - ] - }, - { - "name": "region_set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "region_get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "region_get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3935195649, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "region_set_navigation_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2764952978, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "navigation_mesh", - "type": "NavigationMesh" - } - ] - }, - { - "name": "region_bake_navigation_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1401173477, - "arguments": [ - { - "name": "navigation_mesh", - "type": "NavigationMesh" - }, - { - "name": "root_node", - "type": "Node" - } - ] - }, - { - "name": "region_get_connections_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - } - ] - }, - { - "name": "region_get_connection_pathway_start", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3440143363, - "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_static": false, - "is_virtual": false, - "hash": 3440143363, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "region", - "type": "RID" - }, - { - "name": "connection", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "link_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "link_set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "link_get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "link_get_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_bidirectional", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "bidirectional", - "type": "bool" - } - ] - }, - { - "name": "link_is_bidirectional", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_navigation_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "navigation_layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "link_get_navigation_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_start_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "link_get_start_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 531438156, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_end_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "link_get_end_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 531438156, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_enter_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "enter_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "link_get_enter_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_travel_cost", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "travel_cost", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "link_get_travel_cost", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "link_set_owner_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "link", - "type": "RID" - }, - { - "name": "owner_id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "link_get_owner_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "link", - "type": "RID" - } - ] - }, - { - "name": "agent_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "agent_set_avoidance_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "agent_get_avoidance_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "agent", - "type": "RID" - } - ] - }, - { - "name": "agent_set_use_3d_avoidance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "agent_get_use_3d_avoidance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "agent", - "type": "RID" - } - ] - }, - { - "name": "agent_set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "agent_get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "agent", - "type": "RID" - } - ] - }, - { - "name": "agent_set_paused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "paused", - "type": "bool" - } - ] - }, - { - "name": "agent_get_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "agent", - "type": "RID" - } - ] - }, - { - "name": "agent_set_neighbor_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_max_neighbors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "agent_set_time_horizon_agents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "time_horizon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_time_horizon_obstacles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "time_horizon", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_max_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "max_speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "agent_set_velocity_forced", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "agent_set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "agent_set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "agent_is_map_changed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "agent", - "type": "RID" - } - ] - }, - { - "name": "agent_set_avoidance_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3379118538, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "agent_set_avoidance_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "agent_set_avoidance_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "agent_set_avoidance_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "agent", - "type": "RID" - }, - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "obstacle_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "obstacle_set_avoidance_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "obstacle_get_avoidance_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - } - ] - }, - { - "name": "obstacle_set_use_3d_avoidance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "obstacle_get_use_3d_avoidance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - } - ] - }, - { - "name": "obstacle_set_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "obstacle_get_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - } - ] - }, - { - "name": "obstacle_set_paused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "paused", - "type": "bool" - } - ] - }, - { - "name": "obstacle_get_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - } - ] - }, - { - "name": "obstacle_set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "obstacle_set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "obstacle_set_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "obstacle_set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "obstacle_set_vertices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4030257846, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "vertices", - "type": "PackedVector3Array" - } - ] - }, - { - "name": "obstacle_set_avoidance_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "obstacle", - "type": "RID" - }, - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "parse_source_geometry_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 685862123, - "hash_compatibility": [ - 3703028813 - ], - "arguments": [ - { - "name": "navigation_mesh", - "type": "NavigationMesh" - }, - { - "name": "source_geometry_data", - "type": "NavigationMeshSourceGeometryData3D" - }, - { - "name": "root_node", - "type": "Node" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - } - ] - }, - { - "name": "bake_from_source_geometry_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2469318639, - "hash_compatibility": [ - 3669016597 - ], - "arguments": [ - { - "name": "navigation_mesh", - "type": "NavigationMesh" - }, - { - "name": "source_geometry_data", - "type": "NavigationMeshSourceGeometryData3D" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - } - ] - }, - { - "name": "bake_from_source_geometry_data_async", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2469318639, - "hash_compatibility": [ - 3669016597 - ], - "arguments": [ - { - "name": "navigation_mesh", - "type": "NavigationMesh" - }, - { - "name": "source_geometry_data", - "type": "NavigationMeshSourceGeometryData3D" - }, - { - "name": "callback", - "type": "Callable", - "default_value": "Callable()" - } - ] - }, - { - "name": "free_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "set_debug_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_debug_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_process_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1938440894, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "process_info", - "type": "enum::NavigationServer3D.ProcessInfo" - } - ] - } - ], - "signals": [ - { - "name": "map_changed", - "arguments": [ - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "navigation_debug_changed" - }, - { - "name": "avoidance_debug_changed" - } - ] - }, - { - "name": "NinePatchRect", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "enums": [ - { - "name": "AxisStretchMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_patch_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 437707142, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - }, - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_patch_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1983885014, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "set_region_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "get_region_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "set_draw_center", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "draw_center", - "type": "bool" - } - ] - }, - { - "name": "is_draw_center_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_h_axis_stretch_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3219608417, - "arguments": [ - { - "name": "mode", - "type": "enum::NinePatchRect.AxisStretchMode" - } - ] - }, - { - "name": "get_h_axis_stretch_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3317113799, - "return_value": { - "type": "enum::NinePatchRect.AxisStretchMode" - } - }, - { - "name": "set_v_axis_stretch_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3219608417, - "arguments": [ - { - "name": "mode", - "type": "enum::NinePatchRect.AxisStretchMode" - } - ] - }, - { - "name": "get_v_axis_stretch_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3317113799, - "return_value": { - "type": "enum::NinePatchRect.AxisStretchMode" - } - } - ], - "signals": [ - { - "name": "texture_changed" - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "bool", - "name": "draw_center", - "setter": "set_draw_center", - "getter": "is_draw_center_enabled" - }, - { - "type": "Rect2", - "name": "region_rect", - "setter": "set_region_rect", - "getter": "get_region_rect" - }, - { - "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" - }, - { - "type": "int", - "name": "axis_stretch_vertical", - "setter": "set_v_axis_stretch_mode", - "getter": "get_v_axis_stretch_mode" - } - ] - }, - { - "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_SCENE_INSTANTIATED", - "value": 20 - }, - { - "name": "NOTIFICATION_DRAG_BEGIN", - "value": 21 - }, - { - "name": "NOTIFICATION_DRAG_END", - "value": 22 - }, - { - "name": "NOTIFICATION_PATH_RENAMED", - "value": 23 - }, - { - "name": "NOTIFICATION_CHILD_ORDER_CHANGED", - "value": 24 - }, - { - "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_WM_DPI_CHANGE", - "value": 1009 - }, - { - "name": "NOTIFICATION_VP_MOUSE_ENTER", - "value": 1010 - }, - { - "name": "NOTIFICATION_VP_MOUSE_EXIT", - "value": 1011 - }, - { - "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", - "is_bitfield": false, - "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": "ProcessThreadGroup", - "is_bitfield": false, - "values": [ - { - "name": "PROCESS_THREAD_GROUP_INHERIT", - "value": 0 - }, - { - "name": "PROCESS_THREAD_GROUP_MAIN_THREAD", - "value": 1 - }, - { - "name": "PROCESS_THREAD_GROUP_SUB_THREAD", - "value": 2 - } - ] - }, - { - "name": "ProcessThreadMessages", - "is_bitfield": true, - "values": [ - { - "name": "FLAG_PROCESS_THREAD_MESSAGES", - "value": 1 - }, - { - "name": "FLAG_PROCESS_THREAD_MESSAGES_PHYSICS", - "value": 2 - }, - { - "name": "FLAG_PROCESS_THREAD_MESSAGES_ALL", - "value": 3 - } - ] - }, - { - "name": "DuplicateFlags", - "is_bitfield": false, - "values": [ - { - "name": "DUPLICATE_SIGNALS", - "value": 1 - }, - { - "name": "DUPLICATE_GROUPS", - "value": 2 - }, - { - "name": "DUPLICATE_SCRIPTS", - "value": 4 - }, - { - "name": "DUPLICATE_USE_INSTANTIATION", - "value": 8 - } - ] - }, - { - "name": "InternalMode", - "is_bitfield": false, - "values": [ - { - "name": "INTERNAL_MODE_DISABLED", - "value": 0 - }, - { - "name": "INTERNAL_MODE_FRONT", - "value": 1 - }, - { - "name": "INTERNAL_MODE_BACK", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "delta", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_physics_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "delta", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_enter_tree", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_exit_tree", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_ready", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_configuration_warnings", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_input", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "_shortcut_input", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "_unhandled_input", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "_unhandled_key_input", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "print_orphan_nodes", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_sibling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2570952461, - "arguments": [ - { - "name": "sibling", - "type": "Node" - }, - { - "name": "force_readable_name", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "add_child", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3863233950, - "hash_compatibility": [ - 3070154285 - ], - "arguments": [ - { - "name": "node", - "type": "Node" - }, - { - "name": "force_readable_name", - "type": "bool", - "default_value": "false" - }, - { - "name": "internal", - "type": "enum::Node.InternalMode", - "default_value": "0" - } - ] - }, - { - "name": "remove_child", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "reparent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3685795103, - "hash_compatibility": [ - 2570952461 - ], - "arguments": [ - { - "name": "new_parent", - "type": "Node" - }, - { - "name": "keep_global_transform", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_child_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 894402480, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "include_internal", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_children", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 873284517, - "return_value": { - "type": "typedarray::Node" - }, - "arguments": [ - { - "name": "include_internal", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_child", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 541253412, - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "include_internal", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "has_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 861721659, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2734337346, - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_node_or_null", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2734337346, - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_parent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "find_child", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2008217037, - "hash_compatibility": [ - 4253159453 - ], - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "pattern", - "type": "String" - }, - { - "name": "recursive", - "type": "bool", - "default_value": "true" - }, - { - "name": "owned", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "find_children", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2560337219, - "hash_compatibility": [ - 1585018254 - ], - "return_value": { - "type": "typedarray::Node" - }, - "arguments": [ - { - "name": "pattern", - "type": "String" - }, - { - "name": "type", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "recursive", - "type": "bool", - "default_value": "true" - }, - { - "name": "owned", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "find_parent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1140089439, - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "pattern", - "type": "String" - } - ] - }, - { - "name": "has_node_and_resource", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 861721659, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_node_and_resource", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 502563882, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "is_inside_tree", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_ancestor_of", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3093956946, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "is_greater_than", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3093956946, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "get_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "get_path_to", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 498846349, - "return_value": { - "type": "NodePath" - }, - "arguments": [ - { - "name": "node", - "type": "Node" - }, - { - "name": "use_unique_path", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "add_to_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3683006648, - "arguments": [ - { - "name": "group", - "type": "StringName" - }, - { - "name": "persistent", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "remove_from_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "group", - "type": "StringName" - } - ] - }, - { - "name": "is_in_group", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "group", - "type": "StringName" - } - ] - }, - { - "name": "move_child", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3315886247, - "arguments": [ - { - "name": "child_node", - "type": "Node" - }, - { - "name": "to_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_groups", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::StringName" - } - }, - { - "name": "set_owner", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "owner", - "type": "Node" - } - ] - }, - { - "name": "get_owner", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "get_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 894402480, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "include_internal", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "print_tree", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "print_tree_pretty", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_tree_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "get_tree_string_pretty", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "set_scene_file_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "scene_file_path", - "type": "String" - } - ] - }, - { - "name": "get_scene_file_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "propagate_notification", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "what", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "propagate_call", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1871007965, - "hash_compatibility": [ - 1667910434 - ], - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_physics_process_delta_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "is_physics_processing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_process_delta_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_process", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_process_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_process_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_physics_process_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_physics_process_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_processing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_process_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_processing_input", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_process_shortcut_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_processing_shortcut_input", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_process_unhandled_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_processing_unhandled_input", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_process_unhandled_key_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_processing_unhandled_key_input", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_process_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1841290486, - "arguments": [ - { - "name": "mode", - "type": "enum::Node.ProcessMode" - } - ] - }, - { - "name": "get_process_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 739966102, - "return_value": { - "type": "enum::Node.ProcessMode" - } - }, - { - "name": "can_process", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_process_thread_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2275442745, - "arguments": [ - { - "name": "mode", - "type": "enum::Node.ProcessThreadGroup" - } - ] - }, - { - "name": "get_process_thread_group", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1866404740, - "return_value": { - "type": "enum::Node.ProcessThreadGroup" - } - }, - { - "name": "set_process_thread_messages", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1357280998, - "arguments": [ - { - "name": "flags", - "type": "bitfield::Node.ProcessThreadMessages" - } - ] - }, - { - "name": "get_process_thread_messages", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4228993612, - "return_value": { - "type": "bitfield::Node.ProcessThreadMessages" - } - }, - { - "name": "set_process_thread_group_order", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "order", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_process_thread_group_order", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_display_folded", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "fold", - "type": "bool" - } - ] - }, - { - "name": "is_displayed_folded", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_process_internal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_processing_internal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_physics_process_internal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_physics_processing_internal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_window", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1757182445, - "return_value": { - "type": "Window" - } - }, - { - "name": "get_last_exclusive_window", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1757182445, - "return_value": { - "type": "Window" - } - }, - { - "name": "get_tree", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2958820483, - "return_value": { - "type": "SceneTree" - } - }, - { - "name": "create_tween", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3426978995, - "return_value": { - "type": "Tween" - } - }, - { - "name": "duplicate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3511555459, - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "flags", - "type": "int", - "meta": "int32", - "default_value": "15" - } - ] - }, - { - "name": "replace_by", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2570952461, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "load_placeholder", - "type": "bool" - } - ] - }, - { - "name": "get_scene_instance_load_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_editable_instance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2731852923, - "arguments": [ - { - "name": "node", - "type": "Node" - }, - { - "name": "is_editable", - "type": "bool" - } - ] - }, - { - "name": "is_editable_instance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3093956946, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "get_viewport", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3596683776, - "return_value": { - "type": "Viewport" - } - }, - { - "name": "queue_free", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "request_ready", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_node_ready", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_multiplayer_authority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 972357352, - "hash_compatibility": [ - 4023243586 - ], - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "recursive", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_multiplayer_authority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_multiplayer_authority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_multiplayer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 406750475, - "return_value": { - "type": "MultiplayerAPI" - } - }, - { - "name": "rpc_config", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "method", - "type": "StringName" - }, - { - "name": "config", - "type": "Variant" - } - ] - }, - { - "name": "set_editor_description", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "editor_description", - "type": "String" - } - ] - }, - { - "name": "get_editor_description", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_unique_name_in_owner", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_unique_name_in_owner", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "rpc", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 4047867050, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "rpc_id", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 361499283, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "peer_id", - "type": "int" - }, - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "update_configuration_warnings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "call_deferred_thread_group", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 3400424181, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "set_deferred_thread_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "notify_deferred_thread_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "what", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "call_thread_safe", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 3400424181, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "set_thread_safe", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "notify_thread_safe", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "what", - "type": "int", - "meta": "int32" - } - ] - } - ], - "signals": [ - { - "name": "ready" - }, - { - "name": "renamed" - }, - { - "name": "tree_entered" - }, - { - "name": "tree_exiting" - }, - { - "name": "tree_exited" - }, - { - "name": "child_entered_tree", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "child_exiting_tree", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "child_order_changed" - }, - { - "name": "replacing_by", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - } - ], - "properties": [ - { - "type": "StringName", - "name": "name", - "setter": "set_name", - "getter": "get_name" - }, - { - "type": "bool", - "name": "unique_name_in_owner", - "setter": "set_unique_name_in_owner", - "getter": "is_unique_name_in_owner" - }, - { - "type": "String", - "name": "scene_file_path", - "setter": "set_scene_file_path", - "getter": "get_scene_file_path" - }, - { - "type": "Node", - "name": "owner", - "setter": "set_owner", - "getter": "get_owner" - }, - { - "type": "MultiplayerAPI", - "name": "multiplayer", - "getter": "get_multiplayer" - }, - { - "type": "int", - "name": "process_mode", - "setter": "set_process_mode", - "getter": "get_process_mode" - }, - { - "type": "int", - "name": "process_priority", - "setter": "set_process_priority", - "getter": "get_process_priority" - }, - { - "type": "int", - "name": "process_physics_priority", - "setter": "set_physics_process_priority", - "getter": "get_physics_process_priority" - }, - { - "type": "int", - "name": "process_thread_group", - "setter": "set_process_thread_group", - "getter": "get_process_thread_group" - }, - { - "type": "int", - "name": "process_thread_group_order", - "setter": "set_process_thread_group_order", - "getter": "get_process_thread_group_order" - }, - { - "type": "int", - "name": "process_thread_messages", - "setter": "set_process_thread_messages", - "getter": "get_process_thread_messages" - }, - { - "type": "String", - "name": "editor_description", - "setter": "set_editor_description", - "getter": "get_editor_description" - } - ] - }, - { - "name": "Node2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "CanvasItem", - "api_type": "core", - "methods": [ - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "set_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_rotation_degrees", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_skew", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "scale", - "type": "Vector2" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_rotation_degrees", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_skew", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "rotate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "move_local_x", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2087892650, - "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_static": false, - "is_virtual": false, - "hash": 2087892650, - "arguments": [ - { - "name": "delta", - "type": "float", - "meta": "float" - }, - { - "name": "scaled", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "translate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "global_translate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "apply_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "ratio", - "type": "Vector2" - } - ] - }, - { - "name": "set_global_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_global_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_global_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_global_rotation_degrees", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_global_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_global_rotation_degrees", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_global_skew", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radians", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_global_skew", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_global_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "scale", - "type": "Vector2" - } - ] - }, - { - "name": "get_global_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "xform", - "type": "Transform2D" - } - ] - }, - { - "name": "set_global_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "xform", - "type": "Transform2D" - } - ] - }, - { - "name": "look_at", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "get_angle_to", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2276447920, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "to_local", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2656412154, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "global_point", - "type": "Vector2" - } - ] - }, - { - "name": "to_global", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2656412154, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "local_point", - "type": "Vector2" - } - ] - }, - { - "name": "get_relative_transform_to_parent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 904556875, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "parent", - "type": "Node" - } - ] - } - ], - "properties": [ - { - "type": "Vector2", - "name": "position", - "setter": "set_position", - "getter": "get_position" - }, - { - "type": "float", - "name": "rotation", - "setter": "set_rotation", - "getter": "get_rotation" - }, - { - "type": "float", - "name": "rotation_degrees", - "setter": "set_rotation_degrees", - "getter": "get_rotation_degrees" - }, - { - "type": "Vector2", - "name": "scale", - "setter": "set_scale", - "getter": "get_scale" - }, - { - "type": "float", - "name": "skew", - "setter": "set_skew", - "getter": "get_skew" - }, - { - "type": "Transform2D", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform" - }, - { - "type": "Vector2", - "name": "global_position", - "setter": "set_global_position", - "getter": "get_global_position" - }, - { - "type": "float", - "name": "global_rotation", - "setter": "set_global_rotation", - "getter": "get_global_rotation" - }, - { - "type": "float", - "name": "global_rotation_degrees", - "setter": "set_global_rotation_degrees", - "getter": "get_global_rotation_degrees" - }, - { - "type": "Vector2", - "name": "global_scale", - "setter": "set_global_scale", - "getter": "get_global_scale" - }, - { - "type": "float", - "name": "global_skew", - "setter": "set_global_skew", - "getter": "get_global_skew" - }, - { - "type": "Transform2D", - "name": "global_transform", - "setter": "set_global_transform", - "getter": "get_global_transform" - } - ] - }, - { - "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 - }, - { - "name": "NOTIFICATION_LOCAL_TRANSFORM_CHANGED", - "value": 44 - } - ], - "enums": [ - { - "name": "RotationEditMode", - "is_bitfield": false, - "values": [ - { - "name": "ROTATION_EDIT_MODE_EULER", - "value": 0 - }, - { - "name": "ROTATION_EDIT_MODE_QUATERNION", - "value": 1 - }, - { - "name": "ROTATION_EDIT_MODE_BASIS", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "local", - "type": "Transform3D" - } - ] - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "euler_radians", - "type": "Vector3" - } - ] - }, - { - "name": "get_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_rotation_degrees", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "euler_degrees", - "type": "Vector3" - } - ] - }, - { - "name": "get_rotation_degrees", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_rotation_order", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1820889989, - "arguments": [ - { - "name": "order", - "type": "enum::EulerOrder" - } - ] - }, - { - "name": "get_rotation_order", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 916939469, - "return_value": { - "type": "enum::EulerOrder" - } - }, - { - "name": "set_rotation_edit_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 141483330, - "arguments": [ - { - "name": "edit_mode", - "type": "enum::Node3D.RotationEditMode" - } - ] - }, - { - "name": "get_rotation_edit_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1572188370, - "return_value": { - "type": "enum::Node3D.RotationEditMode" - } - }, - { - "name": "set_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "get_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_quaternion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1727505552, - "arguments": [ - { - "name": "quaternion", - "type": "Quaternion" - } - ] - }, - { - "name": "get_quaternion", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1222331677, - "return_value": { - "type": "Quaternion" - } - }, - { - "name": "set_basis", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1055510324, - "arguments": [ - { - "name": "basis", - "type": "Basis" - } - ] - }, - { - "name": "get_basis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2716978435, - "return_value": { - "type": "Basis" - } - }, - { - "name": "set_global_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "global", - "type": "Transform3D" - } - ] - }, - { - "name": "get_global_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "set_global_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_global_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_global_basis", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1055510324, - "arguments": [ - { - "name": "basis", - "type": "Basis" - } - ] - }, - { - "name": "get_global_basis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2716978435, - "return_value": { - "type": "Basis" - } - }, - { - "name": "set_global_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "euler_radians", - "type": "Vector3" - } - ] - }, - { - "name": "get_global_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_global_rotation_degrees", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "euler_degrees", - "type": "Vector3" - } - ] - }, - { - "name": "get_global_rotation_degrees", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_parent_node_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 151077316, - "return_value": { - "type": "Node3D" - } - }, - { - "name": "set_ignore_transform_notification", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "set_as_top_level", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_set_as_top_level", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_disable_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "is_scale_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_world_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 317588385, - "return_value": { - "type": "World3D" - } - }, - { - "name": "force_update_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_visibility_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_visibility_parent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "update_gizmos", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_gizmo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1544533845, - "arguments": [ - { - "name": "gizmo", - "type": "Node3DGizmo" - } - ] - }, - { - "name": "get_gizmos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Node3DGizmo" - } - }, - { - "name": "clear_gizmos", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_subgizmo_selection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3317607635, - "arguments": [ - { - "name": "gizmo", - "type": "Node3DGizmo" - }, - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "clear_subgizmo_selection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "is_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_visible_in_tree", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "show", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "hide", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_notify_local_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_local_transform_notification_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_notify_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_transform_notification_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "rotate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3436291937, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - }, - { - "name": "angle", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "global_rotate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3436291937, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - }, - { - "name": "angle", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "global_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "global_translate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "rotate_object_local", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3436291937, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - }, - { - "name": "angle", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "scale_object_local", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "translate_object_local", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "rotate_x", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angle", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "rotate_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angle", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "rotate_z", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angle", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "translate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "orthonormalize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_identity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "look_at", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2882425029, - "hash_compatibility": [ - 3123400617 - ], - "arguments": [ - { - "name": "target", - "type": "Vector3" - }, - { - "name": "up", - "type": "Vector3", - "default_value": "Vector3(0, 1, 0)" - }, - { - "name": "use_model_front", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "look_at_from_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2086826090, - "hash_compatibility": [ - 4067663783 - ], - "arguments": [ - { - "name": "position", - "type": "Vector3" - }, - { - "name": "target", - "type": "Vector3" - }, - { - "name": "up", - "type": "Vector3", - "default_value": "Vector3(0, 1, 0)" - }, - { - "name": "use_model_front", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "to_local", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 192990374, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "global_point", - "type": "Vector3" - } - ] - }, - { - "name": "to_global", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 192990374, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "local_point", - "type": "Vector3" - } - ] - } - ], - "signals": [ - { - "name": "visibility_changed" - } - ], - "properties": [ - { - "type": "Transform3D", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform" - }, - { - "type": "Transform3D", - "name": "global_transform", - "setter": "set_global_transform", - "getter": "get_global_transform" - }, - { - "type": "Vector3", - "name": "position", - "setter": "set_position", - "getter": "get_position" - }, - { - "type": "Vector3", - "name": "rotation", - "setter": "set_rotation", - "getter": "get_rotation" - }, - { - "type": "Vector3", - "name": "rotation_degrees", - "setter": "set_rotation_degrees", - "getter": "get_rotation_degrees" - }, - { - "type": "Quaternion", - "name": "quaternion", - "setter": "set_quaternion", - "getter": "get_quaternion" - }, - { - "type": "Basis", - "name": "basis", - "setter": "set_basis", - "getter": "get_basis" - }, - { - "type": "Vector3", - "name": "scale", - "setter": "set_scale", - "getter": "get_scale" - }, - { - "type": "int", - "name": "rotation_edit_mode", - "setter": "set_rotation_edit_mode", - "getter": "get_rotation_edit_mode" - }, - { - "type": "int", - "name": "rotation_order", - "setter": "set_rotation_order", - "getter": "get_rotation_order" - }, - { - "type": "bool", - "name": "top_level", - "setter": "set_as_top_level", - "getter": "is_set_as_top_level" - }, - { - "type": "Vector3", - "name": "global_position", - "setter": "set_global_position", - "getter": "get_global_position" - }, - { - "type": "Basis", - "name": "global_basis", - "setter": "set_global_basis", - "getter": "get_global_basis" - }, - { - "type": "Vector3", - "name": "global_rotation", - "setter": "set_global_rotation", - "getter": "get_global_rotation" - }, - { - "type": "Vector3", - "name": "global_rotation_degrees", - "setter": "set_global_rotation_degrees", - "getter": "get_global_rotation_degrees" - }, - { - "type": "bool", - "name": "visible", - "setter": "set_visible", - "getter": "is_visible" - }, - { - "type": "NodePath", - "name": "visibility_parent", - "setter": "set_visibility_parent", - "getter": "get_visibility_parent" - } - ] - }, - { - "name": "Node3DGizmo", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core" - }, - { - "name": "Noise", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_noise_1d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3919130443, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "x", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_noise_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2753205203, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "x", - "type": "float", - "meta": "float" - }, - { - "name": "y", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_noise_2dv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2276447920, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "v", - "type": "Vector2" - } - ] - }, - { - "name": "get_noise_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 973811851, - "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_3dv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1109078154, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "v", - "type": "Vector3" - } - ] - }, - { - "name": "get_image", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3180683109, - "hash_compatibility": [ - 2569233413 - ], - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - }, - { - "name": "height", - "type": "int", - "meta": "int32" - }, - { - "name": "invert", - "type": "bool", - "default_value": "false" - }, - { - "name": "in_3d_space", - "type": "bool", - "default_value": "false" - }, - { - "name": "normalize", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_seamless_image", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2770743602, - "hash_compatibility": [ - 2210827790 - ], - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - }, - { - "name": "height", - "type": "int", - "meta": "int32" - }, - { - "name": "invert", - "type": "bool", - "default_value": "false" - }, - { - "name": "in_3d_space", - "type": "bool", - "default_value": "false" - }, - { - "name": "skirt", - "type": "float", - "meta": "float", - "default_value": "0.1" - }, - { - "name": "normalize", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_image_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3977814329, - "hash_compatibility": [ - 2358868431 - ], - "return_value": { - "type": "typedarray::Image" - }, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - }, - { - "name": "height", - "type": "int", - "meta": "int32" - }, - { - "name": "depth", - "type": "int", - "meta": "int32" - }, - { - "name": "invert", - "type": "bool", - "default_value": "false" - }, - { - "name": "normalize", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_seamless_image_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 451006340, - "hash_compatibility": [ - 3328694319 - ], - "return_value": { - "type": "typedarray::Image" - }, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - }, - { - "name": "height", - "type": "int", - "meta": "int32" - }, - { - "name": "depth", - "type": "int", - "meta": "int32" - }, - { - "name": "invert", - "type": "bool", - "default_value": "false" - }, - { - "name": "skirt", - "type": "float", - "meta": "float", - "default_value": "0.1" - }, - { - "name": "normalize", - "type": "bool", - "default_value": "true" - } - ] - } - ] - }, - { - "name": "NoiseTexture2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "methods": [ - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "height", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_invert", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "invert", - "type": "bool" - } - ] - }, - { - "name": "get_invert", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_in_3d_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_in_3d_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_generate_mipmaps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "invert", - "type": "bool" - } - ] - }, - { - "name": "is_generating_mipmaps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_seamless", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "seamless", - "type": "bool" - } - ] - }, - { - "name": "get_seamless", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_seamless_blend_skirt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "seamless_blend_skirt", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_seamless_blend_skirt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_as_normal_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "as_normal_map", - "type": "bool" - } - ] - }, - { - "name": "is_normal_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_bump_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bump_strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bump_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_normalize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "normalize", - "type": "bool" - } - ] - }, - { - "name": "is_normalized", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_color_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "gradient", - "type": "Gradient" - } - ] - }, - { - "name": "get_color_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, - { - "name": "set_noise", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4135492439, - "arguments": [ - { - "name": "noise", - "type": "Noise" - } - ] - }, - { - "name": "get_noise", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 185851837, - "return_value": { - "type": "Noise" - } - } - ], - "properties": [ - { - "type": "int", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "int", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "bool", - "name": "invert", - "setter": "set_invert", - "getter": "get_invert" - }, - { - "type": "bool", - "name": "in_3d_space", - "setter": "set_in_3d_space", - "getter": "is_in_3d_space" - }, - { - "type": "bool", - "name": "generate_mipmaps", - "setter": "set_generate_mipmaps", - "getter": "is_generating_mipmaps" - }, - { - "type": "bool", - "name": "seamless", - "setter": "set_seamless", - "getter": "get_seamless" - }, - { - "type": "float", - "name": "seamless_blend_skirt", - "setter": "set_seamless_blend_skirt", - "getter": "get_seamless_blend_skirt" - }, - { - "type": "bool", - "name": "as_normal_map", - "setter": "set_as_normal_map", - "getter": "is_normal_map" - }, - { - "type": "float", - "name": "bump_strength", - "setter": "set_bump_strength", - "getter": "get_bump_strength" - }, - { - "type": "bool", - "name": "normalize", - "setter": "set_normalize", - "getter": "is_normalized" - }, - { - "type": "Gradient", - "name": "color_ramp", - "setter": "set_color_ramp", - "getter": "get_color_ramp" - }, - { - "type": "Noise", - "name": "noise", - "setter": "set_noise", - "getter": "get_noise" - } - ] - }, - { - "name": "NoiseTexture3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture3D", - "api_type": "core", - "methods": [ - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "height", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "depth", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_invert", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "invert", - "type": "bool" - } - ] - }, - { - "name": "get_invert", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_seamless", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "seamless", - "type": "bool" - } - ] - }, - { - "name": "get_seamless", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_seamless_blend_skirt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "seamless_blend_skirt", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_seamless_blend_skirt", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_normalize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "normalize", - "type": "bool" - } - ] - }, - { - "name": "is_normalized", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_color_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2756054477, - "arguments": [ - { - "name": "gradient", - "type": "Gradient" - } - ] - }, - { - "name": "get_color_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 132272999, - "return_value": { - "type": "Gradient" - } - }, - { - "name": "set_noise", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4135492439, - "arguments": [ - { - "name": "noise", - "type": "Noise" - } - ] - }, - { - "name": "get_noise", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 185851837, - "return_value": { - "type": "Noise" - } - } - ], - "properties": [ - { - "type": "int", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "int", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "int", - "name": "depth", - "setter": "set_depth", - "getter": "get_depth" - }, - { - "type": "bool", - "name": "invert", - "setter": "set_invert", - "getter": "get_invert" - }, - { - "type": "bool", - "name": "seamless", - "setter": "set_seamless", - "getter": "get_seamless" - }, - { - "type": "float", - "name": "seamless_blend_skirt", - "setter": "set_seamless_blend_skirt", - "getter": "get_seamless_blend_skirt" - }, - { - "type": "bool", - "name": "normalize", - "setter": "set_normalize", - "getter": "is_normalized" - }, - { - "type": "Gradient", - "name": "color_ramp", - "setter": "set_color_ramp", - "getter": "get_color_ramp" - }, - { - "type": "Noise", - "name": "noise", - "setter": "set_noise", - "getter": "get_noise" - } - ] - }, - { - "name": "ORMMaterial3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "BaseMaterial3D", - "api_type": "core" - }, - { - "name": "OS", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "RenderingDriver", - "is_bitfield": false, - "values": [ - { - "name": "RENDERING_DRIVER_VULKAN", - "value": 0 - }, - { - "name": "RENDERING_DRIVER_OPENGL3", - "value": 1 - } - ] - }, - { - "name": "SystemDir", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "get_connected_midi_inputs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "open_midi_inputs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "close_midi_inputs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "alert", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1783970740, - "hash_compatibility": [ - 233059325 - ], - "arguments": [ - { - "name": "text", - "type": "String" - }, - { - "name": "title", - "type": "String", - "default_value": "\"Alert!\"" - } - ] - }, - { - "name": "crash", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "message", - "type": "String" - } - ] - }, - { - "name": "set_low_processor_usage_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_in_low_processor_usage_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_low_processor_usage_mode_sleep_usec", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "usec", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_low_processor_usage_mode_sleep_usec", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_delta_smoothing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "delta_smoothing_enabled", - "type": "bool" - } - ] - }, - { - "name": "is_delta_smoothing_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_processor_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_processor_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_system_fonts", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_system_font_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 626580860, - "hash_compatibility": [ - 2262142305 - ], - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "font_name", - "type": "String" - }, - { - "name": "weight", - "type": "int", - "meta": "int32", - "default_value": "400" - }, - { - "name": "stretch", - "type": "int", - "meta": "int32", - "default_value": "100" - }, - { - "name": "italic", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_system_font_path_for_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 197317981, - "hash_compatibility": [ - 3824042574 - ], - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "font_name", - "type": "String" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "locale", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "script", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "weight", - "type": "int", - "meta": "int32", - "default_value": "400" - }, - { - "name": "stretch", - "type": "int", - "meta": "int32", - "default_value": "100" - }, - { - "name": "italic", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_executable_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "read_string_from_stdin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "execute", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1488299882, - "hash_compatibility": [ - 2881709059 - ], - "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": "open_console", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "create_process", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2903767230, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "arguments", - "type": "PackedStringArray" - }, - { - "name": "open_console", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "create_instance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1080601263, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "arguments", - "type": "PackedStringArray" - } - ] - }, - { - "name": "kill", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844576869, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "pid", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "shell_open", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "uri", - "type": "String" - } - ] - }, - { - "name": "shell_show_in_file_manager", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3565188097, - "hash_compatibility": [ - 885841341 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "file_or_dir_path", - "type": "String" - }, - { - "name": "open_folder", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "is_process_running", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "pid", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_process_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "has_environment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "variable", - "type": "String" - } - ] - }, - { - "name": "get_environment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "variable", - "type": "String" - } - ] - }, - { - "name": "set_environment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3605043004, - "arguments": [ - { - "name": "variable", - "type": "String" - }, - { - "name": "value", - "type": "String" - } - ] - }, - { - "name": "unset_environment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3089850668, - "arguments": [ - { - "name": "variable", - "type": "String" - } - ] - }, - { - "name": "get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_distribution_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_version", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_cmdline_args", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_cmdline_user_args", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_video_adapter_driver_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_restart_on_exit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3331453935, - "hash_compatibility": [ - 611198603 - ], - "arguments": [ - { - "name": "restart", - "type": "bool" - }, - { - "name": "arguments", - "type": "PackedStringArray", - "default_value": "PackedStringArray()" - } - ] - }, - { - "name": "is_restart_on_exit_set", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_restart_on_exit_arguments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "delay_usec", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 998575451, - "arguments": [ - { - "name": "usec", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "delay_msec", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 998575451, - "arguments": [ - { - "name": "msec", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_locale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_locale_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_model_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_userfs_persistent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_stdout_verbose", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_debug_build", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_static_memory_usage", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_static_memory_peak_usage", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_memory_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "move_to_trash", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2113323047, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_user_data_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_system_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3073895123, - "hash_compatibility": [ - 1965199849 - ], - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "dir", - "type": "enum::OS.SystemDir" - }, - { - "name": "shared_storage", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_config_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_data_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_cache_dir", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_unique_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_keycode_string", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2261993717, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "code", - "type": "enum::Key" - } - ] - }, - { - "name": "is_keycode_unicode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "code", - "type": "int" - } - ] - }, - { - "name": "find_keycode_from_string", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1084858572, - "return_value": { - "type": "enum::Key" - }, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "set_use_file_access_save_and_swap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "set_thread_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_thread_caller_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_main_thread_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "has_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "tag_name", - "type": "String" - } - ] - }, - { - "name": "is_sandboxed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "request_permission", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "request_permissions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_granted_permissions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "revoke_granted_permissions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "bool", - "name": "low_processor_usage_mode", - "setter": "set_low_processor_usage_mode", - "getter": "is_in_low_processor_usage_mode" - }, - { - "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" - }, - { - "type": "bool", - "name": "delta_smoothing", - "setter": "set_delta_smoothing", - "getter": "is_delta_smoothing_enabled" - } - ] - }, - { - "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", - "is_bitfield": false, - "values": [ - { - "name": "CONNECT_DEFERRED", - "value": 1 - }, - { - "name": "CONNECT_PERSIST", - "value": 2 - }, - { - "name": "CONNECT_ONE_SHOT", - "value": 4 - }, - { - "name": "CONNECT_REFERENCE_COUNTED", - "value": 8 - } - ] - } - ], - "methods": [ - { - "name": "get_class", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_class", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "class", - "type": "String" - } - ] - }, - { - "name": "set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "set_indexed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3500910842, - "arguments": [ - { - "name": "property_path", - "type": "NodePath" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get_indexed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4006125091, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "property_path", - "type": "NodePath" - } - ] - }, - { - "name": "get_property_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "get_method_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "property_can_revert", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "property_get_revert", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "notification", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4023243586, - "arguments": [ - { - "name": "what", - "type": "int", - "meta": "int32" - }, - { - "name": "reversed", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "to_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "get_instance_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "set_script", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1114965689, - "arguments": [ - { - "name": "script", - "type": "Variant" - } - ] - }, - { - "name": "get_script", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1214101251, - "return_value": { - "type": "Variant" - } - }, - { - "name": "set_meta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "remove_meta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_meta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3990617847, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "default", - "type": "Variant", - "default_value": "null" - } - ] - }, - { - "name": "has_meta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_meta_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::StringName" - } - }, - { - "name": "add_user_signal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 85656714, - "hash_compatibility": [ - 3780025912 - ], - "arguments": [ - { - "name": "signal", - "type": "String" - }, - { - "name": "arguments", - "type": "Array", - "default_value": "[]" - } - ] - }, - { - "name": "has_user_signal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "signal", - "type": "StringName" - } - ] - }, - { - "name": "emit_signal", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 4047867050, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "signal", - "type": "StringName" - } - ] - }, - { - "name": "call", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 3400424181, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "call_deferred", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 3400424181, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "set_deferred", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "callv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1260104456, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - }, - { - "name": "arg_array", - "type": "Array" - } - ] - }, - { - "name": "has_method", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "has_signal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "signal", - "type": "StringName" - } - ] - }, - { - "name": "get_signal_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "get_signal_connection_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3147814860, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "signal", - "type": "StringName" - } - ] - }, - { - "name": "get_incoming_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "connect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1518946055, - "hash_compatibility": [ - 1469446357 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "signal", - "type": "StringName" - }, - { - "name": "callable", - "type": "Callable" - }, - { - "name": "flags", - "type": "int", - "meta": "uint32", - "default_value": "0" - } - ] - }, - { - "name": "disconnect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1874754934, - "arguments": [ - { - "name": "signal", - "type": "StringName" - }, - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "is_connected", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 768136979, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "signal", - "type": "StringName" - }, - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "set_block_signals", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_blocking_signals", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "notify_property_list_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_message_translation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "can_translate_messages", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "tr", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1195764410, - "hash_compatibility": [ - 2475554935 - ], - "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_static": false, - "is_virtual": false, - "hash": 162698058, - "hash_compatibility": [ - 4021311862 - ], - "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_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "cancel_free", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "signals": [ - { - "name": "script_changed" - }, - { - "name": "property_list_changed" - } - ] - }, - { - "name": "Occluder3D", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_vertices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "get_indices", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_bake_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_bake_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_bake_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bake_simplification_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "simplification_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bake_simplification_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_occluder", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1664878165, - "arguments": [ - { - "name": "occluder", - "type": "Occluder3D" - } - ] - }, - { - "name": "get_occluder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1696836198, - "return_value": { - "type": "Occluder3D" - } - } - ], - "properties": [ - { - "type": "Occluder3D", - "name": "occluder", - "setter": "set_occluder", - "getter": "get_occluder" - }, - { - "type": "int", - "name": "bake_mask", - "setter": "set_bake_mask", - "getter": "get_bake_mask" - }, - { - "type": "float", - "name": "bake_simplification_distance", - "setter": "set_bake_simplification_distance", - "getter": "get_bake_simplification_distance" - } - ] - }, - { - "name": "OccluderPolygon2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "CullMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "closed", - "type": "bool" - } - ] - }, - { - "name": "is_closed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_cull_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3500863002, - "arguments": [ - { - "name": "cull_mode", - "type": "enum::OccluderPolygon2D.CullMode" - } - ] - }, - { - "name": "get_cull_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 33931036, - "return_value": { - "type": "enum::OccluderPolygon2D.CullMode" - } - }, - { - "name": "set_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "closed", - "setter": "set_closed", - "getter": "is_closed" - }, - { - "type": "int", - "name": "cull_mode", - "setter": "set_cull_mode", - "getter": "get_cull_mode" - }, - { - "type": "PackedVector2Array", - "name": "polygon", - "setter": "set_polygon", - "getter": "get_polygon" - } - ] - }, - { - "name": "OfflineMultiplayerPeer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "MultiplayerPeer", - "api_type": "core" - }, - { - "name": "OggPacketSequence", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_packet_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "packet_data", - "type": "typedarray::Array" - } - ] - }, - { - "name": "get_packet_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Array" - } - }, - { - "name": "set_packet_granule_positions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3709968205, - "arguments": [ - { - "name": "granule_positions", - "type": "PackedInt64Array" - } - ] - }, - { - "name": "get_packet_granule_positions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 235988956, - "return_value": { - "type": "PackedInt64Array" - } - }, - { - "name": "set_sampling_rate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "sampling_rate", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sampling_rate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "typedarray::PackedByteArray", - "name": "packet_data", - "setter": "set_packet_data", - "getter": "get_packet_data" - }, - { - "type": "PackedInt64Array", - "name": "granule_positions", - "setter": "set_packet_granule_positions", - "getter": "get_packet_granule_positions" - }, - { - "type": "float", - "name": "sampling_rate", - "setter": "set_sampling_rate", - "getter": "get_sampling_rate" - } - ] - }, - { - "name": "OggPacketSequencePlayback", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core" - }, - { - "name": "OmniLight3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Light3D", - "api_type": "core", - "enums": [ - { - "name": "ShadowMode", - "is_bitfield": false, - "values": [ - { - "name": "SHADOW_DUAL_PARABOLOID", - "value": 0 - }, - { - "name": "SHADOW_CUBE", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_shadow_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121862228, - "arguments": [ - { - "name": "mode", - "type": "enum::OmniLight3D.ShadowMode" - } - ] - }, - { - "name": "get_shadow_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4181586331, - "return_value": { - "type": "enum::OmniLight3D.ShadowMode" - } - } - ], - "properties": [ - { - "type": "float", - "name": "omni_range", - "setter": "set_param", - "getter": "get_param", - "index": 4 - }, - { - "type": "float", - "name": "omni_attenuation", - "setter": "set_param", - "getter": "get_param", - "index": 6 - }, - { - "type": "int", - "name": "omni_shadow_mode", - "setter": "set_shadow_mode", - "getter": "get_shadow_mode" - } - ] - }, - { - "name": "OpenXRAPIExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_instance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_system_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_session", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "transform_from_pose", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3255299855, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "pose", - "type": "const void*" - } - ] - }, - { - "name": "xr_result", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3886436197, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "result", - "type": "int", - "meta": "uint64" - }, - { - "name": "format", - "type": "String" - }, - { - "name": "args", - "type": "Array" - } - ] - }, - { - "name": "openxr_is_enabled", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2703660260, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "check_run_in_editor", - "type": "bool" - } - ] - }, - { - "name": "get_instance_proc_addr", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1597066294, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_error_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 990163283, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "result", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "get_swapchain_format_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 990163283, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "swapchain_format", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "is_initialized", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_running", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_play_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_next_frame_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "can_render", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - } - ] - }, - { - "name": "OpenXRAction", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "ActionType", - "is_bitfield": false, - "values": [ - { - "name": "OPENXR_ACTION_BOOL", - "value": 0 - }, - { - "name": "OPENXR_ACTION_FLOAT", - "value": 1 - }, - { - "name": "OPENXR_ACTION_VECTOR2", - "value": 2 - }, - { - "name": "OPENXR_ACTION_POSE", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_localized_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "localized_name", - "type": "String" - } - ] - }, - { - "name": "get_localized_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_action_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1675238366, - "arguments": [ - { - "name": "action_type", - "type": "enum::OpenXRAction.ActionType" - } - ] - }, - { - "name": "get_action_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536542431, - "return_value": { - "type": "enum::OpenXRAction.ActionType" - } - }, - { - "name": "set_toplevel_paths", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "toplevel_paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_toplevel_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - } - ], - "properties": [ - { - "type": "String", - "name": "localized_name", - "setter": "set_localized_name", - "getter": "get_localized_name" - }, - { - "type": "int", - "name": "action_type", - "setter": "set_action_type", - "getter": "get_action_type" - }, - { - "type": "PackedStringArray", - "name": "toplevel_paths", - "setter": "set_toplevel_paths", - "getter": "get_toplevel_paths" - } - ] - }, - { - "name": "OpenXRActionMap", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_action_sets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "action_sets", - "type": "Array" - } - ] - }, - { - "name": "get_action_sets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_action_set_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_action_set", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1888809267, - "return_value": { - "type": "OpenXRActionSet" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_action_set", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1789580336, - "return_value": { - "type": "OpenXRActionSet" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_action_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2093310581, - "arguments": [ - { - "name": "action_set", - "type": "OpenXRActionSet" - } - ] - }, - { - "name": "remove_action_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2093310581, - "arguments": [ - { - "name": "action_set", - "type": "OpenXRActionSet" - } - ] - }, - { - "name": "set_interaction_profiles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "interaction_profiles", - "type": "Array" - } - ] - }, - { - "name": "get_interaction_profiles", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_interaction_profile_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_interaction_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3095875538, - "return_value": { - "type": "OpenXRInteractionProfile" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_interaction_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2546151210, - "return_value": { - "type": "OpenXRInteractionProfile" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_interaction_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2697953512, - "arguments": [ - { - "name": "interaction_profile", - "type": "OpenXRInteractionProfile" - } - ] - }, - { - "name": "remove_interaction_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2697953512, - "arguments": [ - { - "name": "interaction_profile", - "type": "OpenXRInteractionProfile" - } - ] - }, - { - "name": "create_default_action_sets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "OpenXRActionSet", - "name": "action_sets", - "setter": "set_action_sets", - "getter": "get_action_sets" - }, - { - "type": "OpenXRInteractionProfile", - "name": "interaction_profiles", - "setter": "set_interaction_profiles", - "getter": "get_interaction_profiles" - } - ] - }, - { - "name": "OpenXRActionSet", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_localized_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "localized_name", - "type": "String" - } - ] - }, - { - "name": "get_localized_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_action_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_actions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "actions", - "type": "Array" - } - ] - }, - { - "name": "get_actions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "add_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 349361333, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - }, - { - "name": "remove_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 349361333, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "localized_name", - "setter": "set_localized_name", - "getter": "get_localized_name" - }, - { - "type": "int", - "name": "priority", - "setter": "set_priority", - "getter": "get_priority" - }, - { - "type": "OpenXRAction", - "name": "actions", - "setter": "set_actions", - "getter": "get_actions" - } - ] - }, - { - "name": "OpenXRExtensionWrapperExtension", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "_get_requested_extensions", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "_set_system_properties_and_get_next_pointer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "next_pointer", - "type": "void*" - } - ] - }, - { - "name": "_set_instance_create_info_and_get_next_pointer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "next_pointer", - "type": "void*" - } - ] - }, - { - "name": "_set_session_create_and_get_next_pointer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "next_pointer", - "type": "void*" - } - ] - }, - { - "name": "_set_swapchain_create_info_and_get_next_pointer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "next_pointer", - "type": "void*" - } - ] - }, - { - "name": "_on_register_metadata", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_before_instance_created", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_instance_created", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "instance", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "_on_instance_destroyed", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_session_created", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "session", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "_on_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_pre_render", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_session_destroyed", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_state_idle", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_state_ready", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_state_synchronized", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_state_visible", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_state_focused", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_state_stopping", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_state_loss_pending", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_state_exiting", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_on_event_polled", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "event", - "type": "const void*" - } - ] - }, - { - "name": "get_openxr_api", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1637791613, - "return_value": { - "type": "OpenXRAPIExtension" - } - }, - { - "name": "register_extension_wrapper", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "OpenXRHand", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "enums": [ - { - "name": "Hands", - "is_bitfield": false, - "values": [ - { - "name": "HAND_LEFT", - "value": 0 - }, - { - "name": "HAND_RIGHT", - "value": 1 - }, - { - "name": "HAND_MAX", - "value": 2 - } - ] - }, - { - "name": "MotionRange", - "is_bitfield": false, - "values": [ - { - "name": "MOTION_RANGE_UNOBSTRUCTED", - "value": 0 - }, - { - "name": "MOTION_RANGE_CONFORM_TO_CONTROLLER", - "value": 1 - }, - { - "name": "MOTION_RANGE_MAX", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_hand", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1849328560, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRHand.Hands" - } - ] - }, - { - "name": "get_hand", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2850644561, - "return_value": { - "type": "enum::OpenXRHand.Hands" - } - }, - { - "name": "set_hand_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "hand_skeleton", - "type": "NodePath" - } - ] - }, - { - "name": "get_hand_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_motion_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3326516003, - "arguments": [ - { - "name": "motion_range", - "type": "enum::OpenXRHand.MotionRange" - } - ] - }, - { - "name": "get_motion_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2191822314, - "return_value": { - "type": "enum::OpenXRHand.MotionRange" - } - } - ], - "properties": [ - { - "type": "int", - "name": "hand", - "setter": "set_hand", - "getter": "get_hand" - }, - { - "type": "int", - "name": "motion_range", - "setter": "set_motion_range", - "getter": "get_motion_range" - }, - { - "type": "NodePath", - "name": "hand_skeleton", - "setter": "set_hand_skeleton", - "getter": "get_hand_skeleton" - } - ] - }, - { - "name": "OpenXRIPBinding", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 349361333, - "arguments": [ - { - "name": "action", - "type": "OpenXRAction" - } - ] - }, - { - "name": "get_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4072409085, - "return_value": { - "type": "OpenXRAction" - } - }, - { - "name": "get_path_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_paths", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "paths", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_paths", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "has_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "add_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "remove_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "OpenXRAction", - "name": "action", - "setter": "set_action", - "getter": "get_action" - }, - { - "type": "PackedStringArray", - "name": "paths", - "setter": "set_paths", - "getter": "get_paths" - } - ] - }, - { - "name": "OpenXRInteractionProfile", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_interaction_profile_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "interaction_profile_path", - "type": "String" - } - ] - }, - { - "name": "get_interaction_profile_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_binding_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_binding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3934429652, - "return_value": { - "type": "OpenXRIPBinding" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bindings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "bindings", - "type": "Array" - } - ] - }, - { - "name": "get_bindings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - } - ], - "properties": [ - { - "type": "String", - "name": "interaction_profile_path", - "setter": "set_interaction_profile_path", - "getter": "get_interaction_profile_path" - }, - { - "type": "OpenXRIPBinding", - "name": "bindings", - "setter": "set_bindings", - "getter": "get_bindings" - } - ] - }, - { - "name": "OpenXRInteractionProfileMetadata", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "register_profile_rename", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3186203200, - "arguments": [ - { - "name": "old_name", - "type": "String" - }, - { - "name": "new_name", - "type": "String" - } - ] - }, - { - "name": "register_top_level_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 254767734, - "arguments": [ - { - "name": "display_name", - "type": "String" - }, - { - "name": "openxr_path", - "type": "String" - }, - { - "name": "openxr_extension_name", - "type": "String" - } - ] - }, - { - "name": "register_interaction_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 254767734, - "arguments": [ - { - "name": "display_name", - "type": "String" - }, - { - "name": "openxr_path", - "type": "String" - }, - { - "name": "openxr_extension_name", - "type": "String" - } - ] - }, - { - "name": "register_io_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3443511926, - "arguments": [ - { - "name": "interaction_profile", - "type": "String" - }, - { - "name": "display_name", - "type": "String" - }, - { - "name": "toplevel_path", - "type": "String" - }, - { - "name": "openxr_path", - "type": "String" - }, - { - "name": "openxr_extension_name", - "type": "String" - }, - { - "name": "action_type", - "type": "enum::OpenXRAction.ActionType" - } - ] - } - ] - }, - { - "name": "OpenXRInterface", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "XRInterface", - "api_type": "core", - "enums": [ - { - "name": "Hand", - "is_bitfield": false, - "values": [ - { - "name": "HAND_LEFT", - "value": 0 - }, - { - "name": "HAND_RIGHT", - "value": 1 - }, - { - "name": "HAND_MAX", - "value": 2 - } - ] - }, - { - "name": "HandMotionRange", - "is_bitfield": false, - "values": [ - { - "name": "HAND_MOTION_RANGE_UNOBSTRUCTED", - "value": 0 - }, - { - "name": "HAND_MOTION_RANGE_CONFORM_TO_CONTROLLER", - "value": 1 - }, - { - "name": "HAND_MOTION_RANGE_MAX", - "value": 2 - } - ] - }, - { - "name": "HandJoints", - "is_bitfield": false, - "values": [ - { - "name": "HAND_JOINT_PALM", - "value": 0 - }, - { - "name": "HAND_JOINT_WRIST", - "value": 1 - }, - { - "name": "HAND_JOINT_THUMB_METACARPAL", - "value": 2 - }, - { - "name": "HAND_JOINT_THUMB_PROXIMAL", - "value": 3 - }, - { - "name": "HAND_JOINT_THUMB_DISTAL", - "value": 4 - }, - { - "name": "HAND_JOINT_THUMB_TIP", - "value": 5 - }, - { - "name": "HAND_JOINT_INDEX_METACARPAL", - "value": 6 - }, - { - "name": "HAND_JOINT_INDEX_PROXIMAL", - "value": 7 - }, - { - "name": "HAND_JOINT_INDEX_INTERMEDIATE", - "value": 8 - }, - { - "name": "HAND_JOINT_INDEX_DISTAL", - "value": 9 - }, - { - "name": "HAND_JOINT_INDEX_TIP", - "value": 10 - }, - { - "name": "HAND_JOINT_MIDDLE_METACARPAL", - "value": 11 - }, - { - "name": "HAND_JOINT_MIDDLE_PROXIMAL", - "value": 12 - }, - { - "name": "HAND_JOINT_MIDDLE_INTERMEDIATE", - "value": 13 - }, - { - "name": "HAND_JOINT_MIDDLE_DISTAL", - "value": 14 - }, - { - "name": "HAND_JOINT_MIDDLE_TIP", - "value": 15 - }, - { - "name": "HAND_JOINT_RING_METACARPAL", - "value": 16 - }, - { - "name": "HAND_JOINT_RING_PROXIMAL", - "value": 17 - }, - { - "name": "HAND_JOINT_RING_INTERMEDIATE", - "value": 18 - }, - { - "name": "HAND_JOINT_RING_DISTAL", - "value": 19 - }, - { - "name": "HAND_JOINT_RING_TIP", - "value": 20 - }, - { - "name": "HAND_JOINT_LITTLE_METACARPAL", - "value": 21 - }, - { - "name": "HAND_JOINT_LITTLE_PROXIMAL", - "value": 22 - }, - { - "name": "HAND_JOINT_LITTLE_INTERMEDIATE", - "value": 23 - }, - { - "name": "HAND_JOINT_LITTLE_DISTAL", - "value": 24 - }, - { - "name": "HAND_JOINT_LITTLE_TIP", - "value": 25 - }, - { - "name": "HAND_JOINT_MAX", - "value": 26 - } - ] - }, - { - "name": "HandJointFlags", - "is_bitfield": true, - "values": [ - { - "name": "HAND_JOINT_NONE", - "value": 0 - }, - { - "name": "HAND_JOINT_ORIENTATION_VALID", - "value": 1 - }, - { - "name": "HAND_JOINT_ORIENTATION_TRACKED", - "value": 2 - }, - { - "name": "HAND_JOINT_POSITION_VALID", - "value": 4 - }, - { - "name": "HAND_JOINT_POSITION_TRACKED", - "value": 8 - }, - { - "name": "HAND_JOINT_LINEAR_VELOCITY_VALID", - "value": 16 - }, - { - "name": "HAND_JOINT_ANGULAR_VELOCITY_VALID", - "value": 32 - } - ] - } - ], - "methods": [ - { - "name": "get_display_refresh_rate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_display_refresh_rate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "refresh_rate", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_render_target_size_multiplier", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_render_target_size_multiplier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "multiplier", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "is_foveation_supported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_foveation_level", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_foveation_level", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "foveation_level", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_foveation_dynamic", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_foveation_dynamic", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "foveation_dynamic", - "type": "bool" - } - ] - }, - { - "name": "is_action_set_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_action_set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2678287736, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "get_action_sets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_available_display_refresh_rates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_motion_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 855158159, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRInterface.Hand" - }, - { - "name": "motion_range", - "type": "enum::OpenXRInterface.HandMotionRange" - } - ] - }, - { - "name": "get_motion_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3955838114, - "return_value": { - "type": "enum::OpenXRInterface.HandMotionRange" - }, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRInterface.Hand" - } - ] - }, - { - "name": "get_hand_joint_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 720567706, - "return_value": { - "type": "bitfield::OpenXRInterface.HandJointFlags" - }, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRInterface.Hand" - }, - { - "name": "joint", - "type": "enum::OpenXRInterface.HandJoints" - } - ] - }, - { - "name": "get_hand_joint_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1974618321, - "return_value": { - "type": "Quaternion" - }, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRInterface.Hand" - }, - { - "name": "joint", - "type": "enum::OpenXRInterface.HandJoints" - } - ] - }, - { - "name": "get_hand_joint_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3529194242, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRInterface.Hand" - }, - { - "name": "joint", - "type": "enum::OpenXRInterface.HandJoints" - } - ] - }, - { - "name": "get_hand_joint_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 901522724, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRInterface.Hand" - }, - { - "name": "joint", - "type": "enum::OpenXRInterface.HandJoints" - } - ] - }, - { - "name": "get_hand_joint_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3529194242, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRInterface.Hand" - }, - { - "name": "joint", - "type": "enum::OpenXRInterface.HandJoints" - } - ] - }, - { - "name": "get_hand_joint_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3529194242, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "hand", - "type": "enum::OpenXRInterface.Hand" - }, - { - "name": "joint", - "type": "enum::OpenXRInterface.HandJoints" - } - ] - }, - { - "name": "is_hand_tracking_supported", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_eye_gaze_interaction_supported", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "session_begun" - }, - { - "name": "session_stopping" - }, - { - "name": "session_focussed" - }, - { - "name": "session_visible" - }, - { - "name": "pose_recentered" - } - ], - "properties": [ - { - "type": "float", - "name": "display_refresh_rate", - "setter": "set_display_refresh_rate", - "getter": "get_display_refresh_rate" - }, - { - "type": "float", - "name": "render_target_size_multiplier", - "setter": "set_render_target_size_multiplier", - "getter": "get_render_target_size_multiplier" - }, - { - "type": "int", - "name": "foveation_level", - "setter": "set_foveation_level", - "getter": "get_foveation_level" - }, - { - "type": "bool", - "name": "foveation_dynamic", - "setter": "set_foveation_dynamic", - "getter": "get_foveation_dynamic" - } - ] - }, - { - "name": "OptimizedTranslation", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Translation", - "api_type": "core", - "methods": [ - { - "name": "generate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1466479800, - "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_static": false, - "is_virtual": false, - "hash": 2697778442, - "hash_compatibility": [ - 3043792800 - ], - "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_static": false, - "is_virtual": false, - "hash": 3781678508, - "hash_compatibility": [ - 3944051090 - ], - "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_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "set_item_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "set_item_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "set_item_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_metadata", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2152698145, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "metadata", - "type": "Variant" - } - ] - }, - { - "name": "set_item_tooltip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tooltip", - "type": "String" - } - ] - }, - { - "name": "get_item_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_metadata", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_tooltip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_item_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_item_separator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_separator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3005725572, - "arguments": [ - { - "name": "text", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "select", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_selected", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_selected_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_selected_metadata", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1214101251, - "return_value": { - "type": "Variant" - } - }, - { - "name": "remove_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_popup", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 229722558, - "return_value": { - "type": "PopupMenu" - } - }, - { - "name": "show_popup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_item_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "has_selectable_items", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_selectable_item", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 894402480, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "from_last", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_fit_to_longest_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "fit", - "type": "bool" - } - ] - }, - { - "name": "is_fit_to_longest_item", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_allow_reselect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "get_allow_reselect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_disable_shortcuts", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disabled", - "type": "bool" - } - ] - } - ], - "signals": [ - { - "name": "item_selected", - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "item_focused", - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "item_count", - "setter": "set_item_count", - "getter": "get_item_count" - }, - { - "type": "int", - "name": "selected", - "setter": "_select_int", - "getter": "get_selected" - }, - { - "type": "bool", - "name": "fit_to_longest_item", - "setter": "set_fit_to_longest_item", - "getter": "is_fit_to_longest_item" - }, - { - "type": "bool", - "name": "allow_reselect", - "setter": "set_allow_reselect", - "getter": "get_allow_reselect" - } - ] - }, - { - "name": "PCKPacker", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "pck_start", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 508410629, - "hash_compatibility": [ - 3232891339 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "pck_name", - "type": "String" - }, - { - "name": "alignment", - "type": "int", - "meta": "int32", - "default_value": "32" - }, - { - "name": "key", - "type": "String", - "default_value": "\"0000000000000000000000000000000000000000000000000000000000000000\"" - }, - { - "name": "encrypt_directory", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "add_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2215643711, - "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_static": false, - "is_virtual": false, - "hash": 1633102583, - "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_static": false, - "is_virtual": false, - "hash": 966674026, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ] - }, - { - "name": "PackedScene", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "GenEditState", - "is_bitfield": false, - "values": [ - { - "name": "GEN_EDIT_STATE_DISABLED", - "value": 0 - }, - { - "name": "GEN_EDIT_STATE_INSTANCE", - "value": 1 - }, - { - "name": "GEN_EDIT_STATE_MAIN", - "value": 2 - }, - { - "name": "GEN_EDIT_STATE_MAIN_INHERITED", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "pack", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2584678054, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "Node" - } - ] - }, - { - "name": "instantiate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2628778455, - "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_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3479783971, - "return_value": { - "type": "SceneState" - } - } - ] - }, - { - "name": "PacketPeer", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_var", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3442865206, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "allow_objects", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "put_var", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2436251611, - "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_static": false, - "is_virtual": false, - "hash": 2115431945, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "put_packet", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "get_packet_error", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3185525595, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "get_available_packet_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_encode_buffer_max_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_encode_buffer_max_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "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" - } - ] - }, - { - "name": "PacketPeerDTLS", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PacketPeer", - "api_type": "core", - "enums": [ - { - "name": "Status", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "connect_to_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2880188099, - "hash_compatibility": [ - 1801538152 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "packet_peer", - "type": "PacketPeerUDP" - }, - { - "name": "hostname", - "type": "String" - }, - { - "name": "client_options", - "type": "TLSOptions", - "default_value": "null" - } - ] - }, - { - "name": "get_status", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3248654679, - "return_value": { - "type": "enum::PacketPeerDTLS.Status" - } - }, - { - "name": "disconnect_from_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "PacketPeerExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PacketPeer", - "api_type": "core", - "methods": [ - { - "name": "_get_packet", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "r_buffer", - "type": "const uint8_t **" - }, - { - "name": "r_buffer_size", - "type": "int32_t*" - } - ] - }, - { - "name": "_put_packet", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_buffer", - "type": "const uint8_t*" - }, - { - "name": "p_buffer_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_available_packet_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_max_packet_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3281897016, - "arguments": [ - { - "name": "peer", - "type": "StreamPeer" - } - ] - }, - { - "name": "get_stream_peer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2741655269, - "return_value": { - "type": "StreamPeer" - } - }, - { - "name": "set_input_buffer_max_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_size_bytes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_output_buffer_max_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_size_bytes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_input_buffer_max_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_output_buffer_max_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "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" - }, - { - "type": "int", - "name": "output_buffer_max_size", - "setter": "set_output_buffer_max_size", - "getter": "get_output_buffer_max_size" - }, - { - "type": "StreamPeer", - "name": "stream_peer", - "setter": "set_stream_peer", - "getter": "get_stream_peer" - } - ] - }, - { - "name": "PacketPeerUDP", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PacketPeer", - "api_type": "core", - "methods": [ - { - "name": "bind", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051239242, - "hash_compatibility": [ - 4290438434 - ], - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "wait", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "is_bound", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "connect_to_host", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 993915709, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "host", - "type": "String" - }, - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_socket_connected", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_packet_ip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_packet_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_local_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_dest_address", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 993915709, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "join_multicast_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 852856452, - "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_static": false, - "is_virtual": false, - "hash": 852856452, - "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" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_panorama", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_filtering_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_filtering_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "panorama", - "setter": "set_panorama", - "getter": "get_panorama" - }, - { - "type": "bool", - "name": "filter", - "setter": "set_filtering_enabled", - "getter": "is_filtering_enabled" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_scroll_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_scroll_base_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_scroll_base_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_scroll_base_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "scale", - "type": "Vector2" - } - ] - }, - { - "name": "get_scroll_base_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_limit_begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_limit_begin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_limit_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_limit_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_ignore_camera_zoom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "ignore", - "type": "bool" - } - ] - }, - { - "name": "is_ignore_camera_zoom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "scroll_offset", - "setter": "set_scroll_offset", - "getter": "get_scroll_offset" - }, - { - "type": "Vector2", - "name": "scroll_base_offset", - "setter": "set_scroll_base_offset", - "getter": "get_scroll_base_offset" - }, - { - "type": "Vector2", - "name": "scroll_base_scale", - "setter": "set_scroll_base_scale", - "getter": "get_scroll_base_scale" - }, - { - "type": "Vector2", - "name": "scroll_limit_begin", - "setter": "set_limit_begin", - "getter": "get_limit_begin" - }, - { - "type": "Vector2", - "name": "scroll_limit_end", - "setter": "set_limit_end", - "getter": "get_limit_end" - }, - { - "type": "bool", - "name": "scroll_ignore_camera_zoom", - "setter": "set_ignore_camera_zoom", - "getter": "is_ignore_camera_zoom" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "scale", - "type": "Vector2" - } - ] - }, - { - "name": "get_motion_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_motion_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_motion_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_mirroring", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "mirror", - "type": "Vector2" - } - ] - }, - { - "name": "get_mirroring", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "motion_scale", - "setter": "set_motion_scale", - "getter": "get_motion_scale" - }, - { - "type": "Vector2", - "name": "motion_offset", - "setter": "set_motion_offset", - "getter": "get_motion_offset" - }, - { - "type": "Vector2", - "name": "motion_mirroring", - "setter": "set_mirroring", - "getter": "get_mirroring" - } - ] - }, - { - "name": "ParticleProcessMaterial", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Material", - "api_type": "core", - "enums": [ - { - "name": "Parameter", - "is_bitfield": false, - "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_RADIAL_VELOCITY", - "value": 15 - }, - { - "name": "PARAM_DIRECTIONAL_VELOCITY", - "value": 16 - }, - { - "name": "PARAM_SCALE_OVER_VELOCITY", - "value": 17 - }, - { - "name": "PARAM_MAX", - "value": 18 - }, - { - "name": "PARAM_TURB_VEL_INFLUENCE", - "value": 13 - }, - { - "name": "PARAM_TURB_INIT_DISPLACEMENT", - "value": 14 - }, - { - "name": "PARAM_TURB_INFLUENCE_OVER_LIFE", - "value": 12 - } - ] - }, - { - "name": "ParticleFlags", - "is_bitfield": false, - "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_DAMPING_AS_FRICTION", - "value": 3 - }, - { - "name": "PARTICLE_FLAG_MAX", - "value": 4 - } - ] - }, - { - "name": "EmissionShape", - "is_bitfield": false, - "values": [ - { - "name": "EMISSION_SHAPE_POINT", - "value": 0 - }, - { - "name": "EMISSION_SHAPE_SPHERE", - "value": 1 - }, - { - "name": "EMISSION_SHAPE_SPHERE_SURFACE", - "value": 2 - }, - { - "name": "EMISSION_SHAPE_BOX", - "value": 3 - }, - { - "name": "EMISSION_SHAPE_POINTS", - "value": 4 - }, - { - "name": "EMISSION_SHAPE_DIRECTED_POINTS", - "value": 5 - }, - { - "name": "EMISSION_SHAPE_RING", - "value": 6 - }, - { - "name": "EMISSION_SHAPE_MAX", - "value": 7 - } - ] - }, - { - "name": "SubEmitterMode", - "is_bitfield": false, - "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": "CollisionMode", - "is_bitfield": false, - "values": [ - { - "name": "COLLISION_DISABLED", - "value": 0 - }, - { - "name": "COLLISION_RIGID", - "value": 1 - }, - { - "name": "COLLISION_HIDE_ON_CONTACT", - "value": 2 - }, - { - "name": "COLLISION_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "degrees", - "type": "Vector3" - } - ] - }, - { - "name": "get_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_inherit_velocity_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_inherit_velocity_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_spread", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_spread", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_flatness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_flatness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_param_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2295964248, - "arguments": [ - { - "name": "param", - "type": "enum::ParticleProcessMaterial.Parameter" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3903786503, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::ParticleProcessMaterial.Parameter" - } - ] - }, - { - "name": "set_param_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2295964248, - "arguments": [ - { - "name": "param", - "type": "enum::ParticleProcessMaterial.Parameter" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3903786503, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::ParticleProcessMaterial.Parameter" - } - ] - }, - { - "name": "set_param_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 526976089, - "arguments": [ - { - "name": "param", - "type": "enum::ParticleProcessMaterial.Parameter" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_param_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3489372978, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "param", - "type": "enum::ParticleProcessMaterial.Parameter" - } - ] - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_color_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "ramp", - "type": "Texture2D" - } - ] - }, - { - "name": "get_color_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_alpha_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "curve", - "type": "Texture2D" - } - ] - }, - { - "name": "get_alpha_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_emission_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "curve", - "type": "Texture2D" - } - ] - }, - { - "name": "get_emission_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_color_initial_ramp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "ramp", - "type": "Texture2D" - } - ] - }, - { - "name": "get_color_initial_ramp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_velocity_limit_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "curve", - "type": "Texture2D" - } - ] - }, - { - "name": "get_velocity_limit_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_particle_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1711815571, - "arguments": [ - { - "name": "particle_flag", - "type": "enum::ParticleProcessMaterial.ParticleFlags" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_particle_flag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3895316907, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "particle_flag", - "type": "enum::ParticleProcessMaterial.ParticleFlags" - } - ] - }, - { - "name": "set_velocity_pivot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "pivot", - "type": "Vector3" - } - ] - }, - { - "name": "get_velocity_pivot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3783033775, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_emission_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 461501442, - "arguments": [ - { - "name": "shape", - "type": "enum::ParticleProcessMaterial.EmissionShape" - } - ] - }, - { - "name": "get_emission_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3719733018, - "return_value": { - "type": "enum::ParticleProcessMaterial.EmissionShape" - } - }, - { - "name": "set_emission_sphere_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_sphere_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_box_extents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "extents", - "type": "Vector3" - } - ] - }, - { - "name": "get_emission_box_extents", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_emission_point_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_emission_point_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_emission_normal_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_emission_normal_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_emission_color_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_emission_color_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_emission_point_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "point_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_emission_point_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_emission_ring_axis", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "axis", - "type": "Vector3" - } - ] - }, - { - "name": "get_emission_ring_axis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_emission_ring_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_ring_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_ring_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_ring_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_ring_inner_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "inner_radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_emission_ring_inner_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_emission_shape_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "emission_shape_offset", - "type": "Vector3" - } - ] - }, - { - "name": "get_emission_shape_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_emission_shape_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "emission_shape_scale", - "type": "Vector3" - } - ] - }, - { - "name": "get_emission_shape_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_turbulence_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_turbulence_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "turbulence_enabled", - "type": "bool" - } - ] - }, - { - "name": "get_turbulence_noise_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_turbulence_noise_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "turbulence_noise_strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_turbulence_noise_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_turbulence_noise_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "turbulence_noise_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_turbulence_noise_speed_random", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_turbulence_noise_speed_random", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "turbulence_noise_speed_random", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_turbulence_noise_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_turbulence_noise_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "turbulence_noise_speed", - "type": "Vector3" - } - ] - }, - { - "name": "get_gravity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_gravity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "accel_vec", - "type": "Vector3" - } - ] - }, - { - "name": "set_lifetime_randomness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "randomness", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_lifetime_randomness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_sub_emitter_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2399052877, - "return_value": { - "type": "enum::ParticleProcessMaterial.SubEmitterMode" - } - }, - { - "name": "set_sub_emitter_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2161806672, - "arguments": [ - { - "name": "mode", - "type": "enum::ParticleProcessMaterial.SubEmitterMode" - } - ] - }, - { - "name": "get_sub_emitter_frequency", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_sub_emitter_frequency", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "hz", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_sub_emitter_amount_at_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sub_emitter_amount_at_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sub_emitter_amount_at_collision", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sub_emitter_amount_at_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sub_emitter_keep_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_sub_emitter_keep_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_attractor_interaction_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_attractor_interaction_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collision_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 653804659, - "arguments": [ - { - "name": "mode", - "type": "enum::ParticleProcessMaterial.CollisionMode" - } - ] - }, - { - "name": "get_collision_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 139371864, - "return_value": { - "type": "enum::ParticleProcessMaterial.CollisionMode" - } - }, - { - "name": "set_collision_use_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "radius", - "type": "bool" - } - ] - }, - { - "name": "is_collision_using_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collision_friction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "friction", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_collision_friction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_collision_bounce", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bounce", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_collision_bounce", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "lifetime_randomness", - "setter": "set_lifetime_randomness", - "getter": "get_lifetime_randomness" - }, - { - "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": "bool", - "name": "particle_flag_damping_as_friction", - "setter": "set_particle_flag", - "getter": "get_particle_flag", - "index": 3 - }, - { - "type": "Vector3", - "name": "emission_shape_offset", - "setter": "set_emission_shape_offset", - "getter": "get_emission_shape_offset" - }, - { - "type": "Vector3", - "name": "emission_shape_scale", - "setter": "set_emission_shape_scale", - "getter": "get_emission_shape_scale" - }, - { - "type": "int", - "name": "emission_shape", - "setter": "set_emission_shape", - "getter": "get_emission_shape" - }, - { - "type": "float", - "name": "emission_sphere_radius", - "setter": "set_emission_sphere_radius", - "getter": "get_emission_sphere_radius" - }, - { - "type": "Vector3", - "name": "emission_box_extents", - "setter": "set_emission_box_extents", - "getter": "get_emission_box_extents" - }, - { - "type": "Texture2D", - "name": "emission_point_texture", - "setter": "set_emission_point_texture", - "getter": "get_emission_point_texture" - }, - { - "type": "Texture2D", - "name": "emission_normal_texture", - "setter": "set_emission_normal_texture", - "getter": "get_emission_normal_texture" - }, - { - "type": "Texture2D", - "name": "emission_color_texture", - "setter": "set_emission_color_texture", - "getter": "get_emission_color_texture" - }, - { - "type": "int", - "name": "emission_point_count", - "setter": "set_emission_point_count", - "getter": "get_emission_point_count" - }, - { - "type": "Vector3", - "name": "emission_ring_axis", - "setter": "set_emission_ring_axis", - "getter": "get_emission_ring_axis" - }, - { - "type": "float", - "name": "emission_ring_height", - "setter": "set_emission_ring_height", - "getter": "get_emission_ring_height" - }, - { - "type": "float", - "name": "emission_ring_radius", - "setter": "set_emission_ring_radius", - "getter": "get_emission_ring_radius" - }, - { - "type": "float", - "name": "emission_ring_inner_radius", - "setter": "set_emission_ring_inner_radius", - "getter": "get_emission_ring_inner_radius" - }, - { - "type": "float", - "name": "angle_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 7 - }, - { - "type": "float", - "name": "angle_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 7 - }, - { - "type": "CurveTexture", - "name": "angle_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 7 - }, - { - "type": "float", - "name": "inherit_velocity_ratio", - "setter": "set_inherit_velocity_ratio", - "getter": "get_inherit_velocity_ratio" - }, - { - "type": "Vector3", - "name": "velocity_pivot", - "setter": "set_velocity_pivot", - "getter": "get_velocity_pivot" - }, - { - "type": "Vector3", - "name": "direction", - "setter": "set_direction", - "getter": "get_direction" - }, - { - "type": "float", - "name": "spread", - "setter": "set_spread", - "getter": "get_spread" - }, - { - "type": "float", - "name": "flatness", - "setter": "set_flatness", - "getter": "get_flatness" - }, - { - "type": "float", - "name": "initial_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 0 - }, - { - "type": "float", - "name": "initial_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 0 - }, - { - "type": "float", - "name": "angular_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 1 - }, - { - "type": "float", - "name": "angular_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 1 - }, - { - "type": "CurveTexture", - "name": "angular_velocity_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 1 - }, - { - "type": "float", - "name": "directional_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 16 - }, - { - "type": "float", - "name": "directional_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 16 - }, - { - "type": "CurveXYZTexture", - "name": "directional_velocity_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 16 - }, - { - "type": "float", - "name": "orbit_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 2 - }, - { - "type": "float", - "name": "orbit_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 2 - }, - { - "type": "CurveTexture,CurveXYZTexture", - "name": "orbit_velocity_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 2 - }, - { - "type": "float", - "name": "radial_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 15 - }, - { - "type": "float", - "name": "radial_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 15 - }, - { - "type": "CurveTexture", - "name": "radial_velocity_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 15 - }, - { - "type": "CurveTexture", - "name": "velocity_limit_curve", - "setter": "set_velocity_limit_curve", - "getter": "get_velocity_limit_curve" - }, - { - "type": "Vector3", - "name": "gravity", - "setter": "set_gravity", - "getter": "get_gravity" - }, - { - "type": "float", - "name": "linear_accel_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 3 - }, - { - "type": "float", - "name": "linear_accel_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 3 - }, - { - "type": "CurveTexture", - "name": "linear_accel_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 3 - }, - { - "type": "float", - "name": "radial_accel_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 4 - }, - { - "type": "float", - "name": "radial_accel_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 4 - }, - { - "type": "CurveTexture", - "name": "radial_accel_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 4 - }, - { - "type": "float", - "name": "tangential_accel_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 5 - }, - { - "type": "float", - "name": "tangential_accel_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 5 - }, - { - "type": "CurveTexture", - "name": "tangential_accel_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 5 - }, - { - "type": "float", - "name": "damping_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 6 - }, - { - "type": "float", - "name": "damping_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 6 - }, - { - "type": "CurveTexture", - "name": "damping_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 6 - }, - { - "type": "bool", - "name": "attractor_interaction_enabled", - "setter": "set_attractor_interaction_enabled", - "getter": "is_attractor_interaction_enabled" - }, - { - "type": "float", - "name": "scale_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 8 - }, - { - "type": "float", - "name": "scale_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 8 - }, - { - "type": "CurveTexture,CurveXYZTexture", - "name": "scale_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 8 - }, - { - "type": "float", - "name": "scale_over_velocity_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 17 - }, - { - "type": "float", - "name": "scale_over_velocity_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 17 - }, - { - "type": "CurveTexture,CurveXYZTexture", - "name": "scale_over_velocity_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 17 - }, - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - }, - { - "type": "GradientTexture1D", - "name": "color_ramp", - "setter": "set_color_ramp", - "getter": "get_color_ramp" - }, - { - "type": "GradientTexture1D", - "name": "color_initial_ramp", - "setter": "set_color_initial_ramp", - "getter": "get_color_initial_ramp" - }, - { - "type": "CurveTexture", - "name": "alpha_curve", - "setter": "set_alpha_curve", - "getter": "get_alpha_curve" - }, - { - "type": "CurveTexture", - "name": "emission_curve", - "setter": "set_emission_curve", - "getter": "get_emission_curve" - }, - { - "type": "float", - "name": "hue_variation_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 9 - }, - { - "type": "float", - "name": "hue_variation_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 9 - }, - { - "type": "CurveTexture", - "name": "hue_variation_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 9 - }, - { - "type": "float", - "name": "anim_speed_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 10 - }, - { - "type": "float", - "name": "anim_speed_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 10 - }, - { - "type": "CurveTexture", - "name": "anim_speed_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 10 - }, - { - "type": "float", - "name": "anim_offset_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 11 - }, - { - "type": "float", - "name": "anim_offset_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 11 - }, - { - "type": "CurveTexture", - "name": "anim_offset_curve", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 11 - }, - { - "type": "bool", - "name": "turbulence_enabled", - "setter": "set_turbulence_enabled", - "getter": "get_turbulence_enabled" - }, - { - "type": "float", - "name": "turbulence_noise_strength", - "setter": "set_turbulence_noise_strength", - "getter": "get_turbulence_noise_strength" - }, - { - "type": "float", - "name": "turbulence_noise_scale", - "setter": "set_turbulence_noise_scale", - "getter": "get_turbulence_noise_scale" - }, - { - "type": "Vector3", - "name": "turbulence_noise_speed", - "setter": "set_turbulence_noise_speed", - "getter": "get_turbulence_noise_speed" - }, - { - "type": "float", - "name": "turbulence_noise_speed_random", - "setter": "set_turbulence_noise_speed_random", - "getter": "get_turbulence_noise_speed_random" - }, - { - "type": "float", - "name": "turbulence_influence_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 13 - }, - { - "type": "float", - "name": "turbulence_influence_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 13 - }, - { - "type": "float", - "name": "turbulence_initial_displacement_min", - "setter": "set_param_min", - "getter": "get_param_min", - "index": 14 - }, - { - "type": "float", - "name": "turbulence_initial_displacement_max", - "setter": "set_param_max", - "getter": "get_param_max", - "index": 14 - }, - { - "type": "CurveTexture", - "name": "turbulence_influence_over_life", - "setter": "set_param_texture", - "getter": "get_param_texture", - "index": 12 - }, - { - "type": "int", - "name": "collision_mode", - "setter": "set_collision_mode", - "getter": "get_collision_mode" - }, - { - "type": "float", - "name": "collision_friction", - "setter": "set_collision_friction", - "getter": "get_collision_friction" - }, - { - "type": "float", - "name": "collision_bounce", - "setter": "set_collision_bounce", - "getter": "get_collision_bounce" - }, - { - "type": "bool", - "name": "collision_use_scale", - "setter": "set_collision_use_scale", - "getter": "is_collision_using_scale" - }, - { - "type": "int", - "name": "sub_emitter_mode", - "setter": "set_sub_emitter_mode", - "getter": "get_sub_emitter_mode" - }, - { - "type": "float", - "name": "sub_emitter_frequency", - "setter": "set_sub_emitter_frequency", - "getter": "get_sub_emitter_frequency" - }, - { - "type": "int", - "name": "sub_emitter_amount_at_end", - "setter": "set_sub_emitter_amount_at_end", - "getter": "get_sub_emitter_amount_at_end" - }, - { - "type": "int", - "name": "sub_emitter_amount_at_collision", - "setter": "set_sub_emitter_amount_at_collision", - "getter": "get_sub_emitter_amount_at_collision" - }, - { - "type": "bool", - "name": "sub_emitter_keep_velocity", - "setter": "set_sub_emitter_keep_velocity", - "getter": "get_sub_emitter_keep_velocity" - } - ] - }, - { - "name": "Path2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659985499, - "arguments": [ - { - "name": "curve", - "type": "Curve2D" - } - ] - }, - { - "name": "get_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 660369445, - "return_value": { - "type": "Curve2D" - } - } - ], - "properties": [ - { - "type": "Curve2D", - "name": "curve", - "setter": "set_curve", - "getter": "get_curve" - } - ] - }, - { - "name": "Path3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "set_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 408955118, - "arguments": [ - { - "name": "curve", - "type": "Curve3D" - } - ] - }, - { - "name": "get_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4244715212, - "return_value": { - "type": "Curve3D" - } - } - ], - "signals": [ - { - "name": "curve_changed" - } - ], - "properties": [ - { - "type": "Curve3D", - "name": "curve", - "setter": "set_curve", - "getter": "get_curve" - } - ] - }, - { - "name": "PathFollow2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_progress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "progress", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_progress", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_h_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "h_offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_h_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_v_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "v_offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_v_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_progress_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_progress_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_rotates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_rotating", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_cubic_interpolation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_cubic_interpolation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_loop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "loop", - "type": "bool" - } - ] - }, - { - "name": "has_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "progress", - "setter": "set_progress", - "getter": "get_progress" - }, - { - "type": "float", - "name": "progress_ratio", - "setter": "set_progress_ratio", - "getter": "get_progress_ratio" - }, - { - "type": "float", - "name": "h_offset", - "setter": "set_h_offset", - "getter": "get_h_offset" - }, - { - "type": "float", - "name": "v_offset", - "setter": "set_v_offset", - "getter": "get_v_offset" - }, - { - "type": "bool", - "name": "rotates", - "setter": "set_rotates", - "getter": "is_rotating" - }, - { - "type": "bool", - "name": "cubic_interp", - "setter": "set_cubic_interpolation", - "getter": "get_cubic_interpolation" - }, - { - "type": "bool", - "name": "loop", - "setter": "set_loop", - "getter": "has_loop" - } - ] - }, - { - "name": "PathFollow3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "enums": [ - { - "name": "RotationMode", - "is_bitfield": false, - "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_progress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "progress", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_progress", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_h_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "h_offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_h_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_v_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "v_offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_v_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_progress_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_progress_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_rotation_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1640311967, - "arguments": [ - { - "name": "rotation_mode", - "type": "enum::PathFollow3D.RotationMode" - } - ] - }, - { - "name": "get_rotation_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814010545, - "return_value": { - "type": "enum::PathFollow3D.RotationMode" - } - }, - { - "name": "set_cubic_interpolation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_cubic_interpolation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_model_front", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_using_model_front", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_loop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "loop", - "type": "bool" - } - ] - }, - { - "name": "has_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tilt_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_tilt_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "correct_posture", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2686588690, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "transform", - "type": "Transform3D" - }, - { - "name": "rotation_mode", - "type": "enum::PathFollow3D.RotationMode" - } - ] - } - ], - "properties": [ - { - "type": "float", - "name": "progress", - "setter": "set_progress", - "getter": "get_progress" - }, - { - "type": "float", - "name": "progress_ratio", - "setter": "set_progress_ratio", - "getter": "get_progress_ratio" - }, - { - "type": "float", - "name": "h_offset", - "setter": "set_h_offset", - "getter": "get_h_offset" - }, - { - "type": "float", - "name": "v_offset", - "setter": "set_v_offset", - "getter": "get_v_offset" - }, - { - "type": "int", - "name": "rotation_mode", - "setter": "set_rotation_mode", - "getter": "get_rotation_mode" - }, - { - "type": "bool", - "name": "use_model_front", - "setter": "set_use_model_front", - "getter": "is_using_model_front" - }, - { - "type": "bool", - "name": "cubic_interp", - "setter": "set_cubic_interpolation", - "getter": "get_cubic_interpolation" - }, - { - "type": "bool", - "name": "loop", - "setter": "set_loop", - "getter": "has_loop" - }, - { - "type": "bool", - "name": "tilt_enabled", - "setter": "set_tilt_enabled", - "getter": "is_tilt_enabled" - } - ] - }, - { - "name": "Performance", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "Monitor", - "is_bitfield": false, - "values": [ - { - "name": "TIME_FPS", - "value": 0 - }, - { - "name": "TIME_PROCESS", - "value": 1 - }, - { - "name": "TIME_PHYSICS_PROCESS", - "value": 2 - }, - { - "name": "TIME_NAVIGATION_PROCESS", - "value": 3 - }, - { - "name": "MEMORY_STATIC", - "value": 4 - }, - { - "name": "MEMORY_STATIC_MAX", - "value": 5 - }, - { - "name": "MEMORY_MESSAGE_BUFFER_MAX", - "value": 6 - }, - { - "name": "OBJECT_COUNT", - "value": 7 - }, - { - "name": "OBJECT_RESOURCE_COUNT", - "value": 8 - }, - { - "name": "OBJECT_NODE_COUNT", - "value": 9 - }, - { - "name": "OBJECT_ORPHAN_NODE_COUNT", - "value": 10 - }, - { - "name": "RENDER_TOTAL_OBJECTS_IN_FRAME", - "value": 11 - }, - { - "name": "RENDER_TOTAL_PRIMITIVES_IN_FRAME", - "value": 12 - }, - { - "name": "RENDER_TOTAL_DRAW_CALLS_IN_FRAME", - "value": 13 - }, - { - "name": "RENDER_VIDEO_MEM_USED", - "value": 14 - }, - { - "name": "RENDER_TEXTURE_MEM_USED", - "value": 15 - }, - { - "name": "RENDER_BUFFER_MEM_USED", - "value": 16 - }, - { - "name": "PHYSICS_2D_ACTIVE_OBJECTS", - "value": 17 - }, - { - "name": "PHYSICS_2D_COLLISION_PAIRS", - "value": 18 - }, - { - "name": "PHYSICS_2D_ISLAND_COUNT", - "value": 19 - }, - { - "name": "PHYSICS_3D_ACTIVE_OBJECTS", - "value": 20 - }, - { - "name": "PHYSICS_3D_COLLISION_PAIRS", - "value": 21 - }, - { - "name": "PHYSICS_3D_ISLAND_COUNT", - "value": 22 - }, - { - "name": "AUDIO_OUTPUT_LATENCY", - "value": 23 - }, - { - "name": "NAVIGATION_ACTIVE_MAPS", - "value": 24 - }, - { - "name": "NAVIGATION_REGION_COUNT", - "value": 25 - }, - { - "name": "NAVIGATION_AGENT_COUNT", - "value": 26 - }, - { - "name": "NAVIGATION_LINK_COUNT", - "value": 27 - }, - { - "name": "NAVIGATION_POLYGON_COUNT", - "value": 28 - }, - { - "name": "NAVIGATION_EDGE_COUNT", - "value": 29 - }, - { - "name": "NAVIGATION_EDGE_MERGE_COUNT", - "value": 30 - }, - { - "name": "NAVIGATION_EDGE_CONNECTION_COUNT", - "value": 31 - }, - { - "name": "NAVIGATION_EDGE_FREE_COUNT", - "value": 32 - }, - { - "name": "MONITOR_MAX", - "value": 33 - } - ] - } - ], - "methods": [ - { - "name": "get_monitor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1943275655, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "monitor", - "type": "enum::Performance.Monitor" - } - ] - }, - { - "name": "add_custom_monitor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4099036814, - "hash_compatibility": [ - 2865980031 - ], - "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_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "id", - "type": "StringName" - } - ] - }, - { - "name": "has_custom_monitor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2041966384, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "StringName" - } - ] - }, - { - "name": "get_custom_monitor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2138907829, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "id", - "type": "StringName" - } - ] - }, - { - "name": "get_monitor_modification_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_custom_monitor_names", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::StringName" - } - } - ] - }, - { - "name": "PhysicalBone2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "RigidBody2D", - "api_type": "core", - "methods": [ - { - "name": "get_joint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3582132112, - "return_value": { - "type": "Joint2D" - } - }, - { - "name": "get_auto_configure_joint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_auto_configure_joint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "auto_configure_joint", - "type": "bool" - } - ] - }, - { - "name": "set_simulate_physics", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "simulate_physics", - "type": "bool" - } - ] - }, - { - "name": "get_simulate_physics", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_simulating_physics", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_bone2d_nodepath", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "nodepath", - "type": "NodePath" - } - ] - }, - { - "name": "get_bone2d_nodepath", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_bone2d_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bone_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bone2d_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_follow_bone_when_simulating", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "follow_bone", - "type": "bool" - } - ] - }, - { - "name": "get_follow_bone_when_simulating", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "NodePath", - "name": "bone2d_nodepath", - "setter": "set_bone2d_nodepath", - "getter": "get_bone2d_nodepath" - }, - { - "type": "int", - "name": "bone2d_index", - "setter": "set_bone2d_index", - "getter": "get_bone2d_index" - }, - { - "type": "bool", - "name": "auto_configure_joint", - "setter": "set_auto_configure_joint", - "getter": "get_auto_configure_joint" - }, - { - "type": "bool", - "name": "simulate_physics", - "setter": "set_simulate_physics", - "getter": "get_simulate_physics" - }, - { - "type": "bool", - "name": "follow_bone_when_simulating", - "setter": "set_follow_bone_when_simulating", - "getter": "get_follow_bone_when_simulating" - } - ] - }, - { - "name": "PhysicalBone3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsBody3D", - "api_type": "core", - "enums": [ - { - "name": "DampMode", - "is_bitfield": false, - "values": [ - { - "name": "DAMP_MODE_COMBINE", - "value": 0 - }, - { - "name": "DAMP_MODE_REPLACE", - "value": 1 - } - ] - }, - { - "name": "JointType", - "is_bitfield": false, - "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": "_integrate_forces", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "state", - "type": "PhysicsDirectBodyState3D" - } - ] - }, - { - "name": "apply_central_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "apply_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2754756483, - "hash_compatibility": [ - 1002852006 - ], - "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_static": false, - "is_virtual": false, - "hash": 2289552604, - "arguments": [ - { - "name": "joint_type", - "type": "enum::PhysicalBone3D.JointType" - } - ] - }, - { - "name": "get_joint_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 931347320, - "return_value": { - "type": "enum::PhysicalBone3D.JointType" - } - }, - { - "name": "set_joint_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "offset", - "type": "Transform3D" - } - ] - }, - { - "name": "get_joint_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "set_joint_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "euler", - "type": "Vector3" - } - ] - }, - { - "name": "get_joint_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_body_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "offset", - "type": "Transform3D" - } - ] - }, - { - "name": "get_body_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "get_simulate_physics", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_simulating_physics", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_bone_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mass", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_friction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "friction", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_friction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_bounce", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bounce", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bounce", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_gravity_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "gravity_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gravity_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_damp_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1244972221, - "arguments": [ - { - "name": "linear_damp_mode", - "type": "enum::PhysicalBone3D.DampMode" - } - ] - }, - { - "name": "get_linear_damp_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 205884699, - "return_value": { - "type": "enum::PhysicalBone3D.DampMode" - } - }, - { - "name": "set_angular_damp_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1244972221, - "arguments": [ - { - "name": "angular_damp_mode", - "type": "enum::PhysicalBone3D.DampMode" - } - ] - }, - { - "name": "get_angular_damp_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 205884699, - "return_value": { - "type": "enum::PhysicalBone3D.DampMode" - } - }, - { - "name": "set_linear_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "linear_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_linear_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_angular_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angular_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_angular_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "linear_velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "angular_velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_use_custom_integrator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_custom_integrator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_can_sleep", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "able_to_sleep", - "type": "bool" - } - ] - }, - { - "name": "is_able_to_sleep", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "joint_type", - "setter": "set_joint_type", - "getter": "get_joint_type" - }, - { - "type": "Transform3D", - "name": "joint_offset", - "setter": "set_joint_offset", - "getter": "get_joint_offset" - }, - { - "type": "Vector3", - "name": "joint_rotation", - "setter": "set_joint_rotation", - "getter": "get_joint_rotation" - }, - { - "type": "Transform3D", - "name": "body_offset", - "setter": "set_body_offset", - "getter": "get_body_offset" - }, - { - "type": "float", - "name": "mass", - "setter": "set_mass", - "getter": "get_mass" - }, - { - "type": "float", - "name": "friction", - "setter": "set_friction", - "getter": "get_friction" - }, - { - "type": "float", - "name": "bounce", - "setter": "set_bounce", - "getter": "get_bounce" - }, - { - "type": "float", - "name": "gravity_scale", - "setter": "set_gravity_scale", - "getter": "get_gravity_scale" - }, - { - "type": "bool", - "name": "custom_integrator", - "setter": "set_use_custom_integrator", - "getter": "is_using_custom_integrator" - }, - { - "type": "int", - "name": "linear_damp_mode", - "setter": "set_linear_damp_mode", - "getter": "get_linear_damp_mode" - }, - { - "type": "float", - "name": "linear_damp", - "setter": "set_linear_damp", - "getter": "get_linear_damp" - }, - { - "type": "int", - "name": "angular_damp_mode", - "setter": "set_angular_damp_mode", - "getter": "get_angular_damp_mode" - }, - { - "type": "float", - "name": "angular_damp", - "setter": "set_angular_damp", - "getter": "get_angular_damp" - }, - { - "type": "Vector3", - "name": "linear_velocity", - "setter": "set_linear_velocity", - "getter": "get_linear_velocity" - }, - { - "type": "Vector3", - "name": "angular_velocity", - "setter": "set_angular_velocity", - "getter": "get_angular_velocity" - }, - { - "type": "bool", - "name": "can_sleep", - "setter": "set_can_sleep", - "getter": "is_able_to_sleep" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "rayleigh", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_rayleigh_coefficient", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_rayleigh_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_rayleigh_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_mie_coefficient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mie", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mie_coefficient", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_mie_eccentricity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "eccentricity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mie_eccentricity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_mie_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_mie_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_turbidity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "turbidity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_turbidity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sun_disk_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sun_disk_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ground_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_ground_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_energy_multiplier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "multiplier", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_energy_multiplier", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_use_debanding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_debanding", - "type": "bool" - } - ] - }, - { - "name": "get_use_debanding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_night_sky", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "night_sky", - "type": "Texture2D" - } - ] - }, - { - "name": "get_night_sky", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - } - ], - "properties": [ - { - "type": "float", - "name": "rayleigh_coefficient", - "setter": "set_rayleigh_coefficient", - "getter": "get_rayleigh_coefficient" - }, - { - "type": "Color", - "name": "rayleigh_color", - "setter": "set_rayleigh_color", - "getter": "get_rayleigh_color" - }, - { - "type": "float", - "name": "mie_coefficient", - "setter": "set_mie_coefficient", - "getter": "get_mie_coefficient" - }, - { - "type": "float", - "name": "mie_eccentricity", - "setter": "set_mie_eccentricity", - "getter": "get_mie_eccentricity" - }, - { - "type": "Color", - "name": "mie_color", - "setter": "set_mie_color", - "getter": "get_mie_color" - }, - { - "type": "float", - "name": "turbidity", - "setter": "set_turbidity", - "getter": "get_turbidity" - }, - { - "type": "float", - "name": "sun_disk_scale", - "setter": "set_sun_disk_scale", - "getter": "get_sun_disk_scale" - }, - { - "type": "Color", - "name": "ground_color", - "setter": "set_ground_color", - "getter": "get_ground_color" - }, - { - "type": "float", - "name": "energy_multiplier", - "setter": "set_energy_multiplier", - "getter": "get_energy_multiplier" - }, - { - "type": "bool", - "name": "use_debanding", - "setter": "set_use_debanding", - "getter": "get_use_debanding" - }, - { - "type": "Texture2D", - "name": "night_sky", - "setter": "set_night_sky", - "getter": "get_night_sky" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3681923724, - "hash_compatibility": [ - 1529961754 - ], - "return_value": { - "type": "KinematicCollision2D" - }, - "arguments": [ - { - "name": "motion", - "type": "Vector2" - }, - { - "name": "test_only", - "type": "bool", - "default_value": "false" - }, - { - "name": "safe_margin", - "type": "float", - "meta": "float", - "default_value": "0.08" - }, - { - "name": "recovery_as_collision", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "test_move", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3324464701, - "hash_compatibility": [ - 1369208982 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "from", - "type": "Transform2D" - }, - { - "name": "motion", - "type": "Vector2" - }, - { - "name": "collision", - "type": "KinematicCollision2D", - "default_value": "null" - }, - { - "name": "safe_margin", - "type": "float", - "meta": "float", - "default_value": "0.08" - }, - { - "name": "recovery_as_collision", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_collision_exceptions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::PhysicsBody2D" - } - }, - { - "name": "add_collision_exception_with", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "remove_collision_exception_with", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "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_static": false, - "is_virtual": false, - "hash": 3208792678, - "hash_compatibility": [ - 2825704414 - ], - "return_value": { - "type": "KinematicCollision3D" - }, - "arguments": [ - { - "name": "motion", - "type": "Vector3" - }, - { - "name": "test_only", - "type": "bool", - "default_value": "false" - }, - { - "name": "safe_margin", - "type": "float", - "meta": "float", - "default_value": "0.001" - }, - { - "name": "recovery_as_collision", - "type": "bool", - "default_value": "false" - }, - { - "name": "max_collisions", - "type": "int", - "meta": "int32", - "default_value": "1" - } - ] - }, - { - "name": "test_move", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2481691619, - "hash_compatibility": [ - 680299713 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "from", - "type": "Transform3D" - }, - { - "name": "motion", - "type": "Vector3" - }, - { - "name": "collision", - "type": "KinematicCollision3D", - "default_value": "null" - }, - { - "name": "safe_margin", - "type": "float", - "meta": "float", - "default_value": "0.001" - }, - { - "name": "recovery_as_collision", - "type": "bool", - "default_value": "false" - }, - { - "name": "max_collisions", - "type": "int", - "meta": "int32", - "default_value": "1" - } - ] - }, - { - "name": "set_axis_lock", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1787895195, - "arguments": [ - { - "name": "axis", - "type": "enum::PhysicsServer3D.BodyAxis" - }, - { - "name": "lock", - "type": "bool" - } - ] - }, - { - "name": "get_axis_lock", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2264617709, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "axis", - "type": "enum::PhysicsServer3D.BodyAxis" - } - ] - }, - { - "name": "get_collision_exceptions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::PhysicsBody3D" - } - }, - { - "name": "add_collision_exception_with", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "remove_collision_exception_with", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "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_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_total_linear_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_total_angular_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_center_of_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_center_of_mass_local", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_inverse_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_inverse_inertia", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "get_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "velocity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_velocity_at_local_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2656412154, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "local_position", - "type": "Vector2" - } - ] - }, - { - "name": "apply_central_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "impulse", - "type": "Vector2" - } - ] - }, - { - "name": "apply_torque_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "impulse", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "apply_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288681949, - "hash_compatibility": [ - 496058220 - ], - "arguments": [ - { - "name": "impulse", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "apply_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3862383994, - "arguments": [ - { - "name": "force", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "apply_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288681949, - "hash_compatibility": [ - 496058220 - ], - "arguments": [ - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "apply_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "add_constant_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3862383994, - "arguments": [ - { - "name": "force", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "add_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288681949, - "hash_compatibility": [ - 496058220 - ], - "arguments": [ - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "add_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "get_constant_force", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_constant_torque", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sleep_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_sleeping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_contact_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_contact_local_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_local_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_local_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_local_velocity_at_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 495598643, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_collider_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_collider_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 3332903315, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_impulse", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "integrate_forces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_space_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2506717822, - "return_value": { - "type": "PhysicsDirectSpaceState2D" - } - } - ], - "properties": [ - { - "type": "float", - "name": "step", - "getter": "get_step" - }, - { - "type": "float", - "name": "inverse_mass", - "getter": "get_inverse_mass" - }, - { - "type": "float", - "name": "inverse_inertia", - "getter": "get_inverse_inertia" - }, - { - "type": "float", - "name": "total_angular_damp", - "getter": "get_total_angular_damp" - }, - { - "type": "float", - "name": "total_linear_damp", - "getter": "get_total_linear_damp" - }, - { - "type": "Vector2", - "name": "total_gravity", - "getter": "get_total_gravity" - }, - { - "type": "Vector2", - "name": "center_of_mass", - "getter": "get_center_of_mass" - }, - { - "type": "Vector2", - "name": "center_of_mass_local", - "getter": "get_center_of_mass_local" - }, - { - "type": "float", - "name": "angular_velocity", - "setter": "set_angular_velocity", - "getter": "get_angular_velocity" - }, - { - "type": "Vector2", - "name": "linear_velocity", - "setter": "set_linear_velocity", - "getter": "get_linear_velocity" - }, - { - "type": "bool", - "name": "sleeping", - "setter": "set_sleep_state", - "getter": "is_sleeping" - }, - { - "type": "Transform2D", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform" - } - ] - }, - { - "name": "PhysicsDirectBodyState2DExtension", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsDirectBodyState2D", - "api_type": "core", - "methods": [ - { - "name": "_get_total_gravity", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "_get_total_linear_damp", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_get_total_angular_damp", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_get_center_of_mass", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "_get_center_of_mass_local", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "_get_inverse_mass", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_get_inverse_inertia", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_set_linear_velocity", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "_get_linear_velocity", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "_set_angular_velocity", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "velocity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_get_angular_velocity", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_set_transform", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "_get_transform", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "_get_velocity_at_local_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "local_position", - "type": "Vector2" - } - ] - }, - { - "name": "_apply_central_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "impulse", - "type": "Vector2" - } - ] - }, - { - "name": "_apply_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "impulse", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "_apply_torque_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "impulse", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_apply_central_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "_apply_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "_apply_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_add_constant_central_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "_add_constant_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "_add_constant_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_set_constant_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "_get_constant_force", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "_set_constant_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_get_constant_torque", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_set_sleep_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "_is_sleeping", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_contact_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_contact_local_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_local_normal", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_local_shape", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_local_velocity_at_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider_object", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider_shape", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_impulse", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_step", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_integrate_forces", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_space_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PhysicsDirectSpaceState2D" - } - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_total_linear_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_total_angular_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_center_of_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_center_of_mass_local", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_principal_inertia_axes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2716978435, - "return_value": { - "type": "Basis" - } - }, - { - "name": "get_inverse_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_inverse_inertia", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_inverse_inertia_tensor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2716978435, - "return_value": { - "type": "Basis" - } - }, - { - "name": "set_linear_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "get_velocity_at_local_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 192990374, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "local_position", - "type": "Vector3" - } - ] - }, - { - "name": "apply_central_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2007698547, - "arguments": [ - { - "name": "impulse", - "type": "Vector3", - "default_value": "Vector3(0, 0, 0)" - } - ] - }, - { - "name": "apply_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2754756483, - "hash_compatibility": [ - 1002852006 - ], - "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_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "apply_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2007698547, - "arguments": [ - { - "name": "force", - "type": "Vector3", - "default_value": "Vector3(0, 0, 0)" - } - ] - }, - { - "name": "apply_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2754756483, - "hash_compatibility": [ - 1002852006 - ], - "arguments": [ - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3", - "default_value": "Vector3(0, 0, 0)" - } - ] - }, - { - "name": "apply_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "add_constant_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2007698547, - "arguments": [ - { - "name": "force", - "type": "Vector3", - "default_value": "Vector3(0, 0, 0)" - } - ] - }, - { - "name": "add_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2754756483, - "hash_compatibility": [ - 1002852006 - ], - "arguments": [ - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3", - "default_value": "Vector3(0, 0, 0)" - } - ] - }, - { - "name": "add_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "set_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "get_constant_force", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "get_constant_torque", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_sleep_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_sleeping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_contact_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_contact_local_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_local_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_impulse", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_local_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_local_velocity_at_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 495598643, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_collider_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_collider_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 3332903315, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_contact_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "integrate_forces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_space_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2069328350, - "return_value": { - "type": "PhysicsDirectSpaceState3D" - } - } - ], - "properties": [ - { - "type": "float", - "name": "step", - "getter": "get_step" - }, - { - "type": "float", - "name": "inverse_mass", - "getter": "get_inverse_mass" - }, - { - "type": "float", - "name": "total_angular_damp", - "getter": "get_total_angular_damp" - }, - { - "type": "float", - "name": "total_linear_damp", - "getter": "get_total_linear_damp" - }, - { - "type": "Vector3", - "name": "inverse_inertia", - "getter": "get_inverse_inertia" - }, - { - "type": "Basis", - "name": "inverse_inertia_tensor", - "getter": "get_inverse_inertia_tensor" - }, - { - "type": "Vector3", - "name": "total_gravity", - "getter": "get_total_gravity" - }, - { - "type": "Vector3", - "name": "center_of_mass", - "getter": "get_center_of_mass" - }, - { - "type": "Vector3", - "name": "center_of_mass_local", - "getter": "get_center_of_mass_local" - }, - { - "type": "Basis", - "name": "principal_inertia_axes", - "getter": "get_principal_inertia_axes" - }, - { - "type": "Vector3", - "name": "angular_velocity", - "setter": "set_angular_velocity", - "getter": "get_angular_velocity" - }, - { - "type": "Vector3", - "name": "linear_velocity", - "setter": "set_linear_velocity", - "getter": "get_linear_velocity" - }, - { - "type": "bool", - "name": "sleeping", - "setter": "set_sleep_state", - "getter": "is_sleeping" - }, - { - "type": "Transform3D", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform" - } - ] - }, - { - "name": "PhysicsDirectBodyState3DExtension", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsDirectBodyState3D", - "api_type": "core", - "methods": [ - { - "name": "_get_total_gravity", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "_get_total_linear_damp", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_get_total_angular_damp", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_get_center_of_mass", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "_get_center_of_mass_local", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "_get_principal_inertia_axes", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Basis" - } - }, - { - "name": "_get_inverse_mass", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_get_inverse_inertia", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "_get_inverse_inertia_tensor", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Basis" - } - }, - { - "name": "_set_linear_velocity", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "_get_linear_velocity", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "_set_angular_velocity", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "_get_angular_velocity", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "_set_transform", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "_get_transform", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "_get_velocity_at_local_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "local_position", - "type": "Vector3" - } - ] - }, - { - "name": "_apply_central_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "_apply_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "impulse", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "_apply_torque_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "_apply_central_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "_apply_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "_apply_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "_add_constant_central_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "_add_constant_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "_add_constant_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "_set_constant_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "_get_constant_force", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "_set_constant_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "_get_constant_torque", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "_set_sleep_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "_is_sleeping", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_contact_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_contact_local_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_local_normal", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_impulse", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_local_shape", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_local_velocity_at_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider_object", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_contact_collider_shape", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "contact_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_step", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "_integrate_forces", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_space_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PhysicsDirectSpaceState3D" - } - } - ] - }, - { - "name": "PhysicsDirectSpaceState2D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "intersect_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2118456068, - "hash_compatibility": [ - 3278207904 - ], - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsPointQueryParameters2D" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32", - "default_value": "32" - } - ] - }, - { - "name": "intersect_ray", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1590275562, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsRayQueryParameters2D" - } - ] - }, - { - "name": "intersect_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2488867228, - "hash_compatibility": [ - 3803848594 - ], - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsShapeQueryParameters2D" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32", - "default_value": "32" - } - ] - }, - { - "name": "cast_motion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711275086, - "return_value": { - "type": "PackedFloat32Array" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsShapeQueryParameters2D" - } - ] - }, - { - "name": "collide_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2488867228, - "hash_compatibility": [ - 3803848594 - ], - "return_value": { - "type": "typedarray::Vector2" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsShapeQueryParameters2D" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32", - "default_value": "32" - } - ] - }, - { - "name": "get_rest_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2803666496, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsShapeQueryParameters2D" - } - ] - } - ] - }, - { - "name": "PhysicsDirectSpaceState2DExtension", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsDirectSpaceState2D", - "api_type": "core", - "methods": [ - { - "name": "_intersect_ray", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "from", - "type": "Vector2" - }, - { - "name": "to", - "type": "Vector2" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "hit_from_inside", - "type": "bool" - }, - { - "name": "result", - "type": "PhysicsServer2DExtensionRayResult*" - } - ] - }, - { - "name": "_intersect_point", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2" - }, - { - "name": "canvas_instance_id", - "type": "int", - "meta": "uint64" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "results", - "type": "PhysicsServer2DExtensionShapeResult*" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_intersect_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "shape_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - }, - { - "name": "motion", - "type": "Vector2" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "result", - "type": "PhysicsServer2DExtensionShapeResult*" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_cast_motion", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shape_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - }, - { - "name": "motion", - "type": "Vector2" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "closest_safe", - "type": "float*" - }, - { - "name": "closest_unsafe", - "type": "float*" - } - ] - }, - { - "name": "_collide_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shape_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - }, - { - "name": "motion", - "type": "Vector2" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "results", - "type": "void*" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32" - }, - { - "name": "result_count", - "type": "int32_t*" - } - ] - }, - { - "name": "_rest_info", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shape_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - }, - { - "name": "motion", - "type": "Vector2" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "rest_info", - "type": "PhysicsServer2DExtensionShapeRestInfo*" - } - ] - }, - { - "name": "is_body_excluded_from_query", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - } - ] - }, - { - "name": "PhysicsDirectSpaceState3D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "intersect_point", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 975173756, - "hash_compatibility": [ - 45993382 - ], - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsPointQueryParameters3D" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32", - "default_value": "32" - } - ] - }, - { - "name": "intersect_ray", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3957970750, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsRayQueryParameters3D" - } - ] - }, - { - "name": "intersect_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3762137681, - "hash_compatibility": [ - 550215980 - ], - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsShapeQueryParameters3D" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32", - "default_value": "32" - } - ] - }, - { - "name": "cast_motion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1778757334, - "return_value": { - "type": "PackedFloat32Array" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsShapeQueryParameters3D" - } - ] - }, - { - "name": "collide_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3762137681, - "hash_compatibility": [ - 550215980 - ], - "return_value": { - "type": "typedarray::Vector3" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsShapeQueryParameters3D" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32", - "default_value": "32" - } - ] - }, - { - "name": "get_rest_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1376751592, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "parameters", - "type": "PhysicsShapeQueryParameters3D" - } - ] - } - ] - }, - { - "name": "PhysicsDirectSpaceState3DExtension", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsDirectSpaceState3D", - "api_type": "core", - "methods": [ - { - "name": "_intersect_ray", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "from", - "type": "Vector3" - }, - { - "name": "to", - "type": "Vector3" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "hit_from_inside", - "type": "bool" - }, - { - "name": "hit_back_faces", - "type": "bool" - }, - { - "name": "pick_ray", - "type": "bool" - }, - { - "name": "result", - "type": "PhysicsServer3DExtensionRayResult*" - } - ] - }, - { - "name": "_intersect_point", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "position", - "type": "Vector3" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "results", - "type": "PhysicsServer3DExtensionShapeResult*" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_intersect_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "shape_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - }, - { - "name": "motion", - "type": "Vector3" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "result_count", - "type": "PhysicsServer3DExtensionShapeResult*" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_cast_motion", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shape_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - }, - { - "name": "motion", - "type": "Vector3" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "closest_safe", - "type": "float*" - }, - { - "name": "closest_unsafe", - "type": "float*" - }, - { - "name": "info", - "type": "PhysicsServer3DExtensionShapeRestInfo*" - } - ] - }, - { - "name": "_collide_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shape_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - }, - { - "name": "motion", - "type": "Vector3" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "results", - "type": "void*" - }, - { - "name": "max_results", - "type": "int", - "meta": "int32" - }, - { - "name": "result_count", - "type": "int32_t*" - } - ] - }, - { - "name": "_rest_info", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shape_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - }, - { - "name": "motion", - "type": "Vector3" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - }, - { - "name": "collide_with_bodies", - "type": "bool" - }, - { - "name": "collide_with_areas", - "type": "bool" - }, - { - "name": "rest_info", - "type": "PhysicsServer3DExtensionShapeRestInfo*" - } - ] - }, - { - "name": "_get_closest_point_to_object_volume", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "object", - "type": "RID" - }, - { - "name": "point", - "type": "Vector3" - } - ] - }, - { - "name": "is_body_excluded_from_query", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - } - ] - }, - { - "name": "PhysicsMaterial", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_friction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "friction", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_friction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_rough", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "rough", - "type": "bool" - } - ] - }, - { - "name": "is_rough", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_bounce", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bounce", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bounce", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_absorbent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "absorbent", - "type": "bool" - } - ] - }, - { - "name": "is_absorbent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "friction", - "setter": "set_friction", - "getter": "get_friction" - }, - { - "type": "bool", - "name": "rough", - "setter": "set_rough", - "getter": "is_rough" - }, - { - "type": "float", - "name": "bounce", - "setter": "set_bounce", - "getter": "get_bounce" - }, - { - "type": "bool", - "name": "absorbent", - "setter": "set_absorbent", - "getter": "is_absorbent" - } - ] - }, - { - "name": "PhysicsPointQueryParameters2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_canvas_instance_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "canvas_instance_id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "get_canvas_instance_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_exclude", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_exclude", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "position", - "setter": "set_position", - "getter": "get_position" - }, - { - "type": "int", - "name": "canvas_instance_id", - "setter": "set_canvas_instance_id", - "getter": "get_canvas_instance_id" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "typedarray::RID", - "name": "exclude", - "setter": "set_exclude", - "getter": "get_exclude" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - } - ] - }, - { - "name": "PhysicsPointQueryParameters3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_exclude", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_exclude", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "position", - "setter": "set_position", - "getter": "get_position" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "typedarray::RID", - "name": "exclude", - "setter": "set_exclude", - "getter": "get_exclude" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - } - ] - }, - { - "name": "PhysicsRayQueryParameters2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "create", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3196569324, - "hash_compatibility": [ - 1118143851 - ], - "return_value": { - "type": "PhysicsRayQueryParameters2D" - }, - "arguments": [ - { - "name": "from", - "type": "Vector2" - }, - { - "name": "to", - "type": "Vector2" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32", - "default_value": "4294967295" - }, - { - "name": "exclude", - "type": "typedarray::RID", - "default_value": "Array[RID]([])" - } - ] - }, - { - "name": "set_from", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "from", - "type": "Vector2" - } - ] - }, - { - "name": "get_from", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_to", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "get_to", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_exclude", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_exclude", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hit_from_inside", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hit_from_inside_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "from", - "setter": "set_from", - "getter": "get_from" - }, - { - "type": "Vector2", - "name": "to", - "setter": "set_to", - "getter": "get_to" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "typedarray::RID", - "name": "exclude", - "setter": "set_exclude", - "getter": "get_exclude" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - }, - { - "type": "bool", - "name": "hit_from_inside", - "setter": "set_hit_from_inside", - "getter": "is_hit_from_inside_enabled" - } - ] - }, - { - "name": "PhysicsRayQueryParameters3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "create", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3110599579, - "hash_compatibility": [ - 680321959 - ], - "return_value": { - "type": "PhysicsRayQueryParameters3D" - }, - "arguments": [ - { - "name": "from", - "type": "Vector3" - }, - { - "name": "to", - "type": "Vector3" - }, - { - "name": "collision_mask", - "type": "int", - "meta": "uint32", - "default_value": "4294967295" - }, - { - "name": "exclude", - "type": "typedarray::RID", - "default_value": "Array[RID]([])" - } - ] - }, - { - "name": "set_from", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "from", - "type": "Vector3" - } - ] - }, - { - "name": "get_from", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_to", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "to", - "type": "Vector3" - } - ] - }, - { - "name": "get_to", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_exclude", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_exclude", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hit_from_inside", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hit_from_inside_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hit_back_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hit_back_faces_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "from", - "setter": "set_from", - "getter": "get_from" - }, - { - "type": "Vector3", - "name": "to", - "setter": "set_to", - "getter": "get_to" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "typedarray::RID", - "name": "exclude", - "setter": "set_exclude", - "getter": "get_exclude" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - }, - { - "type": "bool", - "name": "hit_from_inside", - "setter": "set_hit_from_inside", - "getter": "is_hit_from_inside_enabled" - }, - { - "type": "bool", - "name": "hit_back_faces", - "setter": "set_hit_back_faces", - "getter": "is_hit_back_faces_enabled" - } - ] - }, - { - "name": "PhysicsServer2D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "SpaceParameter", - "is_bitfield": false, - "values": [ - { - "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", - "value": 0 - }, - { - "name": "SPACE_PARAM_CONTACT_MAX_SEPARATION", - "value": 1 - }, - { - "name": "SPACE_PARAM_CONTACT_MAX_ALLOWED_PENETRATION", - "value": 2 - }, - { - "name": "SPACE_PARAM_CONTACT_DEFAULT_BIAS", - "value": 3 - }, - { - "name": "SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD", - "value": 4 - }, - { - "name": "SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD", - "value": 5 - }, - { - "name": "SPACE_PARAM_BODY_TIME_TO_SLEEP", - "value": 6 - }, - { - "name": "SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS", - "value": 7 - }, - { - "name": "SPACE_PARAM_SOLVER_ITERATIONS", - "value": 8 - } - ] - }, - { - "name": "ShapeType", - "is_bitfield": false, - "values": [ - { - "name": "SHAPE_WORLD_BOUNDARY", - "value": 0 - }, - { - "name": "SHAPE_SEPARATION_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": "AreaParameter", - "is_bitfield": false, - "values": [ - { - "name": "AREA_PARAM_GRAVITY_OVERRIDE_MODE", - "value": 0 - }, - { - "name": "AREA_PARAM_GRAVITY", - "value": 1 - }, - { - "name": "AREA_PARAM_GRAVITY_VECTOR", - "value": 2 - }, - { - "name": "AREA_PARAM_GRAVITY_IS_POINT", - "value": 3 - }, - { - "name": "AREA_PARAM_GRAVITY_POINT_UNIT_DISTANCE", - "value": 4 - }, - { - "name": "AREA_PARAM_LINEAR_DAMP_OVERRIDE_MODE", - "value": 5 - }, - { - "name": "AREA_PARAM_LINEAR_DAMP", - "value": 6 - }, - { - "name": "AREA_PARAM_ANGULAR_DAMP_OVERRIDE_MODE", - "value": 7 - }, - { - "name": "AREA_PARAM_ANGULAR_DAMP", - "value": 8 - }, - { - "name": "AREA_PARAM_PRIORITY", - "value": 9 - } - ] - }, - { - "name": "AreaSpaceOverrideMode", - "is_bitfield": false, - "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": "BodyMode", - "is_bitfield": false, - "values": [ - { - "name": "BODY_MODE_STATIC", - "value": 0 - }, - { - "name": "BODY_MODE_KINEMATIC", - "value": 1 - }, - { - "name": "BODY_MODE_RIGID", - "value": 2 - }, - { - "name": "BODY_MODE_RIGID_LINEAR", - "value": 3 - } - ] - }, - { - "name": "BodyParameter", - "is_bitfield": false, - "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_CENTER_OF_MASS", - "value": 4 - }, - { - "name": "BODY_PARAM_GRAVITY_SCALE", - "value": 5 - }, - { - "name": "BODY_PARAM_LINEAR_DAMP_MODE", - "value": 6 - }, - { - "name": "BODY_PARAM_ANGULAR_DAMP_MODE", - "value": 7 - }, - { - "name": "BODY_PARAM_LINEAR_DAMP", - "value": 8 - }, - { - "name": "BODY_PARAM_ANGULAR_DAMP", - "value": 9 - }, - { - "name": "BODY_PARAM_MAX", - "value": 10 - } - ] - }, - { - "name": "BodyDampMode", - "is_bitfield": false, - "values": [ - { - "name": "BODY_DAMP_MODE_COMBINE", - "value": 0 - }, - { - "name": "BODY_DAMP_MODE_REPLACE", - "value": 1 - } - ] - }, - { - "name": "BodyState", - "is_bitfield": false, - "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": "JointType", - "is_bitfield": false, - "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": "JointParam", - "is_bitfield": false, - "values": [ - { - "name": "JOINT_PARAM_BIAS", - "value": 0 - }, - { - "name": "JOINT_PARAM_MAX_BIAS", - "value": 1 - }, - { - "name": "JOINT_PARAM_MAX_FORCE", - "value": 2 - } - ] - }, - { - "name": "PinJointParam", - "is_bitfield": false, - "values": [ - { - "name": "PIN_JOINT_SOFTNESS", - "value": 0 - }, - { - "name": "PIN_JOINT_LIMIT_UPPER", - "value": 1 - }, - { - "name": "PIN_JOINT_LIMIT_LOWER", - "value": 2 - }, - { - "name": "PIN_JOINT_MOTOR_TARGET_VELOCITY", - "value": 3 - } - ] - }, - { - "name": "PinJointFlag", - "is_bitfield": false, - "values": [ - { - "name": "PIN_JOINT_FLAG_ANGULAR_LIMIT_ENABLED", - "value": 0 - }, - { - "name": "PIN_JOINT_FLAG_MOTOR_ENABLED", - "value": 1 - } - ] - }, - { - "name": "DampedSpringParam", - "is_bitfield": false, - "values": [ - { - "name": "DAMPED_SPRING_REST_LENGTH", - "value": 0 - }, - { - "name": "DAMPED_SPRING_STIFFNESS", - "value": 1 - }, - { - "name": "DAMPED_SPRING_DAMPING", - "value": 2 - } - ] - }, - { - "name": "CCDMode", - "is_bitfield": false, - "values": [ - { - "name": "CCD_MODE_DISABLED", - "value": 0 - }, - { - "name": "CCD_MODE_CAST_RAY", - "value": 1 - }, - { - "name": "CCD_MODE_CAST_SHAPE", - "value": 2 - } - ] - }, - { - "name": "AreaBodyStatus", - "is_bitfield": false, - "values": [ - { - "name": "AREA_BODY_ADDED", - "value": 0 - }, - { - "name": "AREA_BODY_REMOVED", - "value": 1 - } - ] - }, - { - "name": "ProcessInfo", - "is_bitfield": false, - "values": [ - { - "name": "INFO_ACTIVE_OBJECTS", - "value": 0 - }, - { - "name": "INFO_COLLISION_PAIRS", - "value": 1 - }, - { - "name": "INFO_ISLAND_COUNT", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "world_boundary_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "separation_ray_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "segment_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "circle_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "rectangle_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "capsule_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "convex_polygon_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "concave_polygon_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "shape_set_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175752987, - "arguments": [ - { - "name": "shape", - "type": "RID" - }, - { - "name": "data", - "type": "Variant" - } - ] - }, - { - "name": "shape_get_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1240598777, - "return_value": { - "type": "enum::PhysicsServer2D.ShapeType" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "shape_get_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4171304767, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "space_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "space_set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "space", - "type": "RID" - }, - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "space_is_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "space_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 949194586, - "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_static": false, - "is_virtual": false, - "hash": 874111783, - "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_static": false, - "is_virtual": false, - "hash": 3160173886, - "return_value": { - "type": "PhysicsDirectSpaceState2D" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "area_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "area_set_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "area_get_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_add_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 339056240, - "hash_compatibility": [ - 754862190 - ], - "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_static": false, - "is_virtual": false, - "hash": 2310537182, - "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_static": false, - "is_virtual": false, - "hash": 736082694, - "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_static": false, - "is_virtual": false, - "hash": 2658558584, - "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_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1066463050, - "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_static": false, - "is_virtual": false, - "hash": 1324854622, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "area_clear_shapes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_set_collision_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "area_get_collision_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "area_get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1257146028, - "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_static": false, - "is_virtual": false, - "hash": 1246044741, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "area_get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3047435120, - "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_static": false, - "is_virtual": false, - "hash": 213527486, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_attach_object_instance_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "area_get_object_instance_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_attach_canvas_instance_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "area_get_canvas_instance_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_set_monitor_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3379118538, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "area_set_area_monitor_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3379118538, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "area_set_monitorable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "monitorable", - "type": "bool" - } - ] - }, - { - "name": "body_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "body_set_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "body_get_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1658067650, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::PhysicsServer2D.BodyMode" - } - ] - }, - { - "name": "body_get_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3261702585, - "return_value": { - "type": "enum::PhysicsServer2D.BodyMode" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_add_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 339056240, - "hash_compatibility": [ - 754862190 - ], - "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_static": false, - "is_virtual": false, - "hash": 2310537182, - "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_static": false, - "is_virtual": false, - "hash": 736082694, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "body_get_shape_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1066463050, - "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_static": false, - "is_virtual": false, - "hash": 1324854622, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "body_remove_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "body_clear_shapes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_shape_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2658558584, - "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_static": false, - "is_virtual": false, - "hash": 2556489974, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "body_get_object_instance_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_attach_canvas_instance_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "body_get_canvas_instance_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "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_static": false, - "is_virtual": false, - "hash": 1882257015, - "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_static": false, - "is_virtual": false, - "hash": 2661282217, - "return_value": { - "type": "enum::PhysicsServer2D.CCDMode" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_collision_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "body_get_collision_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "body_get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_collision_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "body_get_collision_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2715630609, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.BodyParameter" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "body_get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3208033526, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.BodyParameter" - } - ] - }, - { - "name": "body_reset_mass_properties", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1706355209, - "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_static": false, - "is_virtual": false, - "hash": 4036367961, - "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_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "Vector2" - } - ] - }, - { - "name": "body_apply_torque_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "body_apply_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 205485391, - "hash_compatibility": [ - 34330743 - ], - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "body_apply_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "body_apply_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 205485391, - "hash_compatibility": [ - 34330743 - ], - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "body_apply_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "body_add_constant_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "body_add_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 205485391, - "hash_compatibility": [ - 34330743 - ], - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "body_add_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "body_set_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "body_get_constant_force", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2440833711, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "body_get_constant_torque", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_axis_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "axis_velocity", - "type": "Vector2" - } - ] - }, - { - "name": "body_add_collision_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "excepted_body", - "type": "RID" - } - ] - }, - { - "name": "body_remove_collision_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "excepted_body", - "type": "RID" - } - ] - }, - { - "name": "body_set_max_contacts_reported", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "body_get_max_contacts_reported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_omit_force_integration", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "body_is_omitting_force_integration", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_force_integration_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3059434249, - "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_static": false, - "is_virtual": false, - "hash": 1699844009, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "parameters", - "type": "PhysicsTestMotionParameters2D" - }, - { - "name": "result", - "type": "PhysicsTestMotionResult2D", - "default_value": "null" - } - ] - }, - { - "name": "body_get_direct_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1191931871, - "return_value": { - "type": "PhysicsDirectBodyState2D" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "joint_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "joint_clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "joint_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3972556514, - "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_static": false, - "is_virtual": false, - "hash": 4016448949, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.JointParam" - } - ] - }, - { - "name": "joint_disable_collisions_between_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "joint_is_disabled_collisions_between_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "joint_make_pin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1612646186, - "hash_compatibility": [ - 2288600450 - ], - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "anchor", - "type": "Vector2" - }, - { - "name": "body_a", - "type": "RID" - }, - { - "name": "body_b", - "type": "RID", - "default_value": "RID()" - } - ] - }, - { - "name": "joint_make_groove", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 481430435, - "hash_compatibility": [ - 3573265764 - ], - "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": "RID()" - }, - { - "name": "body_b", - "type": "RID", - "default_value": "RID()" - } - ] - }, - { - "name": "joint_make_damped_spring", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1994657646, - "hash_compatibility": [ - 206603952 - ], - "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": "RID()" - } - ] - }, - { - "name": "pin_joint_set_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3520002352, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "flag", - "type": "enum::PhysicsServer2D.PinJointFlag" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "pin_joint_get_flag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2647867364, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "flag", - "type": "enum::PhysicsServer2D.PinJointFlag" - } - ] - }, - { - "name": "pin_joint_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 550574241, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.PinJointParam" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "pin_joint_get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 348281383, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.PinJointParam" - } - ] - }, - { - "name": "damped_spring_joint_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 220564071, - "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_static": false, - "is_virtual": false, - "hash": 2075871277, - "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_static": false, - "is_virtual": false, - "hash": 4262502231, - "return_value": { - "type": "enum::PhysicsServer2D.JointType" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "free_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "get_process_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 576496006, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "process_info", - "type": "enum::PhysicsServer2D.ProcessInfo" - } - ] - } - ] - }, - { - "name": "PhysicsServer2DExtension", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsServer2D", - "api_type": "core", - "methods": [ - { - "name": "_world_boundary_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_separation_ray_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_segment_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_circle_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_rectangle_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_capsule_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_convex_polygon_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_concave_polygon_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_shape_set_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shape", - "type": "RID" - }, - { - "name": "data", - "type": "Variant" - } - ] - }, - { - "name": "_shape_set_custom_solver_bias", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shape", - "type": "RID" - }, - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_shape_get_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::PhysicsServer2D.ShapeType" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "_shape_get_data", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "_shape_get_custom_solver_bias", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "_shape_collide", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shape_A", - "type": "RID" - }, - { - "name": "xform_A", - "type": "Transform2D" - }, - { - "name": "motion_A", - "type": "Vector2" - }, - { - "name": "shape_B", - "type": "RID" - }, - { - "name": "xform_B", - "type": "Transform2D" - }, - { - "name": "motion_B", - "type": "Vector2" - }, - { - "name": "results", - "type": "void*" - }, - { - "name": "result_max", - "type": "int", - "meta": "int32" - }, - { - "name": "result_count", - "type": "int32_t*" - } - ] - }, - { - "name": "_space_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_space_set_active", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "space", - "type": "RID" - }, - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "_space_is_active", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_space_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PhysicsDirectSpaceState2D" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_space_set_debug_contacts", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "space", - "type": "RID" - }, - { - "name": "max_contacts", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_space_get_contacts", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_space_get_contact_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_area_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_area_set_space", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_area_get_space", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_add_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "shape", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "_area_set_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_get_shape", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_area_remove_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_area_clear_shapes", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_attach_object_instance_id", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "_area_get_object_instance_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_attach_canvas_instance_id", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "_area_get_canvas_instance_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.AreaParameter" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "_area_set_transform", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "_area_get_param", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.AreaParameter" - } - ] - }, - { - "name": "_area_get_transform", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_set_collision_layer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_area_get_collision_layer", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_set_collision_mask", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_area_get_collision_mask", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_set_monitorable", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "monitorable", - "type": "bool" - } - ] - }, - { - "name": "_area_set_pickable", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "pickable", - "type": "bool" - } - ] - }, - { - "name": "_area_set_monitor_callback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "_area_set_area_monitor_callback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "_body_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_body_set_space", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_body_get_space", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_mode", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::PhysicsServer2D.BodyMode" - } - ] - }, - { - "name": "_body_get_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::PhysicsServer2D.BodyMode" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_add_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "_body_set_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "_body_get_shape_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_get_shape", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_body_set_shape_disabled", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_body_remove_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_body_clear_shapes", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_attach_object_instance_id", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "_body_get_object_instance_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_attach_canvas_instance_id", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "_body_get_canvas_instance_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_continuous_collision_detection_mode", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::PhysicsServer2D.CCDMode" - } - ] - }, - { - "name": "_body_get_continuous_collision_detection_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::PhysicsServer2D.CCDMode" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_collision_layer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_body_get_collision_layer", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_collision_mask", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_body_get_collision_mask", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_collision_priority", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_body_get_collision_priority", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.BodyParameter" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "_body_get_param", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.BodyParameter" - } - ] - }, - { - "name": "_body_reset_mass_properties", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "state", - "type": "enum::PhysicsServer2D.BodyState" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "_body_get_state", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "state", - "type": "enum::PhysicsServer2D.BodyState" - } - ] - }, - { - "name": "_body_apply_central_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "Vector2" - } - ] - }, - { - "name": "_body_apply_torque_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_body_apply_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "_body_apply_central_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "_body_apply_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "_body_apply_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_body_add_constant_central_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "_body_add_constant_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "_body_add_constant_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_body_set_constant_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "_body_get_constant_force", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_constant_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_body_get_constant_torque", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_axis_velocity", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "axis_velocity", - "type": "Vector2" - } - ] - }, - { - "name": "_body_add_collision_exception", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "excepted_body", - "type": "RID" - } - ] - }, - { - "name": "_body_remove_collision_exception", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "excepted_body", - "type": "RID" - } - ] - }, - { - "name": "_body_get_collision_exceptions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_max_contacts_reported", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_body_get_max_contacts_reported", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_contacts_reported_depth_threshold", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_body_get_contacts_reported_depth_threshold", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_omit_force_integration", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "_body_is_omitting_force_integration", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_state_sync_callback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "_body_set_force_integration_callback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "callable", - "type": "Callable" - }, - { - "name": "userdata", - "type": "Variant" - } - ] - }, - { - "name": "_body_collide_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "body_shape", - "type": "int", - "meta": "int32" - }, - { - "name": "shape", - "type": "RID" - }, - { - "name": "shape_xform", - "type": "Transform2D" - }, - { - "name": "motion", - "type": "Vector2" - }, - { - "name": "results", - "type": "void*" - }, - { - "name": "result_max", - "type": "int", - "meta": "int32" - }, - { - "name": "result_count", - "type": "int32_t*" - } - ] - }, - { - "name": "_body_set_pickable", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "pickable", - "type": "bool" - } - ] - }, - { - "name": "_body_get_direct_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PhysicsDirectBodyState2D" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_test_motion", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "from", - "type": "Transform2D" - }, - { - "name": "motion", - "type": "Vector2" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "collide_separation_ray", - "type": "bool" - }, - { - "name": "recovery_as_collision", - "type": "bool" - }, - { - "name": "result", - "type": "PhysicsServer2DExtensionMotionResult*" - } - ] - }, - { - "name": "_joint_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_joint_clear", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "_joint_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.JointParam" - } - ] - }, - { - "name": "_joint_disable_collisions_between_bodies", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "_joint_is_disabled_collisions_between_bodies", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "_joint_make_pin", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "anchor", - "type": "Vector2" - }, - { - "name": "body_a", - "type": "RID" - }, - { - "name": "body_b", - "type": "RID" - } - ] - }, - { - "name": "_joint_make_groove", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "a_groove1", - "type": "Vector2" - }, - { - "name": "a_groove2", - "type": "Vector2" - }, - { - "name": "b_anchor", - "type": "Vector2" - }, - { - "name": "body_a", - "type": "RID" - }, - { - "name": "body_b", - "type": "RID" - } - ] - }, - { - "name": "_joint_make_damped_spring", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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" - } - ] - }, - { - "name": "_pin_joint_set_flag", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "flag", - "type": "enum::PhysicsServer2D.PinJointFlag" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "_pin_joint_get_flag", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "flag", - "type": "enum::PhysicsServer2D.PinJointFlag" - } - ] - }, - { - "name": "_pin_joint_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.PinJointParam" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_pin_joint_get_param", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer2D.PinJointParam" - } - ] - }, - { - "name": "_damped_spring_joint_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::PhysicsServer2D.JointType" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "_free_rid", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "_set_active", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "_init", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_step", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "step", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_sync", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_flush_queries", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_end_sync", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_finish", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_is_flushing_queries", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_process_info", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "process_info", - "type": "enum::PhysicsServer2D.ProcessInfo" - } - ] - }, - { - "name": "body_test_motion_is_excluding_body", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_test_motion_is_excluding_object", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "object", - "type": "int", - "meta": "uint64" - } - ] - } - ] - }, - { - "name": "PhysicsServer2DManager", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "register_server", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2137474292, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "create_callback", - "type": "Callable" - } - ] - }, - { - "name": "set_default_server", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - } - ] - }, - { - "name": "PhysicsServer3D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "JointType", - "is_bitfield": false, - "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": "PinJointParam", - "is_bitfield": false, - "values": [ - { - "name": "PIN_JOINT_BIAS", - "value": 0 - }, - { - "name": "PIN_JOINT_DAMPING", - "value": 1 - }, - { - "name": "PIN_JOINT_IMPULSE_CLAMP", - "value": 2 - } - ] - }, - { - "name": "HingeJointParam", - "is_bitfield": false, - "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": "HingeJointFlag", - "is_bitfield": false, - "values": [ - { - "name": "HINGE_JOINT_FLAG_USE_LIMIT", - "value": 0 - }, - { - "name": "HINGE_JOINT_FLAG_ENABLE_MOTOR", - "value": 1 - } - ] - }, - { - "name": "SliderJointParam", - "is_bitfield": false, - "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": "ConeTwistJointParam", - "is_bitfield": false, - "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": "G6DOFJointAxisParam", - "is_bitfield": false, - "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": "G6DOFJointAxisFlag", - "is_bitfield": false, - "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": "ShapeType", - "is_bitfield": false, - "values": [ - { - "name": "SHAPE_WORLD_BOUNDARY", - "value": 0 - }, - { - "name": "SHAPE_SEPARATION_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": "AreaParameter", - "is_bitfield": false, - "values": [ - { - "name": "AREA_PARAM_GRAVITY_OVERRIDE_MODE", - "value": 0 - }, - { - "name": "AREA_PARAM_GRAVITY", - "value": 1 - }, - { - "name": "AREA_PARAM_GRAVITY_VECTOR", - "value": 2 - }, - { - "name": "AREA_PARAM_GRAVITY_IS_POINT", - "value": 3 - }, - { - "name": "AREA_PARAM_GRAVITY_POINT_UNIT_DISTANCE", - "value": 4 - }, - { - "name": "AREA_PARAM_LINEAR_DAMP_OVERRIDE_MODE", - "value": 5 - }, - { - "name": "AREA_PARAM_LINEAR_DAMP", - "value": 6 - }, - { - "name": "AREA_PARAM_ANGULAR_DAMP_OVERRIDE_MODE", - "value": 7 - }, - { - "name": "AREA_PARAM_ANGULAR_DAMP", - "value": 8 - }, - { - "name": "AREA_PARAM_PRIORITY", - "value": 9 - }, - { - "name": "AREA_PARAM_WIND_FORCE_MAGNITUDE", - "value": 10 - }, - { - "name": "AREA_PARAM_WIND_SOURCE", - "value": 11 - }, - { - "name": "AREA_PARAM_WIND_DIRECTION", - "value": 12 - }, - { - "name": "AREA_PARAM_WIND_ATTENUATION_FACTOR", - "value": 13 - } - ] - }, - { - "name": "AreaSpaceOverrideMode", - "is_bitfield": false, - "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": "BodyMode", - "is_bitfield": false, - "values": [ - { - "name": "BODY_MODE_STATIC", - "value": 0 - }, - { - "name": "BODY_MODE_KINEMATIC", - "value": 1 - }, - { - "name": "BODY_MODE_RIGID", - "value": 2 - }, - { - "name": "BODY_MODE_RIGID_LINEAR", - "value": 3 - } - ] - }, - { - "name": "BodyParameter", - "is_bitfield": false, - "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_CENTER_OF_MASS", - "value": 4 - }, - { - "name": "BODY_PARAM_GRAVITY_SCALE", - "value": 5 - }, - { - "name": "BODY_PARAM_LINEAR_DAMP_MODE", - "value": 6 - }, - { - "name": "BODY_PARAM_ANGULAR_DAMP_MODE", - "value": 7 - }, - { - "name": "BODY_PARAM_LINEAR_DAMP", - "value": 8 - }, - { - "name": "BODY_PARAM_ANGULAR_DAMP", - "value": 9 - }, - { - "name": "BODY_PARAM_MAX", - "value": 10 - } - ] - }, - { - "name": "BodyDampMode", - "is_bitfield": false, - "values": [ - { - "name": "BODY_DAMP_MODE_COMBINE", - "value": 0 - }, - { - "name": "BODY_DAMP_MODE_REPLACE", - "value": 1 - } - ] - }, - { - "name": "BodyState", - "is_bitfield": false, - "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": "AreaBodyStatus", - "is_bitfield": false, - "values": [ - { - "name": "AREA_BODY_ADDED", - "value": 0 - }, - { - "name": "AREA_BODY_REMOVED", - "value": 1 - } - ] - }, - { - "name": "ProcessInfo", - "is_bitfield": false, - "values": [ - { - "name": "INFO_ACTIVE_OBJECTS", - "value": 0 - }, - { - "name": "INFO_COLLISION_PAIRS", - "value": 1 - }, - { - "name": "INFO_ISLAND_COUNT", - "value": 2 - } - ] - }, - { - "name": "SpaceParameter", - "is_bitfield": false, - "values": [ - { - "name": "SPACE_PARAM_CONTACT_RECYCLE_RADIUS", - "value": 0 - }, - { - "name": "SPACE_PARAM_CONTACT_MAX_SEPARATION", - "value": 1 - }, - { - "name": "SPACE_PARAM_CONTACT_MAX_ALLOWED_PENETRATION", - "value": 2 - }, - { - "name": "SPACE_PARAM_CONTACT_DEFAULT_BIAS", - "value": 3 - }, - { - "name": "SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD", - "value": 4 - }, - { - "name": "SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD", - "value": 5 - }, - { - "name": "SPACE_PARAM_BODY_TIME_TO_SLEEP", - "value": 6 - }, - { - "name": "SPACE_PARAM_SOLVER_ITERATIONS", - "value": 7 - } - ] - }, - { - "name": "BodyAxis", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "world_boundary_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "separation_ray_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "sphere_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "box_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "capsule_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "cylinder_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "convex_polygon_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "concave_polygon_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "heightmap_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "custom_shape_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "shape_set_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175752987, - "arguments": [ - { - "name": "shape", - "type": "RID" - }, - { - "name": "data", - "type": "Variant" - } - ] - }, - { - "name": "shape_get_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3418923367, - "return_value": { - "type": "enum::PhysicsServer3D.ShapeType" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "shape_get_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4171304767, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "space_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "space_set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "space", - "type": "RID" - }, - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "space_is_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "space_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2406017470, - "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_static": false, - "is_virtual": false, - "hash": 1523206731, - "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_static": false, - "is_virtual": false, - "hash": 2048616813, - "return_value": { - "type": "PhysicsDirectSpaceState3D" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "area_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "area_set_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "area_get_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_add_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3711419014, - "hash_compatibility": [ - 4040559639 - ], - "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_static": false, - "is_virtual": false, - "hash": 2310537182, - "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_static": false, - "is_virtual": false, - "hash": 675327471, - "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_static": false, - "is_virtual": false, - "hash": 2658558584, - "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_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1066463050, - "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_static": false, - "is_virtual": false, - "hash": 1050775521, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "area_clear_shapes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_set_collision_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "area_get_collision_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "area_get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2980114638, - "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_static": false, - "is_virtual": false, - "hash": 3935195649, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "area_get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 890056067, - "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_static": false, - "is_virtual": false, - "hash": 1128465797, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_attach_object_instance_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "area_get_object_instance_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "area_set_monitor_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3379118538, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "area_set_area_monitor_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3379118538, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "area_set_monitorable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "monitorable", - "type": "bool" - } - ] - }, - { - "name": "area_set_ray_pickable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "body_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "body_set_space", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "body_get_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 606803466, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::PhysicsServer3D.BodyMode" - } - ] - }, - { - "name": "body_get_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2488819728, - "return_value": { - "type": "enum::PhysicsServer3D.BodyMode" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_collision_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "body_get_collision_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "body_get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_collision_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "body_get_collision_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_add_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3711419014, - "hash_compatibility": [ - 4040559639 - ], - "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_static": false, - "is_virtual": false, - "hash": 2310537182, - "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_static": false, - "is_virtual": false, - "hash": 675327471, - "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_static": false, - "is_virtual": false, - "hash": 2658558584, - "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_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1066463050, - "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_static": false, - "is_virtual": false, - "hash": 1050775521, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "body_clear_shapes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_attach_object_instance_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "body_get_object_instance_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "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_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "body_is_continuous_collision_detection_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 910941953, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer3D.BodyParameter" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "body_get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3385027841, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer3D.BodyParameter" - } - ] - }, - { - "name": "body_reset_mass_properties", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 599977762, - "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_static": false, - "is_virtual": false, - "hash": 1850449534, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "state", - "type": "enum::PhysicsServer3D.BodyState" - } - ] - }, - { - "name": "body_apply_central_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "body_apply_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 390416203, - "hash_compatibility": [ - 110375048 - ], - "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_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "body_apply_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "body_apply_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 390416203, - "hash_compatibility": [ - 110375048 - ], - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3", - "default_value": "Vector3(0, 0, 0)" - } - ] - }, - { - "name": "body_apply_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "body_add_constant_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "body_add_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 390416203, - "hash_compatibility": [ - 110375048 - ], - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3", - "default_value": "Vector3(0, 0, 0)" - } - ] - }, - { - "name": "body_add_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "body_set_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "body_get_constant_force", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 531438156, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "body_get_constant_torque", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 531438156, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_axis_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "axis_velocity", - "type": "Vector3" - } - ] - }, - { - "name": "body_set_axis_lock", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2020836892, - "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_static": false, - "is_virtual": false, - "hash": 587853580, - "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_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "excepted_body", - "type": "RID" - } - ] - }, - { - "name": "body_remove_collision_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "excepted_body", - "type": "RID" - } - ] - }, - { - "name": "body_set_max_contacts_reported", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "body_get_max_contacts_reported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_omit_force_integration", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "body_is_omitting_force_integration", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_set_force_integration_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3059434249, - "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_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "body_test_motion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1944921792, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "parameters", - "type": "PhysicsTestMotionParameters3D" - }, - { - "name": "result", - "type": "PhysicsTestMotionResult3D", - "default_value": "null" - } - ] - }, - { - "name": "body_get_direct_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3029727957, - "return_value": { - "type": "PhysicsDirectBodyState3D" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "soft_body_get_bounds", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 974181306, - "return_value": { - "type": "AABB" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "joint_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "joint_clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "joint_make_pin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4280171926, - "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_static": false, - "is_virtual": false, - "hash": 810685294, - "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_static": false, - "is_virtual": false, - "hash": 2817972347, - "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_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "local_A", - "type": "Vector3" - } - ] - }, - { - "name": "pin_joint_get_local_a", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 531438156, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "pin_joint_set_local_b", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "local_B", - "type": "Vector3" - } - ] - }, - { - "name": "pin_joint_get_local_b", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 531438156, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "joint_make_hinge", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1684107643, - "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_static": false, - "is_virtual": false, - "hash": 3165502333, - "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_static": false, - "is_virtual": false, - "hash": 2129207581, - "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_static": false, - "is_virtual": false, - "hash": 1601626188, - "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_static": false, - "is_virtual": false, - "hash": 4165147865, - "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_static": false, - "is_virtual": false, - "hash": 1684107643, - "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_static": false, - "is_virtual": false, - "hash": 2264833593, - "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_static": false, - "is_virtual": false, - "hash": 3498644957, - "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_static": false, - "is_virtual": false, - "hash": 1684107643, - "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_static": false, - "is_virtual": false, - "hash": 808587618, - "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_static": false, - "is_virtual": false, - "hash": 1134789658, - "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_static": false, - "is_virtual": false, - "hash": 4290791900, - "return_value": { - "type": "enum::PhysicsServer3D.JointType" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "joint_set_solver_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "joint_get_solver_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "joint_disable_collisions_between_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "joint_is_disabled_collisions_between_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "joint_make_generic_6dof", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1684107643, - "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_static": false, - "is_virtual": false, - "hash": 2600081391, - "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_static": false, - "is_virtual": false, - "hash": 467122058, - "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_static": false, - "is_virtual": false, - "hash": 3570926903, - "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_static": false, - "is_virtual": false, - "hash": 4158090196, - "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_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "set_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "get_process_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1332958745, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "process_info", - "type": "enum::PhysicsServer3D.ProcessInfo" - } - ] - } - ] - }, - { - "name": "PhysicsServer3DExtension", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsServer3D", - "api_type": "core", - "methods": [ - { - "name": "_world_boundary_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_separation_ray_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_sphere_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_box_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_capsule_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_cylinder_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_convex_polygon_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_concave_polygon_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_heightmap_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_custom_shape_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_shape_set_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shape", - "type": "RID" - }, - { - "name": "data", - "type": "Variant" - } - ] - }, - { - "name": "_shape_set_custom_solver_bias", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shape", - "type": "RID" - }, - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_shape_set_margin", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shape", - "type": "RID" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_shape_get_margin", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "_shape_get_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::PhysicsServer3D.ShapeType" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "_shape_get_data", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "_shape_get_custom_solver_bias", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "_space_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_space_set_active", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "space", - "type": "RID" - }, - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "_space_is_active", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_space_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PhysicsDirectSpaceState3D" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_space_set_debug_contacts", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "space", - "type": "RID" - }, - { - "name": "max_contacts", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_space_get_contacts", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedVector3Array" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_space_get_contact_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_area_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_area_set_space", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_area_get_space", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_add_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "shape", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "_area_set_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_get_shape", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_area_remove_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_area_clear_shapes", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_attach_object_instance_id", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "_area_get_object_instance_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer3D.AreaParameter" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "_area_set_transform", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "_area_get_param", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer3D.AreaParameter" - } - ] - }, - { - "name": "_area_get_transform", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_set_collision_layer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_area_get_collision_layer", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_set_collision_mask", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_area_get_collision_mask", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "area", - "type": "RID" - } - ] - }, - { - "name": "_area_set_monitorable", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "monitorable", - "type": "bool" - } - ] - }, - { - "name": "_area_set_ray_pickable", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "_area_set_monitor_callback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "_area_set_area_monitor_callback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "area", - "type": "RID" - }, - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "_body_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_body_set_space", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_body_get_space", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_mode", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::PhysicsServer3D.BodyMode" - } - ] - }, - { - "name": "_body_get_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::PhysicsServer3D.BodyMode" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_add_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "_body_set_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_get_shape", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_body_remove_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "shape_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_body_clear_shapes", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_attach_object_instance_id", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "_body_get_object_instance_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_enable_continuous_collision_detection", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "_body_is_continuous_collision_detection_enabled", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_collision_layer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_body_get_collision_layer", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_collision_mask", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_body_get_collision_mask", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_collision_priority", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "priority", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_body_get_collision_priority", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_user_flags", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "flags", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_body_get_user_flags", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer3D.BodyParameter" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "_body_get_param", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer3D.BodyParameter" - } - ] - }, - { - "name": "_body_reset_mass_properties", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "state", - "type": "enum::PhysicsServer3D.BodyState" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "_body_get_state", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "state", - "type": "enum::PhysicsServer3D.BodyState" - } - ] - }, - { - "name": "_body_apply_central_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "_body_apply_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "_body_apply_torque_impulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "_body_apply_central_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "_body_apply_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "_body_apply_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "_body_add_constant_central_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "_body_add_constant_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "_body_add_constant_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "_body_set_constant_force", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "_body_get_constant_force", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_constant_torque", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "_body_get_constant_torque", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_axis_velocity", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "axis_velocity", - "type": "Vector3" - } - ] - }, - { - "name": "_body_set_axis_lock", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "axis", - "type": "enum::PhysicsServer3D.BodyAxis" - }, - { - "name": "lock", - "type": "bool" - } - ] - }, - { - "name": "_body_is_axis_locked", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "axis", - "type": "enum::PhysicsServer3D.BodyAxis" - } - ] - }, - { - "name": "_body_add_collision_exception", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "excepted_body", - "type": "RID" - } - ] - }, - { - "name": "_body_remove_collision_exception", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "excepted_body", - "type": "RID" - } - ] - }, - { - "name": "_body_get_collision_exceptions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_max_contacts_reported", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_body_get_max_contacts_reported", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_contacts_reported_depth_threshold", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_body_get_contacts_reported_depth_threshold", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_omit_force_integration", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "_body_is_omitting_force_integration", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_body_set_state_sync_callback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "_body_set_force_integration_callback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "callable", - "type": "Callable" - }, - { - "name": "userdata", - "type": "Variant" - } - ] - }, - { - "name": "_body_set_ray_pickable", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "_body_test_motion", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "from", - "type": "Transform3D" - }, - { - "name": "motion", - "type": "Vector3" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - }, - { - "name": "max_collisions", - "type": "int", - "meta": "int32" - }, - { - "name": "collide_separation_ray", - "type": "bool" - }, - { - "name": "recovery_as_collision", - "type": "bool" - }, - { - "name": "result", - "type": "PhysicsServer3DExtensionMotionResult*" - } - ] - }, - { - "name": "_body_get_direct_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PhysicsDirectBodyState3D" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_soft_body_update_rendering_server", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "rendering_server_handler", - "type": "PhysicsServer3DRenderingServerHandler" - } - ] - }, - { - "name": "_soft_body_set_space", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "space", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_get_space", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_set_ray_pickable", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "_soft_body_set_collision_layer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_soft_body_get_collision_layer", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_set_collision_mask", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_soft_body_get_collision_mask", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_add_collision_exception", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "body_b", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_remove_collision_exception", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "body_b", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_get_collision_exceptions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::RID" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_set_state", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "state", - "type": "enum::PhysicsServer3D.BodyState" - }, - { - "name": "variant", - "type": "Variant" - } - ] - }, - { - "name": "_soft_body_get_state", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "state", - "type": "enum::PhysicsServer3D.BodyState" - } - ] - }, - { - "name": "_soft_body_set_transform", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "_soft_body_set_simulation_precision", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "simulation_precision", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_soft_body_get_simulation_precision", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_set_total_mass", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "total_mass", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_soft_body_get_total_mass", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_set_linear_stiffness", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "linear_stiffness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_soft_body_get_linear_stiffness", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_set_pressure_coefficient", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "pressure_coefficient", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_soft_body_get_pressure_coefficient", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_set_damping_coefficient", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "damping_coefficient", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_soft_body_get_damping_coefficient", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_set_drag_coefficient", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "drag_coefficient", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_soft_body_get_drag_coefficient", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_set_mesh", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "mesh", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_get_bounds", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "AABB" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_move_point", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "point_index", - "type": "int", - "meta": "int32" - }, - { - "name": "global_position", - "type": "Vector3" - } - ] - }, - { - "name": "_soft_body_get_point_global_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "point_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_soft_body_remove_all_pinned_points", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "_soft_body_pin_point", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "point_index", - "type": "int", - "meta": "int32" - }, - { - "name": "pin", - "type": "bool" - } - ] - }, - { - "name": "_soft_body_is_point_pinned", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - }, - { - "name": "point_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_joint_create", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_joint_clear", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "_joint_make_pin", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "local_A", - "type": "Vector3" - } - ] - }, - { - "name": "_pin_joint_get_local_a", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "_pin_joint_set_local_b", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "local_B", - "type": "Vector3" - } - ] - }, - { - "name": "_pin_joint_get_local_b", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "_joint_make_hinge", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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": "_joint_make_hinge_simple", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "body_A", - "type": "RID" - }, - { - "name": "pivot_A", - "type": "Vector3" - }, - { - "name": "axis_A", - "type": "Vector3" - }, - { - "name": "body_B", - "type": "RID" - }, - { - "name": "pivot_B", - "type": "Vector3" - }, - { - "name": "axis_B", - "type": "Vector3" - } - ] - }, - { - "name": "_hinge_joint_set_param", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "flag", - "type": "enum::PhysicsServer3D.HingeJointFlag" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "_hinge_joint_get_flag", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "flag", - "type": "enum::PhysicsServer3D.HingeJointFlag" - } - ] - }, - { - "name": "_joint_make_slider", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "param", - "type": "enum::PhysicsServer3D.ConeTwistJointParam" - } - ] - }, - { - "name": "_joint_make_generic_6dof", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "axis", - "type": "enum::Vector3.Axis" - }, - { - "name": "flag", - "type": "enum::PhysicsServer3D.G6DOFJointAxisFlag" - } - ] - }, - { - "name": "_joint_get_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::PhysicsServer3D.JointType" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "_joint_set_solver_priority", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_joint_get_solver_priority", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "_joint_disable_collisions_between_bodies", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "joint", - "type": "RID" - }, - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "_joint_is_disabled_collisions_between_bodies", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint", - "type": "RID" - } - ] - }, - { - "name": "_free_rid", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "_set_active", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "_init", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_step", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "step", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_sync", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_flush_queries", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_end_sync", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_finish", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_is_flushing_queries", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_process_info", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "process_info", - "type": "enum::PhysicsServer3D.ProcessInfo" - } - ] - }, - { - "name": "body_test_motion_is_excluding_body", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "body_test_motion_is_excluding_object", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "object", - "type": "int", - "meta": "uint64" - } - ] - } - ] - }, - { - "name": "PhysicsServer3DManager", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "register_server", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2137474292, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "create_callback", - "type": "Callable" - } - ] - }, - { - "name": "set_default_server", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - } - ] - }, - { - "name": "PhysicsServer3DRenderingServerHandler", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "_set_vertex", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "vertex_id", - "type": "int", - "meta": "int32" - }, - { - "name": "vertex", - "type": "Vector3" - } - ] - }, - { - "name": "_set_normal", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "vertex_id", - "type": "int", - "meta": "int32" - }, - { - "name": "normal", - "type": "Vector3" - } - ] - }, - { - "name": "_set_aabb", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "set_vertex", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "vertex_id", - "type": "int", - "meta": "int32" - }, - { - "name": "vertex", - "type": "Vector3" - } - ] - }, - { - "name": "set_normal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "vertex_id", - "type": "int", - "meta": "int32" - }, - { - "name": "normal", - "type": "Vector3" - } - ] - }, - { - "name": "set_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 259215842, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - } - ] - } - ] - }, - { - "name": "PhysicsShapeQueryParameters2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 968641751, - "arguments": [ - { - "name": "shape", - "type": "Resource" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121922552, - "return_value": { - "type": "Resource" - } - }, - { - "name": "set_shape_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "get_shape_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "set_motion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "motion", - "type": "Vector2" - } - ] - }, - { - "name": "get_motion", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_exclude", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_exclude", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "typedarray::RID", - "name": "exclude", - "setter": "set_exclude", - "getter": "get_exclude" - }, - { - "type": "float", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - }, - { - "type": "Vector2", - "name": "motion", - "setter": "set_motion", - "getter": "get_motion" - }, - { - "type": "Shape2D", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "RID", - "name": "shape_rid", - "setter": "set_shape_rid", - "getter": "get_shape_rid" - }, - { - "type": "Transform2D", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - } - ] - }, - { - "name": "PhysicsShapeQueryParameters3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 968641751, - "arguments": [ - { - "name": "shape", - "type": "Resource" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121922552, - "return_value": { - "type": "Resource" - } - }, - { - "name": "set_shape_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "shape", - "type": "RID" - } - ] - }, - { - "name": "get_shape_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "set_motion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "motion", - "type": "Vector3" - } - ] - }, - { - "name": "get_motion", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_exclude", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_exclude", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "typedarray::RID", - "name": "exclude", - "setter": "set_exclude", - "getter": "get_exclude" - }, - { - "type": "float", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - }, - { - "type": "Vector2", - "name": "motion", - "setter": "set_motion", - "getter": "get_motion" - }, - { - "type": "Shape3D", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "RID", - "name": "shape_rid", - "setter": "set_shape_rid", - "getter": "get_shape_rid" - }, - { - "type": "Transform3D", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - } - ] - }, - { - "name": "PhysicsTestMotionParameters2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_from", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "set_from", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "from", - "type": "Transform2D" - } - ] - }, - { - "name": "get_motion", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_motion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "motion", - "type": "Vector2" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "is_collide_separation_ray_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_separation_ray_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_exclude_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_exclude_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude_list", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_exclude_objects", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::int" - } - }, - { - "name": "set_exclude_objects", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude_list", - "type": "typedarray::int" - } - ] - }, - { - "name": "is_recovery_as_collision_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_recovery_as_collision_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "Transform2D", - "name": "from", - "setter": "set_from", - "getter": "get_from" - }, - { - "type": "Vector2", - "name": "motion", - "setter": "set_motion", - "getter": "get_motion" - }, - { - "type": "float", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - }, - { - "type": "bool", - "name": "collide_separation_ray", - "setter": "set_collide_separation_ray_enabled", - "getter": "is_collide_separation_ray_enabled" - }, - { - "type": "typedarray::RID", - "name": "exclude_bodies", - "setter": "set_exclude_bodies", - "getter": "get_exclude_bodies" - }, - { - "type": "Array", - "name": "exclude_objects", - "setter": "set_exclude_objects", - "getter": "get_exclude_objects" - }, - { - "type": "bool", - "name": "recovery_as_collision", - "setter": "set_recovery_as_collision_enabled", - "getter": "is_recovery_as_collision_enabled" - } - ] - }, - { - "name": "PhysicsTestMotionParameters3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_from", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "set_from", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "from", - "type": "Transform3D" - } - ] - }, - { - "name": "get_motion", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_motion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "motion", - "type": "Vector3" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_collisions", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_collisions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_collisions", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_collide_separation_ray_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_separation_ray_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_exclude_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - }, - { - "name": "set_exclude_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude_list", - "type": "typedarray::RID" - } - ] - }, - { - "name": "get_exclude_objects", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::int" - } - }, - { - "name": "set_exclude_objects", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "exclude_list", - "type": "typedarray::int" - } - ] - }, - { - "name": "is_recovery_as_collision_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_recovery_as_collision_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "Transform3D", - "name": "from", - "setter": "set_from", - "getter": "get_from" - }, - { - "type": "Vector3", - "name": "motion", - "setter": "set_motion", - "getter": "get_motion" - }, - { - "type": "float", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - }, - { - "type": "int", - "name": "max_collisions", - "setter": "set_max_collisions", - "getter": "get_max_collisions" - }, - { - "type": "bool", - "name": "collide_separation_ray", - "setter": "set_collide_separation_ray_enabled", - "getter": "is_collide_separation_ray_enabled" - }, - { - "type": "typedarray::RID", - "name": "exclude_bodies", - "setter": "set_exclude_bodies", - "getter": "get_exclude_bodies" - }, - { - "type": "Array", - "name": "exclude_objects", - "setter": "set_exclude_objects", - "getter": "get_exclude_objects" - }, - { - "type": "bool", - "name": "recovery_as_collision", - "setter": "set_recovery_as_collision_enabled", - "getter": "is_recovery_as_collision_enabled" - } - ] - }, - { - "name": "PhysicsTestMotionResult2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_travel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_remainder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_collision_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_collision_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_collider_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_collider_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_collider_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1981248198, - "return_value": { - "type": "Object" - } - }, - { - "name": "get_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_collision_local_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_collision_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_collision_safe_fraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_collision_unsafe_fraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ] - }, - { - "name": "PhysicsTestMotionResult3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_travel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_remainder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_collision_safe_fraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_collision_unsafe_fraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_collision_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_collision_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1914908202, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collision_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1914908202, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1914908202, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1231817359, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2639523548, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collision_local_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_collision_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 218038398, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "collision_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - } - ] - }, - { - "name": "PinJoint2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Joint2D", - "api_type": "core", - "methods": [ - { - "name": "set_softness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "softness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_softness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_angular_limit_lower", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angular_limit_lower", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_angular_limit_lower", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_angular_limit_upper", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angular_limit_upper", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_angular_limit_upper", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_motor_target_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "motor_target_velocity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_motor_target_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_motor_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_motor_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_angular_limit_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_angular_limit_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "softness", - "setter": "set_softness", - "getter": "get_softness" - }, - { - "type": "bool", - "name": "angular_limit_enabled", - "setter": "set_angular_limit_enabled", - "getter": "is_angular_limit_enabled" - }, - { - "type": "float", - "name": "angular_limit_lower", - "setter": "set_angular_limit_lower", - "getter": "get_angular_limit_lower" - }, - { - "type": "float", - "name": "angular_limit_upper", - "setter": "set_angular_limit_upper", - "getter": "get_angular_limit_upper" - }, - { - "type": "bool", - "name": "motor_enabled", - "setter": "set_motor_enabled", - "getter": "is_motor_enabled" - }, - { - "type": "float", - "name": "motor_target_velocity", - "setter": "set_motor_target_velocity", - "getter": "get_motor_target_velocity" - } - ] - }, - { - "name": "PinJoint3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Joint3D", - "api_type": "core", - "enums": [ - { - "name": "Param", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2059913726, - "arguments": [ - { - "name": "param", - "type": "enum::PinJoint3D.Param" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1758438771, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::PinJoint3D.Param" - } - ] - } - ] - }, - { - "name": "PlaceholderCubemap", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PlaceholderTextureLayered", - "api_type": "core" - }, - { - "name": "PlaceholderCubemapArray", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PlaceholderTextureLayered", - "api_type": "core" - }, - { - "name": "PlaceholderMaterial", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Material", - "api_type": "core" - }, - { - "name": "PlaceholderMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Mesh", - "api_type": "core", - "methods": [ - { - "name": "set_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 259215842, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - } - ] - } - ], - "properties": [ - { - "type": "AABB", - "name": "aabb", - "setter": "set_aabb", - "getter": "get_aabb" - } - ] - }, - { - "name": "PlaceholderTexture2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "size", - "type": "Vector2" - } - ] - } - ], - "properties": [ - { - "type": "Vector2", - "name": "size", - "setter": "set_size", - "getter": "get_size" - } - ] - }, - { - "name": "PlaceholderTexture2DArray", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PlaceholderTextureLayered", - "api_type": "core" - }, - { - "name": "PlaceholderTexture3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture3D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 560364750, - "arguments": [ - { - "name": "size", - "type": "Vector3i" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2785653706, - "return_value": { - "type": "Vector3i" - } - } - ], - "properties": [ - { - "type": "Vector3i", - "name": "size", - "setter": "set_size", - "getter": "get_size" - } - ] - }, - { - "name": "PlaceholderTextureLayered", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "TextureLayered", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layers", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "Vector2i", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "int", - "name": "layers", - "setter": "set_layers", - "getter": "get_layers" - } - ] - }, - { - "name": "PlaneMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PrimitiveMesh", - "api_type": "core", - "enums": [ - { - "name": "Orientation", - "is_bitfield": false, - "values": [ - { - "name": "FACE_X", - "value": 0 - }, - { - "name": "FACE_Y", - "value": 1 - }, - { - "name": "FACE_Z", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "size", - "type": "Vector2" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_subdivide_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "subdivide", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_subdivide_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_subdivide_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "subdivide", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_subdivide_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_center_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "get_center_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_orientation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2751399687, - "arguments": [ - { - "name": "orientation", - "type": "enum::PlaneMesh.Orientation" - } - ] - }, - { - "name": "get_orientation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227599250, - "return_value": { - "type": "enum::PlaneMesh.Orientation" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "int", - "name": "subdivide_width", - "setter": "set_subdivide_width", - "getter": "get_subdivide_width" - }, - { - "type": "int", - "name": "subdivide_depth", - "setter": "set_subdivide_depth", - "getter": "get_subdivide_depth" - }, - { - "type": "Vector3", - "name": "center_offset", - "setter": "set_center_offset", - "getter": "get_center_offset" - }, - { - "type": "int", - "name": "orientation", - "setter": "set_orientation", - "getter": "get_orientation" - } - ] - }, - { - "name": "PointLight2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Light2D", - "api_type": "core", - "methods": [ - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_texture_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "texture_offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_texture_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_texture_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "texture_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_texture_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_texture_offset", - "getter": "get_texture_offset" - }, - { - "type": "float", - "name": "texture_scale", - "setter": "set_texture_scale", - "getter": "get_texture_scale" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_uv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "uv", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_uv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_polygons", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "polygons", - "type": "Array" - } - ] - }, - { - "name": "get_polygons", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_vertex_colors", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3546319833, - "arguments": [ - { - "name": "vertex_colors", - "type": "PackedColorArray" - } - ] - }, - { - "name": "get_vertex_colors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1392750486, - "return_value": { - "type": "PackedColorArray" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_texture_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "texture_offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_texture_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_texture_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "texture_rotation", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_texture_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_texture_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "texture_scale", - "type": "Vector2" - } - ] - }, - { - "name": "get_texture_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_invert_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "invert", - "type": "bool" - } - ] - }, - { - "name": "get_invert_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_antialiased", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "antialiased", - "type": "bool" - } - ] - }, - { - "name": "get_antialiased", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_invert_border", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "invert_border", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_invert_border", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "add_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 703042815, - "arguments": [ - { - "name": "path", - "type": "NodePath" - }, - { - "name": "weights", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "get_bone_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_bone_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 408788394, - "return_value": { - "type": "NodePath" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bone_weights", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1542882410, - "return_value": { - "type": "PackedFloat32Array" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "erase_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_bones", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_bone_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761262315, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "set_bone_weights", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1345852415, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "weights", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "set_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "skeleton", - "type": "NodePath" - } - ] - }, - { - "name": "get_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_internal_vertex_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "internal_vertex_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_internal_vertex_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "bool", - "name": "antialiased", - "setter": "set_antialiased", - "getter": "get_antialiased" - }, - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "Vector2", - "name": "texture_offset", - "setter": "set_texture_offset", - "getter": "get_texture_offset" - }, - { - "type": "Vector2", - "name": "texture_scale", - "setter": "set_texture_scale", - "getter": "get_texture_scale" - }, - { - "type": "float", - "name": "texture_rotation", - "setter": "set_texture_rotation", - "getter": "get_texture_rotation" - }, - { - "type": "NodePath", - "name": "skeleton", - "setter": "set_skeleton", - "getter": "get_skeleton" - }, - { - "type": "bool", - "name": "invert_enabled", - "setter": "set_invert_enabled", - "getter": "get_invert_enabled" - }, - { - "type": "float", - "name": "invert_border", - "setter": "set_invert_border", - "getter": "get_invert_border" - }, - { - "type": "PackedVector2Array", - "name": "polygon", - "setter": "set_polygon", - "getter": "get_polygon" - }, - { - "type": "PackedVector2Array", - "name": "uv", - "setter": "set_uv", - "getter": "get_uv" - }, - { - "type": "PackedColorArray", - "name": "vertex_colors", - "setter": "set_vertex_colors", - "getter": "get_vertex_colors" - }, - { - "type": "Array", - "name": "polygons", - "setter": "set_polygons", - "getter": "get_polygons" - }, - { - "type": "Array", - "name": "bones", - "setter": "_set_bones", - "getter": "_get_bones" - }, - { - "type": "int", - "name": "internal_vertex_count", - "setter": "set_internal_vertex_count", - "getter": "get_internal_vertex_count" - } - ] - }, - { - "name": "PolygonOccluder3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Occluder3D", - "api_type": "core", - "methods": [ - { - "name": "set_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - } - ], - "properties": [ - { - "type": "PackedVector2Array", - "name": "polygon", - "setter": "set_polygon", - "getter": "get_polygon" - } - ] - }, - { - "name": "PolygonPathFinder", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "setup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3251786936, - "arguments": [ - { - "name": "points", - "type": "PackedVector2Array" - }, - { - "name": "connections", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "find_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1562168077, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "from", - "type": "Vector2" - }, - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "get_intersections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3932192302, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "from", - "type": "Vector2" - }, - { - "name": "to", - "type": "Vector2" - } - ] - }, - { - "name": "get_closest_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2656412154, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "is_point_inside", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 556197845, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "set_point_penalty", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "penalty", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_point_penalty", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bounds", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - } - ], - "properties": [ - { - "type": "Dictionary", - "name": "data", - "setter": "_set_data", - "getter": "_get_data" - } - ] - }, - { - "name": "Popup", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Window", - "api_type": "core", - "signals": [ - { - "name": "popup_hide" - } - ] - }, - { - "name": "PopupMenu", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Popup", - "api_type": "core", - "methods": [ - { - "name": "activate_item_by_event", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3716412023, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - }, - { - "name": "for_global_only", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "add_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3674230041, - "hash_compatibility": [ - 3224536192 - ], - "arguments": [ - { - "name": "label", - "type": "String" - }, - { - "name": "id", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "accel", - "type": "enum::Key", - "default_value": "0" - } - ] - }, - { - "name": "add_icon_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1086190128, - "hash_compatibility": [ - 1200674553 - ], - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "id", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "accel", - "type": "enum::Key", - "default_value": "0" - } - ] - }, - { - "name": "add_check_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3674230041, - "hash_compatibility": [ - 3224536192 - ], - "arguments": [ - { - "name": "label", - "type": "String" - }, - { - "name": "id", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "accel", - "type": "enum::Key", - "default_value": "0" - } - ] - }, - { - "name": "add_icon_check_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1086190128, - "hash_compatibility": [ - 1200674553 - ], - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "id", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "accel", - "type": "enum::Key", - "default_value": "0" - } - ] - }, - { - "name": "add_radio_check_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3674230041, - "hash_compatibility": [ - 3224536192 - ], - "arguments": [ - { - "name": "label", - "type": "String" - }, - { - "name": "id", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "accel", - "type": "enum::Key", - "default_value": "0" - } - ] - }, - { - "name": "add_icon_radio_check_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1086190128, - "hash_compatibility": [ - 1200674553 - ], - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - }, - { - "name": "label", - "type": "String" - }, - { - "name": "id", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "accel", - "type": "enum::Key", - "default_value": "0" - } - ] - }, - { - "name": "add_multistate_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 150780458, - "hash_compatibility": [ - 1585218420 - ], - "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": "enum::Key", - "default_value": "0" - } - ] - }, - { - "name": "add_shortcut", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3451850107, - "hash_compatibility": [ - 1642193386, - 2482211467, - 2168272394 - ], - "arguments": [ - { - "name": "shortcut", - "type": "Shortcut" - }, - { - "name": "id", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "global", - "type": "bool", - "default_value": "false" - }, - { - "name": "allow_echo", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "add_icon_shortcut", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2997871092, - "hash_compatibility": [ - 3856247530, - 3060251822, - 68101841 - ], - "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": "allow_echo", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "add_check_shortcut", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1642193386, - "hash_compatibility": [ - 2168272394 - ], - "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_static": false, - "is_virtual": false, - "hash": 3856247530, - "hash_compatibility": [ - 68101841 - ], - "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_static": false, - "is_virtual": false, - "hash": 1642193386, - "hash_compatibility": [ - 2168272394 - ], - "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_static": false, - "is_virtual": false, - "hash": 3856247530, - "hash_compatibility": [ - 68101841 - ], - "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_static": false, - "is_virtual": false, - "hash": 2979222410, - "hash_compatibility": [ - 3728518296 - ], - "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_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "set_item_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1707680378, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "direction", - "type": "enum::Control.TextDirection" - } - ] - }, - { - "name": "set_item_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "set_item_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "icon", - "type": "Texture2D" - } - ] - }, - { - "name": "set_item_icon_max_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_icon_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "set_item_checked", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "checked", - "type": "bool" - } - ] - }, - { - "name": "set_item_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_accelerator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2992817551, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "accel", - "type": "enum::Key" - } - ] - }, - { - "name": "set_item_metadata", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2152698145, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "metadata", - "type": "Variant" - } - ] - }, - { - "name": "set_item_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "set_item_submenu", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "submenu", - "type": "String" - } - ] - }, - { - "name": "set_item_as_separator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_item_as_checkable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_item_as_radio_checkable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "set_item_tooltip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "tooltip", - "type": "String" - } - ] - }, - { - "name": "set_item_shortcut", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 825127832, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "shortcut", - "type": "Shortcut" - }, - { - "name": "global", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_item_indent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "indent", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_multistate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "state", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_item_shortcut_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "toggle_item_checked", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "toggle_item_multistate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4235602388, - "return_value": { - "type": "enum::Control.TextDirection" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_icon_max_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_icon_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_item_checked", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_accelerator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 253789942, - "return_value": { - "type": "enum::Key" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_metadata", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_item_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_submenu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_item_separator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_item_checkable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_item_radio_checkable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_item_shortcut_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_tooltip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_shortcut", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1449483325, - "return_value": { - "type": "Shortcut" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_indent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_focused_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_focused_item", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_item_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_item_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "scroll_to_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_separator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2266703459, - "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_static": false, - "is_virtual": false, - "hash": 107499316, - "hash_compatibility": [ - 3218959716 - ], - "arguments": [ - { - "name": "free_submenus", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_hide_on_item_selection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hide_on_item_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hide_on_checkable_item_selection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hide_on_checkable_item_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hide_on_state_item_selection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hide_on_state_item_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_submenu_popup_delay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "seconds", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_submenu_popup_delay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_allow_search", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "get_allow_search", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "id_pressed", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "id_focused", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "index_pressed", - "arguments": [ - { - "name": "index", - "type": "int" - } - ] - }, - { - "name": "menu_changed" - } - ], - "properties": [ - { - "type": "bool", - "name": "hide_on_item_selection", - "setter": "set_hide_on_item_selection", - "getter": "is_hide_on_item_selection" - }, - { - "type": "bool", - "name": "hide_on_checkable_item_selection", - "setter": "set_hide_on_checkable_item_selection", - "getter": "is_hide_on_checkable_item_selection" - }, - { - "type": "bool", - "name": "hide_on_state_item_selection", - "setter": "set_hide_on_state_item_selection", - "getter": "is_hide_on_state_item_selection" - }, - { - "type": "float", - "name": "submenu_popup_delay", - "setter": "set_submenu_popup_delay", - "getter": "get_submenu_popup_delay" - }, - { - "type": "bool", - "name": "allow_search", - "setter": "set_allow_search", - "getter": "get_allow_search" - }, - { - "type": "int", - "name": "item_count", - "setter": "set_item_count", - "getter": "get_item_count" - } - ] - }, - { - "name": "PopupPanel", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Popup", - "api_type": "core" - }, - { - "name": "PortableCompressedTexture2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "enums": [ - { - "name": "CompressionMode", - "is_bitfield": false, - "values": [ - { - "name": "COMPRESSION_MODE_LOSSLESS", - "value": 0 - }, - { - "name": "COMPRESSION_MODE_LOSSY", - "value": 1 - }, - { - "name": "COMPRESSION_MODE_BASIS_UNIVERSAL", - "value": 2 - }, - { - "name": "COMPRESSION_MODE_S3TC", - "value": 3 - }, - { - "name": "COMPRESSION_MODE_ETC2", - "value": 4 - }, - { - "name": "COMPRESSION_MODE_BPTC", - "value": 5 - } - ] - } - ], - "methods": [ - { - "name": "create_from_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3679243433, - "hash_compatibility": [ - 97251393 - ], - "arguments": [ - { - "name": "image", - "type": "Image" - }, - { - "name": "compression_mode", - "type": "enum::PortableCompressedTexture2D.CompressionMode" - }, - { - "name": "normal_map", - "type": "bool", - "default_value": "false" - }, - { - "name": "lossy_quality", - "type": "float", - "meta": "float", - "default_value": "0.8" - } - ] - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3847873762, - "return_value": { - "type": "enum::Image.Format" - } - }, - { - "name": "get_compression_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3265612739, - "return_value": { - "type": "enum::PortableCompressedTexture2D.CompressionMode" - } - }, - { - "name": "set_size_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "size", - "type": "Vector2" - } - ] - }, - { - "name": "get_size_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_keep_compressed_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "keep", - "type": "bool" - } - ] - }, - { - "name": "is_keeping_compressed_buffer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_keep_all_compressed_buffers", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "keep", - "type": "bool" - } - ] - }, - { - "name": "is_keeping_all_compressed_buffers", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "size_override", - "setter": "set_size_override", - "getter": "get_size_override" - }, - { - "type": "bool", - "name": "keep_compressed_buffer", - "setter": "set_keep_compressed_buffer", - "getter": "is_keeping_compressed_buffer" - } - ] - }, - { - "name": "PrimitiveMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Mesh", - "api_type": "core", - "methods": [ - { - "name": "_create_mesh_array", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "get_mesh_arrays", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_custom_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 259215842, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "get_custom_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - }, - { - "name": "set_flip_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_faces", - "type": "bool" - } - ] - }, - { - "name": "get_flip_faces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_add_uv2", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "add_uv2", - "type": "bool" - } - ] - }, - { - "name": "get_add_uv2", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_uv2_padding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "uv2_padding", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_uv2_padding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "BaseMaterial3D,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - }, - { - "type": "AABB", - "name": "custom_aabb", - "setter": "set_custom_aabb", - "getter": "get_custom_aabb" - }, - { - "type": "bool", - "name": "flip_faces", - "setter": "set_flip_faces", - "getter": "get_flip_faces" - }, - { - "type": "bool", - "name": "add_uv2", - "setter": "set_add_uv2", - "getter": "get_add_uv2" - }, - { - "type": "float", - "name": "uv2_padding", - "setter": "set_uv2_padding", - "getter": "get_uv2_padding" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "left_to_right", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_left_to_right", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_subdivide_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "segments", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_subdivide_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_subdivide_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "segments", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_subdivide_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_subdivide_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "segments", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_subdivide_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "float", - "name": "left_to_right", - "setter": "set_left_to_right", - "getter": "get_left_to_right" - }, - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "int", - "name": "subdivide_width", - "setter": "set_subdivide_width", - "getter": "get_subdivide_width" - }, - { - "type": "int", - "name": "subdivide_height", - "setter": "set_subdivide_height", - "getter": "get_subdivide_height" - }, - { - "type": "int", - "name": "subdivide_depth", - "setter": "set_subdivide_depth", - "getter": "get_subdivide_depth" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_sky_top_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_sky_horizon_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_sky_horizon_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_sky_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "curve", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sky_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sky_energy_multiplier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "multiplier", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sky_energy_multiplier", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sky_cover", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "sky_cover", - "type": "Texture2D" - } - ] - }, - { - "name": "get_sky_cover", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_sky_cover_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_sky_cover_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_ground_bottom_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_ground_bottom_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_ground_horizon_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_ground_horizon_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_ground_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "curve", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ground_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ground_energy_multiplier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ground_energy_multiplier", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sun_angle_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "degrees", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sun_angle_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sun_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "curve", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sun_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_use_debanding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_debanding", - "type": "bool" - } - ] - }, - { - "name": "get_use_debanding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Color", - "name": "sky_top_color", - "setter": "set_sky_top_color", - "getter": "get_sky_top_color" - }, - { - "type": "Color", - "name": "sky_horizon_color", - "setter": "set_sky_horizon_color", - "getter": "get_sky_horizon_color" - }, - { - "type": "float", - "name": "sky_curve", - "setter": "set_sky_curve", - "getter": "get_sky_curve" - }, - { - "type": "float", - "name": "sky_energy_multiplier", - "setter": "set_sky_energy_multiplier", - "getter": "get_sky_energy_multiplier" - }, - { - "type": "Texture2D", - "name": "sky_cover", - "setter": "set_sky_cover", - "getter": "get_sky_cover" - }, - { - "type": "Color", - "name": "sky_cover_modulate", - "setter": "set_sky_cover_modulate", - "getter": "get_sky_cover_modulate" - }, - { - "type": "Color", - "name": "ground_bottom_color", - "setter": "set_ground_bottom_color", - "getter": "get_ground_bottom_color" - }, - { - "type": "Color", - "name": "ground_horizon_color", - "setter": "set_ground_horizon_color", - "getter": "get_ground_horizon_color" - }, - { - "type": "float", - "name": "ground_curve", - "setter": "set_ground_curve", - "getter": "get_ground_curve" - }, - { - "type": "float", - "name": "ground_energy_multiplier", - "setter": "set_ground_energy_multiplier", - "getter": "get_ground_energy_multiplier" - }, - { - "type": "float", - "name": "sun_angle_max", - "setter": "set_sun_angle_max", - "getter": "get_sun_angle_max" - }, - { - "type": "float", - "name": "sun_curve", - "setter": "set_sun_curve", - "getter": "get_sun_curve" - }, - { - "type": "bool", - "name": "use_debanding", - "setter": "set_use_debanding", - "getter": "get_use_debanding" - } - ] - }, - { - "name": "ProgressBar", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Range", - "api_type": "core", - "enums": [ - { - "name": "FillMode", - "is_bitfield": false, - "values": [ - { - "name": "FILL_BEGIN_TO_END", - "value": 0 - }, - { - "name": "FILL_END_TO_BEGIN", - "value": 1 - }, - { - "name": "FILL_TOP_TO_BOTTOM", - "value": 2 - }, - { - "name": "FILL_BOTTOM_TO_TOP", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_fill_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mode", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_fill_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_show_percentage", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "is_percentage_shown", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "fill_mode", - "setter": "set_fill_mode", - "getter": "get_fill_mode" - }, - { - "type": "bool", - "name": "show_percentage", - "setter": "set_show_percentage", - "getter": "is_percentage_shown" - } - ] - }, - { - "name": "ProjectSettings", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "has_setting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_setting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 402577236, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get_setting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 223050753, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "default_value", - "type": "Variant", - "default_value": "null" - } - ] - }, - { - "name": "get_setting_with_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_global_class_list", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "set_order", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956805083, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_order", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_initial_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 402577236, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "set_as_basic", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2678287736, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "basic", - "type": "bool" - } - ] - }, - { - "name": "set_as_internal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2678287736, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "internal", - "type": "bool" - } - ] - }, - { - "name": "add_property_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155329257, - "arguments": [ - { - "name": "hint", - "type": "Dictionary" - } - ] - }, - { - "name": "set_restart_if_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2678287736, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "restart", - "type": "bool" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "localize_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "globalize_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "save", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "load_resource_pack", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 708980503, - "hash_compatibility": [ - 3001721055 - ], - "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": "save_custom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - } - ], - "signals": [ - { - "name": "settings_changed" - } - ] - }, - { - "name": "PropertyTweener", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Tweener", - "api_type": "core", - "methods": [ - { - "name": "from", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4190193059, - "return_value": { - "type": "PropertyTweener" - }, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "from_current", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4279177709, - "return_value": { - "type": "PropertyTweener" - } - }, - { - "name": "as_relative", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4279177709, - "return_value": { - "type": "PropertyTweener" - } - }, - { - "name": "set_trans", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1899107404, - "return_value": { - "type": "PropertyTweener" - }, - "arguments": [ - { - "name": "trans", - "type": "enum::Tween.TransitionType" - } - ] - }, - { - "name": "set_ease", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1080455622, - "return_value": { - "type": "PropertyTweener" - }, - "arguments": [ - { - "name": "ease", - "type": "enum::Tween.EaseType" - } - ] - }, - { - "name": "set_delay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2171559331, - "return_value": { - "type": "PropertyTweener" - }, - "arguments": [ - { - "name": "delay", - "type": "float", - "meta": "double" - } - ] - } - ] - }, - { - "name": "QuadMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PlaneMesh", - "api_type": "core" - }, - { - "name": "QuadOccluder3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Occluder3D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "size", - "type": "Vector2" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "size", - "setter": "set_size", - "getter": "get_size" - } - ] - }, - { - "name": "RDAttachmentFormat", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "set_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 565531219, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.DataFormat" - } - ] - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2235804183, - "return_value": { - "type": "enum::RenderingDevice.DataFormat" - } - }, - { - "name": "set_samples", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3774171498, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.TextureSamples" - } - ] - }, - { - "name": "get_samples", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 407791724, - "return_value": { - "type": "enum::RenderingDevice.TextureSamples" - } - }, - { - "name": "set_usage_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_usage_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "format", - "setter": "set_format", - "getter": "get_format" - }, - { - "type": "int", - "name": "samples", - "setter": "set_samples", - "getter": "get_samples" - }, - { - "type": "int", - "name": "usage_flags", - "setter": "set_usage_flags", - "getter": "get_usage_flags" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "p_member", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_color_attachments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_input_attachments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "p_member", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_input_attachments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_resolve_attachments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "p_member", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_resolve_attachments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_preserve_attachments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "p_member", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "get_preserve_attachments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_depth_attachment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_depth_attachment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "PackedInt32Array", - "name": "color_attachments", - "setter": "set_color_attachments", - "getter": "get_color_attachments" - }, - { - "type": "PackedInt32Array", - "name": "input_attachments", - "setter": "set_input_attachments", - "getter": "get_input_attachments" - }, - { - "type": "PackedInt32Array", - "name": "resolve_attachments", - "setter": "set_resolve_attachments", - "getter": "get_resolve_attachments" - }, - { - "type": "PackedInt32Array", - "name": "preserve_attachments", - "setter": "set_preserve_attachments", - "getter": "get_preserve_attachments" - }, - { - "type": "int", - "name": "depth_attachment", - "setter": "set_depth_attachment", - "getter": "get_depth_attachment" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_logic_op", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_logic_op", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3610841058, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.LogicOperation" - } - ] - }, - { - "name": "get_logic_op", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 988254690, - "return_value": { - "type": "enum::RenderingDevice.LogicOperation" - } - }, - { - "name": "set_blend_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "p_member", - "type": "Color" - } - ] - }, - { - "name": "get_blend_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_attachments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "attachments", - "type": "typedarray::RDPipelineColorBlendStateAttachment" - } - ] - }, - { - "name": "get_attachments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RDPipelineColorBlendStateAttachment" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enable_logic_op", - "setter": "set_enable_logic_op", - "getter": "get_enable_logic_op" - }, - { - "type": "int", - "name": "logic_op", - "setter": "set_logic_op", - "getter": "get_logic_op" - }, - { - "type": "Color", - "name": "blend_constant", - "setter": "set_blend_constant", - "getter": "get_blend_constant" - }, - { - "type": "typedarray::RDPipelineColorBlendStateAttachment", - "name": "attachments", - "setter": "set_attachments", - "getter": "get_attachments" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_enable_blend", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_blend", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_src_color_blend_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2251019273, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.BlendFactor" - } - ] - }, - { - "name": "get_src_color_blend_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3691288359, - "return_value": { - "type": "enum::RenderingDevice.BlendFactor" - } - }, - { - "name": "set_dst_color_blend_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2251019273, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.BlendFactor" - } - ] - }, - { - "name": "get_dst_color_blend_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3691288359, - "return_value": { - "type": "enum::RenderingDevice.BlendFactor" - } - }, - { - "name": "set_color_blend_op", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3073022720, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.BlendOperation" - } - ] - }, - { - "name": "get_color_blend_op", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1385093561, - "return_value": { - "type": "enum::RenderingDevice.BlendOperation" - } - }, - { - "name": "set_src_alpha_blend_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2251019273, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.BlendFactor" - } - ] - }, - { - "name": "get_src_alpha_blend_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3691288359, - "return_value": { - "type": "enum::RenderingDevice.BlendFactor" - } - }, - { - "name": "set_dst_alpha_blend_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2251019273, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.BlendFactor" - } - ] - }, - { - "name": "get_dst_alpha_blend_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3691288359, - "return_value": { - "type": "enum::RenderingDevice.BlendFactor" - } - }, - { - "name": "set_alpha_blend_op", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3073022720, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.BlendOperation" - } - ] - }, - { - "name": "get_alpha_blend_op", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1385093561, - "return_value": { - "type": "enum::RenderingDevice.BlendOperation" - } - }, - { - "name": "set_write_r", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_write_r", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_write_g", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_write_g", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_write_b", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_write_b", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_write_a", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_write_a", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enable_blend", - "setter": "set_enable_blend", - "getter": "get_enable_blend" - }, - { - "type": "int", - "name": "src_color_blend_factor", - "setter": "set_src_color_blend_factor", - "getter": "get_src_color_blend_factor" - }, - { - "type": "int", - "name": "dst_color_blend_factor", - "setter": "set_dst_color_blend_factor", - "getter": "get_dst_color_blend_factor" - }, - { - "type": "int", - "name": "color_blend_op", - "setter": "set_color_blend_op", - "getter": "get_color_blend_op" - }, - { - "type": "int", - "name": "src_alpha_blend_factor", - "setter": "set_src_alpha_blend_factor", - "getter": "get_src_alpha_blend_factor" - }, - { - "type": "int", - "name": "dst_alpha_blend_factor", - "setter": "set_dst_alpha_blend_factor", - "getter": "get_dst_alpha_blend_factor" - }, - { - "type": "int", - "name": "alpha_blend_op", - "setter": "set_alpha_blend_op", - "getter": "get_alpha_blend_op" - }, - { - "type": "bool", - "name": "write_r", - "setter": "set_write_r", - "getter": "get_write_r" - }, - { - "type": "bool", - "name": "write_g", - "setter": "set_write_g", - "getter": "get_write_g" - }, - { - "type": "bool", - "name": "write_b", - "setter": "set_write_b", - "getter": "get_write_b" - }, - { - "type": "bool", - "name": "write_a", - "setter": "set_write_a", - "getter": "get_write_a" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_depth_test", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_enable_depth_write", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_depth_write", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_depth_compare_operator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2573711505, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.CompareOperator" - } - ] - }, - { - "name": "get_depth_compare_operator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 269730778, - "return_value": { - "type": "enum::RenderingDevice.CompareOperator" - } - }, - { - "name": "set_enable_depth_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_depth_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_depth_range_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth_range_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_depth_range_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth_range_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_enable_stencil", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_stencil", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_front_op_fail", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2092799566, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.StencilOperation" - } - ] - }, - { - "name": "get_front_op_fail", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1714732389, - "return_value": { - "type": "enum::RenderingDevice.StencilOperation" - } - }, - { - "name": "set_front_op_pass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2092799566, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.StencilOperation" - } - ] - }, - { - "name": "get_front_op_pass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1714732389, - "return_value": { - "type": "enum::RenderingDevice.StencilOperation" - } - }, - { - "name": "set_front_op_depth_fail", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2092799566, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.StencilOperation" - } - ] - }, - { - "name": "get_front_op_depth_fail", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1714732389, - "return_value": { - "type": "enum::RenderingDevice.StencilOperation" - } - }, - { - "name": "set_front_op_compare", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2573711505, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.CompareOperator" - } - ] - }, - { - "name": "get_front_op_compare", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 269730778, - "return_value": { - "type": "enum::RenderingDevice.CompareOperator" - } - }, - { - "name": "set_front_op_compare_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_front_op_compare_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_front_op_write_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_front_op_write_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_front_op_reference", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_front_op_reference", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_back_op_fail", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2092799566, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.StencilOperation" - } - ] - }, - { - "name": "get_back_op_fail", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1714732389, - "return_value": { - "type": "enum::RenderingDevice.StencilOperation" - } - }, - { - "name": "set_back_op_pass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2092799566, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.StencilOperation" - } - ] - }, - { - "name": "get_back_op_pass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1714732389, - "return_value": { - "type": "enum::RenderingDevice.StencilOperation" - } - }, - { - "name": "set_back_op_depth_fail", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2092799566, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.StencilOperation" - } - ] - }, - { - "name": "get_back_op_depth_fail", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1714732389, - "return_value": { - "type": "enum::RenderingDevice.StencilOperation" - } - }, - { - "name": "set_back_op_compare", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2573711505, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.CompareOperator" - } - ] - }, - { - "name": "get_back_op_compare", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 269730778, - "return_value": { - "type": "enum::RenderingDevice.CompareOperator" - } - }, - { - "name": "set_back_op_compare_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_back_op_compare_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_back_op_write_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_back_op_write_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_back_op_reference", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_back_op_reference", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enable_depth_test", - "setter": "set_enable_depth_test", - "getter": "get_enable_depth_test" - }, - { - "type": "bool", - "name": "enable_depth_write", - "setter": "set_enable_depth_write", - "getter": "get_enable_depth_write" - }, - { - "type": "int", - "name": "depth_compare_operator", - "setter": "set_depth_compare_operator", - "getter": "get_depth_compare_operator" - }, - { - "type": "bool", - "name": "enable_depth_range", - "setter": "set_enable_depth_range", - "getter": "get_enable_depth_range" - }, - { - "type": "float", - "name": "depth_range_min", - "setter": "set_depth_range_min", - "getter": "get_depth_range_min" - }, - { - "type": "float", - "name": "depth_range_max", - "setter": "set_depth_range_max", - "getter": "get_depth_range_max" - }, - { - "type": "bool", - "name": "enable_stencil", - "setter": "set_enable_stencil", - "getter": "get_enable_stencil" - }, - { - "type": "int", - "name": "front_op_fail", - "setter": "set_front_op_fail", - "getter": "get_front_op_fail" - }, - { - "type": "int", - "name": "front_op_pass", - "setter": "set_front_op_pass", - "getter": "get_front_op_pass" - }, - { - "type": "int", - "name": "front_op_depth_fail", - "setter": "set_front_op_depth_fail", - "getter": "get_front_op_depth_fail" - }, - { - "type": "int", - "name": "front_op_compare", - "setter": "set_front_op_compare", - "getter": "get_front_op_compare" - }, - { - "type": "int", - "name": "front_op_compare_mask", - "setter": "set_front_op_compare_mask", - "getter": "get_front_op_compare_mask" - }, - { - "type": "int", - "name": "front_op_write_mask", - "setter": "set_front_op_write_mask", - "getter": "get_front_op_write_mask" - }, - { - "type": "int", - "name": "front_op_reference", - "setter": "set_front_op_reference", - "getter": "get_front_op_reference" - }, - { - "type": "int", - "name": "back_op_fail", - "setter": "set_back_op_fail", - "getter": "get_back_op_fail" - }, - { - "type": "int", - "name": "back_op_pass", - "setter": "set_back_op_pass", - "getter": "get_back_op_pass" - }, - { - "type": "int", - "name": "back_op_depth_fail", - "setter": "set_back_op_depth_fail", - "getter": "get_back_op_depth_fail" - }, - { - "type": "int", - "name": "back_op_compare", - "setter": "set_back_op_compare", - "getter": "get_back_op_compare" - }, - { - "type": "int", - "name": "back_op_compare_mask", - "setter": "set_back_op_compare_mask", - "getter": "get_back_op_compare_mask" - }, - { - "type": "int", - "name": "back_op_write_mask", - "setter": "set_back_op_write_mask", - "getter": "get_back_op_write_mask" - }, - { - "type": "int", - "name": "back_op_reference", - "setter": "set_back_op_reference", - "getter": "get_back_op_reference" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3774171498, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.TextureSamples" - } - ] - }, - { - "name": "get_sample_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 407791724, - "return_value": { - "type": "enum::RenderingDevice.TextureSamples" - } - }, - { - "name": "set_enable_sample_shading", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_sample_shading", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_min_sample_shading", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_min_sample_shading", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_enable_alpha_to_coverage", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_alpha_to_coverage", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_enable_alpha_to_one", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_alpha_to_one", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_sample_masks", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "masks", - "type": "typedarray::int" - } - ] - }, - { - "name": "get_sample_masks", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::int" - } - } - ], - "properties": [ - { - "type": "int", - "name": "sample_count", - "setter": "set_sample_count", - "getter": "get_sample_count" - }, - { - "type": "bool", - "name": "enable_sample_shading", - "setter": "set_enable_sample_shading", - "getter": "get_enable_sample_shading" - }, - { - "type": "float", - "name": "min_sample_shading", - "setter": "set_min_sample_shading", - "getter": "get_min_sample_shading" - }, - { - "type": "bool", - "name": "enable_alpha_to_coverage", - "setter": "set_enable_alpha_to_coverage", - "getter": "get_enable_alpha_to_coverage" - }, - { - "type": "bool", - "name": "enable_alpha_to_one", - "setter": "set_enable_alpha_to_one", - "getter": "get_enable_alpha_to_one" - }, - { - "type": "typedarray::int", - "name": "sample_masks", - "setter": "set_sample_masks", - "getter": "get_sample_masks" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_depth_clamp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_discard_primitives", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_discard_primitives", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_wireframe", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_wireframe", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_cull_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2662586502, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.PolygonCullMode" - } - ] - }, - { - "name": "get_cull_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2192484313, - "return_value": { - "type": "enum::RenderingDevice.PolygonCullMode" - } - }, - { - "name": "set_front_face", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2637251213, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.PolygonFrontFace" - } - ] - }, - { - "name": "get_front_face", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 708793786, - "return_value": { - "type": "enum::RenderingDevice.PolygonFrontFace" - } - }, - { - "name": "set_depth_bias_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_depth_bias_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_depth_bias_constant_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth_bias_constant_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_depth_bias_clamp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth_bias_clamp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_depth_bias_slope_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth_bias_slope_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_line_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_line_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_patch_control_points", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_patch_control_points", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enable_depth_clamp", - "setter": "set_enable_depth_clamp", - "getter": "get_enable_depth_clamp" - }, - { - "type": "bool", - "name": "discard_primitives", - "setter": "set_discard_primitives", - "getter": "get_discard_primitives" - }, - { - "type": "bool", - "name": "wireframe", - "setter": "set_wireframe", - "getter": "get_wireframe" - }, - { - "type": "int", - "name": "cull_mode", - "setter": "set_cull_mode", - "getter": "get_cull_mode" - }, - { - "type": "int", - "name": "front_face", - "setter": "set_front_face", - "getter": "get_front_face" - }, - { - "type": "bool", - "name": "depth_bias_enabled", - "setter": "set_depth_bias_enabled", - "getter": "get_depth_bias_enabled" - }, - { - "type": "float", - "name": "depth_bias_constant_factor", - "setter": "set_depth_bias_constant_factor", - "getter": "get_depth_bias_constant_factor" - }, - { - "type": "float", - "name": "depth_bias_clamp", - "setter": "set_depth_bias_clamp", - "getter": "get_depth_bias_clamp" - }, - { - "type": "float", - "name": "depth_bias_slope_factor", - "setter": "set_depth_bias_slope_factor", - "getter": "get_depth_bias_slope_factor" - }, - { - "type": "float", - "name": "line_width", - "setter": "set_line_width", - "getter": "get_line_width" - }, - { - "type": "int", - "name": "patch_control_points", - "setter": "set_patch_control_points", - "getter": "get_patch_control_points" - } - ] - }, - { - "name": "RDPipelineSpecializationConstant", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "set_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1114965689, - "arguments": [ - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1214101251, - "return_value": { - "type": "Variant" - } - }, - { - "name": "set_constant_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "constant_id", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_constant_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - } - ], - "properties": [ - { - "type": "Variant", - "name": "value", - "setter": "set_value", - "getter": "get_value" - }, - { - "type": "int", - "name": "constant_id", - "setter": "set_constant_id", - "getter": "get_constant_id" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1493420382, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.SamplerFilter" - } - ] - }, - { - "name": "get_mag_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2209202801, - "return_value": { - "type": "enum::RenderingDevice.SamplerFilter" - } - }, - { - "name": "set_min_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1493420382, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.SamplerFilter" - } - ] - }, - { - "name": "get_min_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2209202801, - "return_value": { - "type": "enum::RenderingDevice.SamplerFilter" - } - }, - { - "name": "set_mip_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1493420382, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.SamplerFilter" - } - ] - }, - { - "name": "get_mip_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2209202801, - "return_value": { - "type": "enum::RenderingDevice.SamplerFilter" - } - }, - { - "name": "set_repeat_u", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 246127626, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.SamplerRepeatMode" - } - ] - }, - { - "name": "get_repeat_u", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227895872, - "return_value": { - "type": "enum::RenderingDevice.SamplerRepeatMode" - } - }, - { - "name": "set_repeat_v", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 246127626, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.SamplerRepeatMode" - } - ] - }, - { - "name": "get_repeat_v", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227895872, - "return_value": { - "type": "enum::RenderingDevice.SamplerRepeatMode" - } - }, - { - "name": "set_repeat_w", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 246127626, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.SamplerRepeatMode" - } - ] - }, - { - "name": "get_repeat_w", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227895872, - "return_value": { - "type": "enum::RenderingDevice.SamplerRepeatMode" - } - }, - { - "name": "set_lod_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_lod_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_use_anisotropy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_use_anisotropy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_anisotropy_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_anisotropy_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_enable_compare", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_enable_compare", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_compare_op", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2573711505, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.CompareOperator" - } - ] - }, - { - "name": "get_compare_op", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 269730778, - "return_value": { - "type": "enum::RenderingDevice.CompareOperator" - } - }, - { - "name": "set_min_lod", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_min_lod", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_lod", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "p_member", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_lod", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_border_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1115869595, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.SamplerBorderColor" - } - ] - }, - { - "name": "get_border_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3514246478, - "return_value": { - "type": "enum::RenderingDevice.SamplerBorderColor" - } - }, - { - "name": "set_unnormalized_uvw", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "p_member", - "type": "bool" - } - ] - }, - { - "name": "get_unnormalized_uvw", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "mag_filter", - "setter": "set_mag_filter", - "getter": "get_mag_filter" - }, - { - "type": "int", - "name": "min_filter", - "setter": "set_min_filter", - "getter": "get_min_filter" - }, - { - "type": "int", - "name": "mip_filter", - "setter": "set_mip_filter", - "getter": "get_mip_filter" - }, - { - "type": "int", - "name": "repeat_u", - "setter": "set_repeat_u", - "getter": "get_repeat_u" - }, - { - "type": "int", - "name": "repeat_v", - "setter": "set_repeat_v", - "getter": "get_repeat_v" - }, - { - "type": "int", - "name": "repeat_w", - "setter": "set_repeat_w", - "getter": "get_repeat_w" - }, - { - "type": "float", - "name": "lod_bias", - "setter": "set_lod_bias", - "getter": "get_lod_bias" - }, - { - "type": "bool", - "name": "use_anisotropy", - "setter": "set_use_anisotropy", - "getter": "get_use_anisotropy" - }, - { - "type": "float", - "name": "anisotropy_max", - "setter": "set_anisotropy_max", - "getter": "get_anisotropy_max" - }, - { - "type": "bool", - "name": "enable_compare", - "setter": "set_enable_compare", - "getter": "get_enable_compare" - }, - { - "type": "int", - "name": "compare_op", - "setter": "set_compare_op", - "getter": "get_compare_op" - }, - { - "type": "float", - "name": "min_lod", - "setter": "set_min_lod", - "getter": "get_min_lod" - }, - { - "type": "float", - "name": "max_lod", - "setter": "set_max_lod", - "getter": "get_max_lod" - }, - { - "type": "int", - "name": "border_color", - "setter": "set_border_color", - "getter": "get_border_color" - }, - { - "type": "bool", - "name": "unnormalized_uvw", - "setter": "set_unnormalized_uvw", - "getter": "get_unnormalized_uvw" - } - ] - }, - { - "name": "RDShaderFile", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_bytecode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1558064255, - "arguments": [ - { - "name": "bytecode", - "type": "RDShaderSPIRV" - }, - { - "name": "version", - "type": "StringName", - "default_value": "&\"\"" - } - ] - }, - { - "name": "get_spirv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3340165340, - "return_value": { - "type": "RDShaderSPIRV" - }, - "arguments": [ - { - "name": "version", - "type": "StringName", - "default_value": "&\"\"" - } - ] - }, - { - "name": "get_version_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::StringName" - } - }, - { - "name": "set_base_error", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "error", - "type": "String" - } - ] - }, - { - "name": "get_base_error", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "base_error", - "setter": "set_base_error", - "getter": "get_base_error" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3514097977, - "arguments": [ - { - "name": "stage", - "type": "enum::RenderingDevice.ShaderStage" - }, - { - "name": "bytecode", - "type": "PackedByteArray" - } - ] - }, - { - "name": "get_stage_bytecode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3816765404, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "stage", - "type": "enum::RenderingDevice.ShaderStage" - } - ] - }, - { - "name": "set_stage_compile_error", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 620821314, - "arguments": [ - { - "name": "stage", - "type": "enum::RenderingDevice.ShaderStage" - }, - { - "name": "compile_error", - "type": "String" - } - ] - }, - { - "name": "get_stage_compile_error", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3354920045, - "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_static": false, - "is_virtual": false, - "hash": 620821314, - "arguments": [ - { - "name": "stage", - "type": "enum::RenderingDevice.ShaderStage" - }, - { - "name": "source", - "type": "String" - } - ] - }, - { - "name": "get_stage_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3354920045, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "stage", - "type": "enum::RenderingDevice.ShaderStage" - } - ] - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3422186742, - "arguments": [ - { - "name": "language", - "type": "enum::RenderingDevice.ShaderLanguage" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1063538261, - "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" - } - ] - }, - { - "name": "RDTextureFormat", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "set_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 565531219, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.DataFormat" - } - ] - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2235804183, - "return_value": { - "type": "enum::RenderingDevice.DataFormat" - } - }, - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_array_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_array_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_mipmaps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_mipmaps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_texture_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 652343381, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.TextureType" - } - ] - }, - { - "name": "get_texture_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4036357416, - "return_value": { - "type": "enum::RenderingDevice.TextureType" - } - }, - { - "name": "set_samples", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3774171498, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.TextureSamples" - } - ] - }, - { - "name": "get_samples", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 407791724, - "return_value": { - "type": "enum::RenderingDevice.TextureSamples" - } - }, - { - "name": "set_usage_bits", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 245642367, - "arguments": [ - { - "name": "p_member", - "type": "bitfield::RenderingDevice.TextureUsageBits" - } - ] - }, - { - "name": "get_usage_bits", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1313398998, - "return_value": { - "type": "bitfield::RenderingDevice.TextureUsageBits" - } - }, - { - "name": "add_shareable_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 565531219, - "arguments": [ - { - "name": "format", - "type": "enum::RenderingDevice.DataFormat" - } - ] - }, - { - "name": "remove_shareable_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 565531219, - "arguments": [ - { - "name": "format", - "type": "enum::RenderingDevice.DataFormat" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "format", - "setter": "set_format", - "getter": "get_format" - }, - { - "type": "int", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "int", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "int", - "name": "depth", - "setter": "set_depth", - "getter": "get_depth" - }, - { - "type": "int", - "name": "array_layers", - "setter": "set_array_layers", - "getter": "get_array_layers" - }, - { - "type": "int", - "name": "mipmaps", - "setter": "set_mipmaps", - "getter": "get_mipmaps" - }, - { - "type": "int", - "name": "texture_type", - "setter": "set_texture_type", - "getter": "get_texture_type" - }, - { - "type": "int", - "name": "samples", - "setter": "set_samples", - "getter": "get_samples" - }, - { - "type": "int", - "name": "usage_bits", - "setter": "set_usage_bits", - "getter": "get_usage_bits" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 565531219, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.DataFormat" - } - ] - }, - { - "name": "get_format_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2235804183, - "return_value": { - "type": "enum::RenderingDevice.DataFormat" - } - }, - { - "name": "set_swizzle_r", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3833362581, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.TextureSwizzle" - } - ] - }, - { - "name": "get_swizzle_r", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4150792614, - "return_value": { - "type": "enum::RenderingDevice.TextureSwizzle" - } - }, - { - "name": "set_swizzle_g", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3833362581, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.TextureSwizzle" - } - ] - }, - { - "name": "get_swizzle_g", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4150792614, - "return_value": { - "type": "enum::RenderingDevice.TextureSwizzle" - } - }, - { - "name": "set_swizzle_b", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3833362581, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.TextureSwizzle" - } - ] - }, - { - "name": "get_swizzle_b", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4150792614, - "return_value": { - "type": "enum::RenderingDevice.TextureSwizzle" - } - }, - { - "name": "set_swizzle_a", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3833362581, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.TextureSwizzle" - } - ] - }, - { - "name": "get_swizzle_a", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4150792614, - "return_value": { - "type": "enum::RenderingDevice.TextureSwizzle" - } - } - ], - "properties": [ - { - "type": "int", - "name": "format_override", - "setter": "set_format_override", - "getter": "get_format_override" - }, - { - "type": "int", - "name": "swizzle_r", - "setter": "set_swizzle_r", - "getter": "get_swizzle_r" - }, - { - "type": "int", - "name": "swizzle_g", - "setter": "set_swizzle_g", - "getter": "get_swizzle_g" - }, - { - "type": "int", - "name": "swizzle_b", - "setter": "set_swizzle_b", - "getter": "get_swizzle_b" - }, - { - "type": "int", - "name": "swizzle_a", - "setter": "set_swizzle_a", - "getter": "get_swizzle_a" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1664894931, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.UniformType" - } - ] - }, - { - "name": "get_uniform_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 475470040, - "return_value": { - "type": "enum::RenderingDevice.UniformType" - } - }, - { - "name": "set_binding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_binding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "id", - "type": "RID" - } - ] - }, - { - "name": "clear_ids", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_ids", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::RID" - } - } - ], - "properties": [ - { - "type": "int", - "name": "uniform_type", - "setter": "set_uniform_type", - "getter": "get_uniform_type" - }, - { - "type": "int", - "name": "binding", - "setter": "set_binding", - "getter": "get_binding" - } - ] - }, - { - "name": "RDVertexAttribute", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "set_location", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_location", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 565531219, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.DataFormat" - } - ] - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2235804183, - "return_value": { - "type": "enum::RenderingDevice.DataFormat" - } - }, - { - "name": "set_stride", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "p_member", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_stride", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_frequency", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 522141836, - "arguments": [ - { - "name": "p_member", - "type": "enum::RenderingDevice.VertexFrequency" - } - ] - }, - { - "name": "get_frequency", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4154106413, - "return_value": { - "type": "enum::RenderingDevice.VertexFrequency" - } - } - ], - "properties": [ - { - "type": "int", - "name": "location", - "setter": "set_location", - "getter": "get_location" - }, - { - "type": "int", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "int", - "name": "format", - "setter": "set_format", - "getter": "get_format" - }, - { - "type": "int", - "name": "stride", - "setter": "set_stride", - "getter": "get_stride" - }, - { - "type": "int", - "name": "frequency", - "setter": "set_frequency", - "getter": "get_frequency" - } - ] - }, - { - "name": "RandomNumberGenerator", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "set_seed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "seed", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "get_seed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "set_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "state", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "get_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "randi", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "randf", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "randfn", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 837325100, - "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_static": false, - "is_virtual": false, - "hash": 4269894367, - "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_static": false, - "is_virtual": false, - "hash": 50157827, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "int", - "name": "seed", - "setter": "set_seed", - "getter": "get_seed" - }, - { - "type": "int", - "name": "state", - "setter": "set_state", - "getter": "get_state" - } - ] - }, - { - "name": "Range", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "methods": [ - { - "name": "_value_changed", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "new_value", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_page", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_as_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_value_no_signal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "minimum", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "maximum", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "step", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_page", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pagesize", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_as_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "set_use_rounded_values", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_using_rounded_values", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_exp_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_ratio_exp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_allow_greater", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "is_greater_allowed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_allow_lesser", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "is_lesser_allowed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "share", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "with", - "type": "Node" - } - ] - }, - { - "name": "unshare", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "signals": [ - { - "name": "value_changed", - "arguments": [ - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "changed" - } - ], - "properties": [ - { - "type": "float", - "name": "min_value", - "setter": "set_min", - "getter": "get_min" - }, - { - "type": "float", - "name": "max_value", - "setter": "set_max", - "getter": "get_max" - }, - { - "type": "float", - "name": "step", - "setter": "set_step", - "getter": "get_step" - }, - { - "type": "float", - "name": "page", - "setter": "set_page", - "getter": "get_page" - }, - { - "type": "float", - "name": "value", - "setter": "set_value", - "getter": "get_value" - }, - { - "type": "float", - "name": "ratio", - "setter": "set_as_ratio", - "getter": "get_as_ratio" - }, - { - "type": "bool", - "name": "exp_edit", - "setter": "set_exp_ratio", - "getter": "is_ratio_exp" - }, - { - "type": "bool", - "name": "rounded", - "setter": "set_use_rounded_values", - "getter": "is_using_rounded_values" - }, - { - "type": "bool", - "name": "allow_greater", - "setter": "set_allow_greater", - "getter": "is_greater_allowed" - }, - { - "type": "bool", - "name": "allow_lesser", - "setter": "set_allow_lesser", - "getter": "is_lesser_allowed" - } - ] - }, - { - "name": "RayCast2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_target_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "local_point", - "type": "Vector2" - } - ] - }, - { - "name": "get_target_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "is_colliding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "force_raycast_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1981248198, - "return_value": { - "type": "Object" - } - }, - { - "name": "get_collider_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_collision_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_collision_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "add_exception_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "add_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3090941106, - "arguments": [ - { - "name": "node", - "type": "CollisionObject2D" - } - ] - }, - { - "name": "remove_exception_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "remove_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3090941106, - "arguments": [ - { - "name": "node", - "type": "CollisionObject2D" - } - ] - }, - { - "name": "clear_exceptions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_exclude_parent_body", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "mask", - "type": "bool" - } - ] - }, - { - "name": "get_exclude_parent_body", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hit_from_inside", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hit_from_inside_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "bool", - "name": "exclude_parent", - "setter": "set_exclude_parent_body", - "getter": "get_exclude_parent_body" - }, - { - "type": "Vector2", - "name": "target_position", - "setter": "set_target_position", - "getter": "get_target_position" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "bool", - "name": "hit_from_inside", - "setter": "set_hit_from_inside", - "getter": "is_hit_from_inside_enabled" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - } - ] - }, - { - "name": "RayCast3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_target_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "local_point", - "type": "Vector3" - } - ] - }, - { - "name": "get_target_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "is_colliding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "force_raycast_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1981248198, - "return_value": { - "type": "Object" - } - }, - { - "name": "get_collider_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_collision_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_collision_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_collision_face_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_exception_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "add_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1976431078, - "arguments": [ - { - "name": "node", - "type": "CollisionObject3D" - } - ] - }, - { - "name": "remove_exception_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "remove_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1976431078, - "arguments": [ - { - "name": "node", - "type": "CollisionObject3D" - } - ] - }, - { - "name": "clear_exceptions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_exclude_parent_body", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "mask", - "type": "bool" - } - ] - }, - { - "name": "get_exclude_parent_body", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hit_from_inside", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hit_from_inside_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hit_back_faces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hit_back_faces_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_debug_shape_custom_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "debug_shape_custom_color", - "type": "Color" - } - ] - }, - { - "name": "get_debug_shape_custom_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_debug_shape_thickness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "debug_shape_thickness", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_debug_shape_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "bool", - "name": "exclude_parent", - "setter": "set_exclude_parent_body", - "getter": "get_exclude_parent_body" - }, - { - "type": "Vector3", - "name": "target_position", - "setter": "set_target_position", - "getter": "get_target_position" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "bool", - "name": "hit_from_inside", - "setter": "set_hit_from_inside", - "getter": "is_hit_from_inside_enabled" - }, - { - "type": "bool", - "name": "hit_back_faces", - "setter": "set_hit_back_faces", - "getter": "is_hit_back_faces_enabled" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - }, - { - "type": "Color", - "name": "debug_shape_custom_color", - "setter": "set_debug_shape_custom_color", - "getter": "get_debug_shape_custom_color" - }, - { - "type": "int", - "name": "debug_shape_thickness", - "setter": "set_debug_shape_thickness", - "getter": "get_debug_shape_thickness" - } - ] - }, - { - "name": "RectangleShape2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape2D", - "api_type": "core", - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "size", - "type": "Vector2" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "size", - "setter": "set_size", - "getter": "get_size" - } - ] - }, - { - "name": "RefCounted", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "init_ref", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "reference", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "unreference", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_reference_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_border_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_border_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_border_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "width", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_editor_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_editor_only", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "Color", - "name": "border_color", - "setter": "set_border_color", - "getter": "get_border_color" - }, - { - "type": "float", - "name": "border_width", - "setter": "set_border_width", - "getter": "get_border_width" - }, - { - "type": "bool", - "name": "editor_only", - "setter": "set_editor_only", - "getter": "get_editor_only" - } - ] - }, - { - "name": "ReflectionProbe", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VisualInstance3D", - "api_type": "core", - "enums": [ - { - "name": "UpdateMode", - "is_bitfield": false, - "values": [ - { - "name": "UPDATE_ONCE", - "value": 0 - }, - { - "name": "UPDATE_ALWAYS", - "value": 1 - } - ] - }, - { - "name": "AmbientMode", - "is_bitfield": false, - "values": [ - { - "name": "AMBIENT_DISABLED", - "value": 0 - }, - { - "name": "AMBIENT_ENVIRONMENT", - "value": 1 - }, - { - "name": "AMBIENT_COLOR", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_intensity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "intensity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_intensity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_ambient_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1748981278, - "arguments": [ - { - "name": "ambient", - "type": "enum::ReflectionProbe.AmbientMode" - } - ] - }, - { - "name": "get_ambient_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1014607621, - "return_value": { - "type": "enum::ReflectionProbe.AmbientMode" - } - }, - { - "name": "set_ambient_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "ambient", - "type": "Color" - } - ] - }, - { - "name": "get_ambient_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_ambient_color_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ambient_energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_ambient_color_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "max_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_mesh_lod_threshold", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mesh_lod_threshold", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_origin_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "origin_offset", - "type": "Vector3" - } - ] - }, - { - "name": "get_origin_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_as_interior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_set_as_interior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_enable_box_projection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_box_projection_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_enable_shadows", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "are_shadows_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_cull_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_update_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4090221187, - "arguments": [ - { - "name": "mode", - "type": "enum::ReflectionProbe.UpdateMode" - } - ] - }, - { - "name": "get_update_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2367550552, - "return_value": { - "type": "enum::ReflectionProbe.UpdateMode" - } - } - ], - "properties": [ - { - "type": "int", - "name": "update_mode", - "setter": "set_update_mode", - "getter": "get_update_mode" - }, - { - "type": "float", - "name": "intensity", - "setter": "set_intensity", - "getter": "get_intensity" - }, - { - "type": "float", - "name": "max_distance", - "setter": "set_max_distance", - "getter": "get_max_distance" - }, - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "Vector3", - "name": "origin_offset", - "setter": "set_origin_offset", - "getter": "get_origin_offset" - }, - { - "type": "bool", - "name": "box_projection", - "setter": "set_enable_box_projection", - "getter": "is_box_projection_enabled" - }, - { - "type": "bool", - "name": "interior", - "setter": "set_as_interior", - "getter": "is_set_as_interior" - }, - { - "type": "bool", - "name": "enable_shadows", - "setter": "set_enable_shadows", - "getter": "are_shadows_enabled" - }, - { - "type": "int", - "name": "cull_mask", - "setter": "set_cull_mask", - "getter": "get_cull_mask" - }, - { - "type": "float", - "name": "mesh_lod_threshold", - "setter": "set_mesh_lod_threshold", - "getter": "get_mesh_lod_threshold" - }, - { - "type": "int", - "name": "ambient_mode", - "setter": "set_ambient_mode", - "getter": "get_ambient_mode" - }, - { - "type": "Color", - "name": "ambient_color", - "setter": "set_ambient_color", - "getter": "get_ambient_color" - }, - { - "type": "float", - "name": "ambient_color_energy", - "setter": "set_ambient_color_energy", - "getter": "get_ambient_color_energy" - } - ] - }, - { - "name": "RegEx", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "create_from_string", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2150300909, - "return_value": { - "type": "RegEx" - }, - "arguments": [ - { - "name": "pattern", - "type": "String" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "compile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "pattern", - "type": "String" - } - ] - }, - { - "name": "search", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3365977994, - "hash_compatibility": [ - 4087180739 - ], - "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_static": false, - "is_virtual": false, - "hash": 849021363, - "hash_compatibility": [ - 3354100289 - ], - "return_value": { - "type": "typedarray::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": "sub", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 54019702, - "hash_compatibility": [ - 758293621 - ], - "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_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_pattern", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_group_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_names", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - } - ] - }, - { - "name": "RegExMatch", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_subject", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_group_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_names", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_strings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_string", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 687115856, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "name", - "type": "Variant", - "default_value": "0" - } - ] - }, - { - "name": "get_start", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 490464691, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "Variant", - "default_value": "0" - } - ] - }, - { - "name": "get_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 490464691, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "Variant", - "default_value": "0" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "subject", - "getter": "get_subject" - }, - { - "type": "Dictionary", - "name": "names", - "getter": "get_names" - }, - { - "type": "Array", - "name": "strings", - "getter": "get_strings" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_remote_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "force_update_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_use_global_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_global_coordinates", - "type": "bool" - } - ] - }, - { - "name": "get_use_global_coordinates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_update_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "update_remote_position", - "type": "bool" - } - ] - }, - { - "name": "get_update_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_update_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "update_remote_rotation", - "type": "bool" - } - ] - }, - { - "name": "get_update_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_update_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "update_remote_scale", - "type": "bool" - } - ] - }, - { - "name": "get_update_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "NodePath", - "name": "remote_path", - "setter": "set_remote_node", - "getter": "get_remote_node" - }, - { - "type": "bool", - "name": "use_global_coordinates", - "setter": "set_use_global_coordinates", - "getter": "get_use_global_coordinates" - }, - { - "type": "bool", - "name": "update_position", - "setter": "set_update_position", - "getter": "get_update_position" - }, - { - "type": "bool", - "name": "update_rotation", - "setter": "set_update_rotation", - "getter": "get_update_rotation" - }, - { - "type": "bool", - "name": "update_scale", - "setter": "set_update_scale", - "getter": "get_update_scale" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_remote_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "force_update_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_use_global_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_global_coordinates", - "type": "bool" - } - ] - }, - { - "name": "get_use_global_coordinates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_update_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "update_remote_position", - "type": "bool" - } - ] - }, - { - "name": "get_update_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_update_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "update_remote_rotation", - "type": "bool" - } - ] - }, - { - "name": "get_update_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_update_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "update_remote_scale", - "type": "bool" - } - ] - }, - { - "name": "get_update_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "NodePath", - "name": "remote_path", - "setter": "set_remote_node", - "getter": "get_remote_node" - }, - { - "type": "bool", - "name": "use_global_coordinates", - "setter": "set_use_global_coordinates", - "getter": "get_use_global_coordinates" - }, - { - "type": "bool", - "name": "update_position", - "setter": "set_update_position", - "getter": "get_update_position" - }, - { - "type": "bool", - "name": "update_rotation", - "setter": "set_update_rotation", - "getter": "get_update_rotation" - }, - { - "type": "bool", - "name": "update_scale", - "setter": "set_update_scale", - "getter": "get_update_scale" - } - ] - }, - { - "name": "RenderSceneBuffers", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "configure", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3072623270, - "arguments": [ - { - "name": "config", - "type": "RenderSceneBuffersConfiguration" - } - ] - } - ] - }, - { - "name": "RenderSceneBuffersConfiguration", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_render_target", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_render_target", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "render_target", - "type": "RID" - } - ] - }, - { - "name": "get_internal_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_internal_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "internal_size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_target_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_target_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "target_size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_view_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_view_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "view_count", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_scaling_3d_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 976778074, - "return_value": { - "type": "enum::RenderingServer.ViewportScaling3DMode" - } - }, - { - "name": "set_scaling_3d_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 447477857, - "arguments": [ - { - "name": "scaling_3d_mode", - "type": "enum::RenderingServer.ViewportScaling3DMode" - } - ] - }, - { - "name": "get_msaa_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3109158617, - "return_value": { - "type": "enum::RenderingServer.ViewportMSAA" - } - }, - { - "name": "set_msaa_3d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3952630748, - "arguments": [ - { - "name": "msaa_3d", - "type": "enum::RenderingServer.ViewportMSAA" - } - ] - }, - { - "name": "get_screen_space_aa", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 641513172, - "return_value": { - "type": "enum::RenderingServer.ViewportScreenSpaceAA" - } - }, - { - "name": "set_screen_space_aa", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 139543108, - "arguments": [ - { - "name": "screen_space_aa", - "type": "enum::RenderingServer.ViewportScreenSpaceAA" - } - ] - }, - { - "name": "get_fsr_sharpness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fsr_sharpness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fsr_sharpness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_texture_mipmap_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_texture_mipmap_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "texture_mipmap_bias", - "type": "float", - "meta": "float" - } - ] - } - ], - "properties": [ - { - "type": "RID", - "name": "render_target", - "setter": "set_render_target", - "getter": "get_render_target" - }, - { - "type": "Vector2i", - "name": "internal_size", - "setter": "set_internal_size", - "getter": "get_internal_size" - }, - { - "type": "Vector2i", - "name": "target_size", - "setter": "set_target_size", - "getter": "get_target_size" - }, - { - "type": "int", - "name": "view_count", - "setter": "set_view_count", - "getter": "get_view_count" - }, - { - "type": "int", - "name": "scaling_3d_mode", - "setter": "set_scaling_3d_mode", - "getter": "get_scaling_3d_mode" - }, - { - "type": "int", - "name": "msaa_3d", - "setter": "set_msaa_3d", - "getter": "get_msaa_3d" - }, - { - "type": "int", - "name": "screen_space_aa", - "setter": "set_screen_space_aa", - "getter": "get_screen_space_aa" - }, - { - "type": "bool", - "name": "fsr_sharpness", - "setter": "set_fsr_sharpness", - "getter": "get_fsr_sharpness" - }, - { - "type": "bool", - "name": "texture_mipmap_bias", - "setter": "set_texture_mipmap_bias", - "getter": "get_texture_mipmap_bias" - } - ] - }, - { - "name": "RenderSceneBuffersExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RenderSceneBuffers", - "api_type": "core", - "methods": [ - { - "name": "_configure", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "config", - "type": "RenderSceneBuffersConfiguration" - } - ] - }, - { - "name": "_set_fsr_sharpness", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "fsr_sharpness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_set_texture_mipmap_bias", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "texture_mipmap_bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "_set_use_debanding", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "use_debanding", - "type": "bool" - } - ] - } - ] - }, - { - "name": "RenderSceneBuffersRD", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RenderSceneBuffers", - "api_type": "core", - "methods": [ - { - "name": "has_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 471820014, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "context", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "create_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3559915770, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "context", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "data_format", - "type": "enum::RenderingDevice.DataFormat" - }, - { - "name": "usage_bits", - "type": "int", - "meta": "uint32" - }, - { - "name": "texture_samples", - "type": "enum::RenderingDevice.TextureSamples" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "layers", - "type": "int", - "meta": "uint32" - }, - { - "name": "mipmaps", - "type": "int", - "meta": "uint32" - }, - { - "name": "unique", - "type": "bool" - } - ] - }, - { - "name": "create_texture_from_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3344669382, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "context", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "format", - "type": "RDTextureFormat" - }, - { - "name": "view", - "type": "RDTextureView" - }, - { - "name": "unique", - "type": "bool" - } - ] - }, - { - "name": "create_texture_view", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 283055834, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "context", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "view_name", - "type": "StringName" - }, - { - "name": "view", - "type": "RDTextureView" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 750006389, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "context", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_texture_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 371461758, - "return_value": { - "type": "RDTextureFormat" - }, - "arguments": [ - { - "name": "context", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_texture_slice", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 588440706, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "context", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - }, - { - "name": "mipmap", - "type": "int", - "meta": "uint32" - }, - { - "name": "layers", - "type": "int", - "meta": "uint32" - }, - { - "name": "mipmaps", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_texture_slice_view", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 682451778, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "context", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - }, - { - "name": "mipmap", - "type": "int", - "meta": "uint32" - }, - { - "name": "layers", - "type": "int", - "meta": "uint32" - }, - { - "name": "mipmaps", - "type": "int", - "meta": "uint32" - }, - { - "name": "view", - "type": "RDTextureView" - } - ] - }, - { - "name": "get_texture_slice_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2617625368, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "context", - "type": "StringName" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "mipmap", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "clear_context", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "context", - "type": "StringName" - } - ] - }, - { - "name": "get_color_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_color_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 937000113, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_depth_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_depth_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 937000113, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_velocity_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_velocity_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 937000113, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_render_target", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_view_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "get_internal_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "get_use_taa", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ] - }, - { - "name": "RenderingDevice", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "constants": [ - { - "name": "INVALID_ID", - "value": -1 - }, - { - "name": "INVALID_FORMAT_ID", - "value": -1 - } - ], - "enums": [ - { - "name": "DeviceType", - "is_bitfield": false, - "values": [ - { - "name": "DEVICE_TYPE_OTHER", - "value": 0 - }, - { - "name": "DEVICE_TYPE_INTEGRATED_GPU", - "value": 1 - }, - { - "name": "DEVICE_TYPE_DISCRETE_GPU", - "value": 2 - }, - { - "name": "DEVICE_TYPE_VIRTUAL_GPU", - "value": 3 - }, - { - "name": "DEVICE_TYPE_CPU", - "value": 4 - }, - { - "name": "DEVICE_TYPE_MAX", - "value": 5 - } - ] - }, - { - "name": "DriverResource", - "is_bitfield": false, - "values": [ - { - "name": "DRIVER_RESOURCE_VULKAN_DEVICE", - "value": 0 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_PHYSICAL_DEVICE", - "value": 1 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_INSTANCE", - "value": 2 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_QUEUE", - "value": 3 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_QUEUE_FAMILY_INDEX", - "value": 4 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_IMAGE", - "value": 5 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_IMAGE_VIEW", - "value": 6 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_IMAGE_NATIVE_TEXTURE_FORMAT", - "value": 7 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_SAMPLER", - "value": 8 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_DESCRIPTOR_SET", - "value": 9 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_BUFFER", - "value": 10 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_COMPUTE_PIPELINE", - "value": 11 - }, - { - "name": "DRIVER_RESOURCE_VULKAN_RENDER_PIPELINE", - "value": 12 - } - ] - }, - { - "name": "DataFormat", - "is_bitfield": false, - "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_MAX", - "value": 218 - } - ] - }, - { - "name": "BarrierMask", - "is_bitfield": true, - "values": [ - { - "name": "BARRIER_MASK_VERTEX", - "value": 1 - }, - { - "name": "BARRIER_MASK_FRAGMENT", - "value": 8 - }, - { - "name": "BARRIER_MASK_COMPUTE", - "value": 2 - }, - { - "name": "BARRIER_MASK_TRANSFER", - "value": 4 - }, - { - "name": "BARRIER_MASK_RASTER", - "value": 9 - }, - { - "name": "BARRIER_MASK_ALL_BARRIERS", - "value": 32767 - }, - { - "name": "BARRIER_MASK_NO_BARRIER", - "value": 32768 - } - ] - }, - { - "name": "TextureType", - "is_bitfield": false, - "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": "TextureSamples", - "is_bitfield": false, - "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": "TextureUsageBits", - "is_bitfield": true, - "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_INPUT_ATTACHMENT_BIT", - "value": 512 - } - ] - }, - { - "name": "TextureSwizzle", - "is_bitfield": false, - "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": "TextureSliceType", - "is_bitfield": false, - "values": [ - { - "name": "TEXTURE_SLICE_2D", - "value": 0 - }, - { - "name": "TEXTURE_SLICE_CUBEMAP", - "value": 1 - }, - { - "name": "TEXTURE_SLICE_3D", - "value": 2 - } - ] - }, - { - "name": "SamplerFilter", - "is_bitfield": false, - "values": [ - { - "name": "SAMPLER_FILTER_NEAREST", - "value": 0 - }, - { - "name": "SAMPLER_FILTER_LINEAR", - "value": 1 - } - ] - }, - { - "name": "SamplerRepeatMode", - "is_bitfield": false, - "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": "SamplerBorderColor", - "is_bitfield": false, - "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": "VertexFrequency", - "is_bitfield": false, - "values": [ - { - "name": "VERTEX_FREQUENCY_VERTEX", - "value": 0 - }, - { - "name": "VERTEX_FREQUENCY_INSTANCE", - "value": 1 - } - ] - }, - { - "name": "IndexBufferFormat", - "is_bitfield": false, - "values": [ - { - "name": "INDEX_BUFFER_FORMAT_UINT16", - "value": 0 - }, - { - "name": "INDEX_BUFFER_FORMAT_UINT32", - "value": 1 - } - ] - }, - { - "name": "StorageBufferUsage", - "is_bitfield": true, - "values": [ - { - "name": "STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT", - "value": 1 - } - ] - }, - { - "name": "UniformType", - "is_bitfield": false, - "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": "RenderPrimitive", - "is_bitfield": false, - "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": "PolygonCullMode", - "is_bitfield": false, - "values": [ - { - "name": "POLYGON_CULL_DISABLED", - "value": 0 - }, - { - "name": "POLYGON_CULL_FRONT", - "value": 1 - }, - { - "name": "POLYGON_CULL_BACK", - "value": 2 - } - ] - }, - { - "name": "PolygonFrontFace", - "is_bitfield": false, - "values": [ - { - "name": "POLYGON_FRONT_FACE_CLOCKWISE", - "value": 0 - }, - { - "name": "POLYGON_FRONT_FACE_COUNTER_CLOCKWISE", - "value": 1 - } - ] - }, - { - "name": "StencilOperation", - "is_bitfield": false, - "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": "CompareOperator", - "is_bitfield": false, - "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": "LogicOperation", - "is_bitfield": false, - "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": "BlendFactor", - "is_bitfield": false, - "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": "BlendOperation", - "is_bitfield": false, - "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": "PipelineDynamicStateFlags", - "is_bitfield": true, - "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": "InitialAction", - "is_bitfield": false, - "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": "FinalAction", - "is_bitfield": false, - "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": "ShaderStage", - "is_bitfield": false, - "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": "ShaderLanguage", - "is_bitfield": false, - "values": [ - { - "name": "SHADER_LANGUAGE_GLSL", - "value": 0 - }, - { - "name": "SHADER_LANGUAGE_HLSL", - "value": 1 - } - ] - }, - { - "name": "PipelineSpecializationConstantType", - "is_bitfield": false, - "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": "Limit", - "is_bitfield": false, - "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": "LIMIT_MAX_VIEWPORT_DIMENSIONS_X", - "value": 35 - }, - { - "name": "LIMIT_MAX_VIEWPORT_DIMENSIONS_Y", - "value": 36 - } - ] - }, - { - "name": "MemoryType", - "is_bitfield": false, - "values": [ - { - "name": "MEMORY_TEXTURES", - "value": 0 - }, - { - "name": "MEMORY_BUFFERS", - "value": 1 - }, - { - "name": "MEMORY_TOTAL", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "texture_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3709173589, - "hash_compatibility": [ - 3011278298 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "format", - "type": "RDTextureFormat" - }, - { - "name": "view", - "type": "RDTextureView" - }, - { - "name": "data", - "type": "typedarray::PackedByteArray", - "default_value": "[]" - } - ] - }, - { - "name": "texture_create_shared", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3178156134, - "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_static": false, - "is_virtual": false, - "hash": 1808971279, - "hash_compatibility": [ - 864132525 - ], - "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": "mipmaps", - "type": "int", - "meta": "uint32", - "default_value": "1" - }, - { - "name": "slice_type", - "type": "enum::RenderingDevice.TextureSliceType", - "default_value": "0" - } - ] - }, - { - "name": "texture_create_from_extension", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1397171480, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "type", - "type": "enum::RenderingDevice.TextureType" - }, - { - "name": "format", - "type": "enum::RenderingDevice.DataFormat" - }, - { - "name": "samples", - "type": "enum::RenderingDevice.TextureSamples" - }, - { - "name": "usage_flags", - "type": "bitfield::RenderingDevice.TextureUsageBits" - }, - { - "name": "image", - "type": "int", - "meta": "uint64" - }, - { - "name": "width", - "type": "int", - "meta": "uint64" - }, - { - "name": "height", - "type": "int", - "meta": "uint64" - }, - { - "name": "depth", - "type": "int", - "meta": "uint64" - }, - { - "name": "layers", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "texture_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2096463824, - "hash_compatibility": [ - 2736912341 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - }, - { - "name": "data", - "type": "PackedByteArray" - }, - { - "name": "post_barrier", - "type": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - } - ] - }, - { - "name": "texture_get_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1859412099, - "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_static": false, - "is_virtual": false, - "hash": 2592520478, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "format", - "type": "enum::RenderingDevice.DataFormat" - }, - { - "name": "usage_flags", - "type": "bitfield::RenderingDevice.TextureUsageBits" - } - ] - }, - { - "name": "texture_is_shared", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "texture_is_valid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "texture_copy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339493201, - "hash_compatibility": [ - 3741367532 - ], - "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": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - } - ] - }, - { - "name": "texture_clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3396867530, - "hash_compatibility": [ - 3423681478 - ], - "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": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - } - ] - }, - { - "name": "texture_resolve_multisample", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 594679454, - "hash_compatibility": [ - 2126834943 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "from_texture", - "type": "RID" - }, - { - "name": "to_texture", - "type": "RID" - }, - { - "name": "post_barrier", - "type": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - } - ] - }, - { - "name": "texture_get_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1374471690, - "return_value": { - "type": "RDTextureFormat" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "texture_get_native_handle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3917799429, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "framebuffer_format_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 697032759, - "hash_compatibility": [ - 2635475316 - ], - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "attachments", - "type": "typedarray::RDAttachmentFormat" - }, - { - "name": "view_count", - "type": "int", - "meta": "uint32", - "default_value": "1" - } - ] - }, - { - "name": "framebuffer_format_create_multipass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2647479094, - "hash_compatibility": [ - 1992489524 - ], - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "attachments", - "type": "typedarray::RDAttachmentFormat" - }, - { - "name": "passes", - "type": "typedarray::RDFramebufferPass" - }, - { - "name": "view_count", - "type": "int", - "meta": "uint32", - "default_value": "1" - } - ] - }, - { - "name": "framebuffer_format_create_empty", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 555930169, - "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_static": false, - "is_virtual": false, - "hash": 4223391010, - "hash_compatibility": [ - 1036806638 - ], - "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_static": false, - "is_virtual": false, - "hash": 3284231055, - "hash_compatibility": [ - 1884747791 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "textures", - "type": "typedarray::RID" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1750306695, - "hash_compatibility": [ - 452534725 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "textures", - "type": "typedarray::RID" - }, - { - "name": "passes", - "type": "typedarray::RDFramebufferPass" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3058360618, - "hash_compatibility": [ - 382373098 - ], - "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_static": false, - "is_virtual": false, - "hash": 3917799429, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "framebuffer", - "type": "RID" - } - ] - }, - { - "name": "framebuffer_is_valid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "framebuffer", - "type": "RID" - } - ] - }, - { - "name": "sampler_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2327892535, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "state", - "type": "RDSamplerState" - } - ] - }, - { - "name": "sampler_is_format_supported_for_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2247922238, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "format", - "type": "enum::RenderingDevice.DataFormat" - }, - { - "name": "sampler_filter", - "type": "enum::RenderingDevice.SamplerFilter" - } - ] - }, - { - "name": "vertex_buffer_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3410049843, - "hash_compatibility": [ - 3491282828 - ], - "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_static": false, - "is_virtual": false, - "hash": 1242678479, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "vertex_descriptions", - "type": "typedarray::RDVertexAttribute" - } - ] - }, - { - "name": "vertex_array_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3799816279, - "hash_compatibility": [ - 3137892244 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "vertex_count", - "type": "int", - "meta": "uint32" - }, - { - "name": "vertex_format", - "type": "int", - "meta": "int64" - }, - { - "name": "src_buffers", - "type": "typedarray::RID" - }, - { - "name": "offsets", - "type": "PackedInt64Array", - "default_value": "PackedInt64Array()" - } - ] - }, - { - "name": "index_buffer_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3935920523, - "hash_compatibility": [ - 975915977 - ], - "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_static": false, - "is_virtual": false, - "hash": 2256026069, - "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_static": false, - "is_virtual": false, - "hash": 1178973306, - "hash_compatibility": [ - 3459523685 - ], - "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_static": false, - "is_virtual": false, - "hash": 134910450, - "hash_compatibility": [ - 1395027180 - ], - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "spirv_data", - "type": "RDShaderSPIRV" - }, - { - "name": "name", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "shader_create_from_spirv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 342949005, - "hash_compatibility": [ - 3297482566 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "spirv_data", - "type": "RDShaderSPIRV" - }, - { - "name": "name", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "shader_create_from_bytecode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1687031350, - "hash_compatibility": [ - 3049171473, - 2078349841 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "binary_data", - "type": "PackedByteArray" - }, - { - "name": "placeholder_rid", - "type": "RID", - "default_value": "RID()" - } - ] - }, - { - "name": "shader_create_placeholder", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "shader_get_vertex_input_attribute_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3917799429, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "shader", - "type": "RID" - } - ] - }, - { - "name": "uniform_buffer_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 34556762, - "hash_compatibility": [ - 1453158401 - ], - "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_static": false, - "is_virtual": false, - "hash": 2316365934, - "hash_compatibility": [ - 1173156076 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "size_bytes", - "type": "int", - "meta": "uint32" - }, - { - "name": "data", - "type": "PackedByteArray", - "default_value": "PackedByteArray()" - }, - { - "name": "usage", - "type": "bitfield::RenderingDevice.StorageBufferUsage", - "default_value": "0" - } - ] - }, - { - "name": "texture_buffer_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1470338698, - "hash_compatibility": [ - 2344087557 - ], - "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_static": false, - "is_virtual": false, - "hash": 2280795797, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "uniforms", - "type": "typedarray::RDUniform" - }, - { - "name": "shader", - "type": "RID" - }, - { - "name": "shader_set", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "uniform_set_is_valid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "uniform_set", - "type": "RID" - } - ] - }, - { - "name": "buffer_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3793150683, - "hash_compatibility": [ - 652628289 - ], - "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": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - } - ] - }, - { - "name": "buffer_clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2797041220, - "hash_compatibility": [ - 1645170096 - ], - "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": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - } - ] - }, - { - "name": "buffer_get_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3101830688, - "hash_compatibility": [ - 125363422 - ], - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "buffer", - "type": "RID" - }, - { - "name": "offset_bytes", - "type": "int", - "meta": "uint32", - "default_value": "0" - }, - { - "name": "size_bytes", - "type": "int", - "meta": "uint32", - "default_value": "0" - } - ] - }, - { - "name": "render_pipeline_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2385451958, - "hash_compatibility": [ - 2911419500 - ], - "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": "bitfield::RenderingDevice.PipelineDynamicStateFlags", - "default_value": "0" - }, - { - "name": "for_render_pass", - "type": "int", - "meta": "uint32", - "default_value": "0" - }, - { - "name": "specialization_constants", - "type": "typedarray::RDPipelineSpecializationConstant", - "default_value": "Array[RDPipelineSpecializationConstant]([])" - } - ] - }, - { - "name": "render_pipeline_is_valid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "render_pipeline", - "type": "RID" - } - ] - }, - { - "name": "compute_pipeline_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1448838280, - "hash_compatibility": [ - 403593840 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "shader", - "type": "RID" - }, - { - "name": "specialization_constants", - "type": "typedarray::RDPipelineSpecializationConstant", - "default_value": "Array[RDPipelineSpecializationConstant]([])" - } - ] - }, - { - "name": "compute_pipeline_is_valid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "compute_pipeline", - "type": "RID" - } - ] - }, - { - "name": "screen_get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "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_static": false, - "is_virtual": false, - "hash": 1591665591, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "draw_list_begin_for_screen", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3988079995, - "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_static": false, - "is_virtual": false, - "hash": 2468082605, - "hash_compatibility": [ - 4252992020 - ], - "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": "typedarray::RID", - "default_value": "Array[RID]([])" - } - ] - }, - { - "name": "draw_list_begin_split", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2406300660, - "hash_compatibility": [ - 832527510 - ], - "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": "typedarray::RID", - "default_value": "Array[RID]([])" - } - ] - }, - { - "name": "draw_list_set_blend_constants", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "draw_list", - "type": "int", - "meta": "int64" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "draw_list_bind_render_pipeline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4040184819, - "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_static": false, - "is_virtual": false, - "hash": 749655778, - "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_static": false, - "is_virtual": false, - "hash": 4040184819, - "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_static": false, - "is_virtual": false, - "hash": 4040184819, - "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_static": false, - "is_virtual": false, - "hash": 2772371345, - "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_static": false, - "is_virtual": false, - "hash": 4230067973, - "hash_compatibility": [ - 3710874499 - ], - "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_static": false, - "is_virtual": false, - "hash": 244650101, - "hash_compatibility": [ - 338791288 - ], - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "draw_list", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "draw_list_switch_to_next_pass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "draw_list_switch_to_next_pass_split", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2865087369, - "return_value": { - "type": "PackedInt64Array" - }, - "arguments": [ - { - "name": "splits", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "draw_list_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3920951950, - "hash_compatibility": [ - 422991495 - ], - "arguments": [ - { - "name": "post_barrier", - "type": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - } - ] - }, - { - "name": "compute_list_begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 968564752, - "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_static": false, - "is_virtual": false, - "hash": 4040184819, - "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_static": false, - "is_virtual": false, - "hash": 2772371345, - "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_static": false, - "is_virtual": false, - "hash": 749655778, - "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_static": false, - "is_virtual": false, - "hash": 4275841770, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "compute_list", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "compute_list_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3920951950, - "hash_compatibility": [ - 422991495 - ], - "arguments": [ - { - "name": "post_barrier", - "type": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - } - ] - }, - { - "name": "free_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "capture_timestamp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_captured_timestamps_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "get_captured_timestamps_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_captured_timestamp_gpu_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "limit_get", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1559202131, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "limit", - "type": "enum::RenderingDevice.Limit" - } - ] - }, - { - "name": "get_frame_delay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "submit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "sync", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "barrier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3718155691, - "hash_compatibility": [ - 266666049 - ], - "arguments": [ - { - "name": "from", - "type": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - }, - { - "name": "to", - "type": "bitfield::RenderingDevice.BarrierMask", - "default_value": "32767" - } - ] - }, - { - "name": "full_barrier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "create_local_device", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2846302423, - "return_value": { - "type": "RenderingDevice" - } - }, - { - "name": "set_resource_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2726140452, - "arguments": [ - { - "name": "id", - "type": "RID" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "draw_command_begin_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1636512886, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "draw_command_insert_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1636512886, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "draw_command_end_label", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_device_vendor_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_device_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_device_pipeline_cache_uuid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_memory_usage", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 251690689, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "type", - "type": "enum::RenderingDevice.MemoryType" - } - ] - }, - { - "name": "get_driver_resource", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501815484, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "resource", - "type": "enum::RenderingDevice.DriverResource" - }, - { - "name": "rid", - "type": "RID" - }, - { - "name": "index", - "type": "int", - "meta": "uint64" - } - ] - } - ] - }, - { - "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": "TextureLayeredType", - "is_bitfield": false, - "values": [ - { - "name": "TEXTURE_LAYERED_2D_ARRAY", - "value": 0 - }, - { - "name": "TEXTURE_LAYERED_CUBEMAP", - "value": 1 - }, - { - "name": "TEXTURE_LAYERED_CUBEMAP_ARRAY", - "value": 2 - } - ] - }, - { - "name": "CubeMapLayer", - "is_bitfield": false, - "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": "ShaderMode", - "is_bitfield": false, - "values": [ - { - "name": "SHADER_SPATIAL", - "value": 0 - }, - { - "name": "SHADER_CANVAS_ITEM", - "value": 1 - }, - { - "name": "SHADER_PARTICLES", - "value": 2 - }, - { - "name": "SHADER_SKY", - "value": 3 - }, - { - "name": "SHADER_FOG", - "value": 4 - }, - { - "name": "SHADER_MAX", - "value": 5 - } - ] - }, - { - "name": "ArrayType", - "is_bitfield": false, - "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": "ArrayCustomFormat", - "is_bitfield": false, - "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": "ArrayFormat", - "is_bitfield": true, - "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": 7 - }, - { - "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": "ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY", - "value": 268435456 - }, - { - "name": "ARRAY_FLAG_COMPRESS_ATTRIBUTES", - "value": 536870912 - }, - { - "name": "ARRAY_FLAG_FORMAT_VERSION_BASE", - "value": 35 - }, - { - "name": "ARRAY_FLAG_FORMAT_VERSION_SHIFT", - "value": 35 - }, - { - "name": "ARRAY_FLAG_FORMAT_VERSION_1", - "value": 0 - }, - { - "name": "ARRAY_FLAG_FORMAT_VERSION_2", - "value": 34359738368 - }, - { - "name": "ARRAY_FLAG_FORMAT_CURRENT_VERSION", - "value": 34359738368 - }, - { - "name": "ARRAY_FLAG_FORMAT_VERSION_MASK", - "value": 255 - } - ] - }, - { - "name": "PrimitiveType", - "is_bitfield": false, - "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", - "is_bitfield": false, - "values": [ - { - "name": "BLEND_SHAPE_MODE_NORMALIZED", - "value": 0 - }, - { - "name": "BLEND_SHAPE_MODE_RELATIVE", - "value": 1 - } - ] - }, - { - "name": "MultimeshTransformFormat", - "is_bitfield": false, - "values": [ - { - "name": "MULTIMESH_TRANSFORM_2D", - "value": 0 - }, - { - "name": "MULTIMESH_TRANSFORM_3D", - "value": 1 - } - ] - }, - { - "name": "LightProjectorFilter", - "is_bitfield": false, - "values": [ - { - "name": "LIGHT_PROJECTOR_FILTER_NEAREST", - "value": 0 - }, - { - "name": "LIGHT_PROJECTOR_FILTER_LINEAR", - "value": 1 - }, - { - "name": "LIGHT_PROJECTOR_FILTER_NEAREST_MIPMAPS", - "value": 2 - }, - { - "name": "LIGHT_PROJECTOR_FILTER_LINEAR_MIPMAPS", - "value": 3 - }, - { - "name": "LIGHT_PROJECTOR_FILTER_NEAREST_MIPMAPS_ANISOTROPIC", - "value": 4 - }, - { - "name": "LIGHT_PROJECTOR_FILTER_LINEAR_MIPMAPS_ANISOTROPIC", - "value": 5 - } - ] - }, - { - "name": "LightType", - "is_bitfield": false, - "values": [ - { - "name": "LIGHT_DIRECTIONAL", - "value": 0 - }, - { - "name": "LIGHT_OMNI", - "value": 1 - }, - { - "name": "LIGHT_SPOT", - "value": 2 - } - ] - }, - { - "name": "LightParam", - "is_bitfield": false, - "values": [ - { - "name": "LIGHT_PARAM_ENERGY", - "value": 0 - }, - { - "name": "LIGHT_PARAM_INDIRECT_ENERGY", - "value": 1 - }, - { - "name": "LIGHT_PARAM_VOLUMETRIC_FOG_ENERGY", - "value": 2 - }, - { - "name": "LIGHT_PARAM_SPECULAR", - "value": 3 - }, - { - "name": "LIGHT_PARAM_RANGE", - "value": 4 - }, - { - "name": "LIGHT_PARAM_SIZE", - "value": 5 - }, - { - "name": "LIGHT_PARAM_ATTENUATION", - "value": 6 - }, - { - "name": "LIGHT_PARAM_SPOT_ANGLE", - "value": 7 - }, - { - "name": "LIGHT_PARAM_SPOT_ATTENUATION", - "value": 8 - }, - { - "name": "LIGHT_PARAM_SHADOW_MAX_DISTANCE", - "value": 9 - }, - { - "name": "LIGHT_PARAM_SHADOW_SPLIT_1_OFFSET", - "value": 10 - }, - { - "name": "LIGHT_PARAM_SHADOW_SPLIT_2_OFFSET", - "value": 11 - }, - { - "name": "LIGHT_PARAM_SHADOW_SPLIT_3_OFFSET", - "value": 12 - }, - { - "name": "LIGHT_PARAM_SHADOW_FADE_START", - "value": 13 - }, - { - "name": "LIGHT_PARAM_SHADOW_NORMAL_BIAS", - "value": 14 - }, - { - "name": "LIGHT_PARAM_SHADOW_BIAS", - "value": 15 - }, - { - "name": "LIGHT_PARAM_SHADOW_PANCAKE_SIZE", - "value": 16 - }, - { - "name": "LIGHT_PARAM_SHADOW_OPACITY", - "value": 17 - }, - { - "name": "LIGHT_PARAM_SHADOW_BLUR", - "value": 18 - }, - { - "name": "LIGHT_PARAM_TRANSMITTANCE_BIAS", - "value": 19 - }, - { - "name": "LIGHT_PARAM_INTENSITY", - "value": 20 - }, - { - "name": "LIGHT_PARAM_MAX", - "value": 21 - } - ] - }, - { - "name": "LightBakeMode", - "is_bitfield": false, - "values": [ - { - "name": "LIGHT_BAKE_DISABLED", - "value": 0 - }, - { - "name": "LIGHT_BAKE_STATIC", - "value": 1 - }, - { - "name": "LIGHT_BAKE_DYNAMIC", - "value": 2 - } - ] - }, - { - "name": "LightOmniShadowMode", - "is_bitfield": false, - "values": [ - { - "name": "LIGHT_OMNI_SHADOW_DUAL_PARABOLOID", - "value": 0 - }, - { - "name": "LIGHT_OMNI_SHADOW_CUBE", - "value": 1 - } - ] - }, - { - "name": "LightDirectionalShadowMode", - "is_bitfield": false, - "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": "LightDirectionalSkyMode", - "is_bitfield": false, - "values": [ - { - "name": "LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_AND_SKY", - "value": 0 - }, - { - "name": "LIGHT_DIRECTIONAL_SKY_MODE_LIGHT_ONLY", - "value": 1 - }, - { - "name": "LIGHT_DIRECTIONAL_SKY_MODE_SKY_ONLY", - "value": 2 - } - ] - }, - { - "name": "ShadowQuality", - "is_bitfield": false, - "values": [ - { - "name": "SHADOW_QUALITY_HARD", - "value": 0 - }, - { - "name": "SHADOW_QUALITY_SOFT_VERY_LOW", - "value": 1 - }, - { - "name": "SHADOW_QUALITY_SOFT_LOW", - "value": 2 - }, - { - "name": "SHADOW_QUALITY_SOFT_MEDIUM", - "value": 3 - }, - { - "name": "SHADOW_QUALITY_SOFT_HIGH", - "value": 4 - }, - { - "name": "SHADOW_QUALITY_SOFT_ULTRA", - "value": 5 - }, - { - "name": "SHADOW_QUALITY_MAX", - "value": 6 - } - ] - }, - { - "name": "ReflectionProbeUpdateMode", - "is_bitfield": false, - "values": [ - { - "name": "REFLECTION_PROBE_UPDATE_ONCE", - "value": 0 - }, - { - "name": "REFLECTION_PROBE_UPDATE_ALWAYS", - "value": 1 - } - ] - }, - { - "name": "ReflectionProbeAmbientMode", - "is_bitfield": false, - "values": [ - { - "name": "REFLECTION_PROBE_AMBIENT_DISABLED", - "value": 0 - }, - { - "name": "REFLECTION_PROBE_AMBIENT_ENVIRONMENT", - "value": 1 - }, - { - "name": "REFLECTION_PROBE_AMBIENT_COLOR", - "value": 2 - } - ] - }, - { - "name": "DecalTexture", - "is_bitfield": false, - "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": "DecalFilter", - "is_bitfield": false, - "values": [ - { - "name": "DECAL_FILTER_NEAREST", - "value": 0 - }, - { - "name": "DECAL_FILTER_LINEAR", - "value": 1 - }, - { - "name": "DECAL_FILTER_NEAREST_MIPMAPS", - "value": 2 - }, - { - "name": "DECAL_FILTER_LINEAR_MIPMAPS", - "value": 3 - }, - { - "name": "DECAL_FILTER_NEAREST_MIPMAPS_ANISOTROPIC", - "value": 4 - }, - { - "name": "DECAL_FILTER_LINEAR_MIPMAPS_ANISOTROPIC", - "value": 5 - } - ] - }, - { - "name": "VoxelGIQuality", - "is_bitfield": false, - "values": [ - { - "name": "VOXEL_GI_QUALITY_LOW", - "value": 0 - }, - { - "name": "VOXEL_GI_QUALITY_HIGH", - "value": 1 - } - ] - }, - { - "name": "ParticlesMode", - "is_bitfield": false, - "values": [ - { - "name": "PARTICLES_MODE_2D", - "value": 0 - }, - { - "name": "PARTICLES_MODE_3D", - "value": 1 - } - ] - }, - { - "name": "ParticlesTransformAlign", - "is_bitfield": false, - "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": "ParticlesDrawOrder", - "is_bitfield": false, - "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": "ParticlesCollisionType", - "is_bitfield": false, - "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": "ParticlesCollisionHeightfieldResolution", - "is_bitfield": false, - "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": "FogVolumeShape", - "is_bitfield": false, - "values": [ - { - "name": "FOG_VOLUME_SHAPE_ELLIPSOID", - "value": 0 - }, - { - "name": "FOG_VOLUME_SHAPE_CONE", - "value": 1 - }, - { - "name": "FOG_VOLUME_SHAPE_CYLINDER", - "value": 2 - }, - { - "name": "FOG_VOLUME_SHAPE_BOX", - "value": 3 - }, - { - "name": "FOG_VOLUME_SHAPE_WORLD", - "value": 4 - }, - { - "name": "FOG_VOLUME_SHAPE_MAX", - "value": 5 - } - ] - }, - { - "name": "ViewportScaling3DMode", - "is_bitfield": false, - "values": [ - { - "name": "VIEWPORT_SCALING_3D_MODE_BILINEAR", - "value": 0 - }, - { - "name": "VIEWPORT_SCALING_3D_MODE_FSR", - "value": 1 - }, - { - "name": "VIEWPORT_SCALING_3D_MODE_FSR2", - "value": 2 - }, - { - "name": "VIEWPORT_SCALING_3D_MODE_MAX", - "value": 3 - } - ] - }, - { - "name": "ViewportUpdateMode", - "is_bitfield": false, - "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": "ViewportClearMode", - "is_bitfield": false, - "values": [ - { - "name": "VIEWPORT_CLEAR_ALWAYS", - "value": 0 - }, - { - "name": "VIEWPORT_CLEAR_NEVER", - "value": 1 - }, - { - "name": "VIEWPORT_CLEAR_ONLY_NEXT_FRAME", - "value": 2 - } - ] - }, - { - "name": "ViewportEnvironmentMode", - "is_bitfield": false, - "values": [ - { - "name": "VIEWPORT_ENVIRONMENT_DISABLED", - "value": 0 - }, - { - "name": "VIEWPORT_ENVIRONMENT_ENABLED", - "value": 1 - }, - { - "name": "VIEWPORT_ENVIRONMENT_INHERIT", - "value": 2 - }, - { - "name": "VIEWPORT_ENVIRONMENT_MAX", - "value": 3 - } - ] - }, - { - "name": "ViewportSDFOversize", - "is_bitfield": false, - "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": "ViewportSDFScale", - "is_bitfield": false, - "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": "ViewportMSAA", - "is_bitfield": false, - "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_MAX", - "value": 4 - } - ] - }, - { - "name": "ViewportScreenSpaceAA", - "is_bitfield": false, - "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": "ViewportOcclusionCullingBuildQuality", - "is_bitfield": false, - "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": "ViewportRenderInfo", - "is_bitfield": false, - "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": "ViewportRenderInfoType", - "is_bitfield": false, - "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": "ViewportDebugDraw", - "is_bitfield": false, - "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_SSIL", - "value": 13 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_PSSM_SPLITS", - "value": 14 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_DECAL_ATLAS", - "value": 15 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_SDFGI", - "value": 16 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_SDFGI_PROBES", - "value": 17 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_GI_BUFFER", - "value": 18 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_DISABLE_LOD", - "value": 19 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_OMNI_LIGHTS", - "value": 20 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_SPOT_LIGHTS", - "value": 21 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_DECALS", - "value": 22 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_CLUSTER_REFLECTION_PROBES", - "value": 23 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_OCCLUDERS", - "value": 24 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_MOTION_VECTORS", - "value": 25 - }, - { - "name": "VIEWPORT_DEBUG_DRAW_INTERNAL_BUFFER", - "value": 26 - } - ] - }, - { - "name": "ViewportVRSMode", - "is_bitfield": false, - "values": [ - { - "name": "VIEWPORT_VRS_DISABLED", - "value": 0 - }, - { - "name": "VIEWPORT_VRS_TEXTURE", - "value": 1 - }, - { - "name": "VIEWPORT_VRS_XR", - "value": 2 - }, - { - "name": "VIEWPORT_VRS_MAX", - "value": 3 - } - ] - }, - { - "name": "SkyMode", - "is_bitfield": false, - "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": "EnvironmentBG", - "is_bitfield": false, - "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": "EnvironmentAmbientSource", - "is_bitfield": false, - "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": "EnvironmentReflectionSource", - "is_bitfield": false, - "values": [ - { - "name": "ENV_REFLECTION_SOURCE_BG", - "value": 0 - }, - { - "name": "ENV_REFLECTION_SOURCE_DISABLED", - "value": 1 - }, - { - "name": "ENV_REFLECTION_SOURCE_SKY", - "value": 2 - } - ] - }, - { - "name": "EnvironmentGlowBlendMode", - "is_bitfield": false, - "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": "EnvironmentToneMapper", - "is_bitfield": false, - "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": "EnvironmentSSRRoughnessQuality", - "is_bitfield": false, - "values": [ - { - "name": "ENV_SSR_ROUGHNESS_QUALITY_DISABLED", - "value": 0 - }, - { - "name": "ENV_SSR_ROUGHNESS_QUALITY_LOW", - "value": 1 - }, - { - "name": "ENV_SSR_ROUGHNESS_QUALITY_MEDIUM", - "value": 2 - }, - { - "name": "ENV_SSR_ROUGHNESS_QUALITY_HIGH", - "value": 3 - } - ] - }, - { - "name": "EnvironmentSSAOQuality", - "is_bitfield": false, - "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": "EnvironmentSSILQuality", - "is_bitfield": false, - "values": [ - { - "name": "ENV_SSIL_QUALITY_VERY_LOW", - "value": 0 - }, - { - "name": "ENV_SSIL_QUALITY_LOW", - "value": 1 - }, - { - "name": "ENV_SSIL_QUALITY_MEDIUM", - "value": 2 - }, - { - "name": "ENV_SSIL_QUALITY_HIGH", - "value": 3 - }, - { - "name": "ENV_SSIL_QUALITY_ULTRA", - "value": 4 - } - ] - }, - { - "name": "EnvironmentSDFGIYScale", - "is_bitfield": false, - "values": [ - { - "name": "ENV_SDFGI_Y_SCALE_50_PERCENT", - "value": 0 - }, - { - "name": "ENV_SDFGI_Y_SCALE_75_PERCENT", - "value": 1 - }, - { - "name": "ENV_SDFGI_Y_SCALE_100_PERCENT", - "value": 2 - } - ] - }, - { - "name": "EnvironmentSDFGIRayCount", - "is_bitfield": false, - "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": "EnvironmentSDFGIFramesToConverge", - "is_bitfield": false, - "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": "EnvironmentSDFGIFramesToUpdateLight", - "is_bitfield": false, - "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": "SubSurfaceScatteringQuality", - "is_bitfield": false, - "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": "DOFBokehShape", - "is_bitfield": false, - "values": [ - { - "name": "DOF_BOKEH_BOX", - "value": 0 - }, - { - "name": "DOF_BOKEH_HEXAGON", - "value": 1 - }, - { - "name": "DOF_BOKEH_CIRCLE", - "value": 2 - } - ] - }, - { - "name": "DOFBlurQuality", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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_FOG_VOLUME", - "value": 12 - }, - { - "name": "INSTANCE_MAX", - "value": 13 - }, - { - "name": "INSTANCE_GEOMETRY_MASK", - "value": 14 - } - ] - }, - { - "name": "InstanceFlags", - "is_bitfield": false, - "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": "ShadowCastingSetting", - "is_bitfield": false, - "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": "VisibilityRangeFadeMode", - "is_bitfield": false, - "values": [ - { - "name": "VISIBILITY_RANGE_FADE_DISABLED", - "value": 0 - }, - { - "name": "VISIBILITY_RANGE_FADE_SELF", - "value": 1 - }, - { - "name": "VISIBILITY_RANGE_FADE_DEPENDENCIES", - "value": 2 - } - ] - }, - { - "name": "BakeChannels", - "is_bitfield": false, - "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": "CanvasTextureChannel", - "is_bitfield": false, - "values": [ - { - "name": "CANVAS_TEXTURE_CHANNEL_DIFFUSE", - "value": 0 - }, - { - "name": "CANVAS_TEXTURE_CHANNEL_NORMAL", - "value": 1 - }, - { - "name": "CANVAS_TEXTURE_CHANNEL_SPECULAR", - "value": 2 - } - ] - }, - { - "name": "NinePatchAxisMode", - "is_bitfield": false, - "values": [ - { - "name": "NINE_PATCH_STRETCH", - "value": 0 - }, - { - "name": "NINE_PATCH_TILE", - "value": 1 - }, - { - "name": "NINE_PATCH_TILE_FIT", - "value": 2 - } - ] - }, - { - "name": "CanvasItemTextureFilter", - "is_bitfield": false, - "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": "CanvasItemTextureRepeat", - "is_bitfield": false, - "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": "CanvasGroupMode", - "is_bitfield": false, - "values": [ - { - "name": "CANVAS_GROUP_MODE_DISABLED", - "value": 0 - }, - { - "name": "CANVAS_GROUP_MODE_CLIP_ONLY", - "value": 1 - }, - { - "name": "CANVAS_GROUP_MODE_CLIP_AND_DRAW", - "value": 2 - }, - { - "name": "CANVAS_GROUP_MODE_TRANSPARENT", - "value": 3 - } - ] - }, - { - "name": "CanvasLightMode", - "is_bitfield": false, - "values": [ - { - "name": "CANVAS_LIGHT_MODE_POINT", - "value": 0 - }, - { - "name": "CANVAS_LIGHT_MODE_DIRECTIONAL", - "value": 1 - } - ] - }, - { - "name": "CanvasLightBlendMode", - "is_bitfield": false, - "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": "CanvasLightShadowFilter", - "is_bitfield": false, - "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": "CanvasOccluderPolygonCullMode", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "GlobalShaderParameterType", - "is_bitfield": false, - "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": "RenderingInfo", - "is_bitfield": false, - "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": "Features", - "is_bitfield": false, - "values": [ - { - "name": "FEATURE_SHADERS", - "value": 0 - }, - { - "name": "FEATURE_MULTITHREADED", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "texture_2d_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2010018390, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "image", - "type": "Image" - } - ] - }, - { - "name": "texture_2d_layered_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 913689023, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "layers", - "type": "typedarray::Image" - }, - { - "name": "layered_type", - "type": "enum::RenderingServer.TextureLayeredType" - } - ] - }, - { - "name": "texture_3d_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4036838706, - "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": "typedarray::Image" - } - ] - }, - { - "name": "texture_proxy_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 41030802, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "base", - "type": "RID" - } - ] - }, - { - "name": "texture_2d_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 999539803, - "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_static": false, - "is_virtual": false, - "hash": 684822712, - "arguments": [ - { - "name": "texture", - "type": "RID" - }, - { - "name": "data", - "type": "typedarray::Image" - } - ] - }, - { - "name": "texture_proxy_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "texture", - "type": "RID" - }, - { - "name": "proxy_to", - "type": "RID" - } - ] - }, - { - "name": "texture_2d_placeholder_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "texture_2d_layered_placeholder_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1394585590, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "layered_type", - "type": "enum::RenderingServer.TextureLayeredType" - } - ] - }, - { - "name": "texture_3d_placeholder_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "texture_2d_get", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4206205781, - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "texture_2d_layer_get", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2705440895, - "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_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::Image" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "texture_replace", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "texture", - "type": "RID" - }, - { - "name": "by_texture", - "type": "RID" - } - ] - }, - { - "name": "texture_set_size_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288446313, - "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_static": false, - "is_virtual": false, - "hash": 2726140452, - "arguments": [ - { - "name": "texture", - "type": "RID" - }, - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "texture_get_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642473191, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "texture_get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1932918979, - "return_value": { - "type": "enum::Image.Format" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "texture_set_force_redraw_if_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "texture", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "texture_rd_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1434128712, - "hash_compatibility": [ - 3291180269 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "rd_texture", - "type": "RID" - }, - { - "name": "layer_type", - "type": "enum::RenderingServer.TextureLayeredType", - "default_value": "0" - } - ] - }, - { - "name": "texture_get_rd_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2790148051, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - }, - { - "name": "srgb", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "texture_get_native_handle", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1834114100, - "return_value": { - "type": "int", - "meta": "uint64" - }, - "arguments": [ - { - "name": "texture", - "type": "RID" - }, - { - "name": "srgb", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "shader_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "shader_set_code", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2726140452, - "arguments": [ - { - "name": "shader", - "type": "RID" - }, - { - "name": "code", - "type": "String" - } - ] - }, - { - "name": "shader_set_path_hint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2726140452, - "arguments": [ - { - "name": "shader", - "type": "RID" - }, - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "shader_get_code", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642473191, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "shader", - "type": "RID" - } - ] - }, - { - "name": "get_shader_parameter_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "shader", - "type": "RID" - } - ] - }, - { - "name": "shader_get_parameter_default", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2621281810, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "shader", - "type": "RID" - }, - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "shader_set_default_texture_parameter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4094001817, - "hash_compatibility": [ - 3864903085 - ], - "arguments": [ - { - "name": "shader", - "type": "RID" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "texture", - "type": "RID" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "shader_get_default_texture_parameter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1464608890, - "hash_compatibility": [ - 2523186822 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "shader", - "type": "RID" - }, - { - "name": "name", - "type": "StringName" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "material_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "material_set_shader", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "shader_material", - "type": "RID" - }, - { - "name": "shader", - "type": "RID" - } - ] - }, - { - "name": "material_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3477296213, - "arguments": [ - { - "name": "material", - "type": "RID" - }, - { - "name": "parameter", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "material_get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2621281810, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "material", - "type": "RID" - }, - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "material_set_next_pass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "material", - "type": "RID" - }, - { - "name": "next_material", - "type": "RID" - } - ] - }, - { - "name": "mesh_create_from_surfaces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291747531, - "hash_compatibility": [ - 4007581507 - ], - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "surfaces", - "type": "typedarray::Dictionary" - }, - { - "name": "blend_shape_count", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "mesh_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "mesh_surface_get_format_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981368685, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "format", - "type": "bitfield::RenderingServer.ArrayFormat" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3188363337, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "format", - "type": "bitfield::RenderingServer.ArrayFormat" - }, - { - "name": "vertex_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "mesh_surface_get_format_normal_tangent_stride", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3188363337, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "format", - "type": "bitfield::RenderingServer.ArrayFormat" - }, - { - "name": "vertex_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "mesh_surface_get_format_attribute_stride", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3188363337, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "format", - "type": "bitfield::RenderingServer.ArrayFormat" - }, - { - "name": "vertex_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "mesh_surface_get_format_skin_stride", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3188363337, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "format", - "type": "bitfield::RenderingServer.ArrayFormat" - }, - { - "name": "vertex_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "mesh_add_surface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1217542888, - "arguments": [ - { - "name": "mesh", - "type": "RID" - }, - { - "name": "surface", - "type": "Dictionary" - } - ] - }, - { - "name": "mesh_add_surface_from_arrays", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2342446560, - "hash_compatibility": [ - 1247008646 - ], - "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": "{}" - }, - { - "name": "compress_format", - "type": "bitfield::RenderingServer.ArrayFormat", - "default_value": "0" - } - ] - }, - { - "name": "mesh_get_blend_shape_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "mesh", - "type": "RID" - } - ] - }, - { - "name": "mesh_set_blend_shape_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1294662092, - "arguments": [ - { - "name": "mesh", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.BlendShapeMode" - } - ] - }, - { - "name": "mesh_get_blend_shape_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4282291819, - "return_value": { - "type": "enum::RenderingServer.BlendShapeMode" - }, - "arguments": [ - { - "name": "mesh", - "type": "RID" - } - ] - }, - { - "name": "mesh_surface_set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2310537182, - "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_static": false, - "is_virtual": false, - "hash": 1066463050, - "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_static": false, - "is_virtual": false, - "hash": 186674697, - "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_static": false, - "is_virtual": false, - "hash": 1778388067, - "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_static": false, - "is_virtual": false, - "hash": 1778388067, - "return_value": { - "type": "typedarray::Array" - }, - "arguments": [ - { - "name": "mesh", - "type": "RID" - }, - { - "name": "surface", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "mesh_get_surface_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "mesh", - "type": "RID" - } - ] - }, - { - "name": "mesh_set_custom_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3696536120, - "arguments": [ - { - "name": "mesh", - "type": "RID" - }, - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "mesh_get_custom_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 974181306, - "return_value": { - "type": "AABB" - }, - "arguments": [ - { - "name": "mesh", - "type": "RID" - } - ] - }, - { - "name": "mesh_clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "mesh", - "type": "RID" - } - ] - }, - { - "name": "mesh_surface_update_vertex_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2900195149, - "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_static": false, - "is_virtual": false, - "hash": 2900195149, - "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_static": false, - "is_virtual": false, - "hash": 2900195149, - "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_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "mesh", - "type": "RID" - }, - { - "name": "shadow_mesh", - "type": "RID" - } - ] - }, - { - "name": "multimesh_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "multimesh_allocate_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 283685892, - "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_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "multimesh", - "type": "RID" - } - ] - }, - { - "name": "multimesh_set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "multimesh", - "type": "RID" - }, - { - "name": "mesh", - "type": "RID" - } - ] - }, - { - "name": "multimesh_instance_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 675327471, - "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_static": false, - "is_virtual": false, - "hash": 736082694, - "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_static": false, - "is_virtual": false, - "hash": 176975443, - "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_static": false, - "is_virtual": false, - "hash": 176975443, - "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_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "multimesh", - "type": "RID" - } - ] - }, - { - "name": "multimesh_get_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 974181306, - "return_value": { - "type": "AABB" - }, - "arguments": [ - { - "name": "multimesh", - "type": "RID" - } - ] - }, - { - "name": "multimesh_instance_get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1050775521, - "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_static": false, - "is_virtual": false, - "hash": 1324854622, - "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_static": false, - "is_virtual": false, - "hash": 2946315076, - "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_static": false, - "is_virtual": false, - "hash": 2946315076, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "multimesh", - "type": "RID" - }, - { - "name": "visible", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "multimesh_get_visible_instances", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "multimesh", - "type": "RID" - } - ] - }, - { - "name": "multimesh_set_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2960552364, - "arguments": [ - { - "name": "multimesh", - "type": "RID" - }, - { - "name": "buffer", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "multimesh_get_buffer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3964669176, - "return_value": { - "type": "PackedFloat32Array" - }, - "arguments": [ - { - "name": "multimesh", - "type": "RID" - } - ] - }, - { - "name": "skeleton_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "skeleton_allocate_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1904426712, - "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_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "skeleton", - "type": "RID" - } - ] - }, - { - "name": "skeleton_bone_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 675327471, - "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_static": false, - "is_virtual": false, - "hash": 1050775521, - "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_static": false, - "is_virtual": false, - "hash": 736082694, - "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_static": false, - "is_virtual": false, - "hash": 1324854622, - "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_static": false, - "is_virtual": false, - "hash": 1246044741, - "arguments": [ - { - "name": "skeleton", - "type": "RID" - }, - { - "name": "base_transform", - "type": "Transform2D" - } - ] - }, - { - "name": "directional_light_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "omni_light_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "spot_light_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "light_set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "light_set_param", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501936875, - "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_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "light_set_projector", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "light_set_negative", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "light_set_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "light_set_distance_fade", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1622292572, - "arguments": [ - { - "name": "decal", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - }, - { - "name": "begin", - "type": "float", - "meta": "float" - }, - { - "name": "shadow", - "type": "float", - "meta": "float" - }, - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "light_set_reverse_cull_face_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "light_set_bake_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1048525260, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "cascade", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "light_omni_set_shadow_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2552677200, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.LightOmniShadowMode" - } - ] - }, - { - "name": "light_directional_set_shadow_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 380462970, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.LightDirectionalShadowMode" - } - ] - }, - { - "name": "light_directional_set_blend_splits", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "light_directional_set_sky_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2559740754, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.LightDirectionalSkyMode" - } - ] - }, - { - "name": "light_projectors_set_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 43944325, - "arguments": [ - { - "name": "filter", - "type": "enum::RenderingServer.LightProjectorFilter" - } - ] - }, - { - "name": "positional_soft_shadow_filter_set_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3613045266, - "arguments": [ - { - "name": "quality", - "type": "enum::RenderingServer.ShadowQuality" - } - ] - }, - { - "name": "directional_soft_shadow_filter_set_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3613045266, - "arguments": [ - { - "name": "quality", - "type": "enum::RenderingServer.ShadowQuality" - } - ] - }, - { - "name": "directional_shadow_atlas_set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "is_16bits", - "type": "bool" - } - ] - }, - { - "name": "reflection_probe_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "reflection_probe_set_update_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3853670147, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.ReflectionProbeUpdateMode" - } - ] - }, - { - "name": "reflection_probe_set_intensity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "intensity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "reflection_probe_set_ambient_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 184163074, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.ReflectionProbeAmbientMode" - } - ] - }, - { - "name": "reflection_probe_set_ambient_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "reflection_probe_set_ambient_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "reflection_probe_set_max_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "reflection_probe_set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "reflection_probe_set_origin_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "offset", - "type": "Vector3" - } - ] - }, - { - "name": "reflection_probe_set_as_interior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "reflection_probe_set_enable_box_projection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "reflection_probe_set_enable_shadows", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "reflection_probe_set_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "reflection_probe_set_resolution", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "resolution", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "reflection_probe_set_mesh_lod_threshold", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "probe", - "type": "RID" - }, - { - "name": "pixels", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "decal_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "decal_set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "decal", - "type": "RID" - }, - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "decal_set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3953344054, - "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_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "decal", - "type": "RID" - }, - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "decal_set_albedo_mix", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "decal", - "type": "RID" - }, - { - "name": "albedo_mix", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "decal_set_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "decal", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "decal_set_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "decal", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "decal_set_distance_fade", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2972769666, - "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_static": false, - "is_virtual": false, - "hash": 2513314492, - "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_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "decal", - "type": "RID" - }, - { - "name": "fade", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "decals_set_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3519875702, - "arguments": [ - { - "name": "filter", - "type": "enum::RenderingServer.DecalFilter" - } - ] - }, - { - "name": "gi_set_use_half_resolution", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "half_resolution", - "type": "bool" - } - ] - }, - { - "name": "voxel_gi_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "voxel_gi_allocate_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4108223027, - "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_static": false, - "is_virtual": false, - "hash": 2607699645, - "return_value": { - "type": "Vector3i" - }, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - } - ] - }, - { - "name": "voxel_gi_get_octree_cells", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3348040486, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - } - ] - }, - { - "name": "voxel_gi_get_data_cells", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3348040486, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - } - ] - }, - { - "name": "voxel_gi_get_distance_field", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3348040486, - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - } - ] - }, - { - "name": "voxel_gi_get_level_counts", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 788230395, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - } - ] - }, - { - "name": "voxel_gi_get_to_cell_xform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1128465797, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - } - ] - }, - { - "name": "voxel_gi_set_dynamic_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - }, - { - "name": "range", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "voxel_gi_set_propagation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - }, - { - "name": "amount", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "voxel_gi_set_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - }, - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "voxel_gi_set_baked_exposure_normalization", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - }, - { - "name": "baked_exposure", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "voxel_gi_set_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "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_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - }, - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "voxel_gi_set_interior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "voxel_gi_set_use_two_bounces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "voxel_gi", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "voxel_gi_set_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1538689978, - "arguments": [ - { - "name": "quality", - "type": "enum::RenderingServer.VoxelGIQuality" - } - ] - }, - { - "name": "lightmap_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "lightmap_set_textures", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2646464759, - "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_static": false, - "is_virtual": false, - "hash": 3696536120, - "arguments": [ - { - "name": "lightmap", - "type": "RID" - }, - { - "name": "bounds", - "type": "AABB" - } - ] - }, - { - "name": "lightmap_set_probe_interior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "lightmap", - "type": "RID" - }, - { - "name": "interior", - "type": "bool" - } - ] - }, - { - "name": "lightmap_set_probe_capture_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3217845880, - "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_static": false, - "is_virtual": false, - "hash": 808965560, - "return_value": { - "type": "PackedVector3Array" - }, - "arguments": [ - { - "name": "lightmap", - "type": "RID" - } - ] - }, - { - "name": "lightmap_get_probe_capture_sh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1569415609, - "return_value": { - "type": "PackedColorArray" - }, - "arguments": [ - { - "name": "lightmap", - "type": "RID" - } - ] - }, - { - "name": "lightmap_get_probe_capture_tetrahedra", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 788230395, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "lightmap", - "type": "RID" - } - ] - }, - { - "name": "lightmap_get_probe_capture_bsp_tree", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 788230395, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "lightmap", - "type": "RID" - } - ] - }, - { - "name": "lightmap_set_baked_exposure_normalization", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "lightmap", - "type": "RID" - }, - { - "name": "baked_exposure", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "lightmap_set_probe_capture_update_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "particles_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "particles_set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3492270028, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.ParticlesMode" - } - ] - }, - { - "name": "particles_set_emitting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "emitting", - "type": "bool" - } - ] - }, - { - "name": "particles_get_emitting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "particles", - "type": "RID" - } - ] - }, - { - "name": "particles_set_amount", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "particles_set_amount_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "particles_set_lifetime", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "lifetime", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "particles_set_one_shot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "one_shot", - "type": "bool" - } - ] - }, - { - "name": "particles_set_pre_process_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "particles_set_explosiveness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "particles_set_randomness_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "particles_set_interp_to_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "factor", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "particles_set_emitter_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "particles_set_custom_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3696536120, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "particles_set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "scale", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "particles_set_use_local_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "particles_set_process_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "material", - "type": "RID" - } - ] - }, - { - "name": "particles_set_fixed_fps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "fps", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "particles_set_interpolate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "particles_set_fractional_delta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "particles_set_collision_base_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "particles_set_transform_align", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3264971368, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "align", - "type": "enum::RenderingServer.ParticlesTransformAlign" - } - ] - }, - { - "name": "particles_set_trails", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2010054925, - "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_static": false, - "is_virtual": false, - "hash": 684822712, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "bind_poses", - "type": "typedarray::Transform3D" - } - ] - }, - { - "name": "particles_is_inactive", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "particles", - "type": "RID" - } - ] - }, - { - "name": "particles_request_process", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "particles", - "type": "RID" - } - ] - }, - { - "name": "particles_restart", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "particles", - "type": "RID" - } - ] - }, - { - "name": "particles_set_subemitter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "subemitter_particles", - "type": "RID" - } - ] - }, - { - "name": "particles_emit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4043136117, - "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_static": false, - "is_virtual": false, - "hash": 935028487, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "order", - "type": "enum::RenderingServer.ParticlesDrawOrder" - } - ] - }, - { - "name": "particles_set_draw_passes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "particles_set_draw_pass_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2310537182, - "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_static": false, - "is_virtual": false, - "hash": 3952830260, - "return_value": { - "type": "AABB" - }, - "arguments": [ - { - "name": "particles", - "type": "RID" - } - ] - }, - { - "name": "particles_set_emission_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3935195649, - "arguments": [ - { - "name": "particles", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "particles_collision_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "particles_collision_set_collision_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1497044930, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "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_static": false, - "is_virtual": false, - "hash": 1794382983, - "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_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "particles_collision", - "type": "RID" - }, - { - "name": "extents", - "type": "Vector3" - } - ] - }, - { - "name": "particles_collision_set_attractor_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "particles_collision", - "type": "RID" - }, - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "particles_collision_set_attractor_directionality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "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_static": false, - "is_virtual": false, - "hash": 1794382983, - "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_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "particles_collision", - "type": "RID" - }, - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "particles_collision_height_field_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "particles_collision", - "type": "RID" - } - ] - }, - { - "name": "particles_collision_set_height_field_resolution", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 962977297, - "arguments": [ - { - "name": "particles_collision", - "type": "RID" - }, - { - "name": "resolution", - "type": "enum::RenderingServer.ParticlesCollisionHeightfieldResolution" - } - ] - }, - { - "name": "fog_volume_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "fog_volume_set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3818703106, - "arguments": [ - { - "name": "fog_volume", - "type": "RID" - }, - { - "name": "shape", - "type": "enum::RenderingServer.FogVolumeShape" - } - ] - }, - { - "name": "fog_volume_set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3227306858, - "arguments": [ - { - "name": "fog_volume", - "type": "RID" - }, - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "fog_volume_set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "fog_volume", - "type": "RID" - }, - { - "name": "material", - "type": "RID" - } - ] - }, - { - "name": "visibility_notifier_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "visibility_notifier_set_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3696536120, - "arguments": [ - { - "name": "notifier", - "type": "RID" - }, - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "visibility_notifier_set_callbacks", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2689735388, - "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_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "occluder_set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3854404263, - "arguments": [ - { - "name": "occluder", - "type": "RID" - }, - { - "name": "vertices", - "type": "PackedVector3Array" - }, - { - "name": "indices", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "camera_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "camera_set_perspective", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 157498339, - "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_static": false, - "is_virtual": false, - "hash": 157498339, - "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_static": false, - "is_virtual": false, - "hash": 1889878953, - "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_static": false, - "is_virtual": false, - "hash": 3935195649, - "arguments": [ - { - "name": "camera", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "camera_set_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "camera", - "type": "RID" - }, - { - "name": "layers", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "camera_set_environment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "camera", - "type": "RID" - }, - { - "name": "env", - "type": "RID" - } - ] - }, - { - "name": "camera_set_camera_attributes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "camera", - "type": "RID" - }, - { - "name": "effects", - "type": "RID" - } - ] - }, - { - "name": "camera_set_use_vertical_aspect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "camera", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "viewport_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "viewport_set_use_xr", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "use_xr", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288446313, - "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_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_parent_viewport", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "parent_viewport", - "type": "RID" - } - ] - }, - { - "name": "viewport_attach_to_screen", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1062245816, - "hash_compatibility": [ - 1278520651 - ], - "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_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_canvas_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "canvas_cull_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "viewport_set_scaling_3d_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2386524376, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "scaling_3d_mode", - "type": "enum::RenderingServer.ViewportScaling3DMode" - } - ] - }, - { - "name": "viewport_set_scaling_3d_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "viewport_set_fsr_sharpness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "sharpness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "viewport_set_texture_mipmap_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "mipmap_bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "viewport_set_update_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3161116010, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "update_mode", - "type": "enum::RenderingServer.ViewportUpdateMode" - } - ] - }, - { - "name": "viewport_set_clear_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3628367896, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "clear_mode", - "type": "enum::RenderingServer.ViewportClearMode" - } - ] - }, - { - "name": "viewport_get_render_target", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "viewport", - "type": "RID" - } - ] - }, - { - "name": "viewport_get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "viewport", - "type": "RID" - } - ] - }, - { - "name": "viewport_set_disable_3d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_disable_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_environment_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2196892182, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.ViewportEnvironmentMode" - } - ] - }, - { - "name": "viewport_attach_camera", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "camera", - "type": "RID" - } - ] - }, - { - "name": "viewport_set_scenario", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "scenario", - "type": "RID" - } - ] - }, - { - "name": "viewport_attach_canvas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - } - ] - }, - { - "name": "viewport_remove_canvas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - } - ] - }, - { - "name": "viewport_set_snap_2d_transforms_to_pixel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_snap_2d_vertices_to_pixel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_default_canvas_item_texture_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1155129294, - "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_static": false, - "is_virtual": false, - "hash": 1652956681, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "repeat", - "type": "enum::RenderingServer.CanvasItemTextureRepeat" - } - ] - }, - { - "name": "viewport_set_canvas_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3608606053, - "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_static": false, - "is_virtual": false, - "hash": 3713930247, - "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_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_global_canvas_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1246044741, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "viewport_set_sdf_oversize_and_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1329198632, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "oversize", - "type": "enum::RenderingServer.ViewportSDFOversize" - }, - { - "name": "scale", - "type": "enum::RenderingServer.ViewportSDFScale" - } - ] - }, - { - "name": "viewport_set_positional_shadow_atlas_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1904426712, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int32" - }, - { - "name": "use_16_bits", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "viewport_set_positional_shadow_atlas_quadrant_subdivision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288446313, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "quadrant", - "type": "int", - "meta": "int32" - }, - { - "name": "subdivision", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "viewport_set_msaa_3d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3764433340, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "msaa", - "type": "enum::RenderingServer.ViewportMSAA" - } - ] - }, - { - "name": "viewport_set_msaa_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3764433340, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "msaa", - "type": "enum::RenderingServer.ViewportMSAA" - } - ] - }, - { - "name": "viewport_set_use_hdr_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_screen_space_aa", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1447279591, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.ViewportScreenSpaceAA" - } - ] - }, - { - "name": "viewport_set_use_taa", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_use_debanding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_use_occlusion_culling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "viewport_set_occlusion_rays_per_thread", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "rays_per_thread", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "viewport_set_occlusion_culling_build_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2069725696, - "arguments": [ - { - "name": "quality", - "type": "enum::RenderingServer.ViewportOcclusionCullingBuildQuality" - } - ] - }, - { - "name": "viewport_get_render_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2041262392, - "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_static": false, - "is_virtual": false, - "hash": 2089420930, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "draw", - "type": "enum::RenderingServer.ViewportDebugDraw" - } - ] - }, - { - "name": "viewport_set_measure_render_time", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "viewport_get_measured_render_time_cpu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "viewport", - "type": "RID" - } - ] - }, - { - "name": "viewport_get_measured_render_time_gpu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "viewport", - "type": "RID" - } - ] - }, - { - "name": "viewport_set_vrs_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 398809874, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.ViewportVRSMode" - } - ] - }, - { - "name": "viewport_set_vrs_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "viewport", - "type": "RID" - }, - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "sky_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "sky_set_radiance_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "sky", - "type": "RID" - }, - { - "name": "radiance_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "sky_set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3279019937, - "arguments": [ - { - "name": "sky", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.SkyMode" - } - ] - }, - { - "name": "sky_set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "sky", - "type": "RID" - }, - { - "name": "material", - "type": "RID" - } - ] - }, - { - "name": "sky_bake_panorama", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3875285818, - "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_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "environment_set_background", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937328877, - "arguments": [ - { - "name": "env", - "type": "RID" - }, - { - "name": "bg", - "type": "enum::RenderingServer.EnvironmentBG" - } - ] - }, - { - "name": "environment_set_sky", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "env", - "type": "RID" - }, - { - "name": "sky", - "type": "RID" - } - ] - }, - { - "name": "environment_set_sky_custom_fov", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "env", - "type": "RID" - }, - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "environment_set_sky_orientation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1735850857, - "arguments": [ - { - "name": "env", - "type": "RID" - }, - { - "name": "orientation", - "type": "Basis" - } - ] - }, - { - "name": "environment_set_bg_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "env", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "environment_set_bg_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2513314492, - "arguments": [ - { - "name": "env", - "type": "RID" - }, - { - "name": "multiplier", - "type": "float", - "meta": "float" - }, - { - "name": "exposure_value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "environment_set_canvas_max_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "env", - "type": "RID" - }, - { - "name": "max_layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "environment_set_ambient_light", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1214961493, - "hash_compatibility": [ - 491659071 - ], - "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": "environment_set_glow", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2421724940, - "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": "glow_map_strength", - "type": "float", - "meta": "float" - }, - { - "name": "glow_map", - "type": "RID" - } - ] - }, - { - "name": "environment_set_tonemap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2914312638, - "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": "environment_set_adjustment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 876799838, - "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_static": false, - "is_virtual": false, - "hash": 3607294374, - "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_static": false, - "is_virtual": false, - "hash": 3994732740, - "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_static": false, - "is_virtual": false, - "hash": 2793577733, - "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": "sky_affect", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "environment_set_sdfgi", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3519144388, - "arguments": [ - { - "name": "env", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - }, - { - "name": "cascades", - "type": "int", - "meta": "int32" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1553633833, - "arguments": [ - { - "name": "env", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - }, - { - "name": "density", - "type": "float", - "meta": "float" - }, - { - "name": "albedo", - "type": "Color" - }, - { - "name": "emission", - "type": "Color" - }, - { - "name": "emission_energy", - "type": "float", - "meta": "float" - }, - { - "name": "anisotropy", - "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": "ambient_inject", - "type": "float", - "meta": "float" - }, - { - "name": "sky_affect", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "environment_glow_set_use_bicubic_upscale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "environment_set_ssr_roughness_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1190026788, - "arguments": [ - { - "name": "quality", - "type": "enum::RenderingServer.EnvironmentSSRRoughnessQuality" - } - ] - }, - { - "name": "environment_set_ssao_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 189753569, - "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_ssil_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1713836683, - "arguments": [ - { - "name": "quality", - "type": "enum::RenderingServer.EnvironmentSSILQuality" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 340137951, - "arguments": [ - { - "name": "ray_count", - "type": "enum::RenderingServer.EnvironmentSDFGIRayCount" - } - ] - }, - { - "name": "environment_set_sdfgi_frames_to_converge", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2182444374, - "arguments": [ - { - "name": "frames", - "type": "enum::RenderingServer.EnvironmentSDFGIFramesToConverge" - } - ] - }, - { - "name": "environment_set_sdfgi_frames_to_update_light", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1251144068, - "arguments": [ - { - "name": "frames", - "type": "enum::RenderingServer.EnvironmentSDFGIFramesToUpdateLight" - } - ] - }, - { - "name": "environment_set_volumetric_fog_volume_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "environment_bake_panorama", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2452908646, - "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_static": false, - "is_virtual": false, - "hash": 916716790, - "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_static": false, - "is_virtual": false, - "hash": 64571803, - "arguments": [ - { - "name": "quality", - "type": "enum::RenderingServer.SubSurfaceScatteringQuality" - } - ] - }, - { - "name": "sub_surface_scattering_set_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1017552074, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - }, - { - "name": "depth_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "camera_attributes_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "camera_attributes_set_dof_blur_quality", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2220136795, - "arguments": [ - { - "name": "quality", - "type": "enum::RenderingServer.DOFBlurQuality" - }, - { - "name": "use_jitter", - "type": "bool" - } - ] - }, - { - "name": "camera_attributes_set_dof_blur_bokeh_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1205058394, - "arguments": [ - { - "name": "shape", - "type": "enum::RenderingServer.DOFBokehShape" - } - ] - }, - { - "name": "camera_attributes_set_dof_blur", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 316272616, - "arguments": [ - { - "name": "camera_attributes", - "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_attributes_set_exposure", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2513314492, - "arguments": [ - { - "name": "camera_attributes", - "type": "RID" - }, - { - "name": "multiplier", - "type": "float", - "meta": "float" - }, - { - "name": "normalization", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "camera_attributes_set_auto_exposure", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4266986332, - "arguments": [ - { - "name": "camera_attributes", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - }, - { - "name": "min_sensitivity", - "type": "float", - "meta": "float" - }, - { - "name": "max_sensitivity", - "type": "float", - "meta": "float" - }, - { - "name": "speed", - "type": "float", - "meta": "float" - }, - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "scenario_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "scenario_set_environment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "scenario", - "type": "RID" - }, - { - "name": "environment", - "type": "RID" - } - ] - }, - { - "name": "scenario_set_fallback_environment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "scenario", - "type": "RID" - }, - { - "name": "environment", - "type": "RID" - } - ] - }, - { - "name": "scenario_set_camera_attributes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "scenario", - "type": "RID" - }, - { - "name": "effects", - "type": "RID" - } - ] - }, - { - "name": "instance_create2", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 746547085, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "base", - "type": "RID" - }, - { - "name": "scenario", - "type": "RID" - } - ] - }, - { - "name": "instance_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "instance_set_base", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "base", - "type": "RID" - } - ] - }, - { - "name": "instance_set_scenario", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "scenario", - "type": "RID" - } - ] - }, - { - "name": "instance_set_layer_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "instance_set_pivot_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1280615259, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "sorting_offset", - "type": "float", - "meta": "float" - }, - { - "name": "use_aabb_center", - "type": "bool" - } - ] - }, - { - "name": "instance_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3935195649, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "instance_attach_object_instance_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "id", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "instance_set_blend_shape_weight", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1892459533, - "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_static": false, - "is_virtual": false, - "hash": 2310537182, - "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_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "instance_geometry_set_transparency", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "transparency", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "instance_set_custom_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3696536120, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "aabb", - "type": "AABB" - } - ] - }, - { - "name": "instance_attach_skeleton", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "skeleton", - "type": "RID" - } - ] - }, - { - "name": "instance_set_extra_visibility_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "instance_set_visibility_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "parent", - "type": "RID" - } - ] - }, - { - "name": "instance_set_ignore_culling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "instance_geometry_set_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1014989537, - "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_static": false, - "is_virtual": false, - "hash": 3768836020, - "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_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "material", - "type": "RID" - } - ] - }, - { - "name": "instance_geometry_set_material_overlay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "instance", - "type": "RID" - }, - { - "name": "material", - "type": "RID" - } - ] - }, - { - "name": "instance_geometry_set_visibility_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4263925858, - "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": "fade_mode", - "type": "enum::RenderingServer.VisibilityRangeFadeMode" - } - ] - }, - { - "name": "instance_geometry_set_lightmap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 536974962, - "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_static": false, - "is_virtual": false, - "hash": 1794382983, - "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_static": false, - "is_virtual": false, - "hash": 3477296213, - "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_static": false, - "is_virtual": false, - "hash": 2621281810, - "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_static": false, - "is_virtual": false, - "hash": 2621281810, - "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_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "instance", - "type": "RID" - } - ] - }, - { - "name": "instances_cull_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2570105777, - "hash_compatibility": [ - 2031554939 - ], - "return_value": { - "type": "PackedInt64Array" - }, - "arguments": [ - { - "name": "aabb", - "type": "AABB" - }, - { - "name": "scenario", - "type": "RID", - "default_value": "RID()" - } - ] - }, - { - "name": "instances_cull_ray", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2208759584, - "hash_compatibility": [ - 3388524336 - ], - "return_value": { - "type": "PackedInt64Array" - }, - "arguments": [ - { - "name": "from", - "type": "Vector3" - }, - { - "name": "to", - "type": "Vector3" - }, - { - "name": "scenario", - "type": "RID", - "default_value": "RID()" - } - ] - }, - { - "name": "instances_cull_convex", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2488539944, - "hash_compatibility": [ - 3690700105 - ], - "return_value": { - "type": "PackedInt64Array" - }, - "arguments": [ - { - "name": "convex", - "type": "typedarray::Plane" - }, - { - "name": "scenario", - "type": "RID", - "default_value": "RID()" - } - ] - }, - { - "name": "bake_render_uv2", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1904608558, - "return_value": { - "type": "typedarray::Image" - }, - "arguments": [ - { - "name": "base", - "type": "RID" - }, - { - "name": "material_overrides", - "type": "typedarray::RID" - }, - { - "name": "image_size", - "type": "Vector2i" - } - ] - }, - { - "name": "canvas_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "canvas_set_item_mirroring", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2343975398, - "arguments": [ - { - "name": "canvas", - "type": "RID" - }, - { - "name": "item", - "type": "RID" - }, - { - "name": "mirroring", - "type": "Vector2" - } - ] - }, - { - "name": "canvas_set_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "canvas", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "canvas_set_disable_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "canvas_texture_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "canvas_texture_set_channel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3822119138, - "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_static": false, - "is_virtual": false, - "hash": 2124967469, - "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_static": false, - "is_virtual": false, - "hash": 1155129294, - "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_static": false, - "is_virtual": false, - "hash": 1652956681, - "arguments": [ - { - "name": "canvas_texture", - "type": "RID" - }, - { - "name": "repeat", - "type": "enum::RenderingServer.CanvasItemTextureRepeat" - } - ] - }, - { - "name": "canvas_item_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "canvas_item_set_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "parent", - "type": "RID" - } - ] - }, - { - "name": "canvas_item_set_default_texture_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1155129294, - "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_static": false, - "is_virtual": false, - "hash": 1652956681, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "repeat", - "type": "enum::RenderingServer.CanvasItemTextureRepeat" - } - ] - }, - { - "name": "canvas_item_set_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "canvas_item_set_light_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "canvas_item_set_visibility_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "visibility_layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "canvas_item_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1246044741, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "canvas_item_set_clip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "clip", - "type": "bool" - } - ] - }, - { - "name": "canvas_item_set_distance_field_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "canvas_item_set_custom_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1333997032, - "hash_compatibility": [ - 2180266943 - ], - "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_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "canvas_item_set_self_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "canvas_item_set_draw_behind_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "canvas_item_add_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1819681853, - "hash_compatibility": [ - 2843922985 - ], - "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": "antialiased", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "canvas_item_add_polyline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3098767073, - "hash_compatibility": [ - 3438017257 - ], - "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_multiline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2088642721, - "hash_compatibility": [ - 3176074788 - ], - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "points", - "type": "PackedVector2Array" - }, - { - "name": "colors", - "type": "PackedColorArray" - }, - { - "name": "width", - "type": "float", - "meta": "float", - "default_value": "-1.0" - } - ] - }, - { - "name": "canvas_item_add_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 934531857, - "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_static": false, - "is_virtual": false, - "hash": 2439351960, - "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_static": false, - "is_virtual": false, - "hash": 324864032, - "hash_compatibility": [ - 3205360868 - ], - "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_msdf_texture_rect_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 97408773, - "hash_compatibility": [ - 349157222 - ], - "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": "outline_size", - "type": "int", - "meta": "int32", - "default_value": "0" - }, - { - "name": "px_range", - "type": "float", - "meta": "float", - "default_value": "1.0" - }, - { - "name": "scale", - "type": "float", - "meta": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "canvas_item_add_lcd_texture_rect_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 359793297, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "rect", - "type": "Rect2" - }, - { - "name": "texture", - "type": "RID" - }, - { - "name": "src_rect", - "type": "Rect2" - }, - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "canvas_item_add_texture_rect_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 485157892, - "hash_compatibility": [ - 2782979504 - ], - "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_static": false, - "is_virtual": false, - "hash": 389957886, - "hash_compatibility": [ - 904428547 - ], - "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_static": false, - "is_virtual": false, - "hash": 3731601077, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "points", - "type": "PackedVector2Array" - }, - { - "name": "colors", - "type": "PackedColorArray" - }, - { - "name": "uvs", - "type": "PackedVector2Array" - }, - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "canvas_item_add_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3580000528, - "hash_compatibility": [ - 2907936855 - ], - "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": "RID()" - } - ] - }, - { - "name": "canvas_item_add_triangle_array", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 660261329, - "hash_compatibility": [ - 749685193 - ], - "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": "RID()" - }, - { - "name": "count", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "canvas_item_add_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 316450961, - "hash_compatibility": [ - 3548053052 - ], - "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": "RID()" - } - ] - }, - { - "name": "canvas_item_add_multimesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2131855138, - "hash_compatibility": [ - 1541595251 - ], - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "mesh", - "type": "RID" - }, - { - "name": "texture", - "type": "RID", - "default_value": "RID()" - } - ] - }, - { - "name": "canvas_item_add_particles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2575754278, - "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_static": false, - "is_virtual": false, - "hash": 1246044741, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "canvas_item_add_clip_ignore", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "ignore", - "type": "bool" - } - ] - }, - { - "name": "canvas_item_add_animation_slice", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2646834499, - "hash_compatibility": [ - 4107531031 - ], - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "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": "canvas_item_set_sort_children_by_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "canvas_item_set_z_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "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_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "canvas_item_set_copy_to_backbuffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2429202503, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - }, - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "canvas_item_clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "item", - "type": "RID" - } - ] - }, - { - "name": "canvas_item_set_draw_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "canvas_item_set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "material", - "type": "RID" - } - ] - }, - { - "name": "canvas_item_set_use_parent_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "item", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "canvas_item_set_visibility_notifier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3568945579, - "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_static": false, - "is_virtual": false, - "hash": 3973586316, - "hash_compatibility": [ - 41973386 - ], - "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_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "canvas_light_attach_to_canvas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - } - ] - }, - { - "name": "canvas_light_set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "canvas_light_set_texture_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "canvas_light_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1246044741, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "canvas_light_set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "texture", - "type": "RID" - } - ] - }, - { - "name": "canvas_light_set_texture_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3201125042, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "canvas_light_set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "canvas_light_set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "canvas_light_set_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "canvas_light_set_z_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288446313, - "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_static": false, - "is_virtual": false, - "hash": 4288446313, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "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_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "canvas_light_set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2957564891, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.CanvasLightMode" - } - ] - }, - { - "name": "canvas_light_set_shadow_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "canvas_light_set_shadow_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 393119659, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "filter", - "type": "enum::RenderingServer.CanvasLightShadowFilter" - } - ] - }, - { - "name": "canvas_light_set_shadow_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "canvas_light_set_shadow_smooth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "smooth", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "canvas_light_set_blend_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 804895945, - "arguments": [ - { - "name": "light", - "type": "RID" - }, - { - "name": "mode", - "type": "enum::RenderingServer.CanvasLightBlendMode" - } - ] - }, - { - "name": "canvas_light_occluder_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "canvas_light_occluder_attach_to_canvas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "occluder", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - } - ] - }, - { - "name": "canvas_light_occluder_set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "occluder", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "canvas_light_occluder_set_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 395945892, - "arguments": [ - { - "name": "occluder", - "type": "RID" - }, - { - "name": "polygon", - "type": "RID" - } - ] - }, - { - "name": "canvas_light_occluder_set_as_sdf_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "occluder", - "type": "RID" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "canvas_light_occluder_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1246044741, - "arguments": [ - { - "name": "occluder", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "canvas_light_occluder_set_light_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "occluder", - "type": "RID" - }, - { - "name": "mask", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "canvas_occluder_polygon_create", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "canvas_occluder_polygon_set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2103882027, - "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_static": false, - "is_virtual": false, - "hash": 1839404663, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "global_shader_parameter_add", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 463390080, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "type", - "type": "enum::RenderingServer.GlobalShaderParameterType" - }, - { - "name": "default_value", - "type": "Variant" - } - ] - }, - { - "name": "global_shader_parameter_remove", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "global_shader_parameter_get_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::StringName" - } - }, - { - "name": "global_shader_parameter_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "global_shader_parameter_set_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "global_shader_parameter_get", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "global_shader_parameter_get_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1601414142, - "return_value": { - "type": "enum::RenderingServer.GlobalShaderParameterType" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "free_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "request_frame_drawn_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "has_changed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_rendering_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3763192241, - "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_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_video_adapter_vendor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_video_adapter_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3099547011, - "return_value": { - "type": "enum::RenderingDevice.DeviceType" - } - }, - { - "name": "get_video_adapter_api_version", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "make_sphere_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2251015897, - "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_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_test_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_white_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_boot_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3759744527, - "hash_compatibility": [ - 2244367877 - ], - "arguments": [ - { - "name": "image", - "type": "Image" - }, - { - "name": "color", - "type": "Color" - }, - { - "name": "scale", - "type": "bool" - }, - { - "name": "use_filter", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_default_clear_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3200896285, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_default_clear_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "has_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 598462696, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "feature", - "type": "enum::RenderingServer.Features" - } - ] - }, - { - "name": "has_os_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "feature", - "type": "String" - } - ] - }, - { - "name": "set_debug_generate_wireframes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "generate", - "type": "bool" - } - ] - }, - { - "name": "is_render_loop_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_render_loop_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_frame_setup_time_cpu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "force_sync", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "force_draw", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1076185472, - "arguments": [ - { - "name": "swap_buffers", - "type": "bool", - "default_value": "true" - }, - { - "name": "frame_step", - "type": "float", - "meta": "double", - "default_value": "0.0" - } - ] - }, - { - "name": "get_rendering_device", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1405107940, - "return_value": { - "type": "RenderingDevice" - } - }, - { - "name": "create_local_rendering_device", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1405107940, - "return_value": { - "type": "RenderingDevice" - } - }, - { - "name": "call_on_render_thread", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "callable", - "type": "Callable" - } - ] - } - ], - "signals": [ - { - "name": "frame_pre_draw" - }, - { - "name": "frame_post_draw" - } - ], - "properties": [ - { - "type": "bool", - "name": "render_loop_enabled", - "setter": "set_render_loop_enabled", - "getter": "is_render_loop_enabled" - } - ] - }, - { - "name": "Resource", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "_setup_local_to_scene", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "set_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "take_over_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_local_to_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_local_to_scene", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_local_scene", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "setup_local_to_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "emit_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "duplicate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 482882304, - "return_value": { - "type": "Resource" - }, - "arguments": [ - { - "name": "subresources", - "type": "bool", - "default_value": "false" - } - ] - } - ], - "signals": [ - { - "name": "changed" - }, - { - "name": "setup_local_to_scene_requested" - } - ], - "properties": [ - { - "type": "bool", - "name": "resource_local_to_scene", - "setter": "set_local_to_scene", - "getter": "is_local_to_scene" - }, - { - "type": "String", - "name": "resource_path", - "setter": "set_path", - "getter": "get_path" - }, - { - "type": "String", - "name": "resource_name", - "setter": "set_name", - "getter": "get_name" - } - ] - }, - { - "name": "ResourceFormatLoader", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "CacheMode", - "is_bitfield": false, - "values": [ - { - "name": "CACHE_MODE_IGNORE", - "value": 0 - }, - { - "name": "CACHE_MODE_REUSE", - "value": 1 - }, - { - "name": "CACHE_MODE_REPLACE", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "_get_recognized_extensions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_recognize_path", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "type", - "type": "StringName" - } - ] - }, - { - "name": "_handles_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "type", - "type": "StringName" - } - ] - }, - { - "name": "_get_resource_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_get_resource_script_class", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_get_resource_uid", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_get_dependencies", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "add_types", - "type": "bool" - } - ] - }, - { - "name": "_rename_dependencies", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "renames", - "type": "Dictionary" - } - ] - }, - { - "name": "_exists", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_get_classes_used", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_load", - "is_const": true, - "is_static": 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", - "meta": "int32" - } - ] - } - ] - }, - { - "name": "ResourceFormatSaver", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "_save", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "resource", - "type": "Resource" - }, - { - "name": "path", - "type": "String" - }, - { - "name": "flags", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "_set_uid", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "uid", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_recognize", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "_get_recognized_extensions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "_recognize_path", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "resource", - "type": "Resource" - }, - { - "name": "path", - "type": "String" - } - ] - } - ] - }, - { - "name": "ResourceImporter", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "ImportOrder", - "is_bitfield": false, - "values": [ - { - "name": "IMPORT_ORDER_DEFAULT", - "value": 0 - }, - { - "name": "IMPORT_ORDER_SCENE", - "value": 100 - } - ] - } - ] - }, - { - "name": "ResourceImporterBMFont", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterBitMap", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterCSVTranslation", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterDynamicFont", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterImage", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterImageFont", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterLayeredTexture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterMP3", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "core" - }, - { - "name": "ResourceImporterOBJ", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterOggVorbis", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "core", - "methods": [ - { - "name": "load_from_buffer", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 354904730, - "return_value": { - "type": "AudioStreamOggVorbis" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - }, - { - "name": "load_from_file", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 797568536, - "return_value": { - "type": "AudioStreamOggVorbis" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ] - }, - { - "name": "ResourceImporterScene", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterShaderFile", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterTexture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterTextureAtlas", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceImporterWAV", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ResourceImporter", - "api_type": "editor" - }, - { - "name": "ResourceLoader", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "ThreadLoadStatus", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3614384323, - "hash_compatibility": [ - 1939848623 - ], - "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": "cache_mode", - "type": "enum::ResourceLoader.CacheMode", - "default_value": "1" - } - ] - }, - { - "name": "load_threaded_get_status", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4137685479, - "hash_compatibility": [ - 3931021148 - ], - "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_static": false, - "is_virtual": false, - "hash": 1748875256, - "return_value": { - "type": "Resource" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "load", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3358495409, - "hash_compatibility": [ - 2622212233 - ], - "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_static": false, - "is_virtual": false, - "hash": 3538744774, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "type", - "type": "String" - } - ] - }, - { - "name": "add_resource_format_loader", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2896595483, - "arguments": [ - { - "name": "format_loader", - "type": "ResourceFormatLoader" - }, - { - "name": "at_front", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "remove_resource_format_loader", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 405397102, - "arguments": [ - { - "name": "format_loader", - "type": "ResourceFormatLoader" - } - ] - }, - { - "name": "set_abort_on_missing_resources", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "abort", - "type": "bool" - } - ] - }, - { - "name": "get_dependencies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3538744774, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "has_cached", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "exists", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4185558881, - "hash_compatibility": [ - 2220807150 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "type_hint", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "get_resource_uid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1597066294, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ] - }, - { - "name": "ResourcePreloader", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "methods": [ - { - "name": "add_resource", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1168801743, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "remove_resource", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "rename_resource", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "newname", - "type": "StringName" - } - ] - }, - { - "name": "has_resource", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_resource", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3742749261, - "return_value": { - "type": "Resource" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_resource_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - } - ], - "properties": [ - { - "type": "Array", - "name": "resources", - "setter": "_set_resources", - "getter": "_get_resources" - } - ] - }, - { - "name": "ResourceSaver", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "SaverFlags", - "is_bitfield": true, - "values": [ - { - "name": "FLAG_NONE", - "value": 0 - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2983274697, - "hash_compatibility": [ - 2303056517 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "resource", - "type": "Resource" - }, - { - "name": "path", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "flags", - "type": "bitfield::ResourceSaver.SaverFlags", - "default_value": "0" - } - ] - }, - { - "name": "get_recognized_extensions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4223597960, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "type", - "type": "Resource" - } - ] - }, - { - "name": "add_resource_format_saver", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 362894272, - "arguments": [ - { - "name": "format_saver", - "type": "ResourceFormatSaver" - }, - { - "name": "at_front", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "remove_resource_format_saver", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3373026878, - "arguments": [ - { - "name": "format_saver", - "type": "ResourceFormatSaver" - } - ] - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "text_to_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "text_id", - "type": "String" - } - ] - }, - { - "name": "create_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "has_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "add_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "set_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - }, - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "get_id_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "remove_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int64" - } - ] - } - ] - }, - { - "name": "RibbonTrailMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PrimitiveMesh", - "api_type": "core", - "enums": [ - { - "name": "Shape", - "is_bitfield": false, - "values": [ - { - "name": "SHAPE_FLAT", - "value": 0 - }, - { - "name": "SHAPE_CROSS", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sections", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_section_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "section_length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_section_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_section_segments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "section_segments", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_section_segments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - }, - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1684440262, - "arguments": [ - { - "name": "shape", - "type": "enum::RibbonTrailMesh.Shape" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1317484155, - "return_value": { - "type": "enum::RibbonTrailMesh.Shape" - } - } - ], - "properties": [ - { - "type": "int", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "float", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "int", - "name": "sections", - "setter": "set_sections", - "getter": "get_sections" - }, - { - "type": "float", - "name": "section_length", - "setter": "set_section_length", - "getter": "get_section_length" - }, - { - "type": "int", - "name": "section_segments", - "setter": "set_section_segments", - "getter": "get_section_segments" - }, - { - "type": "Curve", - "name": "curve", - "setter": "set_curve", - "getter": "get_curve" - } - ] - }, - { - "name": "RichTextEffect", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "_process_custom_fx", - "is_const": true, - "is_static": 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": "ListType", - "is_bitfield": false, - "values": [ - { - "name": "LIST_NUMBERS", - "value": 0 - }, - { - "name": "LIST_LETTERS", - "value": 1 - }, - { - "name": "LIST_ROMAN", - "value": 2 - }, - { - "name": "LIST_DOTS", - "value": 3 - } - ] - }, - { - "name": "MenuItems", - "is_bitfield": false, - "values": [ - { - "name": "MENU_COPY", - "value": 0 - }, - { - "name": "MENU_SELECT_ALL", - "value": 1 - }, - { - "name": "MENU_MAX", - "value": 2 - } - ] - }, - { - "name": "ImageUpdateMask", - "is_bitfield": true, - "values": [ - { - "name": "UPDATE_TEXTURE", - "value": 1 - }, - { - "name": "UPDATE_SIZE", - "value": 2 - }, - { - "name": "UPDATE_COLOR", - "value": 4 - }, - { - "name": "UPDATE_ALIGNMENT", - "value": 8 - }, - { - "name": "UPDATE_REGION", - "value": 16 - }, - { - "name": "UPDATE_PAD", - "value": 32 - }, - { - "name": "UPDATE_TOOLTIP", - "value": 64 - }, - { - "name": "UPDATE_WIDTH_IN_PERCENT", - "value": 128 - } - ] - } - ], - "methods": [ - { - "name": "get_parsed_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "add_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "set_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "add_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3017663154, - "hash_compatibility": [ - 3580801207, - 3346058748 - ], - "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::InlineAlignment", - "default_value": "5" - }, - { - "name": "region", - "type": "Rect2", - "default_value": "Rect2(0, 0, 0, 0)" - }, - { - "name": "key", - "type": "Variant", - "default_value": "null" - }, - { - "name": "pad", - "type": "bool", - "default_value": "false" - }, - { - "name": "tooltip", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "size_in_percent", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "update_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 815048486, - "arguments": [ - { - "name": "key", - "type": "Variant" - }, - { - "name": "mask", - "type": "bitfield::RichTextLabel.ImageUpdateMask" - }, - { - "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::InlineAlignment", - "default_value": "5" - }, - { - "name": "region", - "type": "Rect2", - "default_value": "Rect2(0, 0, 0, 0)" - }, - { - "name": "pad", - "type": "bool", - "default_value": "false" - }, - { - "name": "tooltip", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "size_in_percent", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "newline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "remove_paragraph", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3067735520, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "paragraph", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "push_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2347424842, - "hash_compatibility": [ - 3014009009, - 814287596 - ], - "arguments": [ - { - "name": "font", - "type": "Font" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "push_font_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "font_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "push_normal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "push_bold", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "push_bold_italics", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "push_italics", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "push_mono", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "push_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "push_outline_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "outline_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "push_outline_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "push_paragraph", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3089306873, - "hash_compatibility": [ - 3218895358 - ], - "arguments": [ - { - "name": "alignment", - "type": "enum::HorizontalAlignment" - }, - { - "name": "base_direction", - "type": "enum::Control.TextDirection", - "default_value": "0" - }, - { - "name": "language", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "st_parser", - "type": "enum::TextServer.StructuredTextParser", - "default_value": "0" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "163" - }, - { - "name": "tab_stops", - "type": "PackedFloat32Array", - "default_value": "PackedFloat32Array()" - } - ] - }, - { - "name": "push_indent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "level", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "push_list", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3017143144, - "hash_compatibility": [ - 4036303897 - ], - "arguments": [ - { - "name": "level", - "type": "int", - "meta": "int32" - }, - { - "name": "type", - "type": "enum::RichTextLabel.ListType" - }, - { - "name": "capitalize", - "type": "bool" - }, - { - "name": "bullet", - "type": "String", - "default_value": "\"•\"" - } - ] - }, - { - "name": "push_meta", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1114965689, - "arguments": [ - { - "name": "data", - "type": "Variant" - } - ] - }, - { - "name": "push_hint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "description", - "type": "String" - } - ] - }, - { - "name": "push_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "push_underline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "push_strikethrough", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "push_table", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2623499273, - "hash_compatibility": [ - 1125058220 - ], - "arguments": [ - { - "name": "columns", - "type": "int", - "meta": "int32" - }, - { - "name": "inline_align", - "type": "enum::InlineAlignment", - "default_value": "0" - }, - { - "name": "align_to_row", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "push_dropcap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4061635501, - "hash_compatibility": [ - 311501835 - ], - "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_static": false, - "is_virtual": false, - "hash": 2185176273, - "hash_compatibility": [ - 4258957458, - 4132157579 - ], - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "expand", - "type": "bool" - }, - { - "name": "ratio", - "type": "int", - "meta": "int32", - "default_value": "1" - } - ] - }, - { - "name": "set_cell_row_background_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3465483165, - "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_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "set_cell_size_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3108078480, - "arguments": [ - { - "name": "min_size", - "type": "Vector2" - }, - { - "name": "max_size", - "type": "Vector2" - } - ] - }, - { - "name": "set_cell_padding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "padding", - "type": "Rect2" - } - ] - }, - { - "name": "push_cell", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "push_fgcolor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "fgcolor", - "type": "Color" - } - ] - }, - { - "name": "push_bgcolor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "bgcolor", - "type": "Color" - } - ] - }, - { - "name": "push_customfx", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2337942958, - "arguments": [ - { - "name": "effect", - "type": "RichTextEffect" - }, - { - "name": "env", - "type": "Dictionary" - } - ] - }, - { - "name": "push_context", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "pop_context", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "pop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "pop_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_structured_text_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 55961453, - "arguments": [ - { - "name": "parser", - "type": "enum::TextServer.StructuredTextParser" - } - ] - }, - { - "name": "get_structured_text_bidi_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3385126229, - "return_value": { - "type": "enum::TextServer.StructuredTextParser" - } - }, - { - "name": "set_structured_text_bidi_override_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "args", - "type": "Array" - } - ] - }, - { - "name": "get_structured_text_bidi_override_options", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 119160795, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.TextDirection" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 797257663, - "return_value": { - "type": "enum::Control.TextDirection" - } - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_autowrap_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3289138044, - "arguments": [ - { - "name": "autowrap_mode", - "type": "enum::TextServer.AutowrapMode" - } - ] - }, - { - "name": "get_autowrap_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1549071663, - "return_value": { - "type": "enum::TextServer.AutowrapMode" - } - }, - { - "name": "set_meta_underline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_meta_underlined", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hint_underline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_hint_underlined", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_scroll_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "is_scroll_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_scroll_follow", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "follow", - "type": "bool" - } - ] - }, - { - "name": "is_scroll_following", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_v_scroll_bar", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2630340773, - "return_value": { - "type": "VScrollBar" - } - }, - { - "name": "scroll_to_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "scroll_to_paragraph", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "paragraph", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "scroll_to_selection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_tab_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "spaces", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tab_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_fit_content", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_fit_content_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_selection_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_selection_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_context_menu_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_context_menu_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shortcut_keys_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_shortcut_keys_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_deselect_on_focus_loss_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_deselect_on_focus_loss_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_drag_and_drop_selection_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_drag_and_drop_selection_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_selection_from", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_selection_to", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "select_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_selected_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "deselect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "parse_bbcode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "bbcode", - "type": "String" - } - ] - }, - { - "name": "append_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "bbcode", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_ready", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_threaded", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "threaded", - "type": "bool" - } - ] - }, - { - "name": "is_threaded", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_progress_bar_delay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "delay_ms", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_progress_bar_delay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_visible_characters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_visible_characters", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_visible_characters_behavior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 258789322, - "return_value": { - "type": "enum::TextServer.VisibleCharactersBehavior" - } - }, - { - "name": "set_visible_characters_behavior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3383839701, - "arguments": [ - { - "name": "behavior", - "type": "enum::TextServer.VisibleCharactersBehavior" - } - ] - }, - { - "name": "set_visible_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_visible_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_character_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3744713108, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "character", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_character_paragraph", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3744713108, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "character", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_total_character_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_use_bbcode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_bbcode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_line_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_visible_line_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_paragraph_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_visible_paragraph_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_content_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_content_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_line_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4025615559, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_paragraph_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4025615559, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "paragraph", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "parse_expressions_for_values", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1522900837, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "expressions", - "type": "PackedStringArray" - } - ] - }, - { - "name": "set_effects", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "effects", - "type": "Array" - } - ] - }, - { - "name": "get_effects", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "Array" - } - }, - { - "name": "install_effect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1114965689, - "arguments": [ - { - "name": "effect", - "type": "Variant" - } - ] - }, - { - "name": "get_menu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 229722558, - "return_value": { - "type": "PopupMenu" - } - }, - { - "name": "is_menu_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "menu_option", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "option", - "type": "int", - "meta": "int32" - } - ] - } - ], - "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" - } - ] - }, - { - "name": "finished" - } - ], - "properties": [ - { - "type": "bool", - "name": "bbcode_enabled", - "setter": "set_use_bbcode", - "getter": "is_using_bbcode" - }, - { - "type": "String", - "name": "text", - "setter": "set_text", - "getter": "get_text" - }, - { - "type": "bool", - "name": "fit_content", - "setter": "set_fit_content", - "getter": "is_fit_content_enabled" - }, - { - "type": "bool", - "name": "scroll_active", - "setter": "set_scroll_active", - "getter": "is_scroll_active" - }, - { - "type": "bool", - "name": "scroll_following", - "setter": "set_scroll_follow", - "getter": "is_scroll_following" - }, - { - "type": "int", - "name": "autowrap_mode", - "setter": "set_autowrap_mode", - "getter": "get_autowrap_mode" - }, - { - "type": "int", - "name": "tab_size", - "setter": "set_tab_size", - "getter": "get_tab_size" - }, - { - "type": "bool", - "name": "context_menu_enabled", - "setter": "set_context_menu_enabled", - "getter": "is_context_menu_enabled" - }, - { - "type": "bool", - "name": "shortcut_keys_enabled", - "setter": "set_shortcut_keys_enabled", - "getter": "is_shortcut_keys_enabled" - }, - { - "type": "typedarray::24/17:RichTextEffect", - "name": "custom_effects", - "setter": "set_effects", - "getter": "get_effects" - }, - { - "type": "bool", - "name": "meta_underlined", - "setter": "set_meta_underline", - "getter": "is_meta_underlined" - }, - { - "type": "bool", - "name": "hint_underlined", - "setter": "set_hint_underline", - "getter": "is_hint_underlined" - }, - { - "type": "bool", - "name": "threaded", - "setter": "set_threaded", - "getter": "is_threaded" - }, - { - "type": "int", - "name": "progress_bar_delay", - "setter": "set_progress_bar_delay", - "getter": "get_progress_bar_delay" - }, - { - "type": "bool", - "name": "selection_enabled", - "setter": "set_selection_enabled", - "getter": "is_selection_enabled" - }, - { - "type": "bool", - "name": "deselect_on_focus_loss_enabled", - "setter": "set_deselect_on_focus_loss_enabled", - "getter": "is_deselect_on_focus_loss_enabled" - }, - { - "type": "bool", - "name": "drag_and_drop_selection_enabled", - "setter": "set_drag_and_drop_selection_enabled", - "getter": "is_drag_and_drop_selection_enabled" - }, - { - "type": "int", - "name": "visible_characters", - "setter": "set_visible_characters", - "getter": "get_visible_characters" - }, - { - "type": "int", - "name": "visible_characters_behavior", - "setter": "set_visible_characters_behavior", - "getter": "get_visible_characters_behavior" - }, - { - "type": "float", - "name": "visible_ratio", - "setter": "set_visible_ratio", - "getter": "get_visible_ratio" - }, - { - "type": "int", - "name": "text_direction", - "setter": "set_text_direction", - "getter": "get_text_direction" - }, - { - "type": "String", - "name": "language", - "setter": "set_language", - "getter": "get_language" - }, - { - "type": "int", - "name": "structured_text_bidi_override", - "setter": "set_structured_text_bidi_override", - "getter": "get_structured_text_bidi_override" - }, - { - "type": "Array", - "name": "structured_text_bidi_override_options", - "setter": "set_structured_text_bidi_override_options", - "getter": "get_structured_text_bidi_override_options" - } - ] - }, - { - "name": "RigidBody2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsBody2D", - "api_type": "core", - "enums": [ - { - "name": "FreezeMode", - "is_bitfield": false, - "values": [ - { - "name": "FREEZE_MODE_STATIC", - "value": 0 - }, - { - "name": "FREEZE_MODE_KINEMATIC", - "value": 1 - } - ] - }, - { - "name": "CenterOfMassMode", - "is_bitfield": false, - "values": [ - { - "name": "CENTER_OF_MASS_MODE_AUTO", - "value": 0 - }, - { - "name": "CENTER_OF_MASS_MODE_CUSTOM", - "value": 1 - } - ] - }, - { - "name": "DampMode", - "is_bitfield": false, - "values": [ - { - "name": "DAMP_MODE_COMBINE", - "value": 0 - }, - { - "name": "DAMP_MODE_REPLACE", - "value": 1 - } - ] - }, - { - "name": "CCDMode", - "is_bitfield": false, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "state", - "type": "PhysicsDirectBodyState2D" - } - ] - }, - { - "name": "set_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mass", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_inertia", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_inertia", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "inertia", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_center_of_mass_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1757235706, - "arguments": [ - { - "name": "mode", - "type": "enum::RigidBody2D.CenterOfMassMode" - } - ] - }, - { - "name": "get_center_of_mass_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3277132817, - "return_value": { - "type": "enum::RigidBody2D.CenterOfMassMode" - } - }, - { - "name": "set_center_of_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "center_of_mass", - "type": "Vector2" - } - ] - }, - { - "name": "get_center_of_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_physics_material_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1784508650, - "arguments": [ - { - "name": "physics_material_override", - "type": "PhysicsMaterial" - } - ] - }, - { - "name": "get_physics_material_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2521850424, - "return_value": { - "type": "PhysicsMaterial" - } - }, - { - "name": "set_gravity_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "gravity_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gravity_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_damp_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3406533708, - "arguments": [ - { - "name": "linear_damp_mode", - "type": "enum::RigidBody2D.DampMode" - } - ] - }, - { - "name": "get_linear_damp_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2970511462, - "return_value": { - "type": "enum::RigidBody2D.DampMode" - } - }, - { - "name": "set_angular_damp_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3406533708, - "arguments": [ - { - "name": "angular_damp_mode", - "type": "enum::RigidBody2D.DampMode" - } - ] - }, - { - "name": "get_angular_damp_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2970511462, - "return_value": { - "type": "enum::RigidBody2D.DampMode" - } - }, - { - "name": "set_linear_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "linear_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_linear_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_angular_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angular_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_angular_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "linear_velocity", - "type": "Vector2" - } - ] - }, - { - "name": "get_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angular_velocity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_contacts_reported", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_contacts_reported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_contact_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_use_custom_integrator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_custom_integrator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_contact_monitor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_contact_monitor_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_continuous_collision_detection_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1000241384, - "arguments": [ - { - "name": "mode", - "type": "enum::RigidBody2D.CCDMode" - } - ] - }, - { - "name": "get_continuous_collision_detection_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 815214376, - "return_value": { - "type": "enum::RigidBody2D.CCDMode" - } - }, - { - "name": "set_axis_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "axis_velocity", - "type": "Vector2" - } - ] - }, - { - "name": "apply_central_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3862383994, - "arguments": [ - { - "name": "impulse", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "apply_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288681949, - "hash_compatibility": [ - 496058220 - ], - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "apply_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "apply_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288681949, - "hash_compatibility": [ - 496058220 - ], - "arguments": [ - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "apply_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "add_constant_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "add_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4288681949, - "hash_compatibility": [ - 496058220 - ], - "arguments": [ - { - "name": "force", - "type": "Vector2" - }, - { - "name": "position", - "type": "Vector2", - "default_value": "Vector2(0, 0)" - } - ] - }, - { - "name": "add_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "force", - "type": "Vector2" - } - ] - }, - { - "name": "get_constant_force", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "torque", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_constant_torque", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sleeping", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "sleeping", - "type": "bool" - } - ] - }, - { - "name": "is_sleeping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_can_sleep", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "able_to_sleep", - "type": "bool" - } - ] - }, - { - "name": "is_able_to_sleep", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_lock_rotation_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "lock_rotation", - "type": "bool" - } - ] - }, - { - "name": "is_lock_rotation_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_freeze_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "freeze_mode", - "type": "bool" - } - ] - }, - { - "name": "is_freeze_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_freeze_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1705112154, - "arguments": [ - { - "name": "freeze_mode", - "type": "enum::RigidBody2D.FreezeMode" - } - ] - }, - { - "name": "get_freeze_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2016872314, - "return_value": { - "type": "enum::RigidBody2D.FreezeMode" - } - }, - { - "name": "get_colliding_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Node2D" - } - } - ], - "signals": [ - { - "name": "body_shape_entered", - "arguments": [ - { - "name": "body_rid", - "type": "RID" - }, - { - "name": "body", - "type": "Node" - }, - { - "name": "body_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_shape_exited", - "arguments": [ - { - "name": "body_rid", - "type": "RID" - }, - { - "name": "body", - "type": "Node" - }, - { - "name": "body_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_entered", - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "body_exited", - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "sleeping_state_changed" - } - ], - "properties": [ - { - "type": "float", - "name": "mass", - "setter": "set_mass", - "getter": "get_mass" - }, - { - "type": "PhysicsMaterial", - "name": "physics_material_override", - "setter": "set_physics_material_override", - "getter": "get_physics_material_override" - }, - { - "type": "float", - "name": "gravity_scale", - "setter": "set_gravity_scale", - "getter": "get_gravity_scale" - }, - { - "type": "int", - "name": "center_of_mass_mode", - "setter": "set_center_of_mass_mode", - "getter": "get_center_of_mass_mode" - }, - { - "type": "Vector2", - "name": "center_of_mass", - "setter": "set_center_of_mass", - "getter": "get_center_of_mass" - }, - { - "type": "float", - "name": "inertia", - "setter": "set_inertia", - "getter": "get_inertia" - }, - { - "type": "bool", - "name": "sleeping", - "setter": "set_sleeping", - "getter": "is_sleeping" - }, - { - "type": "bool", - "name": "can_sleep", - "setter": "set_can_sleep", - "getter": "is_able_to_sleep" - }, - { - "type": "bool", - "name": "lock_rotation", - "setter": "set_lock_rotation_enabled", - "getter": "is_lock_rotation_enabled" - }, - { - "type": "bool", - "name": "freeze", - "setter": "set_freeze_enabled", - "getter": "is_freeze_enabled" - }, - { - "type": "int", - "name": "freeze_mode", - "setter": "set_freeze_mode", - "getter": "get_freeze_mode" - }, - { - "type": "bool", - "name": "custom_integrator", - "setter": "set_use_custom_integrator", - "getter": "is_using_custom_integrator" - }, - { - "type": "int", - "name": "continuous_cd", - "setter": "set_continuous_collision_detection_mode", - "getter": "get_continuous_collision_detection_mode" - }, - { - "type": "int", - "name": "max_contacts_reported", - "setter": "set_max_contacts_reported", - "getter": "get_max_contacts_reported" - }, - { - "type": "bool", - "name": "contact_monitor", - "setter": "set_contact_monitor", - "getter": "is_contact_monitor_enabled" - }, - { - "type": "Vector2", - "name": "linear_velocity", - "setter": "set_linear_velocity", - "getter": "get_linear_velocity" - }, - { - "type": "int", - "name": "linear_damp_mode", - "setter": "set_linear_damp_mode", - "getter": "get_linear_damp_mode" - }, - { - "type": "float", - "name": "linear_damp", - "setter": "set_linear_damp", - "getter": "get_linear_damp" - }, - { - "type": "float", - "name": "angular_velocity", - "setter": "set_angular_velocity", - "getter": "get_angular_velocity" - }, - { - "type": "int", - "name": "angular_damp_mode", - "setter": "set_angular_damp_mode", - "getter": "get_angular_damp_mode" - }, - { - "type": "float", - "name": "angular_damp", - "setter": "set_angular_damp", - "getter": "get_angular_damp" - }, - { - "type": "Vector2", - "name": "constant_force", - "setter": "set_constant_force", - "getter": "get_constant_force" - }, - { - "type": "float", - "name": "constant_torque", - "setter": "set_constant_torque", - "getter": "get_constant_torque" - } - ] - }, - { - "name": "RigidBody3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "PhysicsBody3D", - "api_type": "core", - "enums": [ - { - "name": "FreezeMode", - "is_bitfield": false, - "values": [ - { - "name": "FREEZE_MODE_STATIC", - "value": 0 - }, - { - "name": "FREEZE_MODE_KINEMATIC", - "value": 1 - } - ] - }, - { - "name": "CenterOfMassMode", - "is_bitfield": false, - "values": [ - { - "name": "CENTER_OF_MASS_MODE_AUTO", - "value": 0 - }, - { - "name": "CENTER_OF_MASS_MODE_CUSTOM", - "value": 1 - } - ] - }, - { - "name": "DampMode", - "is_bitfield": false, - "values": [ - { - "name": "DAMP_MODE_COMBINE", - "value": 0 - }, - { - "name": "DAMP_MODE_REPLACE", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "_integrate_forces", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "state", - "type": "PhysicsDirectBodyState3D" - } - ] - }, - { - "name": "set_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mass", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_inertia", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "inertia", - "type": "Vector3" - } - ] - }, - { - "name": "get_inertia", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_center_of_mass_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3625866032, - "arguments": [ - { - "name": "mode", - "type": "enum::RigidBody3D.CenterOfMassMode" - } - ] - }, - { - "name": "get_center_of_mass_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 237405040, - "return_value": { - "type": "enum::RigidBody3D.CenterOfMassMode" - } - }, - { - "name": "set_center_of_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "center_of_mass", - "type": "Vector3" - } - ] - }, - { - "name": "get_center_of_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_physics_material_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1784508650, - "arguments": [ - { - "name": "physics_material_override", - "type": "PhysicsMaterial" - } - ] - }, - { - "name": "get_physics_material_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2521850424, - "return_value": { - "type": "PhysicsMaterial" - } - }, - { - "name": "set_linear_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "linear_velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "angular_velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_inverse_inertia_tensor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2716978435, - "return_value": { - "type": "Basis" - } - }, - { - "name": "set_gravity_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "gravity_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_gravity_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_damp_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1802035050, - "arguments": [ - { - "name": "linear_damp_mode", - "type": "enum::RigidBody3D.DampMode" - } - ] - }, - { - "name": "get_linear_damp_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1366206940, - "return_value": { - "type": "enum::RigidBody3D.DampMode" - } - }, - { - "name": "set_angular_damp_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1802035050, - "arguments": [ - { - "name": "angular_damp_mode", - "type": "enum::RigidBody3D.DampMode" - } - ] - }, - { - "name": "get_angular_damp_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1366206940, - "return_value": { - "type": "enum::RigidBody3D.DampMode" - } - }, - { - "name": "set_linear_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "linear_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_linear_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_angular_damp", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angular_damp", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_angular_damp", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_contacts_reported", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_contacts_reported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_contact_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_use_custom_integrator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_custom_integrator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_contact_monitor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_contact_monitor_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_continuous_collision_detection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_continuous_collision_detection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_axis_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "axis_velocity", - "type": "Vector3" - } - ] - }, - { - "name": "apply_central_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "apply_impulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2754756483, - "hash_compatibility": [ - 1002852006 - ], - "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_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "impulse", - "type": "Vector3" - } - ] - }, - { - "name": "apply_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "apply_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2754756483, - "hash_compatibility": [ - 1002852006 - ], - "arguments": [ - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3", - "default_value": "Vector3(0, 0, 0)" - } - ] - }, - { - "name": "apply_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "add_constant_central_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "add_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2754756483, - "hash_compatibility": [ - 1002852006 - ], - "arguments": [ - { - "name": "force", - "type": "Vector3" - }, - { - "name": "position", - "type": "Vector3", - "default_value": "Vector3(0, 0, 0)" - } - ] - }, - { - "name": "add_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "set_constant_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "force", - "type": "Vector3" - } - ] - }, - { - "name": "get_constant_force", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_constant_torque", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "torque", - "type": "Vector3" - } - ] - }, - { - "name": "get_constant_torque", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_sleeping", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "sleeping", - "type": "bool" - } - ] - }, - { - "name": "is_sleeping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_can_sleep", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "able_to_sleep", - "type": "bool" - } - ] - }, - { - "name": "is_able_to_sleep", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_lock_rotation_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "lock_rotation", - "type": "bool" - } - ] - }, - { - "name": "is_lock_rotation_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_freeze_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "freeze_mode", - "type": "bool" - } - ] - }, - { - "name": "is_freeze_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_freeze_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1319914653, - "arguments": [ - { - "name": "freeze_mode", - "type": "enum::RigidBody3D.FreezeMode" - } - ] - }, - { - "name": "get_freeze_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2008423905, - "return_value": { - "type": "enum::RigidBody3D.FreezeMode" - } - }, - { - "name": "get_colliding_bodies", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Node3D" - } - } - ], - "signals": [ - { - "name": "body_shape_entered", - "arguments": [ - { - "name": "body_rid", - "type": "RID" - }, - { - "name": "body", - "type": "Node" - }, - { - "name": "body_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_shape_exited", - "arguments": [ - { - "name": "body_rid", - "type": "RID" - }, - { - "name": "body", - "type": "Node" - }, - { - "name": "body_shape_index", - "type": "int" - }, - { - "name": "local_shape_index", - "type": "int" - } - ] - }, - { - "name": "body_entered", - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "body_exited", - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "sleeping_state_changed" - } - ], - "properties": [ - { - "type": "float", - "name": "mass", - "setter": "set_mass", - "getter": "get_mass" - }, - { - "type": "PhysicsMaterial", - "name": "physics_material_override", - "setter": "set_physics_material_override", - "getter": "get_physics_material_override" - }, - { - "type": "float", - "name": "gravity_scale", - "setter": "set_gravity_scale", - "getter": "get_gravity_scale" - }, - { - "type": "int", - "name": "center_of_mass_mode", - "setter": "set_center_of_mass_mode", - "getter": "get_center_of_mass_mode" - }, - { - "type": "Vector3", - "name": "center_of_mass", - "setter": "set_center_of_mass", - "getter": "get_center_of_mass" - }, - { - "type": "Vector3", - "name": "inertia", - "setter": "set_inertia", - "getter": "get_inertia" - }, - { - "type": "bool", - "name": "sleeping", - "setter": "set_sleeping", - "getter": "is_sleeping" - }, - { - "type": "bool", - "name": "can_sleep", - "setter": "set_can_sleep", - "getter": "is_able_to_sleep" - }, - { - "type": "bool", - "name": "lock_rotation", - "setter": "set_lock_rotation_enabled", - "getter": "is_lock_rotation_enabled" - }, - { - "type": "bool", - "name": "freeze", - "setter": "set_freeze_enabled", - "getter": "is_freeze_enabled" - }, - { - "type": "int", - "name": "freeze_mode", - "setter": "set_freeze_mode", - "getter": "get_freeze_mode" - }, - { - "type": "bool", - "name": "custom_integrator", - "setter": "set_use_custom_integrator", - "getter": "is_using_custom_integrator" - }, - { - "type": "bool", - "name": "continuous_cd", - "setter": "set_use_continuous_collision_detection", - "getter": "is_using_continuous_collision_detection" - }, - { - "type": "int", - "name": "max_contacts_reported", - "setter": "set_max_contacts_reported", - "getter": "get_max_contacts_reported" - }, - { - "type": "bool", - "name": "contact_monitor", - "setter": "set_contact_monitor", - "getter": "is_contact_monitor_enabled" - }, - { - "type": "Vector3", - "name": "linear_velocity", - "setter": "set_linear_velocity", - "getter": "get_linear_velocity" - }, - { - "type": "int", - "name": "linear_damp_mode", - "setter": "set_linear_damp_mode", - "getter": "get_linear_damp_mode" - }, - { - "type": "float", - "name": "linear_damp", - "setter": "set_linear_damp", - "getter": "get_linear_damp" - }, - { - "type": "Vector3", - "name": "angular_velocity", - "setter": "set_angular_velocity", - "getter": "get_angular_velocity" - }, - { - "type": "int", - "name": "angular_damp_mode", - "setter": "set_angular_damp_mode", - "getter": "get_angular_damp_mode" - }, - { - "type": "float", - "name": "angular_damp", - "setter": "set_angular_damp", - "getter": "get_angular_damp" - }, - { - "type": "Vector3", - "name": "constant_force", - "setter": "set_constant_force", - "getter": "get_constant_force" - }, - { - "type": "Vector3", - "name": "constant_torque", - "setter": "set_constant_torque", - "getter": "get_constant_torque" - } - ] - }, - { - "name": "RootMotionView", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VisualInstance3D", - "api_type": "core", - "methods": [ - { - "name": "set_animation_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_animation_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_cell_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_cell_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_zero_y", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_zero_y", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "NodePath", - "name": "animation_path", - "setter": "set_animation_path", - "getter": "get_animation_path" - }, - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - }, - { - "type": "float", - "name": "cell_size", - "setter": "set_cell_size", - "getter": "get_cell_size" - }, - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "bool", - "name": "zero_y", - "setter": "set_zero_y", - "getter": "get_zero_y" - } - ] - }, - { - "name": "SceneMultiplayer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "MultiplayerAPI", - "api_type": "core", - "methods": [ - { - "name": "set_root_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_root_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "disconnect_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_authenticating_peers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "send_auth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 506032537, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "complete_auth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844576869, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_auth_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "get_auth_callback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1307783378, - "return_value": { - "type": "Callable" - } - }, - { - "name": "set_auth_timeout", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "timeout", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_auth_timeout", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_refuse_new_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "refuse", - "type": "bool" - } - ] - }, - { - "name": "is_refusing_new_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_allow_object_decoding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_object_decoding_allowed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_server_relay_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_server_relay_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "send_bytes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1307428718, - "hash_compatibility": [ - 2742700601 - ], - "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": "get_max_sync_packet_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_sync_packet_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_delta_packet_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_delta_packet_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - } - ], - "signals": [ - { - "name": "peer_authenticating", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "peer_authentication_failed", - "arguments": [ - { - "name": "id", - "type": "int" - } - ] - }, - { - "name": "peer_packet", - "arguments": [ - { - "name": "id", - "type": "int" - }, - { - "name": "packet", - "type": "PackedByteArray" - } - ] - } - ], - "properties": [ - { - "type": "NodePath", - "name": "root_path", - "setter": "set_root_path", - "getter": "get_root_path" - }, - { - "type": "Callable", - "name": "auth_callback", - "setter": "set_auth_callback", - "getter": "get_auth_callback" - }, - { - "type": "float", - "name": "auth_timeout", - "setter": "set_auth_timeout", - "getter": "get_auth_timeout" - }, - { - "type": "bool", - "name": "allow_object_decoding", - "setter": "set_allow_object_decoding", - "getter": "is_object_decoding_allowed" - }, - { - "type": "bool", - "name": "refuse_new_connections", - "setter": "set_refuse_new_connections", - "getter": "is_refusing_new_connections" - }, - { - "type": "bool", - "name": "server_relay", - "setter": "set_server_relay_enabled", - "getter": "is_server_relay_enabled" - }, - { - "type": "int", - "name": "max_sync_packet_size", - "setter": "set_max_sync_packet_size", - "getter": "get_max_sync_packet_size" - }, - { - "type": "int", - "name": "max_delta_packet_size", - "setter": "set_max_delta_packet_size", - "getter": "get_max_delta_packet_size" - } - ] - }, - { - "name": "SceneReplicationConfig", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "ReplicationMode", - "is_bitfield": false, - "values": [ - { - "name": "REPLICATION_MODE_NEVER", - "value": 0 - }, - { - "name": "REPLICATION_MODE_ALWAYS", - "value": 1 - }, - { - "name": "REPLICATION_MODE_ON_CHANGE", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "get_properties", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::NodePath" - } - }, - { - "name": "add_property", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4094619021, - "hash_compatibility": [ - 3818401521 - ], - "arguments": [ - { - "name": "path", - "type": "NodePath" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "has_property", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 861721659, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "remove_property", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "property_get_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1382022557, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "property_get_spawn", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3456846888, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "property_set_spawn", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3868023870, - "arguments": [ - { - "name": "path", - "type": "NodePath" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "property_get_replication_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2870606336, - "return_value": { - "type": "enum::SceneReplicationConfig.ReplicationMode" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "property_set_replication_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3200083865, - "arguments": [ - { - "name": "path", - "type": "NodePath" - }, - { - "name": "mode", - "type": "enum::SceneReplicationConfig.ReplicationMode" - } - ] - }, - { - "name": "property_get_sync", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3456846888, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "property_set_sync", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3868023870, - "arguments": [ - { - "name": "path", - "type": "NodePath" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "property_get_watch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3456846888, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "property_set_watch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3868023870, - "arguments": [ - { - "name": "path", - "type": "NodePath" - }, - { - "name": "enabled", - "type": "bool" - } - ] - } - ] - }, - { - "name": "SceneState", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "GenEditState", - "is_bitfield": false, - "values": [ - { - "name": "GEN_EDIT_STATE_DISABLED", - "value": 0 - }, - { - "name": "GEN_EDIT_STATE_INSTANCE", - "value": 1 - }, - { - "name": "GEN_EDIT_STATE_MAIN", - "value": 2 - }, - { - "name": "GEN_EDIT_STATE_MAIN_INHERITED", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "get_node_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_node_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_node_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_node_path", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2272487792, - "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_static": false, - "is_virtual": false, - "hash": 408788394, - "return_value": { - "type": "NodePath" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_node_instance_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_node_instance_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_node_instance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 511017218, - "return_value": { - "type": "PackedScene" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_node_groups", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 647634434, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_node_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 351665558, - "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_static": false, - "is_virtual": false, - "hash": 678354945, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_connection_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 408788394, - "return_value": { - "type": "NodePath" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_connection_signal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_connection_target", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 408788394, - "return_value": { - "type": "NodePath" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_connection_method", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_connection_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_connection_binds", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 663333327, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_connection_unbinds", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - } - ] - }, - { - "name": "SceneTree", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "MainLoop", - "api_type": "core", - "enums": [ - { - "name": "GroupCallFlags", - "is_bitfield": false, - "values": [ - { - "name": "GROUP_CALL_DEFAULT", - "value": 0 - }, - { - "name": "GROUP_CALL_REVERSE", - "value": 1 - }, - { - "name": "GROUP_CALL_DEFERRED", - "value": 2 - }, - { - "name": "GROUP_CALL_UNIQUE", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "get_root", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1757182445, - "return_value": { - "type": "Window" - } - }, - { - "name": "has_group", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "is_auto_accept_quit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_auto_accept_quit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_quit_on_go_back", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_quit_on_go_back", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "set_debug_collisions_hint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_debugging_collisions_hint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_debug_paths_hint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_debugging_paths_hint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_debug_navigation_hint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_debugging_navigation_hint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_edited_scene_root", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "scene", - "type": "Node" - } - ] - }, - { - "name": "get_edited_scene_root", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "set_pause", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "create_timer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2709170273, - "hash_compatibility": [ - 1780978058 - ], - "return_value": { - "type": "SceneTreeTimer" - }, - "arguments": [ - { - "name": "time_sec", - "type": "float", - "meta": "double" - }, - { - "name": "process_always", - "type": "bool", - "default_value": "true" - }, - { - "name": "process_in_physics", - "type": "bool", - "default_value": "false" - }, - { - "name": "ignore_time_scale", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "create_tween", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3426978995, - "return_value": { - "type": "Tween" - } - }, - { - "name": "get_processed_tweens", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Tween" - } - }, - { - "name": "get_node_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "quit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "exit_code", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "queue_delete", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3975164845, - "arguments": [ - { - "name": "obj", - "type": "Object" - } - ] - }, - { - "name": "call_group_flags", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 1527739229, - "arguments": [ - { - "name": "flags", - "type": "int" - }, - { - "name": "group", - "type": "StringName" - }, - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "notify_group_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1245489420, - "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_static": false, - "is_virtual": false, - "hash": 3497599527, - "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_static": false, - "is_virtual": false, - "hash": 1257962832, - "arguments": [ - { - "name": "group", - "type": "StringName" - }, - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "notify_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2415702435, - "arguments": [ - { - "name": "group", - "type": "StringName" - }, - { - "name": "notification", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1279312029, - "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_static": false, - "is_virtual": false, - "hash": 689397652, - "return_value": { - "type": "typedarray::Node" - }, - "arguments": [ - { - "name": "group", - "type": "StringName" - } - ] - }, - { - "name": "get_first_node_in_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4071044623, - "return_value": { - "type": "Node" - }, - "arguments": [ - { - "name": "group", - "type": "StringName" - } - ] - }, - { - "name": "set_current_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "child_node", - "type": "Node" - } - ] - }, - { - "name": "get_current_scene", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3160264692, - "return_value": { - "type": "Node" - } - }, - { - "name": "change_scene_to_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "change_scene_to_packed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 107349098, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "packed_scene", - "type": "PackedScene" - } - ] - }, - { - "name": "reload_current_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "unload_current_scene", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_multiplayer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2385607013, - "arguments": [ - { - "name": "multiplayer", - "type": "MultiplayerAPI" - }, - { - "name": "root_path", - "type": "NodePath", - "default_value": "NodePath(\"\")" - } - ] - }, - { - "name": "get_multiplayer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3453401404, - "return_value": { - "type": "MultiplayerAPI" - }, - "arguments": [ - { - "name": "for_path", - "type": "NodePath", - "default_value": "NodePath(\"\")" - } - ] - }, - { - "name": "set_multiplayer_poll_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_multiplayer_poll_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "tree_changed" - }, - { - "name": "tree_process_mode_changed" - }, - { - "name": "node_added", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "node_removed", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "node_renamed", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "node_configuration_warning_changed", - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "process_frame" - }, - { - "name": "physics_frame" - } - ], - "properties": [ - { - "type": "bool", - "name": "auto_accept_quit", - "setter": "set_auto_accept_quit", - "getter": "is_auto_accept_quit" - }, - { - "type": "bool", - "name": "quit_on_go_back", - "setter": "set_quit_on_go_back", - "getter": "is_quit_on_go_back" - }, - { - "type": "bool", - "name": "debug_collisions_hint", - "setter": "set_debug_collisions_hint", - "getter": "is_debugging_collisions_hint" - }, - { - "type": "bool", - "name": "debug_paths_hint", - "setter": "set_debug_paths_hint", - "getter": "is_debugging_paths_hint" - }, - { - "type": "bool", - "name": "debug_navigation_hint", - "setter": "set_debug_navigation_hint", - "getter": "is_debugging_navigation_hint" - }, - { - "type": "bool", - "name": "paused", - "setter": "set_pause", - "getter": "is_paused" - }, - { - "type": "Node", - "name": "edited_scene_root", - "setter": "set_edited_scene_root", - "getter": "get_edited_scene_root" - }, - { - "type": "Node", - "name": "current_scene", - "setter": "set_current_scene", - "getter": "get_current_scene" - }, - { - "type": "Node", - "name": "root", - "getter": "get_root" - }, - { - "type": "bool", - "name": "multiplayer_poll", - "setter": "set_multiplayer_poll_enabled", - "getter": "is_multiplayer_poll_enabled" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_time_left", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - } - ], - "signals": [ - { - "name": "timeout" - } - ], - "properties": [ - { - "type": "float", - "name": "time_left", - "setter": "set_time_left", - "getter": "get_time_left" - } - ] - }, - { - "name": "Script", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "can_instantiate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "instance_has", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 397768994, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "base_object", - "type": "Object" - } - ] - }, - { - "name": "has_source_code", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_source_code", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_source_code", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "source", - "type": "String" - } - ] - }, - { - "name": "reload", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1633102583, - "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_static": false, - "is_virtual": false, - "hash": 278624046, - "return_value": { - "type": "Script" - } - }, - { - "name": "get_instance_base_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "has_script_signal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "signal_name", - "type": "StringName" - } - ] - }, - { - "name": "get_script_property_list", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "get_script_method_list", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "get_script_signal_list", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "get_script_constant_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2382534195, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_property_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2138907829, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "is_tool", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_abstract", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "String", - "name": "source_code", - "setter": "set_source_code", - "getter": "get_source_code" - } - ] - }, - { - "name": "ScriptCreateDialog", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "ConfirmationDialog", - "api_type": "editor", - "methods": [ - { - "name": "config", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 869314288, - "hash_compatibility": [ - 4210001628 - ], - "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_static": false, - "is_virtual": false, - "hash": 1906266726, - "return_value": { - "type": "ScriptEditorBase" - } - }, - { - "name": "get_open_script_editors", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::ScriptEditorBase" - } - }, - { - "name": "register_syntax_highlighter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1092774468, - "arguments": [ - { - "name": "syntax_highlighter", - "type": "EditorSyntaxHighlighter" - } - ] - }, - { - "name": "unregister_syntax_highlighter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1092774468, - "arguments": [ - { - "name": "syntax_highlighter", - "type": "EditorSyntaxHighlighter" - } - ] - }, - { - "name": "goto_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "line_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_current_script", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2146468882, - "return_value": { - "type": "Script" - } - }, - { - "name": "get_open_scripts", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Script" - } - }, - { - "name": "open_script_create_dialog", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3186203200, - "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": "get_base_editor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2783021301, - "return_value": { - "type": "Control" - } - }, - { - "name": "add_syntax_highlighter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1092774468, - "arguments": [ - { - "name": "highlighter", - "type": "EditorSyntaxHighlighter" - } - ] - } - ], - "signals": [ - { - "name": "name_changed" - }, - { - "name": "edited_script_changed" - }, - { - "name": "request_help", - "arguments": [ - { - "name": "topic", - "type": "String" - } - ] - }, - { - "name": "request_open_script_at_line", - "arguments": [ - { - "name": "script", - "type": "Object" - }, - { - "name": "line", - "type": "int" - } - ] - }, - { - "name": "request_save_history" - }, - { - "name": "go_to_help", - "arguments": [ - { - "name": "what", - "type": "String" - } - ] - }, - { - "name": "search_in_files_requested", - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "replace_in_files_requested", - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "go_to_method", - "arguments": [ - { - "name": "script", - "type": "Object" - }, - { - "name": "method", - "type": "String" - } - ] - } - ] - }, - { - "name": "ScriptExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Script", - "api_type": "core", - "methods": [ - { - "name": "_editor_can_reload_from_file", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_placeholder_erased", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "placeholder", - "type": "void*" - } - ] - }, - { - "name": "_can_instantiate", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_base_script", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Script" - } - }, - { - "name": "_get_global_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "StringName" - } - }, - { - "name": "_inherits_script", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "script", - "type": "Script" - } - ] - }, - { - "name": "_get_instance_base_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "StringName" - } - }, - { - "name": "_instance_create", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "void*" - }, - "arguments": [ - { - "name": "for_object", - "type": "Object" - } - ] - }, - { - "name": "_placeholder_instance_create", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "void*" - }, - "arguments": [ - { - "name": "for_object", - "type": "Object" - } - ] - }, - { - "name": "_instance_has", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "_has_source_code", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_source_code", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_set_source_code", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "code", - "type": "String" - } - ] - }, - { - "name": "_reload", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "keep_state", - "type": "bool" - } - ] - }, - { - "name": "_get_documentation", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "_get_class_icon_path", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_has_method", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "_has_static_method", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "_get_method_info", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - }, - { - "name": "_is_tool", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_is_valid", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_is_abstract", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_language", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "ScriptLanguage" - } - }, - { - "name": "_has_script_signal", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "signal", - "type": "StringName" - } - ] - }, - { - "name": "_get_script_signal_list", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "_has_property_default_value", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "_get_property_default_value", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "property", - "type": "StringName" - } - ] - }, - { - "name": "_update_exports", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_script_method_list", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "_get_script_property_list", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "_get_member_line", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "member", - "type": "StringName" - } - ] - }, - { - "name": "_get_constants", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "_get_members", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::StringName" - } - }, - { - "name": "_is_placeholder_fallback_enabled", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_rpc_config", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - } - } - ] - }, - { - "name": "ScriptLanguage", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core" - }, - { - "name": "ScriptLanguageExtension", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "ScriptLanguage", - "api_type": "core", - "enums": [ - { - "name": "LookupResultType", - "is_bitfield": false, - "values": [ - { - "name": "LOOKUP_RESULT_SCRIPT_LOCATION", - "value": 0 - }, - { - "name": "LOOKUP_RESULT_CLASS", - "value": 1 - }, - { - "name": "LOOKUP_RESULT_CLASS_CONSTANT", - "value": 2 - }, - { - "name": "LOOKUP_RESULT_CLASS_PROPERTY", - "value": 3 - }, - { - "name": "LOOKUP_RESULT_CLASS_METHOD", - "value": 4 - }, - { - "name": "LOOKUP_RESULT_CLASS_SIGNAL", - "value": 5 - }, - { - "name": "LOOKUP_RESULT_CLASS_ENUM", - "value": 6 - }, - { - "name": "LOOKUP_RESULT_CLASS_TBD_GLOBALSCOPE", - "value": 7 - }, - { - "name": "LOOKUP_RESULT_CLASS_ANNOTATION", - "value": 8 - }, - { - "name": "LOOKUP_RESULT_MAX", - "value": 9 - } - ] - }, - { - "name": "CodeCompletionLocation", - "is_bitfield": false, - "values": [ - { - "name": "LOCATION_LOCAL", - "value": 0 - }, - { - "name": "LOCATION_PARENT_MASK", - "value": 256 - }, - { - "name": "LOCATION_OTHER_USER_CODE", - "value": 512 - }, - { - "name": "LOCATION_OTHER", - "value": 1024 - } - ] - }, - { - "name": "CodeCompletionKind", - "is_bitfield": false, - "values": [ - { - "name": "CODE_COMPLETION_KIND_CLASS", - "value": 0 - }, - { - "name": "CODE_COMPLETION_KIND_FUNCTION", - "value": 1 - }, - { - "name": "CODE_COMPLETION_KIND_SIGNAL", - "value": 2 - }, - { - "name": "CODE_COMPLETION_KIND_VARIABLE", - "value": 3 - }, - { - "name": "CODE_COMPLETION_KIND_MEMBER", - "value": 4 - }, - { - "name": "CODE_COMPLETION_KIND_ENUM", - "value": 5 - }, - { - "name": "CODE_COMPLETION_KIND_CONSTANT", - "value": 6 - }, - { - "name": "CODE_COMPLETION_KIND_NODE_PATH", - "value": 7 - }, - { - "name": "CODE_COMPLETION_KIND_FILE_PATH", - "value": 8 - }, - { - "name": "CODE_COMPLETION_KIND_PLAIN_TEXT", - "value": 9 - }, - { - "name": "CODE_COMPLETION_KIND_MAX", - "value": 10 - } - ] - } - ], - "methods": [ - { - "name": "_get_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_init", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_extension", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_finish", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_reserved_words", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_is_control_flow_keyword", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "keyword", - "type": "String" - } - ] - }, - { - "name": "_get_comment_delimiters", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_get_doc_comment_delimiters", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_get_string_delimiters", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_make_template", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Script" - }, - "arguments": [ - { - "name": "template", - "type": "String" - }, - { - "name": "class_name", - "type": "String" - }, - { - "name": "base_class_name", - "type": "String" - } - ] - }, - { - "name": "_get_built_in_templates", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "object", - "type": "StringName" - } - ] - }, - { - "name": "_is_using_templates", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_validate", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "script", - "type": "String" - }, - { - "name": "path", - "type": "String" - }, - { - "name": "validate_functions", - "type": "bool" - }, - { - "name": "validate_errors", - "type": "bool" - }, - { - "name": "validate_warnings", - "type": "bool" - }, - { - "name": "validate_safe_lines", - "type": "bool" - } - ] - }, - { - "name": "_validate_path", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "_create_script", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Object" - } - }, - { - "name": "_has_named_classes", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_supports_builtin_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_supports_documentation", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_can_inherit_from_file", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_find_function", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "class_name", - "type": "String" - }, - { - "name": "function_name", - "type": "String" - } - ] - }, - { - "name": "_make_function", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "class_name", - "type": "String" - }, - { - "name": "function_name", - "type": "String" - }, - { - "name": "function_args", - "type": "PackedStringArray" - } - ] - }, - { - "name": "_open_in_external_editor", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "script", - "type": "Script" - }, - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_overrides_external_editor", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_complete_code", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "code", - "type": "String" - }, - { - "name": "path", - "type": "String" - }, - { - "name": "owner", - "type": "Object" - } - ] - }, - { - "name": "_lookup_code", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "code", - "type": "String" - }, - { - "name": "symbol", - "type": "String" - }, - { - "name": "path", - "type": "String" - }, - { - "name": "owner", - "type": "Object" - } - ] - }, - { - "name": "_auto_indent_code", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "code", - "type": "String" - }, - { - "name": "from_line", - "type": "int", - "meta": "int32" - }, - { - "name": "to_line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_add_global_constant", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "_add_named_global_constant", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "_remove_named_global_constant", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "_thread_enter", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_thread_exit", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_debug_get_error", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_debug_get_stack_level_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_debug_get_stack_level_line", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "level", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_debug_get_stack_level_function", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "level", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_debug_get_stack_level_locals", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "level", - "type": "int", - "meta": "int32" - }, - { - "name": "max_subitems", - "type": "int", - "meta": "int32" - }, - { - "name": "max_depth", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_debug_get_stack_level_members", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "level", - "type": "int", - "meta": "int32" - }, - { - "name": "max_subitems", - "type": "int", - "meta": "int32" - }, - { - "name": "max_depth", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_debug_get_stack_level_instance", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "void*" - }, - "arguments": [ - { - "name": "level", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_debug_get_globals", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "max_subitems", - "type": "int", - "meta": "int32" - }, - { - "name": "max_depth", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_debug_parse_stack_level_expression", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "level", - "type": "int", - "meta": "int32" - }, - { - "name": "expression", - "type": "String" - }, - { - "name": "max_subitems", - "type": "int", - "meta": "int32" - }, - { - "name": "max_depth", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_debug_get_current_stack_info", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "_reload_all_scripts", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_reload_tool_script", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "script", - "type": "Script" - }, - { - "name": "soft_reload", - "type": "bool" - } - ] - }, - { - "name": "_get_recognized_extensions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_get_public_functions", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "_get_public_constants", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "_get_public_annotations", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "_profiling_start", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_profiling_stop", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_profiling_get_accumulated_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "info_array", - "type": "ScriptLanguageExtensionProfilingInfo*" - }, - { - "name": "info_max", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_profiling_get_frame_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "info_array", - "type": "ScriptLanguageExtensionProfilingInfo*" - }, - { - "name": "info_max", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_frame", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_handles_global_class_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "type", - "type": "String" - } - ] - }, - { - "name": "_get_global_class_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "step", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_custom_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "signals": [ - { - "name": "scrolling" - } - ], - "properties": [ - { - "type": "float", - "name": "custom_step", - "setter": "set_custom_step", - "getter": "get_custom_step" - } - ] - }, - { - "name": "ScrollContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "core", - "enums": [ - { - "name": "ScrollMode", - "is_bitfield": false, - "values": [ - { - "name": "SCROLL_MODE_DISABLED", - "value": 0 - }, - { - "name": "SCROLL_MODE_AUTO", - "value": 1 - }, - { - "name": "SCROLL_MODE_SHOW_ALWAYS", - "value": 2 - }, - { - "name": "SCROLL_MODE_SHOW_NEVER", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_h_scroll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_h_scroll", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_v_scroll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_v_scroll", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_horizontal_custom_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_horizontal_custom_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_vertical_custom_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_vertical_custom_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_horizontal_scroll_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2750506364, - "arguments": [ - { - "name": "enable", - "type": "enum::ScrollContainer.ScrollMode" - } - ] - }, - { - "name": "get_horizontal_scroll_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3987985145, - "return_value": { - "type": "enum::ScrollContainer.ScrollMode" - } - }, - { - "name": "set_vertical_scroll_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2750506364, - "arguments": [ - { - "name": "enable", - "type": "enum::ScrollContainer.ScrollMode" - } - ] - }, - { - "name": "get_vertical_scroll_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3987985145, - "return_value": { - "type": "enum::ScrollContainer.ScrollMode" - } - }, - { - "name": "set_deadzone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "deadzone", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_deadzone", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_follow_focus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_following_focus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_h_scroll_bar", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4004517983, - "return_value": { - "type": "HScrollBar" - } - }, - { - "name": "get_v_scroll_bar", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2630340773, - "return_value": { - "type": "VScrollBar" - } - }, - { - "name": "ensure_control_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1496901182, - "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" - }, - { - "type": "int", - "name": "scroll_horizontal", - "setter": "set_h_scroll", - "getter": "get_h_scroll" - }, - { - "type": "int", - "name": "scroll_vertical", - "setter": "set_v_scroll", - "getter": "get_v_scroll" - }, - { - "type": "float", - "name": "scroll_horizontal_custom_step", - "setter": "set_horizontal_custom_step", - "getter": "get_horizontal_custom_step" - }, - { - "type": "float", - "name": "scroll_vertical_custom_step", - "setter": "set_vertical_custom_step", - "getter": "get_vertical_custom_step" - }, - { - "type": "int", - "name": "horizontal_scroll_mode", - "setter": "set_horizontal_scroll_mode", - "getter": "get_horizontal_scroll_mode" - }, - { - "type": "int", - "name": "vertical_scroll_mode", - "setter": "set_vertical_scroll_mode", - "getter": "get_vertical_scroll_mode" - }, - { - "type": "int", - "name": "scroll_deadzone", - "setter": "set_deadzone", - "getter": "get_deadzone" - } - ] - }, - { - "name": "SegmentShape2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape2D", - "api_type": "core", - "methods": [ - { - "name": "set_a", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "a", - "type": "Vector2" - } - ] - }, - { - "name": "get_a", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_b", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "b", - "type": "Vector2" - } - ] - }, - { - "name": "get_b", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "a", - "setter": "set_a", - "getter": "get_a" - }, - { - "type": "Vector2", - "name": "b", - "setter": "set_b", - "getter": "get_b" - } - ] - }, - { - "name": "Semaphore", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "wait", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "try_wait", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "post", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "SeparationRayShape2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape2D", - "api_type": "core", - "methods": [ - { - "name": "set_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_slide_on_slope", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "get_slide_on_slope", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "length", - "setter": "set_length", - "getter": "get_length" - }, - { - "type": "bool", - "name": "slide_on_slope", - "setter": "set_slide_on_slope", - "getter": "get_slide_on_slope" - } - ] - }, - { - "name": "SeparationRayShape3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape3D", - "api_type": "core", - "methods": [ - { - "name": "set_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_slide_on_slope", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "get_slide_on_slope", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "length", - "setter": "set_length", - "getter": "get_length" - }, - { - "type": "bool", - "name": "slide_on_slope", - "setter": "set_slide_on_slope", - "getter": "get_slide_on_slope" - } - ] - }, - { - "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", - "is_bitfield": false, - "values": [ - { - "name": "MODE_SPATIAL", - "value": 0 - }, - { - "name": "MODE_CANVAS_ITEM", - "value": 1 - }, - { - "name": "MODE_PARTICLES", - "value": 2 - }, - { - "name": "MODE_SKY", - "value": 3 - }, - { - "name": "MODE_FOG", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "get_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3392948163, - "return_value": { - "type": "enum::Shader.Mode" - } - }, - { - "name": "set_code", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "code", - "type": "String" - } - ] - }, - { - "name": "get_code", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_default_texture_parameter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2750740428, - "hash_compatibility": [ - 1628453603 - ], - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "texture", - "type": "Texture2D" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_default_texture_parameter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3090538643, - "hash_compatibility": [ - 3823812009 - ], - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_shader_uniform_list", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1230511656, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "get_groups", - "type": "bool", - "default_value": "false" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "code", - "setter": "set_code", - "getter": "get_code" - } - ] - }, - { - "name": "ShaderGlobalsOverride", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core" - }, - { - "name": "ShaderInclude", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_code", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "code", - "type": "String" - } - ] - }, - { - "name": "get_code", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "code", - "setter": "set_code", - "getter": "get_code" - } - ] - }, - { - "name": "ShaderMaterial", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Material", - "api_type": "core", - "methods": [ - { - "name": "set_shader", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341921675, - "arguments": [ - { - "name": "shader", - "type": "Shader" - } - ] - }, - { - "name": "get_shader", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2078273437, - "return_value": { - "type": "Shader" - } - }, - { - "name": "set_shader_parameter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "param", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get_shader_parameter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "param", - "type": "StringName" - } - ] - } - ], - "properties": [ - { - "type": "Shader", - "name": "shader", - "setter": "set_shader", - "getter": "get_shader" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_custom_solver_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "collide", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3709843132, - "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_static": false, - "is_virtual": false, - "hash": 2869556801, - "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_static": false, - "is_virtual": false, - "hash": 3056932662, - "return_value": { - "type": "PackedVector2Array" - }, - "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_static": false, - "is_virtual": false, - "hash": 3620351573, - "return_value": { - "type": "PackedVector2Array" - }, - "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_static": false, - "is_virtual": false, - "hash": 2948539648, - "arguments": [ - { - "name": "canvas_item", - "type": "RID" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - } - ], - "properties": [ - { - "type": "float", - "name": "custom_solver_bias", - "setter": "set_custom_solver_bias", - "getter": "get_custom_solver_bias" - } - ] - }, - { - "name": "Shape3D", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_custom_solver_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_custom_solver_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_debug_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1605880883, - "return_value": { - "type": "ArrayMesh" - } - } - ], - "properties": [ - { - "type": "float", - "name": "custom_solver_bias", - "setter": "set_custom_solver_bias", - "getter": "get_custom_solver_bias" - }, - { - "type": "float", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - } - ] - }, - { - "name": "ShapeCast2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 771364740, - "arguments": [ - { - "name": "shape", - "type": "Shape2D" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 522005891, - "return_value": { - "type": "Shape2D" - } - }, - { - "name": "set_target_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "local_point", - "type": "Vector2" - } - ] - }, - { - "name": "get_target_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_results", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_results", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_results", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_colliding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_collision_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "force_shapecast_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3332903315, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collider_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 495598643, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collision_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collision_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_closest_collision_safe_fraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_closest_collision_unsafe_fraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "add_exception_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "add_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3090941106, - "arguments": [ - { - "name": "node", - "type": "CollisionObject2D" - } - ] - }, - { - "name": "remove_exception_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "remove_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3090941106, - "arguments": [ - { - "name": "node", - "type": "CollisionObject2D" - } - ] - }, - { - "name": "clear_exceptions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_exclude_parent_body", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "mask", - "type": "bool" - } - ] - }, - { - "name": "get_exclude_parent_body", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "Shape2D", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "bool", - "name": "exclude_parent", - "setter": "set_exclude_parent_body", - "getter": "get_exclude_parent_body" - }, - { - "type": "Vector2", - "name": "target_position", - "setter": "set_target_position", - "getter": "get_target_position" - }, - { - "type": "float", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - }, - { - "type": "int", - "name": "max_results", - "setter": "set_max_results", - "getter": "get_max_results" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "Array", - "name": "collision_result", - "getter": "_get_collision_result" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - } - ] - }, - { - "name": "ShapeCast3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "resource_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 968641751, - "arguments": [ - { - "name": "resource", - "type": "Resource" - } - ] - }, - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1549710052, - "arguments": [ - { - "name": "shape", - "type": "Shape3D" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3214262478, - "return_value": { - "type": "Shape3D" - } - }, - { - "name": "set_target_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "local_point", - "type": "Vector3" - } - ] - }, - { - "name": "get_target_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_results", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_results", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_results", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_colliding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_collision_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "force_shapecast_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_collider", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3332903315, - "return_value": { - "type": "Object" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collider_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 495598643, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collider_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collision_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collision_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_closest_collision_safe_fraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_closest_collision_unsafe_fraction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "add_exception_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "add_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1976431078, - "arguments": [ - { - "name": "node", - "type": "CollisionObject3D" - } - ] - }, - { - "name": "remove_exception_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "remove_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1976431078, - "arguments": [ - { - "name": "node", - "type": "CollisionObject3D" - } - ] - }, - { - "name": "clear_exceptions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_exclude_parent_body", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "mask", - "type": "bool" - } - ] - }, - { - "name": "get_exclude_parent_body", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_areas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_areas_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collide_with_bodies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collide_with_bodies_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_debug_shape_custom_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "debug_shape_custom_color", - "type": "Color" - } - ] - }, - { - "name": "get_debug_shape_custom_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "is_enabled" - }, - { - "type": "Shape3D", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "bool", - "name": "exclude_parent", - "setter": "set_exclude_parent_body", - "getter": "get_exclude_parent_body" - }, - { - "type": "Vector3", - "name": "target_position", - "setter": "set_target_position", - "getter": "get_target_position" - }, - { - "type": "float", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - }, - { - "type": "int", - "name": "max_results", - "setter": "set_max_results", - "getter": "get_max_results" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "Array", - "name": "collision_result", - "getter": "_get_collision_result" - }, - { - "type": "bool", - "name": "collide_with_areas", - "setter": "set_collide_with_areas", - "getter": "is_collide_with_areas_enabled" - }, - { - "type": "bool", - "name": "collide_with_bodies", - "setter": "set_collide_with_bodies", - "getter": "is_collide_with_bodies_enabled" - }, - { - "type": "Color", - "name": "debug_shape_custom_color", - "setter": "set_debug_shape_custom_color", - "getter": "get_debug_shape_custom_color" - } - ] - }, - { - "name": "Shortcut", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_events", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "events", - "type": "Array" - } - ] - }, - { - "name": "get_events", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "has_valid_event", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "matches_event", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3738334489, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "get_as_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "typedarray::24/17:InputEvent", - "name": "events", - "setter": "set_events", - "getter": "get_events" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2556267111, - "return_value": { - "type": "Bone2D" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_modification_stack", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3907307132, - "arguments": [ - { - "name": "modification_stack", - "type": "SkeletonModificationStack2D" - } - ] - }, - { - "name": "get_modification_stack", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2107508396, - "return_value": { - "type": "SkeletonModificationStack2D" - } - }, - { - "name": "execute_modifications", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1005356550, - "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_static": false, - "is_virtual": false, - "hash": 555457532, - "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_static": false, - "is_virtual": false, - "hash": 2995540667, - "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": "add_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "find_bone", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_bone_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bone_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_bone_parent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_version", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "unparent_bone_and_rest", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bone_children", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1706082319, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_parentless_bones", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "get_bone_rest", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bone_rest", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3616898986, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "rest", - "type": "Transform3D" - } - ] - }, - { - "name": "get_bone_global_rest", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "create_skin_from_rest_transforms", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1032037385, - "return_value": { - "type": "Skin" - } - }, - { - "name": "register_skin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3405789568, - "return_value": { - "type": "SkinReference" - }, - "arguments": [ - { - "name": "skin", - "type": "Skin" - } - ] - }, - { - "name": "localize_rests", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear_bones", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_bone_pose", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bone_pose_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector3" - } - ] - }, - { - "name": "set_bone_pose_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2823819782, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "rotation", - "type": "Quaternion" - } - ] - }, - { - "name": "set_bone_pose_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1530502735, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "scale", - "type": "Vector3" - } - ] - }, - { - "name": "get_bone_pose_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bone_pose_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 476865136, - "return_value": { - "type": "Quaternion" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bone_pose_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 711720468, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "reset_bone_pose", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "reset_bone_poses", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_bone_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bone_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 972357352, - "hash_compatibility": [ - 4023243586 - ], - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "enabled", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "clear_bones_global_pose_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_bone_global_pose_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3483398371, - "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_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bone_global_pose", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "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_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "force_update_all_bone_transforms", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "force_update_bone_child_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_motion_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "motion_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_motion_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_show_rest_only", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_show_rest_only", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_animate_physical_bones", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_animate_physical_bones", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "physical_bones_stop_simulation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "physical_bones_start_simulation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2787316981, - "arguments": [ - { - "name": "bones", - "type": "typedarray::StringName", - "default_value": "[]" - } - ] - }, - { - "name": "physical_bones_add_collision_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "exception", - "type": "RID" - } - ] - }, - { - "name": "physical_bones_remove_collision_exception", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "exception", - "type": "RID" - } - ] - } - ], - "signals": [ - { - "name": "pose_updated" - }, - { - "name": "bone_pose_changed", - "arguments": [ - { - "name": "bone_idx", - "type": "int" - } - ] - }, - { - "name": "bone_enabled_changed", - "arguments": [ - { - "name": "bone_idx", - "type": "int" - } - ] - }, - { - "name": "show_rest_only_changed" - } - ], - "properties": [ - { - "type": "float", - "name": "motion_scale", - "setter": "set_motion_scale", - "getter": "get_motion_scale" - }, - { - "type": "bool", - "name": "show_rest_only", - "setter": "set_show_rest_only", - "getter": "is_show_rest_only" - }, - { - "type": "bool", - "name": "animate_physical_bones", - "setter": "set_animate_physical_bones", - "getter": "get_animate_physical_bones" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "root_bone", - "type": "StringName" - } - ] - }, - { - "name": "get_root_bone", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_tip_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "tip_bone", - "type": "StringName" - } - ] - }, - { - "name": "get_tip_bone", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_interpolation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "interpolation", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_interpolation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_target_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "target", - "type": "Transform3D" - } - ] - }, - { - "name": "get_target_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "set_target_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "node", - "type": "NodePath" - } - ] - }, - { - "name": "get_target_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 277076166, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_override_tip_basis", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "override", - "type": "bool" - } - ] - }, - { - "name": "is_override_tip_basis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_magnet", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use", - "type": "bool" - } - ] - }, - { - "name": "is_using_magnet", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_magnet_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "local_position", - "type": "Vector3" - } - ] - }, - { - "name": "get_magnet_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_parent_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1488626673, - "return_value": { - "type": "Skeleton3D" - } - }, - { - "name": "is_running", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_min_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "min_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_min_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max_iterations", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "iterations", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_iterations", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "start", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 107499316, - "arguments": [ - { - "name": "one_time", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "StringName", - "name": "root_bone", - "setter": "set_root_bone", - "getter": "get_root_bone" - }, - { - "type": "StringName", - "name": "tip_bone", - "setter": "set_tip_bone", - "getter": "get_tip_bone" - }, - { - "type": "float", - "name": "interpolation", - "setter": "set_interpolation", - "getter": "get_interpolation" - }, - { - "type": "Transform3D", - "name": "target", - "setter": "set_target_transform", - "getter": "get_target_transform" - }, - { - "type": "bool", - "name": "override_tip_basis", - "setter": "set_override_tip_basis", - "getter": "is_override_tip_basis" - }, - { - "type": "bool", - "name": "use_magnet", - "setter": "set_use_magnet", - "getter": "is_using_magnet" - }, - { - "type": "Vector3", - "name": "magnet", - "setter": "set_magnet_position", - "getter": "get_magnet_position" - }, - { - "type": "NodePath", - "name": "target_node", - "setter": "set_target_node", - "getter": "get_target_node" - }, - { - "type": "float", - "name": "min_distance", - "setter": "set_min_distance", - "getter": "get_min_distance" - }, - { - "type": "int", - "name": "max_iterations", - "setter": "set_max_iterations", - "getter": "get_max_iterations" - } - ] - }, - { - "name": "SkeletonModification2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "_execute", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "delta", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_setup_modification", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "modification_stack", - "type": "SkeletonModificationStack2D" - } - ] - }, - { - "name": "_draw_editor_gizmo", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_modification_stack", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2137761694, - "return_value": { - "type": "SkeletonModificationStack2D" - } - }, - { - "name": "set_is_setup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "is_setup", - "type": "bool" - } - ] - }, - { - "name": "get_is_setup", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_execution_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "execution_mode", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_execution_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "clamp_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1229502682, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "draw_gizmo", - "type": "bool" - } - ] - }, - { - "name": "get_editor_draw_gizmo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "get_enabled" - }, - { - "type": "int", - "name": "execution_mode", - "setter": "set_execution_mode", - "getter": "get_execution_mode" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "target_nodepath", - "type": "NodePath" - } - ] - }, - { - "name": "get_target_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_tip_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "tip_nodepath", - "type": "NodePath" - } - ] - }, - { - "name": "get_tip_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_ccdik_data_chain_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "length", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_ccdik_data_chain_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_ccdik_joint_bone2d_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761262315, - "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_static": false, - "is_virtual": false, - "hash": 408788394, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "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" - }, - { - "type": "NodePath", - "name": "tip_nodepath", - "setter": "set_tip_node", - "getter": "get_tip_node" - }, - { - "type": "int", - "name": "ccdik_data_chain_length", - "setter": "set_ccdik_data_chain_length", - "getter": "get_ccdik_data_chain_length" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "target_nodepath", - "type": "NodePath" - } - ] - }, - { - "name": "get_target_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_fabrik_data_chain_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "length", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_fabrik_data_chain_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_fabrik_joint_bone2d_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761262315, - "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_static": false, - "is_virtual": false, - "hash": 408788394, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 163021252, - "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_static": false, - "is_virtual": false, - "hash": 2299179447, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "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" - }, - { - "type": "int", - "name": "fabrik_data_chain_length", - "setter": "set_fabrik_data_chain_length", - "getter": "get_fabrik_data_chain_length" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "target_nodepath", - "type": "NodePath" - } - ] - }, - { - "name": "get_target_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_jiggle_data_chain_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "length", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_jiggle_data_chain_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_stiffness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "stiffness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_stiffness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mass", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mass", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_damping", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "damping", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_damping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_use_gravity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_gravity", - "type": "bool" - } - ] - }, - { - "name": "get_use_gravity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_gravity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "gravity", - "type": "Vector2" - } - ] - }, - { - "name": "get_gravity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_use_colliders", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_colliders", - "type": "bool" - } - ] - }, - { - "name": "get_use_colliders", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "collision_mask", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_jiggle_joint_bone2d_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761262315, - "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_static": false, - "is_virtual": false, - "hash": 408788394, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "joint_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "override", - "type": "bool" - } - ] - }, - { - "name": "get_jiggle_joint_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_jiggle_joint_stiffness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 1602489585, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "joint_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_jiggle_joint_gravity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "joint_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "gravity", - "type": "Vector2" - } - ] - }, - { - "name": "get_jiggle_joint_gravity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "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" - }, - { - "type": "int", - "name": "jiggle_data_chain_length", - "setter": "set_jiggle_data_chain_length", - "getter": "get_jiggle_data_chain_length" - }, - { - "type": "float", - "name": "stiffness", - "setter": "set_stiffness", - "getter": "get_stiffness" - }, - { - "type": "float", - "name": "mass", - "setter": "set_mass", - "getter": "get_mass" - }, - { - "type": "float", - "name": "damping", - "setter": "set_damping", - "getter": "get_damping" - }, - { - "type": "bool", - "name": "use_gravity", - "setter": "set_use_gravity", - "getter": "get_use_gravity" - }, - { - "type": "Vector2", - "name": "gravity", - "setter": "set_gravity", - "getter": "get_gravity" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "bone2d_nodepath", - "type": "NodePath" - } - ] - }, - { - "name": "get_bone2d_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_bone_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bone_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_target_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "target_nodepath", - "type": "NodePath" - } - ] - }, - { - "name": "get_target_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_additional_rotation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "rotation", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_additional_rotation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_enable_constraint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable_constraint", - "type": "bool" - } - ] - }, - { - "name": "get_enable_constraint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_constraint_angle_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angle_min", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_constraint_angle_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_constraint_angle_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "angle_max", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_constraint_angle_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_constraint_angle_invert", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "invert", - "type": "bool" - } - ] - }, - { - "name": "get_constraint_angle_invert", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "bone_index", - "setter": "set_bone_index", - "getter": "get_bone_index" - }, - { - "type": "NodePath", - "name": "bone2d_node", - "setter": "set_bone2d_node", - "getter": "get_bone2d_node" - }, - { - "type": "NodePath", - "name": "target_nodepath", - "setter": "set_target_node", - "getter": "get_target_node" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "length", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_physical_bone_chain_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_physical_bone_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761262315, - "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_static": false, - "is_virtual": false, - "hash": 408788394, - "return_value": { - "type": "NodePath" - }, - "arguments": [ - { - "name": "joint_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "fetch_physical_bones", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "start_simulation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2787316981, - "arguments": [ - { - "name": "bones", - "type": "typedarray::StringName", - "default_value": "[]" - } - ] - }, - { - "name": "stop_simulation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2787316981, - "arguments": [ - { - "name": "bones", - "type": "typedarray::StringName", - "default_value": "[]" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "physical_bone_chain_length", - "setter": "set_physical_bone_chain_length", - "getter": "get_physical_bone_chain_length" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3907307132, - "arguments": [ - { - "name": "held_modification_stack", - "type": "SkeletonModificationStack2D" - } - ] - }, - { - "name": "get_held_modification_stack", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2107508396, - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "target_nodepath", - "type": "NodePath" - } - ] - }, - { - "name": "get_target_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_target_minimum_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "minimum_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_target_minimum_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_target_maximum_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "maximum_distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_target_maximum_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_flip_bend_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_direction", - "type": "bool" - } - ] - }, - { - "name": "get_flip_bend_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_joint_one_bone2d_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "bone2d_node", - "type": "NodePath" - } - ] - }, - { - "name": "get_joint_one_bone2d_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_joint_one_bone_idx", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_joint_one_bone_idx", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_joint_two_bone2d_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "bone2d_node", - "type": "NodePath" - } - ] - }, - { - "name": "get_joint_two_bone2d_node", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_joint_two_bone_idx", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_joint_two_bone_idx", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "NodePath", - "name": "target_nodepath", - "setter": "set_target_node", - "getter": "get_target_node" - }, - { - "type": "float", - "name": "target_minimum_distance", - "setter": "set_target_minimum_distance", - "getter": "get_target_minimum_distance" - }, - { - "type": "float", - "name": "target_maximum_distance", - "setter": "set_target_maximum_distance", - "getter": "get_target_maximum_distance" - }, - { - "type": "bool", - "name": "flip_bend_direction", - "setter": "set_flip_bend_direction", - "getter": "get_flip_bend_direction" - } - ] - }, - { - "name": "SkeletonModificationStack2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "setup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "execute", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1005356550, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_modification", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2570274329, - "return_value": { - "type": "SkeletonModification2D" - }, - "arguments": [ - { - "name": "mod_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_modification", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 354162120, - "arguments": [ - { - "name": "modification", - "type": "SkeletonModification2D" - } - ] - }, - { - "name": "delete_modification", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mod_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_modification", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1098262544, - "arguments": [ - { - "name": "mod_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "modification", - "type": "SkeletonModification2D" - } - ] - }, - { - "name": "set_modification_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_modification_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_is_setup", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_strength", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "strength", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_strength", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1697361217, - "return_value": { - "type": "Skeleton2D" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "enabled", - "setter": "set_enabled", - "getter": "get_enabled" - }, - { - "type": "float", - "name": "strength", - "setter": "set_strength", - "getter": "get_strength" - }, - { - "type": "int", - "name": "modification_count", - "setter": "set_modification_count", - "getter": "get_modification_count" - } - ] - }, - { - "name": "SkeletonProfile", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "TailDirection", - "is_bitfield": false, - "values": [ - { - "name": "TAIL_DIRECTION_AVERAGE_CHILDREN", - "value": 0 - }, - { - "name": "TAIL_DIRECTION_SPECIFIC_CHILD", - "value": 1 - }, - { - "name": "TAIL_DIRECTION_END", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_root_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "bone_name", - "type": "StringName" - } - ] - }, - { - "name": "get_root_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2737447660, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_scale_base_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "bone_name", - "type": "StringName" - } - ] - }, - { - "name": "get_scale_base_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2737447660, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_group_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_group_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_group_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "group_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_group_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3780747571, - "arguments": [ - { - "name": "group_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "group_name", - "type": "StringName" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "group_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "group_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "set_bone_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bone_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "find_bone", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2458036349, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "bone_name", - "type": "StringName" - } - ] - }, - { - "name": "get_bone_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bone_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3780747571, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "bone_name", - "type": "StringName" - } - ] - }, - { - "name": "get_bone_parent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bone_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3780747571, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "bone_parent", - "type": "StringName" - } - ] - }, - { - "name": "get_tail_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2675997574, - "return_value": { - "type": "enum::SkeletonProfile.TailDirection" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tail_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1231951015, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "tail_direction", - "type": "enum::SkeletonProfile.TailDirection" - } - ] - }, - { - "name": "get_bone_tail", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bone_tail", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3780747571, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "bone_tail", - "type": "StringName" - } - ] - }, - { - "name": "get_reference_pose", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_reference_pose", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3616898986, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "bone_name", - "type": "Transform3D" - } - ] - }, - { - "name": "get_handle_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_handle_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "handle_offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_group", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3780747571, - "arguments": [ - { - "name": "bone_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "group", - "type": "StringName" - } - ] - } - ], - "signals": [ - { - "name": "profile_updated" - } - ], - "properties": [ - { - "type": "StringName", - "name": "root_bone", - "setter": "set_root_bone", - "getter": "get_root_bone" - }, - { - "type": "StringName", - "name": "scale_base_bone", - "setter": "set_scale_base_bone", - "getter": "get_scale_base_bone" - }, - { - "type": "int", - "name": "group_size", - "setter": "set_group_size", - "getter": "get_group_size" - }, - { - "type": "int", - "name": "bone_size", - "setter": "set_bone_size", - "getter": "get_bone_size" - } - ] - }, - { - "name": "SkeletonProfileHumanoid", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "SkeletonProfile", - "api_type": "core" - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "bind_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_bind_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_bind", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3616898986, - "arguments": [ - { - "name": "bone", - "type": "int", - "meta": "int32" - }, - { - "name": "pose", - "type": "Transform3D" - } - ] - }, - { - "name": "add_named_bind", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3154712474, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "pose", - "type": "Transform3D" - } - ] - }, - { - "name": "set_bind_pose", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3616898986, - "arguments": [ - { - "name": "bind_index", - "type": "int", - "meta": "int32" - }, - { - "name": "pose", - "type": "Transform3D" - } - ] - }, - { - "name": "get_bind_pose", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965739696, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "bind_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bind_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3780747571, - "arguments": [ - { - "name": "bind_index", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_bind_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 659327637, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "bind_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_bind_bone", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "bind_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_binds", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "SkinReference", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_skeleton", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_skin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2074563878, - "return_value": { - "type": "Skin" - } - } - ] - }, - { - "name": "Sky", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "RadianceSize", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "ProcessMode", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "set_radiance_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1512957179, - "arguments": [ - { - "name": "size", - "type": "enum::Sky.RadianceSize" - } - ] - }, - { - "name": "get_radiance_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2708733976, - "return_value": { - "type": "enum::Sky.RadianceSize" - } - }, - { - "name": "set_process_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 875986769, - "arguments": [ - { - "name": "mode", - "type": "enum::Sky.ProcessMode" - } - ] - }, - { - "name": "get_process_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 731245043, - "return_value": { - "type": "enum::Sky.ProcessMode" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - } - ], - "properties": [ - { - "type": "ShaderMaterial,PanoramaSkyMaterial,ProceduralSkyMaterial,PhysicalSkyMaterial", - "name": "sky_material", - "setter": "set_material", - "getter": "get_material" - }, - { - "type": "int", - "name": "process_mode", - "setter": "set_process_mode", - "getter": "get_process_mode" - }, - { - "type": "int", - "name": "radiance_size", - "setter": "set_radiance_size", - "getter": "get_radiance_size" - } - ] - }, - { - "name": "Slider", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Range", - "api_type": "core", - "methods": [ - { - "name": "set_ticks", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_ticks", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_ticks_on_borders", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_ticks_on_borders", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "ticks_on_border", - "type": "bool" - } - ] - }, - { - "name": "set_editable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "editable", - "type": "bool" - } - ] - }, - { - "name": "is_editable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_scrollable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "scrollable", - "type": "bool" - } - ] - }, - { - "name": "is_scrollable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "drag_started" - }, - { - "name": "drag_ended", - "arguments": [ - { - "name": "value_changed", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "editable", - "setter": "set_editable", - "getter": "is_editable" - }, - { - "type": "bool", - "name": "scrollable", - "setter": "set_scrollable", - "getter": "is_scrollable" - }, - { - "type": "int", - "name": "tick_count", - "setter": "set_ticks", - "getter": "get_ticks" - }, - { - "type": "bool", - "name": "ticks_on_borders", - "setter": "set_ticks_on_borders", - "getter": "get_ticks_on_borders" - } - ] - }, - { - "name": "SliderJoint3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Joint3D", - "api_type": "core", - "enums": [ - { - "name": "Param", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 918243683, - "arguments": [ - { - "name": "param", - "type": "enum::SliderJoint3D.Param" - }, - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_param", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 959925627, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "param", - "type": "enum::SliderJoint3D.Param" - } - ] - } - ] - }, - { - "name": "SoftBody3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "MeshInstance3D", - "api_type": "core", - "enums": [ - { - "name": "DisableMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "collision_mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "collision_layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_layer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_collision_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_collision_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_parent_collision_ignore", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "parent_collision_ignore", - "type": "NodePath" - } - ] - }, - { - "name": "get_parent_collision_ignore", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - }, - { - "name": "set_disable_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1104158384, - "arguments": [ - { - "name": "mode", - "type": "enum::SoftBody3D.DisableMode" - } - ] - }, - { - "name": "get_disable_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4135042476, - "return_value": { - "type": "enum::SoftBody3D.DisableMode" - } - }, - { - "name": "get_collision_exceptions", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::PhysicsBody3D" - } - }, - { - "name": "add_collision_exception_with", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "remove_collision_exception_with", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "body", - "type": "Node" - } - ] - }, - { - "name": "set_simulation_precision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "simulation_precision", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_simulation_precision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_total_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mass", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_total_mass", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_linear_stiffness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "linear_stiffness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_linear_stiffness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_pressure_coefficient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pressure_coefficient", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pressure_coefficient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_damping_coefficient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "damping_coefficient", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_damping_coefficient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_drag_coefficient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "drag_coefficient", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_drag_coefficient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_point_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 871989493, - "return_value": { - "type": "Vector3" - }, - "arguments": [ - { - "name": "point_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_point_pinned", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814935226, - "arguments": [ - { - "name": "point_index", - "type": "int", - "meta": "int32" - }, - { - "name": "pinned", - "type": "bool" - }, - { - "name": "attachment_path", - "type": "NodePath", - "default_value": "NodePath(\"\")" - } - ] - }, - { - "name": "is_point_pinned", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "point_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_ray_pickable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "ray_pickable", - "type": "bool" - } - ] - }, - { - "name": "is_ray_pickable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "collision_layer", - "setter": "set_collision_layer", - "getter": "get_collision_layer" - }, - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "NodePath", - "name": "parent_collision_ignore", - "setter": "set_parent_collision_ignore", - "getter": "get_parent_collision_ignore" - }, - { - "type": "int", - "name": "simulation_precision", - "setter": "set_simulation_precision", - "getter": "get_simulation_precision" - }, - { - "type": "float", - "name": "total_mass", - "setter": "set_total_mass", - "getter": "get_total_mass" - }, - { - "type": "float", - "name": "linear_stiffness", - "setter": "set_linear_stiffness", - "getter": "get_linear_stiffness" - }, - { - "type": "float", - "name": "pressure_coefficient", - "setter": "set_pressure_coefficient", - "getter": "get_pressure_coefficient" - }, - { - "type": "float", - "name": "damping_coefficient", - "setter": "set_damping_coefficient", - "getter": "get_damping_coefficient" - }, - { - "type": "float", - "name": "drag_coefficient", - "setter": "set_drag_coefficient", - "getter": "get_drag_coefficient" - }, - { - "type": "bool", - "name": "ray_pickable", - "setter": "set_ray_pickable", - "getter": "is_ray_pickable" - }, - { - "type": "int", - "name": "disable_mode", - "setter": "set_disable_mode", - "getter": "get_disable_mode" - } - ] - }, - { - "name": "SphereMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PrimitiveMesh", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "height", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radial_segments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "radial_segments", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_radial_segments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_rings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "rings", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_rings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_is_hemisphere", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "is_hemisphere", - "type": "bool" - } - ] - }, - { - "name": "get_is_hemisphere", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "height", - "setter": "set_height", - "getter": "get_height" - }, - { - "type": "int", - "name": "radial_segments", - "setter": "set_radial_segments", - "getter": "get_radial_segments" - }, - { - "type": "int", - "name": "rings", - "setter": "set_rings", - "getter": "get_rings" - }, - { - "type": "bool", - "name": "is_hemisphere", - "setter": "set_is_hemisphere", - "getter": "get_is_hemisphere" - } - ] - }, - { - "name": "SphereOccluder3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Occluder3D", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - } - ] - }, - { - "name": "SphereShape3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape3D", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - } - ] - }, - { - "name": "SpinBox", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Range", - "api_type": "core", - "methods": [ - { - "name": "set_horizontal_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312603777, - "arguments": [ - { - "name": "alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_horizontal_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 341400642, - "return_value": { - "type": "enum::HorizontalAlignment" - } - }, - { - "name": "set_suffix", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "suffix", - "type": "String" - } - ] - }, - { - "name": "get_suffix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_prefix", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "prefix", - "type": "String" - } - ] - }, - { - "name": "get_prefix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_editable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "set_custom_arrow_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "arrow_step", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_custom_arrow_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "is_editable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_update_on_text_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_update_on_text_changed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_select_all_on_focus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_select_all_on_focus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "apply", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_line_edit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4071694264, - "return_value": { - "type": "LineEdit" - } - } - ], - "properties": [ - { - "type": "int", - "name": "alignment", - "setter": "set_horizontal_alignment", - "getter": "get_horizontal_alignment" - }, - { - "type": "bool", - "name": "editable", - "setter": "set_editable", - "getter": "is_editable" - }, - { - "type": "bool", - "name": "update_on_text_changed", - "setter": "set_update_on_text_changed", - "getter": "get_update_on_text_changed" - }, - { - "type": "String", - "name": "prefix", - "setter": "set_prefix", - "getter": "get_prefix" - }, - { - "type": "String", - "name": "suffix", - "setter": "set_suffix", - "getter": "get_suffix" - }, - { - "type": "float", - "name": "custom_arrow_step", - "setter": "set_custom_arrow_step", - "getter": "get_custom_arrow_step" - }, - { - "type": "bool", - "name": "select_all_on_focus", - "setter": "set_select_all_on_focus", - "getter": "is_select_all_on_focus" - } - ] - }, - { - "name": "SplitContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "core", - "enums": [ - { - "name": "DraggerVisibility", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "offset", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_split_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "clamp_split_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_collapsed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "collapsed", - "type": "bool" - } - ] - }, - { - "name": "is_collapsed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_dragger_visibility", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1168273952, - "arguments": [ - { - "name": "mode", - "type": "enum::SplitContainer.DraggerVisibility" - } - ] - }, - { - "name": "get_dragger_visibility", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 967297479, - "return_value": { - "type": "enum::SplitContainer.DraggerVisibility" - } - }, - { - "name": "set_vertical", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "vertical", - "type": "bool" - } - ] - }, - { - "name": "is_vertical", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "dragged", - "arguments": [ - { - "name": "offset", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "split_offset", - "setter": "set_split_offset", - "getter": "get_split_offset" - }, - { - "type": "bool", - "name": "collapsed", - "setter": "set_collapsed", - "getter": "is_collapsed" - }, - { - "type": "int", - "name": "dragger_visibility", - "setter": "set_dragger_visibility", - "getter": "get_dragger_visibility" - }, - { - "type": "bool", - "name": "vertical", - "setter": "set_vertical", - "getter": "is_vertical" - } - ] - }, - { - "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": 4 - }, - { - "type": "float", - "name": "spot_attenuation", - "setter": "set_param", - "getter": "get_param", - "index": 6 - }, - { - "type": "float", - "name": "spot_angle", - "setter": "set_param", - "getter": "get_param", - "index": 7 - }, - { - "type": "float", - "name": "spot_angle_attenuation", - "setter": "set_param", - "getter": "get_param", - "index": 8 - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1549710052, - "arguments": [ - { - "name": "shape", - "type": "Shape3D" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3214262478, - "return_value": { - "type": "Shape3D" - } - }, - { - "name": "add_excluded_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "RID", - "type": "RID" - } - ] - }, - { - "name": "remove_excluded_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "RID", - "type": "RID" - } - ] - }, - { - "name": "clear_excluded_objects", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_collision_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "margin", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "int", - "name": "collision_mask", - "setter": "set_collision_mask", - "getter": "get_collision_mask" - }, - { - "type": "Shape3D", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "float", - "name": "spring_length", - "setter": "set_length", - "getter": "get_length" - }, - { - "type": "float", - "name": "margin", - "setter": "set_margin", - "getter": "get_margin" - } - ] - }, - { - "name": "Sprite2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_centered", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "centered", - "type": "bool" - } - ] - }, - { - "name": "is_centered", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_flip_h", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_h", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_h", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_flip_v", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_v", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_v", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_region_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_region_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_pixel_opaque", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 556197845, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "pos", - "type": "Vector2" - } - ] - }, - { - "name": "set_region_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "get_region_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "set_region_filter_clip_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_region_filter_clip_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_frame_coords", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_frame_coords", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_vframes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "vframes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_vframes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_hframes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "hframes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_hframes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - } - ], - "signals": [ - { - "name": "frame_changed" - }, - { - "name": "texture_changed" - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "bool", - "name": "centered", - "setter": "set_centered", - "getter": "is_centered" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "bool", - "name": "flip_h", - "setter": "set_flip_h", - "getter": "is_flipped_h" - }, - { - "type": "bool", - "name": "flip_v", - "setter": "set_flip_v", - "getter": "is_flipped_v" - }, - { - "type": "int", - "name": "hframes", - "setter": "set_hframes", - "getter": "get_hframes" - }, - { - "type": "int", - "name": "vframes", - "setter": "set_vframes", - "getter": "get_vframes" - }, - { - "type": "int", - "name": "frame", - "setter": "set_frame", - "getter": "get_frame" - }, - { - "type": "Vector2i", - "name": "frame_coords", - "setter": "set_frame_coords", - "getter": "get_frame_coords" - }, - { - "type": "bool", - "name": "region_enabled", - "setter": "set_region_enabled", - "getter": "is_region_enabled" - }, - { - "type": "Rect2", - "name": "region_rect", - "setter": "set_region_rect", - "getter": "get_region_rect" - }, - { - "type": "bool", - "name": "region_filter_clip_enabled", - "setter": "set_region_filter_clip_enabled", - "getter": "is_region_filter_clip_enabled" - } - ] - }, - { - "name": "Sprite3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "SpriteBase3D", - "api_type": "core", - "methods": [ - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_region_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_region_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_region_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "get_region_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "set_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "frame", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_frame_coords", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_frame_coords", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_vframes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "vframes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_vframes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_hframes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "hframes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_hframes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "signals": [ - { - "name": "frame_changed" - }, - { - "name": "texture_changed" - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "int", - "name": "hframes", - "setter": "set_hframes", - "getter": "get_hframes" - }, - { - "type": "int", - "name": "vframes", - "setter": "set_vframes", - "getter": "get_vframes" - }, - { - "type": "int", - "name": "frame", - "setter": "set_frame", - "getter": "get_frame" - }, - { - "type": "Vector2", - "name": "frame_coords", - "setter": "set_frame_coords", - "getter": "get_frame_coords" - }, - { - "type": "bool", - "name": "region_enabled", - "setter": "set_region_enabled", - "getter": "is_region_enabled" - }, - { - "type": "Rect2", - "name": "region_rect", - "setter": "set_region_rect", - "getter": "get_region_rect" - } - ] - }, - { - "name": "SpriteBase3D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "GeometryInstance3D", - "api_type": "core", - "enums": [ - { - "name": "DrawFlags", - "is_bitfield": false, - "values": [ - { - "name": "FLAG_TRANSPARENT", - "value": 0 - }, - { - "name": "FLAG_SHADED", - "value": 1 - }, - { - "name": "FLAG_DOUBLE_SIDED", - "value": 2 - }, - { - "name": "FLAG_DISABLE_DEPTH_TEST", - "value": 3 - }, - { - "name": "FLAG_FIXED_SIZE", - "value": 4 - }, - { - "name": "FLAG_MAX", - "value": 5 - } - ] - }, - { - "name": "AlphaCutMode", - "is_bitfield": false, - "values": [ - { - "name": "ALPHA_CUT_DISABLED", - "value": 0 - }, - { - "name": "ALPHA_CUT_DISCARD", - "value": 1 - }, - { - "name": "ALPHA_CUT_OPAQUE_PREPASS", - "value": 2 - }, - { - "name": "ALPHA_CUT_HASH", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_centered", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "centered", - "type": "bool" - } - ] - }, - { - "name": "is_centered", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_flip_h", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_h", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_h", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_flip_v", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_v", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_v", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "get_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_render_priority", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "priority", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_render_priority", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_pixel_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pixel_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pixel_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_axis", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1144690656, - "arguments": [ - { - "name": "axis", - "type": "enum::Vector3.Axis" - } - ] - }, - { - "name": "get_axis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3050976882, - "return_value": { - "type": "enum::Vector3.Axis" - } - }, - { - "name": "set_draw_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1135633219, - "arguments": [ - { - "name": "flag", - "type": "enum::SpriteBase3D.DrawFlags" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_draw_flag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1733036628, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "flag", - "type": "enum::SpriteBase3D.DrawFlags" - } - ] - }, - { - "name": "set_alpha_cut_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 227561226, - "arguments": [ - { - "name": "mode", - "type": "enum::SpriteBase3D.AlphaCutMode" - } - ] - }, - { - "name": "get_alpha_cut_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 336003791, - "return_value": { - "type": "enum::SpriteBase3D.AlphaCutMode" - } - }, - { - "name": "set_alpha_scissor_threshold", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_alpha_scissor_threshold", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_alpha_hash_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "threshold", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_alpha_hash_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_alpha_antialiasing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3212649852, - "arguments": [ - { - "name": "alpha_aa", - "type": "enum::BaseMaterial3D.AlphaAntiAliasing" - } - ] - }, - { - "name": "get_alpha_antialiasing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2889939400, - "return_value": { - "type": "enum::BaseMaterial3D.AlphaAntiAliasing" - } - }, - { - "name": "set_alpha_antialiasing_edge", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "edge", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_alpha_antialiasing_edge", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_billboard_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4202036497, - "arguments": [ - { - "name": "mode", - "type": "enum::BaseMaterial3D.BillboardMode" - } - ] - }, - { - "name": "get_billboard_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1283840139, - "return_value": { - "type": "enum::BaseMaterial3D.BillboardMode" - } - }, - { - "name": "set_texture_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 22904437, - "arguments": [ - { - "name": "mode", - "type": "enum::BaseMaterial3D.TextureFilter" - } - ] - }, - { - "name": "get_texture_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3289213076, - "return_value": { - "type": "enum::BaseMaterial3D.TextureFilter" - } - }, - { - "name": "get_item_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "generate_triangle_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3476533166, - "return_value": { - "type": "TriangleMesh" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "centered", - "setter": "set_centered", - "getter": "is_centered" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "bool", - "name": "flip_h", - "setter": "set_flip_h", - "getter": "is_flipped_h" - }, - { - "type": "bool", - "name": "flip_v", - "setter": "set_flip_v", - "getter": "is_flipped_v" - }, - { - "type": "Color", - "name": "modulate", - "setter": "set_modulate", - "getter": "get_modulate" - }, - { - "type": "float", - "name": "pixel_size", - "setter": "set_pixel_size", - "getter": "get_pixel_size" - }, - { - "type": "int", - "name": "axis", - "setter": "set_axis", - "getter": "get_axis" - }, - { - "type": "int", - "name": "billboard", - "setter": "set_billboard_mode", - "getter": "get_billboard_mode" - }, - { - "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": "bool", - "name": "no_depth_test", - "setter": "set_draw_flag", - "getter": "get_draw_flag", - "index": 3 - }, - { - "type": "bool", - "name": "fixed_size", - "setter": "set_draw_flag", - "getter": "get_draw_flag", - "index": 4 - }, - { - "type": "int", - "name": "alpha_cut", - "setter": "set_alpha_cut_mode", - "getter": "get_alpha_cut_mode" - }, - { - "type": "float", - "name": "alpha_scissor_threshold", - "setter": "set_alpha_scissor_threshold", - "getter": "get_alpha_scissor_threshold" - }, - { - "type": "float", - "name": "alpha_hash_scale", - "setter": "set_alpha_hash_scale", - "getter": "get_alpha_hash_scale" - }, - { - "type": "int", - "name": "alpha_antialiasing_mode", - "setter": "set_alpha_antialiasing", - "getter": "get_alpha_antialiasing" - }, - { - "type": "float", - "name": "alpha_antialiasing_edge", - "setter": "set_alpha_antialiasing_edge", - "getter": "get_alpha_antialiasing_edge" - }, - { - "type": "int", - "name": "texture_filter", - "setter": "set_texture_filter", - "getter": "get_texture_filter" - }, - { - "type": "int", - "name": "render_priority", - "setter": "set_render_priority", - "getter": "get_render_priority" - } - ] - }, - { - "name": "SpriteFrames", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "add_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "anim", - "type": "StringName" - } - ] - }, - { - "name": "has_animation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "anim", - "type": "StringName" - } - ] - }, - { - "name": "remove_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "anim", - "type": "StringName" - } - ] - }, - { - "name": "rename_animation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "anim", - "type": "StringName" - }, - { - "name": "newname", - "type": "StringName" - } - ] - }, - { - "name": "get_animation_names", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_animation_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4135858297, - "arguments": [ - { - "name": "anim", - "type": "StringName" - }, - { - "name": "fps", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_animation_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2349060816, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "anim", - "type": "StringName" - } - ] - }, - { - "name": "set_animation_loop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2524380260, - "arguments": [ - { - "name": "anim", - "type": "StringName" - }, - { - "name": "loop", - "type": "bool" - } - ] - }, - { - "name": "get_animation_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "anim", - "type": "StringName" - } - ] - }, - { - "name": "add_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1351332740, - "hash_compatibility": [ - 407562921 - ], - "arguments": [ - { - "name": "anim", - "type": "StringName" - }, - { - "name": "texture", - "type": "Texture2D" - }, - { - "name": "duration", - "type": "float", - "meta": "float", - "default_value": "1.0" - }, - { - "name": "at_position", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "set_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 56804795, - "hash_compatibility": [ - 3155743884 - ], - "arguments": [ - { - "name": "anim", - "type": "StringName" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - }, - { - "name": "texture", - "type": "Texture2D" - }, - { - "name": "duration", - "type": "float", - "meta": "float", - "default_value": "1.0" - } - ] - }, - { - "name": "remove_frame", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2415702435, - "arguments": [ - { - "name": "anim", - "type": "StringName" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_frame_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2458036349, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "anim", - "type": "StringName" - } - ] - }, - { - "name": "get_frame_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2900517879, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "anim", - "type": "StringName" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_frame_duration", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1129309260, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "anim", - "type": "StringName" - }, - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "anim", - "type": "StringName" - } - ] - }, - { - "name": "clear_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "Array", - "name": "animations", - "setter": "_set_animations", - "getter": "_get_animations" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "vel", - "type": "Vector2" - } - ] - }, - { - "name": "set_constant_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "vel", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_constant_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_constant_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_physics_material_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1784508650, - "arguments": [ - { - "name": "physics_material_override", - "type": "PhysicsMaterial" - } - ] - }, - { - "name": "get_physics_material_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2521850424, - "return_value": { - "type": "PhysicsMaterial" - } - } - ], - "properties": [ - { - "type": "PhysicsMaterial", - "name": "physics_material_override", - "setter": "set_physics_material_override", - "getter": "get_physics_material_override" - }, - { - "type": "Vector2", - "name": "constant_linear_velocity", - "setter": "set_constant_linear_velocity", - "getter": "get_constant_linear_velocity" - }, - { - "type": "float", - "name": "constant_angular_velocity", - "setter": "set_constant_angular_velocity", - "getter": "get_constant_angular_velocity" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "vel", - "type": "Vector3" - } - ] - }, - { - "name": "set_constant_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "vel", - "type": "Vector3" - } - ] - }, - { - "name": "get_constant_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_constant_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_physics_material_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1784508650, - "arguments": [ - { - "name": "physics_material_override", - "type": "PhysicsMaterial" - } - ] - }, - { - "name": "get_physics_material_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2521850424, - "return_value": { - "type": "PhysicsMaterial" - } - } - ], - "properties": [ - { - "type": "PhysicsMaterial", - "name": "physics_material_override", - "setter": "set_physics_material_override", - "getter": "get_physics_material_override" - }, - { - "type": "Vector3", - "name": "constant_linear_velocity", - "setter": "set_constant_linear_velocity", - "getter": "get_constant_linear_velocity" - }, - { - "type": "Vector3", - "name": "constant_angular_velocity", - "setter": "set_constant_angular_velocity", - "getter": "get_constant_angular_velocity" - } - ] - }, - { - "name": "StreamPeer", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "put_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "put_partial_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2934048347, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "get_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1171824711, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "bytes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_partial_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1171824711, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "bytes", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_available_bytes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_big_endian", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_big_endian_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "put_8", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int8" - } - ] - }, - { - "name": "put_u8", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "uint8" - } - ] - }, - { - "name": "put_16", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int16" - } - ] - }, - { - "name": "put_u16", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "uint16" - } - ] - }, - { - "name": "put_32", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "put_u32", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "put_64", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "put_u64", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "put_float", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "put_double", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "put_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "value", - "type": "String" - } - ] - }, - { - "name": "put_utf8_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "value", - "type": "String" - } - ] - }, - { - "name": "put_var", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 738511890, - "arguments": [ - { - "name": "value", - "type": "Variant" - }, - { - "name": "full_objects", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_8", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int8" - } - }, - { - "name": "get_u8", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint8" - } - }, - { - "name": "get_16", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int16" - } - }, - { - "name": "get_u16", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint16" - } - }, - { - "name": "get_32", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_u32", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "get_64", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "get_u64", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_float", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_double", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2309358862, - "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_static": false, - "is_virtual": false, - "hash": 2309358862, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "bytes", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "get_var", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3442865206, - "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" - } - ] - }, - { - "name": "StreamPeerBuffer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "StreamPeer", - "api_type": "core", - "methods": [ - { - "name": "seek", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "resize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_data_array", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2971499966, - "arguments": [ - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "get_data_array", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2362200018, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "duplicate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2474064677, - "return_value": { - "type": "StreamPeerBuffer" - } - } - ], - "properties": [ - { - "type": "PackedByteArray", - "name": "data_array", - "setter": "set_data_array", - "getter": "get_data_array" - } - ] - }, - { - "name": "StreamPeerExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "StreamPeer", - "api_type": "core", - "methods": [ - { - "name": "_get_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "r_buffer", - "type": "uint8_t*" - }, - { - "name": "r_bytes", - "type": "int", - "meta": "int32" - }, - { - "name": "r_received", - "type": "int32_t*" - } - ] - }, - { - "name": "_get_partial_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "r_buffer", - "type": "uint8_t*" - }, - { - "name": "r_bytes", - "type": "int", - "meta": "int32" - }, - { - "name": "r_received", - "type": "int32_t*" - } - ] - }, - { - "name": "_put_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_data", - "type": "const uint8_t*" - }, - { - "name": "p_bytes", - "type": "int", - "meta": "int32" - }, - { - "name": "r_sent", - "type": "int32_t*" - } - ] - }, - { - "name": "_put_partial_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_data", - "type": "const uint8_t*" - }, - { - "name": "p_bytes", - "type": "int", - "meta": "int32" - }, - { - "name": "r_sent", - "type": "int32_t*" - } - ] - }, - { - "name": "_get_available_bytes", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ] - }, - { - "name": "StreamPeerGZIP", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "StreamPeer", - "api_type": "core", - "methods": [ - { - "name": "start_compression", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 781582770, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "use_deflate", - "type": "bool", - "default_value": "false" - }, - { - "name": "buffer_size", - "type": "int", - "meta": "int32", - "default_value": "65535" - } - ] - }, - { - "name": "start_decompression", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 781582770, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "use_deflate", - "type": "bool", - "default_value": "false" - }, - { - "name": "buffer_size", - "type": "int", - "meta": "int32", - "default_value": "65535" - } - ] - }, - { - "name": "finish", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "StreamPeerTCP", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "StreamPeer", - "api_type": "core", - "enums": [ - { - "name": "Status", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3167955072, - "hash_compatibility": [ - 4025329869 - ], - "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_static": false, - "is_virtual": false, - "hash": 993915709, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "host", - "type": "String" - }, - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "poll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "get_status", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 859471121, - "return_value": { - "type": "enum::StreamPeerTCP.Status" - } - }, - { - "name": "get_connected_host", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_connected_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_local_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "disconnect_from_host", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_no_delay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - } - ] - }, - { - "name": "StreamPeerTLS", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "StreamPeer", - "api_type": "core", - "enums": [ - { - "name": "Status", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "accept_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4292689651, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "stream", - "type": "StreamPeer" - }, - { - "name": "server_options", - "type": "TLSOptions" - } - ] - }, - { - "name": "connect_to_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 57169517, - "hash_compatibility": [ - 1325480781 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "stream", - "type": "StreamPeer" - }, - { - "name": "common_name", - "type": "String" - }, - { - "name": "client_options", - "type": "TLSOptions", - "default_value": "null" - } - ] - }, - { - "name": "get_status", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1128380576, - "return_value": { - "type": "enum::StreamPeerTLS.Status" - } - }, - { - "name": "get_stream", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2741655269, - "return_value": { - "type": "StreamPeer" - } - }, - { - "name": "disconnect_from_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "StyleBox", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "_draw", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "to_canvas_item", - "type": "RID" - }, - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "_get_draw_rect", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "_get_minimum_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "_test_mask", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - }, - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "get_minimum_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_content_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4290182280, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - }, - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_content_margin_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_content_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2869120046, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "get_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2869120046, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "draw", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2275962004, - "arguments": [ - { - "name": "canvas_item", - "type": "RID" - }, - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "get_current_item_drawn", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3213695180, - "return_value": { - "type": "CanvasItem" - } - }, - { - "name": "test_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3735564539, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - }, - { - "name": "rect", - "type": "Rect2" - } - ] - } - ], - "properties": [ - { - "type": "float", - "name": "content_margin_left", - "setter": "set_content_margin", - "getter": "get_content_margin", - "index": 0 - }, - { - "type": "float", - "name": "content_margin_top", - "setter": "set_content_margin", - "getter": "get_content_margin", - "index": 1 - }, - { - "type": "float", - "name": "content_margin_right", - "setter": "set_content_margin", - "getter": "get_content_margin", - "index": 2 - }, - { - "type": "float", - "name": "content_margin_bottom", - "setter": "set_content_margin", - "getter": "get_content_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_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_bg_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_border_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_border_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_border_width_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_border_width_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_border_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 437707142, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - }, - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_border_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1983885014, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "set_border_blend", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "blend", - "type": "bool" - } - ] - }, - { - "name": "get_border_blend", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_corner_radius_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "radius", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_corner_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2696158768, - "arguments": [ - { - "name": "corner", - "type": "enum::Corner" - }, - { - "name": "radius", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_corner_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3982397690, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "corner", - "type": "enum::Corner" - } - ] - }, - { - "name": "set_expand_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4290182280, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - }, - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_expand_margin_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_expand_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2869120046, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "set_draw_center", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "draw_center", - "type": "bool" - } - ] - }, - { - "name": "is_draw_center_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_skew", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "skew", - "type": "Vector2" - } - ] - }, - { - "name": "get_skew", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_shadow_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_shadow_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_shadow_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_shadow_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_shadow_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_shadow_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_anti_aliased", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "anti_aliased", - "type": "bool" - } - ] - }, - { - "name": "is_anti_aliased", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_aa_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_aa_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_corner_detail", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "detail", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_corner_detail", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "Color", - "name": "bg_color", - "setter": "set_bg_color", - "getter": "get_bg_color" - }, - { - "type": "bool", - "name": "draw_center", - "setter": "set_draw_center", - "getter": "is_draw_center_enabled" - }, - { - "type": "Vector2", - "name": "skew", - "setter": "set_skew", - "getter": "get_skew" - }, - { - "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" - }, - { - "type": "bool", - "name": "border_blend", - "setter": "set_border_blend", - "getter": "get_border_blend" - }, - { - "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" - }, - { - "type": "float", - "name": "expand_margin_left", - "setter": "set_expand_margin", - "getter": "get_expand_margin", - "index": 0 - }, - { - "type": "float", - "name": "expand_margin_top", - "setter": "set_expand_margin", - "getter": "get_expand_margin", - "index": 1 - }, - { - "type": "float", - "name": "expand_margin_right", - "setter": "set_expand_margin", - "getter": "get_expand_margin", - "index": 2 - }, - { - "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" - }, - { - "type": "int", - "name": "shadow_size", - "setter": "set_shadow_size", - "getter": "get_shadow_size" - }, - { - "type": "Vector2", - "name": "shadow_offset", - "setter": "set_shadow_offset", - "getter": "get_shadow_offset" - }, - { - "type": "bool", - "name": "anti_aliasing", - "setter": "set_anti_aliased", - "getter": "is_anti_aliased" - }, - { - "type": "float", - "name": "anti_aliasing_size", - "setter": "set_aa_size", - "getter": "get_aa_size" - } - ] - }, - { - "name": "StyleBoxLine", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "StyleBox", - "api_type": "core", - "methods": [ - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_thickness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "thickness", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_grow_begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_grow_begin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_grow_end", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_grow_end", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_vertical", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "vertical", - "type": "bool" - } - ] - }, - { - "name": "is_vertical", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "Color", - "name": "color", - "setter": "set_color", - "getter": "get_color" - }, - { - "type": "float", - "name": "grow_begin", - "setter": "set_grow_begin", - "getter": "get_grow_begin" - }, - { - "type": "float", - "name": "grow_end", - "setter": "set_grow_end", - "getter": "get_grow_end" - }, - { - "type": "int", - "name": "thickness", - "setter": "set_thickness", - "getter": "get_thickness" - }, - { - "type": "bool", - "name": "vertical", - "setter": "set_vertical", - "getter": "is_vertical" - } - ] - }, - { - "name": "StyleBoxTexture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "StyleBox", - "api_type": "core", - "enums": [ - { - "name": "AxisStretchMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_texture_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4290182280, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - }, - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_texture_margin_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_texture_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2869120046, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "set_expand_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4290182280, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - }, - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_expand_margin_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_expand_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2869120046, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "set_region_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "region", - "type": "Rect2" - } - ] - }, - { - "name": "get_region_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "set_draw_center", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_draw_center_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_h_axis_stretch_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2965538783, - "arguments": [ - { - "name": "mode", - "type": "enum::StyleBoxTexture.AxisStretchMode" - } - ] - }, - { - "name": "get_h_axis_stretch_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3807744063, - "return_value": { - "type": "enum::StyleBoxTexture.AxisStretchMode" - } - }, - { - "name": "set_v_axis_stretch_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2965538783, - "arguments": [ - { - "name": "mode", - "type": "enum::StyleBoxTexture.AxisStretchMode" - } - ] - }, - { - "name": "get_v_axis_stretch_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3807744063, - "return_value": { - "type": "enum::StyleBoxTexture.AxisStretchMode" - } - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "float", - "name": "texture_margin_left", - "setter": "set_texture_margin", - "getter": "get_texture_margin", - "index": 0 - }, - { - "type": "float", - "name": "texture_margin_top", - "setter": "set_texture_margin", - "getter": "get_texture_margin", - "index": 1 - }, - { - "type": "float", - "name": "texture_margin_right", - "setter": "set_texture_margin", - "getter": "get_texture_margin", - "index": 2 - }, - { - "type": "float", - "name": "texture_margin_bottom", - "setter": "set_texture_margin", - "getter": "get_texture_margin", - "index": 3 - }, - { - "type": "float", - "name": "expand_margin_left", - "setter": "set_expand_margin", - "getter": "get_expand_margin", - "index": 0 - }, - { - "type": "float", - "name": "expand_margin_top", - "setter": "set_expand_margin", - "getter": "get_expand_margin", - "index": 1 - }, - { - "type": "float", - "name": "expand_margin_right", - "setter": "set_expand_margin", - "getter": "get_expand_margin", - "index": 2 - }, - { - "type": "float", - "name": "expand_margin_bottom", - "setter": "set_expand_margin", - "getter": "get_expand_margin", - "index": 3 - }, - { - "type": "int", - "name": "axis_stretch_horizontal", - "setter": "set_h_axis_stretch_mode", - "getter": "get_h_axis_stretch_mode" - }, - { - "type": "int", - "name": "axis_stretch_vertical", - "setter": "set_v_axis_stretch_mode", - "getter": "get_v_axis_stretch_mode" - }, - { - "type": "Rect2", - "name": "region_rect", - "setter": "set_region_rect", - "getter": "get_region_rect" - }, - { - "type": "Color", - "name": "modulate_color", - "setter": "set_modulate", - "getter": "get_modulate" - }, - { - "type": "bool", - "name": "draw_center", - "setter": "set_draw_center", - "getter": "is_draw_center_enabled" - } - ] - }, - { - "name": "SubViewport", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Viewport", - "api_type": "core", - "enums": [ - { - "name": "ClearMode", - "is_bitfield": false, - "values": [ - { - "name": "CLEAR_MODE_ALWAYS", - "value": 0 - }, - { - "name": "CLEAR_MODE_NEVER", - "value": 1 - }, - { - "name": "CLEAR_MODE_ONCE", - "value": 2 - } - ] - }, - { - "name": "UpdateMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_size_2d_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_size_2d_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_size_2d_override_stretch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_size_2d_override_stretch_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_update_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1295690030, - "arguments": [ - { - "name": "mode", - "type": "enum::SubViewport.UpdateMode" - } - ] - }, - { - "name": "get_update_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2980171553, - "return_value": { - "type": "enum::SubViewport.UpdateMode" - } - }, - { - "name": "set_clear_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2834454712, - "arguments": [ - { - "name": "mode", - "type": "enum::SubViewport.ClearMode" - } - ] - }, - { - "name": "get_clear_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 331324495, - "return_value": { - "type": "enum::SubViewport.ClearMode" - } - } - ], - "properties": [ - { - "type": "Vector2i", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "Vector2i", - "name": "size_2d_override", - "setter": "set_size_2d_override", - "getter": "get_size_2d_override" - }, - { - "type": "bool", - "name": "size_2d_override_stretch", - "setter": "set_size_2d_override_stretch", - "getter": "is_size_2d_override_stretch_enabled" - }, - { - "type": "int", - "name": "render_target_clear_mode", - "setter": "set_clear_mode", - "getter": "get_clear_mode" - }, - { - "type": "int", - "name": "render_target_update_mode", - "setter": "set_update_mode", - "getter": "get_update_mode" - } - ] - }, - { - "name": "SubViewportContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "core", - "methods": [ - { - "name": "_propagate_input_event", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "set_stretch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_stretch_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_stretch_shrink", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_stretch_shrink", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "stretch", - "setter": "set_stretch", - "getter": "is_stretch_enabled" - }, - { - "type": "int", - "name": "stretch_shrink", - "setter": "set_stretch_shrink", - "getter": "get_stretch_shrink" - } - ] - }, - { - "name": "SurfaceTool", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "CustomFormat", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 618679515, - "arguments": [ - { - "name": "count", - "type": "enum::SurfaceTool.SkinWeightCount" - } - ] - }, - { - "name": "get_skin_weight_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1072401130, - "return_value": { - "type": "enum::SurfaceTool.SkinWeightCount" - } - }, - { - "name": "set_custom_format", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4087759856, - "arguments": [ - { - "name": "channel_index", - "type": "int", - "meta": "int32" - }, - { - "name": "format", - "type": "enum::SurfaceTool.CustomFormat" - } - ] - }, - { - "name": "get_custom_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 839863283, - "return_value": { - "type": "enum::SurfaceTool.CustomFormat" - }, - "arguments": [ - { - "name": "channel_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "begin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2230304113, - "arguments": [ - { - "name": "primitive", - "type": "enum::Mesh.PrimitiveType" - } - ] - }, - { - "name": "add_vertex", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "vertex", - "type": "Vector3" - } - ] - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "set_normal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "normal", - "type": "Vector3" - } - ] - }, - { - "name": "set_tangent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3505987427, - "arguments": [ - { - "name": "tangent", - "type": "Plane" - } - ] - }, - { - "name": "set_uv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "uv", - "type": "Vector2" - } - ] - }, - { - "name": "set_uv2", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "uv2", - "type": "Vector2" - } - ] - }, - { - "name": "set_bones", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3614634198, - "arguments": [ - { - "name": "bones", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "set_weights", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2899603908, - "arguments": [ - { - "name": "weights", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "set_custom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "channel_index", - "type": "int", - "meta": "int32" - }, - { - "name": "custom_color", - "type": "Color" - } - ] - }, - { - "name": "set_smooth_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "add_triangle_fan", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2235017613, - "hash_compatibility": [ - 297960074 - ], - "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": "typedarray::Plane", - "default_value": "Array[Plane]([])" - } - ] - }, - { - "name": "add_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "deindex", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "generate_normals", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 107499316, - "arguments": [ - { - "name": "flip", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "generate_tangents", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "optimize_indices_for_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - }, - { - "name": "generate_lod", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1938056459, - "hash_compatibility": [ - 1894448909 - ], - "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_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_primitive_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 768822145, - "return_value": { - "type": "enum::Mesh.PrimitiveType" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "create_from", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1767024570, - "arguments": [ - { - "name": "existing", - "type": "Mesh" - }, - { - "name": "surface", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "create_from_blend_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1306185582, - "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_static": false, - "is_virtual": false, - "hash": 2217967155, - "arguments": [ - { - "name": "existing", - "type": "Mesh" - }, - { - "name": "surface", - "type": "int", - "meta": "int32" - }, - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "commit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4107864055, - "return_value": { - "type": "ArrayMesh" - }, - "arguments": [ - { - "name": "existing", - "type": "ArrayMesh", - "default_value": "null" - }, - { - "name": "flags", - "type": "int", - "meta": "uint64", - "default_value": "0" - } - ] - }, - { - "name": "commit_to_arrays", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "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": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_clear_highlighting_cache", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_update_cache", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "get_line_syntax_highlighting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3554694381, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "update_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear_highlighting_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_text_edit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1893027089, - "return_value": { - "type": "TextEdit" - } - } - ] - }, - { - "name": "SystemFont", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Font", - "api_type": "core", - "methods": [ - { - "name": "set_antialiasing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1669900, - "arguments": [ - { - "name": "antialiasing", - "type": "enum::TextServer.FontAntialiasing" - } - ] - }, - { - "name": "get_antialiasing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4262718649, - "return_value": { - "type": "enum::TextServer.FontAntialiasing" - } - }, - { - "name": "set_generate_mipmaps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "generate_mipmaps", - "type": "bool" - } - ] - }, - { - "name": "get_generate_mipmaps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_allow_system_fallback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow_system_fallback", - "type": "bool" - } - ] - }, - { - "name": "is_allow_system_fallback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_force_autohinter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "force_autohinter", - "type": "bool" - } - ] - }, - { - "name": "is_force_autohinter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hinting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1827459492, - "arguments": [ - { - "name": "hinting", - "type": "enum::TextServer.Hinting" - } - ] - }, - { - "name": "get_hinting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3683214614, - "return_value": { - "type": "enum::TextServer.Hinting" - } - }, - { - "name": "set_subpixel_positioning", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4225742182, - "arguments": [ - { - "name": "subpixel_positioning", - "type": "enum::TextServer.SubpixelPositioning" - } - ] - }, - { - "name": "get_subpixel_positioning", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1069238588, - "return_value": { - "type": "enum::TextServer.SubpixelPositioning" - } - }, - { - "name": "set_multichannel_signed_distance_field", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "msdf", - "type": "bool" - } - ] - }, - { - "name": "is_multichannel_signed_distance_field", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_msdf_pixel_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "msdf_pixel_range", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_msdf_pixel_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_msdf_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "msdf_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_msdf_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_oversampling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "oversampling", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_oversampling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_font_names", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_font_names", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "names", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_font_italic", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_font_italic", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "italic", - "type": "bool" - } - ] - }, - { - "name": "set_font_weight", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "weight", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_font_stretch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "stretch", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "PackedStringArray", - "name": "font_names", - "setter": "set_font_names", - "getter": "get_font_names" - }, - { - "type": "bool", - "name": "font_italic", - "setter": "set_font_italic", - "getter": "get_font_italic" - }, - { - "type": "int", - "name": "font_weight", - "setter": "set_font_weight", - "getter": "get_font_weight" - }, - { - "type": "int", - "name": "font_stretch", - "setter": "set_font_stretch", - "getter": "get_font_stretch" - }, - { - "type": "int", - "name": "antialiasing", - "setter": "set_antialiasing", - "getter": "get_antialiasing" - }, - { - "type": "bool", - "name": "generate_mipmaps", - "setter": "set_generate_mipmaps", - "getter": "get_generate_mipmaps" - }, - { - "type": "bool", - "name": "allow_system_fallback", - "setter": "set_allow_system_fallback", - "getter": "is_allow_system_fallback" - }, - { - "type": "bool", - "name": "force_autohinter", - "setter": "set_force_autohinter", - "getter": "is_force_autohinter" - }, - { - "type": "int", - "name": "hinting", - "setter": "set_hinting", - "getter": "get_hinting" - }, - { - "type": "int", - "name": "subpixel_positioning", - "setter": "set_subpixel_positioning", - "getter": "get_subpixel_positioning" - }, - { - "type": "bool", - "name": "multichannel_signed_distance_field", - "setter": "set_multichannel_signed_distance_field", - "getter": "is_multichannel_signed_distance_field" - }, - { - "type": "int", - "name": "msdf_pixel_range", - "setter": "set_msdf_pixel_range", - "getter": "get_msdf_pixel_range" - }, - { - "type": "int", - "name": "msdf_size", - "setter": "set_msdf_size", - "getter": "get_msdf_size" - }, - { - "type": "float", - "name": "oversampling", - "setter": "set_oversampling", - "getter": "get_oversampling" - } - ] - }, - { - "name": "TCPServer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "listen", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3167955072, - "hash_compatibility": [ - 4025329869 - ], - "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_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_listening", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_local_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "take_connection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 30545006, - "return_value": { - "type": "StreamPeerTCP" - } - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ] - }, - { - "name": "TLSOptions", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "client", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3565000357, - "return_value": { - "type": "TLSOptions" - }, - "arguments": [ - { - "name": "trusted_chain", - "type": "X509Certificate", - "default_value": "null" - }, - { - "name": "common_name_override", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "client_unsafe", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2090251749, - "return_value": { - "type": "TLSOptions" - }, - "arguments": [ - { - "name": "trusted_chain", - "type": "X509Certificate", - "default_value": "null" - } - ] - }, - { - "name": "server", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 36969539, - "return_value": { - "type": "TLSOptions" - }, - "arguments": [ - { - "name": "key", - "type": "CryptoKey" - }, - { - "name": "certificate", - "type": "X509Certificate" - } - ] - } - ] - }, - { - "name": "TabBar", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "enums": [ - { - "name": "AlignmentMode", - "is_bitfield": false, - "values": [ - { - "name": "ALIGNMENT_LEFT", - "value": 0 - }, - { - "name": "ALIGNMENT_CENTER", - "value": 1 - }, - { - "name": "ALIGNMENT_RIGHT", - "value": 2 - }, - { - "name": "ALIGNMENT_MAX", - "value": 3 - } - ] - }, - { - "name": "CloseButtonDisplayPolicy", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "set_tab_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tab_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_current_tab", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_current_tab", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_previous_tab", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "select_previous_available", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "select_next_available", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tab_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "title", - "type": "String" - } - ] - }, - { - "name": "get_tab_title", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1707680378, - "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_static": false, - "is_virtual": false, - "hash": 4235602388, - "return_value": { - "type": "enum::Control.TextDirection" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_tab_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "icon", - "type": "Texture2D" - } - ] - }, - { - "name": "get_tab_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_icon_max_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tab_icon_max_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_button_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "icon", - "type": "Texture2D" - } - ] - }, - { - "name": "get_tab_button_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_tab_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_hidden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "is_tab_hidden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_metadata", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2152698145, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "metadata", - "type": "Variant" - } - ] - }, - { - "name": "get_tab_metadata", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_tab", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_tab", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1465444425, - "arguments": [ - { - "name": "title", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "icon", - "type": "Texture2D", - "default_value": "null" - } - ] - }, - { - "name": "get_tab_idx_at_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3820158470, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "set_tab_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2413632353, - "arguments": [ - { - "name": "alignment", - "type": "enum::TabBar.AlignmentMode" - } - ] - }, - { - "name": "get_tab_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2178122193, - "return_value": { - "type": "enum::TabBar.AlignmentMode" - } - }, - { - "name": "set_clip_tabs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "clip_tabs", - "type": "bool" - } - ] - }, - { - "name": "get_clip_tabs", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_tab_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_offset_buttons_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "ensure_tab_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tab_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3327874267, - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "move_tab", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 2212906737, - "arguments": [ - { - "name": "policy", - "type": "enum::TabBar.CloseButtonDisplayPolicy" - } - ] - }, - { - "name": "get_tab_close_display_policy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2956568028, - "return_value": { - "type": "enum::TabBar.CloseButtonDisplayPolicy" - } - }, - { - "name": "set_max_tab_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_tab_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_scrolling_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_scrolling_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_drag_to_rearrange_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_drag_to_rearrange_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tabs_rearrange_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "group_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tabs_rearrange_group", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_scroll_to_selected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_scroll_to_selected", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_select_with_rmb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_select_with_rmb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "clear_tabs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "signals": [ - { - "name": "tab_selected", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_changed", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_clicked", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_rmb_clicked", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_close_pressed", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_button_pressed", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_hovered", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "active_tab_rearranged", - "arguments": [ - { - "name": "idx_to", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "tab_count", - "setter": "set_tab_count", - "getter": "get_tab_count" - }, - { - "type": "int", - "name": "current_tab", - "setter": "set_current_tab", - "getter": "get_current_tab" - }, - { - "type": "int", - "name": "tab_alignment", - "setter": "set_tab_alignment", - "getter": "get_tab_alignment" - }, - { - "type": "bool", - "name": "clip_tabs", - "setter": "set_clip_tabs", - "getter": "get_clip_tabs" - }, - { - "type": "int", - "name": "tab_close_display_policy", - "setter": "set_tab_close_display_policy", - "getter": "get_tab_close_display_policy" - }, - { - "type": "int", - "name": "max_tab_width", - "setter": "set_max_tab_width", - "getter": "get_max_tab_width" - }, - { - "type": "bool", - "name": "scrolling_enabled", - "setter": "set_scrolling_enabled", - "getter": "get_scrolling_enabled" - }, - { - "type": "bool", - "name": "drag_to_rearrange_enabled", - "setter": "set_drag_to_rearrange_enabled", - "getter": "get_drag_to_rearrange_enabled" - }, - { - "type": "int", - "name": "tabs_rearrange_group", - "setter": "set_tabs_rearrange_group", - "getter": "get_tabs_rearrange_group" - }, - { - "type": "bool", - "name": "scroll_to_selected", - "setter": "set_scroll_to_selected", - "getter": "get_scroll_to_selected" - }, - { - "type": "bool", - "name": "select_with_rmb", - "setter": "set_select_with_rmb", - "getter": "get_select_with_rmb" - } - ] - }, - { - "name": "TabContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Container", - "api_type": "core", - "methods": [ - { - "name": "get_tab_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_current_tab", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_current_tab", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_previous_tab", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "select_previous_available", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "select_next_available", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_current_tab_control", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2783021301, - "return_value": { - "type": "Control" - } - }, - { - "name": "get_tab_bar", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1865451809, - "return_value": { - "type": "TabBar" - } - }, - { - "name": "get_tab_control", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1065994134, - "return_value": { - "type": "Control" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2413632353, - "arguments": [ - { - "name": "alignment", - "type": "enum::TabBar.AlignmentMode" - } - ] - }, - { - "name": "get_tab_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2178122193, - "return_value": { - "type": "enum::TabBar.AlignmentMode" - } - }, - { - "name": "set_clip_tabs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "clip_tabs", - "type": "bool" - } - ] - }, - { - "name": "get_clip_tabs", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tabs_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "are_tabs_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_all_tabs_in_front", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "is_front", - "type": "bool" - } - ] - }, - { - "name": "is_all_tabs_in_front", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tab_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "title", - "type": "String" - } - ] - }, - { - "name": "get_tab_title", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "icon", - "type": "Texture2D" - } - ] - }, - { - "name": "get_tab_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "is_tab_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_hidden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "hidden", - "type": "bool" - } - ] - }, - { - "name": "is_tab_hidden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_metadata", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2152698145, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "metadata", - "type": "Variant" - } - ] - }, - { - "name": "get_tab_metadata", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tab_button_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - }, - { - "name": "icon", - "type": "Texture2D" - } - ] - }, - { - "name": "get_tab_button_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "tab_idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tab_idx_at_point", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3820158470, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "point", - "type": "Vector2" - } - ] - }, - { - "name": "get_tab_idx_from_control", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2787397975, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "control", - "type": "Control" - } - ] - }, - { - "name": "set_popup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1078189570, - "arguments": [ - { - "name": "popup", - "type": "Node" - } - ] - }, - { - "name": "get_popup", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 111095082, - "return_value": { - "type": "Popup" - } - }, - { - "name": "set_drag_to_rearrange_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_drag_to_rearrange_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tabs_rearrange_group", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "group_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tabs_rearrange_group", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_use_hidden_tabs_for_min_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_use_hidden_tabs_for_min_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_tab_focus_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3232914922, - "arguments": [ - { - "name": "focus_mode", - "type": "enum::Control.FocusMode" - } - ] - }, - { - "name": "get_tab_focus_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2132829277, - "return_value": { - "type": "enum::Control.FocusMode" - } - } - ], - "signals": [ - { - "name": "active_tab_rearranged", - "arguments": [ - { - "name": "idx_to", - "type": "int" - } - ] - }, - { - "name": "tab_changed", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_clicked", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_hovered", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_selected", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "tab_button_pressed", - "arguments": [ - { - "name": "tab", - "type": "int" - } - ] - }, - { - "name": "pre_popup_pressed" - } - ], - "properties": [ - { - "type": "int", - "name": "tab_alignment", - "setter": "set_tab_alignment", - "getter": "get_tab_alignment" - }, - { - "type": "int", - "name": "current_tab", - "setter": "set_current_tab", - "getter": "get_current_tab" - }, - { - "type": "bool", - "name": "clip_tabs", - "setter": "set_clip_tabs", - "getter": "get_clip_tabs" - }, - { - "type": "bool", - "name": "tabs_visible", - "setter": "set_tabs_visible", - "getter": "are_tabs_visible" - }, - { - "type": "bool", - "name": "all_tabs_in_front", - "setter": "set_all_tabs_in_front", - "getter": "is_all_tabs_in_front" - }, - { - "type": "bool", - "name": "drag_to_rearrange_enabled", - "setter": "set_drag_to_rearrange_enabled", - "getter": "get_drag_to_rearrange_enabled" - }, - { - "type": "int", - "name": "tabs_rearrange_group", - "setter": "set_tabs_rearrange_group", - "getter": "get_tabs_rearrange_group" - }, - { - "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" - }, - { - "type": "int", - "name": "tab_focus_mode", - "setter": "set_tab_focus_mode", - "getter": "get_tab_focus_mode" - } - ] - }, - { - "name": "TextEdit", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "enums": [ - { - "name": "MenuItems", - "is_bitfield": false, - "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_SUBMENU_TEXT_DIR", - "value": 7 - }, - { - "name": "MENU_DIR_INHERITED", - "value": 8 - }, - { - "name": "MENU_DIR_AUTO", - "value": 9 - }, - { - "name": "MENU_DIR_LTR", - "value": 10 - }, - { - "name": "MENU_DIR_RTL", - "value": 11 - }, - { - "name": "MENU_DISPLAY_UCC", - "value": 12 - }, - { - "name": "MENU_SUBMENU_INSERT_UCC", - "value": 13 - }, - { - "name": "MENU_INSERT_LRM", - "value": 14 - }, - { - "name": "MENU_INSERT_RLM", - "value": 15 - }, - { - "name": "MENU_INSERT_LRE", - "value": 16 - }, - { - "name": "MENU_INSERT_RLE", - "value": 17 - }, - { - "name": "MENU_INSERT_LRO", - "value": 18 - }, - { - "name": "MENU_INSERT_RLO", - "value": 19 - }, - { - "name": "MENU_INSERT_PDF", - "value": 20 - }, - { - "name": "MENU_INSERT_ALM", - "value": 21 - }, - { - "name": "MENU_INSERT_LRI", - "value": 22 - }, - { - "name": "MENU_INSERT_RLI", - "value": 23 - }, - { - "name": "MENU_INSERT_FSI", - "value": 24 - }, - { - "name": "MENU_INSERT_PDI", - "value": 25 - }, - { - "name": "MENU_INSERT_ZWJ", - "value": 26 - }, - { - "name": "MENU_INSERT_ZWNJ", - "value": 27 - }, - { - "name": "MENU_INSERT_WJ", - "value": 28 - }, - { - "name": "MENU_INSERT_SHY", - "value": 29 - }, - { - "name": "MENU_MAX", - "value": 30 - } - ] - }, - { - "name": "EditAction", - "is_bitfield": false, - "values": [ - { - "name": "ACTION_NONE", - "value": 0 - }, - { - "name": "ACTION_TYPING", - "value": 1 - }, - { - "name": "ACTION_BACKSPACE", - "value": 2 - }, - { - "name": "ACTION_DELETE", - "value": 3 - } - ] - }, - { - "name": "SearchFlags", - "is_bitfield": false, - "values": [ - { - "name": "SEARCH_MATCH_CASE", - "value": 1 - }, - { - "name": "SEARCH_WHOLE_WORDS", - "value": 2 - }, - { - "name": "SEARCH_BACKWARDS", - "value": 4 - } - ] - }, - { - "name": "CaretType", - "is_bitfield": false, - "values": [ - { - "name": "CARET_TYPE_LINE", - "value": 0 - }, - { - "name": "CARET_TYPE_BLOCK", - "value": 1 - } - ] - }, - { - "name": "SelectionMode", - "is_bitfield": false, - "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": "LineWrappingMode", - "is_bitfield": false, - "values": [ - { - "name": "LINE_WRAPPING_NONE", - "value": 0 - }, - { - "name": "LINE_WRAPPING_BOUNDARY", - "value": 1 - } - ] - }, - { - "name": "GutterType", - "is_bitfield": false, - "values": [ - { - "name": "GUTTER_TYPE_STRING", - "value": 0 - }, - { - "name": "GUTTER_TYPE_ICON", - "value": 1 - }, - { - "name": "GUTTER_TYPE_CUSTOM", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "_handle_unicode_input", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "unicode_char", - "type": "int", - "meta": "int32" - }, - { - "name": "caret_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_backspace", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_cut", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_copy", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_paste", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_paste_primary_clipboard", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "has_ime_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_editable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_editable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 119160795, - "arguments": [ - { - "name": "direction", - "type": "enum::Control.TextDirection" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 797257663, - "return_value": { - "type": "enum::Control.TextDirection" - } - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_structured_text_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 55961453, - "arguments": [ - { - "name": "parser", - "type": "enum::TextServer.StructuredTextParser" - } - ] - }, - { - "name": "get_structured_text_bidi_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3385126229, - "return_value": { - "type": "enum::TextServer.StructuredTextParser" - } - }, - { - "name": "set_structured_text_bidi_override_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "args", - "type": "Array" - } - ] - }, - { - "name": "get_structured_text_bidi_override_options", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_tab_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tab_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_overtype_mode_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_overtype_mode_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_context_menu_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_context_menu_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shortcut_keys_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_shortcut_keys_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_virtual_keyboard_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_virtual_keyboard_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_middle_mouse_paste_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_middle_mouse_paste_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_line_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_placeholder", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "new_text", - "type": "String" - } - ] - }, - { - "name": "get_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_line_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 688195400, - "hash_compatibility": [ - 3294126239 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "wrap_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "get_line_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_indent_level", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_first_non_whitespace_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "swap_lines", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "from_line", - "type": "int", - "meta": "int32" - }, - { - "name": "to_line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "insert_line_at", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "insert_text_at_caret", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2697778442, - "hash_compatibility": [ - 3043792800 - ], - "arguments": [ - { - "name": "text", - "type": "String" - }, - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "remove_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4275841770, - "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": "get_last_unhidden_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_next_visible_line_offset_from", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175239445, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "visible_amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_next_visible_line_index_offset_from", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3386475622, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "wrap_index", - "type": "int", - "meta": "int32" - }, - { - "name": "visible_amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "backspace", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "cut", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "copy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "paste", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "paste_primary_clipboard", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "start_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2834827583, - "arguments": [ - { - "name": "action", - "type": "enum::TextEdit.EditAction" - } - ] - }, - { - "name": "end_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "begin_complex_operation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "end_complex_operation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "has_undo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "has_redo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "undo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "redo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear_undo_history", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "tag_saved_version", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_version", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "get_saved_version", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_search_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "search_text", - "type": "String" - } - ] - }, - { - "name": "set_search_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "flags", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "search", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1203739136, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "text", - "type": "String" - }, - { - "name": "flags", - "type": "int", - "meta": "uint32" - }, - { - "name": "from_line", - "type": "int", - "meta": "int32" - }, - { - "name": "from_colum", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tooltip_request_func", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "get_local_mouse_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_word_at_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3674420000, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_line_column_at_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 239517838, - "hash_compatibility": [ - 850652858 - ], - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2i" - }, - { - "name": "allow_out_of_bounds", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_pos_at_line_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 410388347, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_rect_at_line_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3256618057, - "return_value": { - "type": "Rect2i" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_minimap_line_at_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2485466453, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2i" - } - ] - }, - { - "name": "is_dragging_cursor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_mouse_over_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1840282309, - "hash_compatibility": [ - 1099474134 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "edges", - "type": "bool" - }, - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "set_caret_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1211596914, - "arguments": [ - { - "name": "type", - "type": "enum::TextEdit.CaretType" - } - ] - }, - { - "name": "get_caret_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2830252959, - "return_value": { - "type": "enum::TextEdit.CaretType" - } - }, - { - "name": "set_caret_blink_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_caret_blink_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_caret_blink_interval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "interval", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_caret_blink_interval", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_draw_caret_when_editable_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_drawing_caret_when_editable_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_move_caret_on_right_click_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_move_caret_on_right_click_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_caret_mid_grapheme_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_caret_mid_grapheme_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_multiple_carets_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_multiple_carets_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_caret", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 50157827, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "col", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_caret", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "caret", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_secondary_carets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "merge_overlapping_carets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_caret_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_caret_at_carets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "below", - "type": "bool" - } - ] - }, - { - "name": "get_caret_index_edit_order", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 969006518, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "adjust_carets_after_edit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1770277138, - "arguments": [ - { - "name": "caret", - "type": "int", - "meta": "int32" - }, - { - "name": "from_line", - "type": "int", - "meta": "int32" - }, - { - "name": "from_col", - "type": "int", - "meta": "int32" - }, - { - "name": "to_line", - "type": "int", - "meta": "int32" - }, - { - "name": "to_col", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_caret_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1051549951, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_caret_draw_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 478253731, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "set_caret_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1302582944, - "hash_compatibility": [ - 1413195636 - ], - "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": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_caret_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "set_caret_column", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3796796178, - "hash_compatibility": [ - 1071284433 - ], - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "adjust_viewport", - "type": "bool", - "default_value": "true" - }, - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_caret_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_caret_wrap_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_word_under_caret", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3929349208, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "set_selecting_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_selecting_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_deselect_on_focus_loss_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_deselect_on_focus_loss_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_drag_and_drop_selection_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_drag_and_drop_selection_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_selection_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1443345937, - "hash_compatibility": [ - 2920622473 - ], - "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": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_selection_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3750106938, - "return_value": { - "type": "enum::TextEdit.SelectionMode" - } - }, - { - "name": "select_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "select_word_under_caret", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "add_selection_for_next_occurrence", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "select", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2560984452, - "hash_compatibility": [ - 4269665324 - ], - "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": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "has_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2824505868, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "get_selected_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2309358862, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "get_selection_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_selection_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_selection_from_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_selection_from_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_selection_to_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_selection_to_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1591665591, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "deselect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "delete_selection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "set_line_wrapping_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2525115309, - "arguments": [ - { - "name": "mode", - "type": "enum::TextEdit.LineWrappingMode" - } - ] - }, - { - "name": "get_line_wrapping_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3562716114, - "return_value": { - "type": "enum::TextEdit.LineWrappingMode" - } - }, - { - "name": "set_autowrap_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3289138044, - "arguments": [ - { - "name": "autowrap_mode", - "type": "enum::TextServer.AutowrapMode" - } - ] - }, - { - "name": "get_autowrap_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1549071663, - "return_value": { - "type": "enum::TextServer.AutowrapMode" - } - }, - { - "name": "is_line_wrapped", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_line_wrap_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_line_wrap_index_at_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175239445, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_line_wrapped_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 647634434, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_smooth_scroll_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_smooth_scroll_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_v_scroll_bar", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3226026593, - "return_value": { - "type": "VScrollBar" - } - }, - { - "name": "get_h_scroll_bar", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3774687988, - "return_value": { - "type": "HScrollBar" - } - }, - { - "name": "set_v_scroll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_v_scroll", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_h_scroll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_h_scroll", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_scroll_past_end_of_file_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_scroll_past_end_of_file_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_v_scroll_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_v_scroll_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fit_content_height_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_fit_content_height_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_scroll_pos_for_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3929084198, - "hash_compatibility": [ - 3274652423 - ], - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "wrap_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "set_line_as_first_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2230941749, - "hash_compatibility": [ - 3023605688 - ], - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "wrap_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_first_visible_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_line_as_center_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2230941749, - "hash_compatibility": [ - 3023605688 - ], - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "wrap_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "set_line_as_last_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2230941749, - "hash_compatibility": [ - 3023605688 - ], - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "wrap_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_last_full_visible_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_last_full_visible_line_wrap_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_visible_line_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_visible_line_count_in_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175239445, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "from_line", - "type": "int", - "meta": "int32" - }, - { - "name": "to_line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_total_visible_line_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "adjust_viewport_to_caret", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "center_viewport_to_caret", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1995695955, - "arguments": [ - { - "name": "caret_index", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "set_draw_minimap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_drawing_minimap", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_minimap_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_minimap_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_minimap_visible_lines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_gutter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "at", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "remove_gutter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_gutter_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_gutter_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_gutter_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_gutter_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1088959071, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - }, - { - "name": "type", - "type": "enum::TextEdit.GutterType" - } - ] - }, - { - "name": "get_gutter_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1159699127, - "return_value": { - "type": "enum::TextEdit.GutterType" - }, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_gutter_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - }, - { - "name": "width", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_gutter_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_gutter_draw", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - }, - { - "name": "draw", - "type": "bool" - } - ] - }, - { - "name": "is_gutter_drawn", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_gutter_clickable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - }, - { - "name": "clickable", - "type": "bool" - } - ] - }, - { - "name": "is_gutter_clickable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_gutter_overwritable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - }, - { - "name": "overwritable", - "type": "bool" - } - ] - }, - { - "name": "is_gutter_overwritable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "gutter", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "merge_gutters", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 957362965, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "draw_callback", - "type": "Callable" - } - ] - }, - { - "name": "get_total_gutter_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_line_gutter_metadata", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2060538656, - "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_static": false, - "is_virtual": false, - "hash": 678354945, - "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_static": false, - "is_virtual": false, - "hash": 2285447957, - "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_static": false, - "is_virtual": false, - "hash": 1391810591, - "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_static": false, - "is_virtual": false, - "hash": 176101966, - "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_static": false, - "is_virtual": false, - "hash": 2584904275, - "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_static": false, - "is_virtual": false, - "hash": 3733378741, - "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": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2165839948, - "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_static": false, - "is_virtual": false, - "hash": 1383440665, - "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_static": false, - "is_virtual": false, - "hash": 2522259332, - "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_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_line_background_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_syntax_highlighter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2765644541, - "arguments": [ - { - "name": "syntax_highlighter", - "type": "SyntaxHighlighter" - } - ] - }, - { - "name": "get_syntax_highlighter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2721131626, - "return_value": { - "type": "SyntaxHighlighter" - } - }, - { - "name": "set_highlight_current_line", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_highlight_current_line_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_highlight_all_occurrences", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_highlight_all_occurrences_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_draw_control_chars", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_draw_control_chars", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "set_draw_tabs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_drawing_tabs", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_draw_spaces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_drawing_spaces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_menu", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 229722558, - "return_value": { - "type": "PopupMenu" - } - }, - { - "name": "is_menu_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "menu_option", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "option", - "type": "int", - "meta": "int32" - } - ] - } - ], - "signals": [ - { - "name": "text_set" - }, - { - "name": "text_changed" - }, - { - "name": "lines_edited_from", - "arguments": [ - { - "name": "from_line", - "type": "int" - }, - { - "name": "to_line", - "type": "int" - } - ] - }, - { - "name": "caret_changed" - }, - { - "name": "gutter_clicked", - "arguments": [ - { - "name": "line", - "type": "int" - }, - { - "name": "gutter", - "type": "int" - } - ] - }, - { - "name": "gutter_added" - }, - { - "name": "gutter_removed" - } - ], - "properties": [ - { - "type": "String", - "name": "text", - "setter": "set_text", - "getter": "get_text" - }, - { - "type": "String", - "name": "placeholder_text", - "setter": "set_placeholder", - "getter": "get_placeholder" - }, - { - "type": "bool", - "name": "editable", - "setter": "set_editable", - "getter": "is_editable" - }, - { - "type": "bool", - "name": "context_menu_enabled", - "setter": "set_context_menu_enabled", - "getter": "is_context_menu_enabled" - }, - { - "type": "bool", - "name": "shortcut_keys_enabled", - "setter": "set_shortcut_keys_enabled", - "getter": "is_shortcut_keys_enabled" - }, - { - "type": "bool", - "name": "selecting_enabled", - "setter": "set_selecting_enabled", - "getter": "is_selecting_enabled" - }, - { - "type": "bool", - "name": "deselect_on_focus_loss_enabled", - "setter": "set_deselect_on_focus_loss_enabled", - "getter": "is_deselect_on_focus_loss_enabled" - }, - { - "type": "bool", - "name": "drag_and_drop_selection_enabled", - "setter": "set_drag_and_drop_selection_enabled", - "getter": "is_drag_and_drop_selection_enabled" - }, - { - "type": "bool", - "name": "virtual_keyboard_enabled", - "setter": "set_virtual_keyboard_enabled", - "getter": "is_virtual_keyboard_enabled" - }, - { - "type": "bool", - "name": "middle_mouse_paste_enabled", - "setter": "set_middle_mouse_paste_enabled", - "getter": "is_middle_mouse_paste_enabled" - }, - { - "type": "int", - "name": "wrap_mode", - "setter": "set_line_wrapping_mode", - "getter": "get_line_wrapping_mode" - }, - { - "type": "int", - "name": "autowrap_mode", - "setter": "set_autowrap_mode", - "getter": "get_autowrap_mode" - }, - { - "type": "bool", - "name": "scroll_smooth", - "setter": "set_smooth_scroll_enabled", - "getter": "is_smooth_scroll_enabled" - }, - { - "type": "float", - "name": "scroll_v_scroll_speed", - "setter": "set_v_scroll_speed", - "getter": "get_v_scroll_speed" - }, - { - "type": "bool", - "name": "scroll_past_end_of_file", - "setter": "set_scroll_past_end_of_file_enabled", - "getter": "is_scroll_past_end_of_file_enabled" - }, - { - "type": "float", - "name": "scroll_vertical", - "setter": "set_v_scroll", - "getter": "get_v_scroll" - }, - { - "type": "int", - "name": "scroll_horizontal", - "setter": "set_h_scroll", - "getter": "get_h_scroll" - }, - { - "type": "bool", - "name": "scroll_fit_content_height", - "setter": "set_fit_content_height_enabled", - "getter": "is_fit_content_height_enabled" - }, - { - "type": "bool", - "name": "minimap_draw", - "setter": "set_draw_minimap", - "getter": "is_drawing_minimap" - }, - { - "type": "int", - "name": "minimap_width", - "setter": "set_minimap_width", - "getter": "get_minimap_width" - }, - { - "type": "int", - "name": "caret_type", - "setter": "set_caret_type", - "getter": "get_caret_type" - }, - { - "type": "bool", - "name": "caret_blink", - "setter": "set_caret_blink_enabled", - "getter": "is_caret_blink_enabled" - }, - { - "type": "float", - "name": "caret_blink_interval", - "setter": "set_caret_blink_interval", - "getter": "get_caret_blink_interval" - }, - { - "type": "bool", - "name": "caret_draw_when_editable_disabled", - "setter": "set_draw_caret_when_editable_disabled", - "getter": "is_drawing_caret_when_editable_disabled" - }, - { - "type": "bool", - "name": "caret_move_on_right_click", - "setter": "set_move_caret_on_right_click_enabled", - "getter": "is_move_caret_on_right_click_enabled" - }, - { - "type": "bool", - "name": "caret_mid_grapheme", - "setter": "set_caret_mid_grapheme_enabled", - "getter": "is_caret_mid_grapheme_enabled" - }, - { - "type": "bool", - "name": "caret_multiple", - "setter": "set_multiple_carets_enabled", - "getter": "is_multiple_carets_enabled" - }, - { - "type": "SyntaxHighlighter", - "name": "syntax_highlighter", - "setter": "set_syntax_highlighter", - "getter": "get_syntax_highlighter" - }, - { - "type": "bool", - "name": "highlight_all_occurrences", - "setter": "set_highlight_all_occurrences", - "getter": "is_highlight_all_occurrences_enabled" - }, - { - "type": "bool", - "name": "highlight_current_line", - "setter": "set_highlight_current_line", - "getter": "is_highlight_current_line_enabled" - }, - { - "type": "bool", - "name": "draw_control_chars", - "setter": "set_draw_control_chars", - "getter": "get_draw_control_chars" - }, - { - "type": "bool", - "name": "draw_tabs", - "setter": "set_draw_tabs", - "getter": "is_drawing_tabs" - }, - { - "type": "bool", - "name": "draw_spaces", - "setter": "set_draw_spaces", - "getter": "is_drawing_spaces" - }, - { - "type": "int", - "name": "text_direction", - "setter": "set_text_direction", - "getter": "get_text_direction" - }, - { - "type": "String", - "name": "language", - "setter": "set_language", - "getter": "get_language" - }, - { - "type": "int", - "name": "structured_text_bidi_override", - "setter": "set_structured_text_bidi_override", - "getter": "get_structured_text_bidi_override" - }, - { - "type": "Array", - "name": "structured_text_bidi_override_options", - "setter": "set_structured_text_bidi_override_options", - "getter": "get_structured_text_bidi_override_options" - } - ] - }, - { - "name": "TextLine", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1418190634, - "arguments": [ - { - "name": "direction", - "type": "enum::TextServer.Direction" - } - ] - }, - { - "name": "get_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2516697328, - "return_value": { - "type": "enum::TextServer.Direction" - } - }, - { - "name": "set_orientation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 42823726, - "arguments": [ - { - "name": "orientation", - "type": "enum::TextServer.Orientation" - } - ] - }, - { - "name": "get_orientation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 175768116, - "return_value": { - "type": "enum::TextServer.Orientation" - } - }, - { - "name": "set_preserve_invalid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_preserve_invalid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_preserve_control", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_preserve_control", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "override", - "type": "Array" - } - ] - }, - { - "name": "add_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 621426851, - "hash_compatibility": [ - 867188035 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "text", - "type": "String" - }, - { - "name": "font", - "type": "Font" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32" - }, - { - "name": "language", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "meta", - "type": "Variant", - "default_value": "null" - } - ] - }, - { - "name": "add_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1316529304, - "hash_compatibility": [ - 735420116 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "key", - "type": "Variant" - }, - { - "name": "size", - "type": "Vector2" - }, - { - "name": "inline_align", - "type": "enum::InlineAlignment", - "default_value": "5" - }, - { - "name": "length", - "type": "int", - "meta": "int32", - "default_value": "1" - }, - { - "name": "baseline", - "type": "float", - "meta": "float", - "default_value": "0.0" - } - ] - }, - { - "name": "resize_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2095776372, - "hash_compatibility": [ - 960819067 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "key", - "type": "Variant" - }, - { - "name": "size", - "type": "Vector2" - }, - { - "name": "inline_align", - "type": "enum::InlineAlignment", - "default_value": "5" - }, - { - "name": "baseline", - "type": "float", - "meta": "float", - "default_value": "0.0" - } - ] - }, - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "width", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_horizontal_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312603777, - "arguments": [ - { - "name": "alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_horizontal_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 341400642, - "return_value": { - "type": "enum::HorizontalAlignment" - } - }, - { - "name": "tab_align", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2899603908, - "arguments": [ - { - "name": "tab_stops", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "set_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2877345813, - "arguments": [ - { - "name": "flags", - "type": "bitfield::TextServer.JustificationFlag" - } - ] - }, - { - "name": "get_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1583363614, - "return_value": { - "type": "bitfield::TextServer.JustificationFlag" - } - }, - { - "name": "set_text_overrun_behavior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1008890932, - "arguments": [ - { - "name": "overrun_behavior", - "type": "enum::TextServer.OverrunBehavior" - } - ] - }, - { - "name": "get_text_overrun_behavior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3779142101, - "return_value": { - "type": "enum::TextServer.OverrunBehavior" - } - }, - { - "name": "get_objects", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "get_object_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1742700391, - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "key", - "type": "Variant" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_line_ascent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_line_descent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_line_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_line_underline_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_line_underline_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "draw", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 856975658, - "hash_compatibility": [ - 1164457837 - ], - "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_static": false, - "is_virtual": false, - "hash": 1343401456, - "hash_compatibility": [ - 1364491366 - ], - "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_static": false, - "is_virtual": false, - "hash": 2401831903, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "coords", - "type": "float", - "meta": "float" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "direction", - "setter": "set_direction", - "getter": "get_direction" - }, - { - "type": "int", - "name": "orientation", - "setter": "set_orientation", - "getter": "get_orientation" - }, - { - "type": "bool", - "name": "preserve_invalid", - "setter": "set_preserve_invalid", - "getter": "get_preserve_invalid" - }, - { - "type": "bool", - "name": "preserve_control", - "setter": "set_preserve_control", - "getter": "get_preserve_control" - }, - { - "type": "float", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "int", - "name": "alignment", - "setter": "set_horizontal_alignment", - "getter": "get_horizontal_alignment" - }, - { - "type": "int", - "name": "flags", - "setter": "set_flags", - "getter": "get_flags" - }, - { - "type": "int", - "name": "text_overrun_behavior", - "setter": "set_text_overrun_behavior", - "getter": "get_text_overrun_behavior" - } - ] - }, - { - "name": "TextMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PrimitiveMesh", - "api_type": "core", - "methods": [ - { - "name": "set_horizontal_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312603777, - "arguments": [ - { - "name": "alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_horizontal_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 341400642, - "return_value": { - "type": "enum::HorizontalAlignment" - } - }, - { - "name": "set_vertical_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1796458609, - "arguments": [ - { - "name": "alignment", - "type": "enum::VerticalAlignment" - } - ] - }, - { - "name": "get_vertical_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3274884059, - "return_value": { - "type": "enum::VerticalAlignment" - } - }, - { - "name": "set_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1262170328, - "arguments": [ - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "get_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229501585, - "return_value": { - "type": "Font" - } - }, - { - "name": "set_font_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "font_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_font_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_line_spacing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "line_spacing", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_line_spacing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_autowrap_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3289138044, - "arguments": [ - { - "name": "autowrap_mode", - "type": "enum::TextServer.AutowrapMode" - } - ] - }, - { - "name": "get_autowrap_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1549071663, - "return_value": { - "type": "enum::TextServer.AutowrapMode" - } - }, - { - "name": "set_justification_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2877345813, - "arguments": [ - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag" - } - ] - }, - { - "name": "get_justification_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1583363614, - "return_value": { - "type": "bitfield::TextServer.JustificationFlag" - } - }, - { - "name": "set_depth", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "depth", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "width", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_pixel_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pixel_size", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_pixel_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_curve_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "curve_step", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_curve_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1418190634, - "arguments": [ - { - "name": "direction", - "type": "enum::TextServer.Direction" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2516697328, - "return_value": { - "type": "enum::TextServer.Direction" - } - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_structured_text_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 55961453, - "arguments": [ - { - "name": "parser", - "type": "enum::TextServer.StructuredTextParser" - } - ] - }, - { - "name": "get_structured_text_bidi_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3385126229, - "return_value": { - "type": "enum::TextServer.StructuredTextParser" - } - }, - { - "name": "set_structured_text_bidi_override_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "args", - "type": "Array" - } - ] - }, - { - "name": "get_structured_text_bidi_override_options", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_uppercase", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_uppercase", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "String", - "name": "text", - "setter": "set_text", - "getter": "get_text" - }, - { - "type": "Font", - "name": "font", - "setter": "set_font", - "getter": "get_font" - }, - { - "type": "int", - "name": "font_size", - "setter": "set_font_size", - "getter": "get_font_size" - }, - { - "type": "int", - "name": "horizontal_alignment", - "setter": "set_horizontal_alignment", - "getter": "get_horizontal_alignment" - }, - { - "type": "int", - "name": "vertical_alignment", - "setter": "set_vertical_alignment", - "getter": "get_vertical_alignment" - }, - { - "type": "bool", - "name": "uppercase", - "setter": "set_uppercase", - "getter": "is_uppercase" - }, - { - "type": "float", - "name": "line_spacing", - "setter": "set_line_spacing", - "getter": "get_line_spacing" - }, - { - "type": "int", - "name": "autowrap_mode", - "setter": "set_autowrap_mode", - "getter": "get_autowrap_mode" - }, - { - "type": "int", - "name": "justification_flags", - "setter": "set_justification_flags", - "getter": "get_justification_flags" - }, - { - "type": "float", - "name": "pixel_size", - "setter": "set_pixel_size", - "getter": "get_pixel_size" - }, - { - "type": "float", - "name": "curve_step", - "setter": "set_curve_step", - "getter": "get_curve_step" - }, - { - "type": "float", - "name": "depth", - "setter": "set_depth", - "getter": "get_depth" - }, - { - "type": "float", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "Vector2", - "name": "offset", - "setter": "set_offset", - "getter": "get_offset" - }, - { - "type": "int", - "name": "text_direction", - "setter": "set_text_direction", - "getter": "get_text_direction" - }, - { - "type": "String", - "name": "language", - "setter": "set_language", - "getter": "get_language" - }, - { - "type": "int", - "name": "structured_text_bidi_override", - "setter": "set_structured_text_bidi_override", - "getter": "get_structured_text_bidi_override" - }, - { - "type": "Array", - "name": "structured_text_bidi_override_options", - "setter": "set_structured_text_bidi_override_options", - "getter": "get_structured_text_bidi_override_options" - } - ] - }, - { - "name": "TextParagraph", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1418190634, - "arguments": [ - { - "name": "direction", - "type": "enum::TextServer.Direction" - } - ] - }, - { - "name": "get_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2516697328, - "return_value": { - "type": "enum::TextServer.Direction" - } - }, - { - "name": "set_custom_punctuation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "custom_punctuation", - "type": "String" - } - ] - }, - { - "name": "get_custom_punctuation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_orientation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 42823726, - "arguments": [ - { - "name": "orientation", - "type": "enum::TextServer.Orientation" - } - ] - }, - { - "name": "get_orientation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 175768116, - "return_value": { - "type": "enum::TextServer.Orientation" - } - }, - { - "name": "set_preserve_invalid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_preserve_invalid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_preserve_control", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_preserve_control", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "override", - "type": "Array" - } - ] - }, - { - "name": "set_dropcap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2498990330, - "hash_compatibility": [ - 2613124475 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "text", - "type": "String" - }, - { - "name": "font", - "type": "Font" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32" - }, - { - "name": "dropcap_margins", - "type": "Rect2", - "default_value": "Rect2(0, 0, 0, 0)" - }, - { - "name": "language", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "clear_dropcap", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 621426851, - "hash_compatibility": [ - 867188035 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "text", - "type": "String" - }, - { - "name": "font", - "type": "Font" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32" - }, - { - "name": "language", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "meta", - "type": "Variant", - "default_value": "null" - } - ] - }, - { - "name": "add_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1316529304, - "hash_compatibility": [ - 735420116 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "key", - "type": "Variant" - }, - { - "name": "size", - "type": "Vector2" - }, - { - "name": "inline_align", - "type": "enum::InlineAlignment", - "default_value": "5" - }, - { - "name": "length", - "type": "int", - "meta": "int32", - "default_value": "1" - }, - { - "name": "baseline", - "type": "float", - "meta": "float", - "default_value": "0.0" - } - ] - }, - { - "name": "resize_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2095776372, - "hash_compatibility": [ - 960819067 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "key", - "type": "Variant" - }, - { - "name": "size", - "type": "Vector2" - }, - { - "name": "inline_align", - "type": "enum::InlineAlignment", - "default_value": "5" - }, - { - "name": "baseline", - "type": "float", - "meta": "float", - "default_value": "0.0" - } - ] - }, - { - "name": "set_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2312603777, - "arguments": [ - { - "name": "alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 341400642, - "return_value": { - "type": "enum::HorizontalAlignment" - } - }, - { - "name": "tab_align", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2899603908, - "arguments": [ - { - "name": "tab_stops", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "set_break_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2809697122, - "arguments": [ - { - "name": "flags", - "type": "bitfield::TextServer.LineBreakFlag" - } - ] - }, - { - "name": "get_break_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2340632602, - "return_value": { - "type": "bitfield::TextServer.LineBreakFlag" - } - }, - { - "name": "set_justification_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2877345813, - "arguments": [ - { - "name": "flags", - "type": "bitfield::TextServer.JustificationFlag" - } - ] - }, - { - "name": "get_justification_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1583363614, - "return_value": { - "type": "bitfield::TextServer.JustificationFlag" - } - }, - { - "name": "set_text_overrun_behavior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1008890932, - "arguments": [ - { - "name": "overrun_behavior", - "type": "enum::TextServer.OverrunBehavior" - } - ] - }, - { - "name": "get_text_overrun_behavior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3779142101, - "return_value": { - "type": "enum::TextServer.OverrunBehavior" - } - }, - { - "name": "set_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "width", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_non_wrapped_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_line_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 495598643, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_dropcap_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_line_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max_lines_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_lines_visible", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_lines_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_line_objects", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 663333327, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_line_object_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 204315017, - "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_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_line_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 880721226, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_line_ascent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_line_descent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_line_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "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_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "line", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_dropcap_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_dropcap_lines", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "draw", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1567802413, - "hash_compatibility": [ - 367324453 - ], - "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_static": false, - "is_virtual": false, - "hash": 1893131224, - "hash_compatibility": [ - 2159523405 - ], - "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_static": false, - "is_virtual": false, - "hash": 1242169894, - "hash_compatibility": [ - 3963848920 - ], - "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_static": false, - "is_virtual": false, - "hash": 2664926980, - "hash_compatibility": [ - 1814903311 - ], - "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_static": false, - "is_virtual": false, - "hash": 856975658, - "hash_compatibility": [ - 1164457837 - ], - "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_static": false, - "is_virtual": false, - "hash": 1343401456, - "hash_compatibility": [ - 1364491366 - ], - "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_static": false, - "is_virtual": false, - "hash": 3820158470, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "coords", - "type": "Vector2" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "direction", - "setter": "set_direction", - "getter": "get_direction" - }, - { - "type": "String", - "name": "custom_punctuation", - "setter": "set_custom_punctuation", - "getter": "get_custom_punctuation" - }, - { - "type": "int", - "name": "orientation", - "setter": "set_orientation", - "getter": "get_orientation" - }, - { - "type": "bool", - "name": "preserve_invalid", - "setter": "set_preserve_invalid", - "getter": "get_preserve_invalid" - }, - { - "type": "bool", - "name": "preserve_control", - "setter": "set_preserve_control", - "getter": "get_preserve_control" - }, - { - "type": "int", - "name": "alignment", - "setter": "set_alignment", - "getter": "get_alignment" - }, - { - "type": "int", - "name": "break_flags", - "setter": "set_break_flags", - "getter": "get_break_flags" - }, - { - "type": "int", - "name": "justification_flags", - "setter": "set_justification_flags", - "getter": "get_justification_flags" - }, - { - "type": "int", - "name": "text_overrun_behavior", - "setter": "set_text_overrun_behavior", - "getter": "get_text_overrun_behavior" - }, - { - "type": "float", - "name": "width", - "setter": "set_width", - "getter": "get_width" - }, - { - "type": "int", - "name": "max_lines_visible", - "setter": "set_max_lines_visible", - "getter": "get_max_lines_visible" - } - ] - }, - { - "name": "TextServer", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "FontAntialiasing", - "is_bitfield": false, - "values": [ - { - "name": "FONT_ANTIALIASING_NONE", - "value": 0 - }, - { - "name": "FONT_ANTIALIASING_GRAY", - "value": 1 - }, - { - "name": "FONT_ANTIALIASING_LCD", - "value": 2 - } - ] - }, - { - "name": "FontLCDSubpixelLayout", - "is_bitfield": false, - "values": [ - { - "name": "FONT_LCD_SUBPIXEL_LAYOUT_NONE", - "value": 0 - }, - { - "name": "FONT_LCD_SUBPIXEL_LAYOUT_HRGB", - "value": 1 - }, - { - "name": "FONT_LCD_SUBPIXEL_LAYOUT_HBGR", - "value": 2 - }, - { - "name": "FONT_LCD_SUBPIXEL_LAYOUT_VRGB", - "value": 3 - }, - { - "name": "FONT_LCD_SUBPIXEL_LAYOUT_VBGR", - "value": 4 - }, - { - "name": "FONT_LCD_SUBPIXEL_LAYOUT_MAX", - "value": 5 - } - ] - }, - { - "name": "Direction", - "is_bitfield": false, - "values": [ - { - "name": "DIRECTION_AUTO", - "value": 0 - }, - { - "name": "DIRECTION_LTR", - "value": 1 - }, - { - "name": "DIRECTION_RTL", - "value": 2 - }, - { - "name": "DIRECTION_INHERITED", - "value": 3 - } - ] - }, - { - "name": "Orientation", - "is_bitfield": false, - "values": [ - { - "name": "ORIENTATION_HORIZONTAL", - "value": 0 - }, - { - "name": "ORIENTATION_VERTICAL", - "value": 1 - } - ] - }, - { - "name": "JustificationFlag", - "is_bitfield": true, - "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": "JUSTIFICATION_CONSTRAIN_ELLIPSIS", - "value": 16 - }, - { - "name": "JUSTIFICATION_SKIP_LAST_LINE", - "value": 32 - }, - { - "name": "JUSTIFICATION_SKIP_LAST_LINE_WITH_VISIBLE_CHARS", - "value": 64 - }, - { - "name": "JUSTIFICATION_DO_NOT_SKIP_SINGLE_LINE", - "value": 128 - } - ] - }, - { - "name": "AutowrapMode", - "is_bitfield": false, - "values": [ - { - "name": "AUTOWRAP_OFF", - "value": 0 - }, - { - "name": "AUTOWRAP_ARBITRARY", - "value": 1 - }, - { - "name": "AUTOWRAP_WORD", - "value": 2 - }, - { - "name": "AUTOWRAP_WORD_SMART", - "value": 3 - } - ] - }, - { - "name": "LineBreakFlag", - "is_bitfield": true, - "values": [ - { - "name": "BREAK_NONE", - "value": 0 - }, - { - "name": "BREAK_MANDATORY", - "value": 1 - }, - { - "name": "BREAK_WORD_BOUND", - "value": 2 - }, - { - "name": "BREAK_GRAPHEME_BOUND", - "value": 4 - }, - { - "name": "BREAK_ADAPTIVE", - "value": 8 - }, - { - "name": "BREAK_TRIM_EDGE_SPACES", - "value": 16 - } - ] - }, - { - "name": "VisibleCharactersBehavior", - "is_bitfield": false, - "values": [ - { - "name": "VC_CHARS_BEFORE_SHAPING", - "value": 0 - }, - { - "name": "VC_CHARS_AFTER_SHAPING", - "value": 1 - }, - { - "name": "VC_GLYPHS_AUTO", - "value": 2 - }, - { - "name": "VC_GLYPHS_LTR", - "value": 3 - }, - { - "name": "VC_GLYPHS_RTL", - "value": 4 - } - ] - }, - { - "name": "OverrunBehavior", - "is_bitfield": false, - "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": "TextOverrunFlag", - "is_bitfield": true, - "values": [ - { - "name": "OVERRUN_NO_TRIM", - "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": "OVERRUN_JUSTIFICATION_AWARE", - "value": 16 - } - ] - }, - { - "name": "GraphemeFlag", - "is_bitfield": true, - "values": [ - { - "name": "GRAPHEME_IS_VALID", - "value": 1 - }, - { - "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": "GRAPHEME_IS_UNDERSCORE", - "value": 512 - }, - { - "name": "GRAPHEME_IS_CONNECTED", - "value": 1024 - }, - { - "name": "GRAPHEME_IS_SAFE_TO_INSERT_TATWEEL", - "value": 2048 - }, - { - "name": "GRAPHEME_IS_EMBEDDED_OBJECT", - "value": 4096 - } - ] - }, - { - "name": "Hinting", - "is_bitfield": false, - "values": [ - { - "name": "HINTING_NONE", - "value": 0 - }, - { - "name": "HINTING_LIGHT", - "value": 1 - }, - { - "name": "HINTING_NORMAL", - "value": 2 - } - ] - }, - { - "name": "SubpixelPositioning", - "is_bitfield": false, - "values": [ - { - "name": "SUBPIXEL_POSITIONING_DISABLED", - "value": 0 - }, - { - "name": "SUBPIXEL_POSITIONING_AUTO", - "value": 1 - }, - { - "name": "SUBPIXEL_POSITIONING_ONE_HALF", - "value": 2 - }, - { - "name": "SUBPIXEL_POSITIONING_ONE_QUARTER", - "value": 3 - }, - { - "name": "SUBPIXEL_POSITIONING_ONE_HALF_MAX_SIZE", - "value": 20 - }, - { - "name": "SUBPIXEL_POSITIONING_ONE_QUARTER_MAX_SIZE", - "value": 16 - } - ] - }, - { - "name": "Feature", - "is_bitfield": false, - "values": [ - { - "name": "FEATURE_SIMPLE_LAYOUT", - "value": 1 - }, - { - "name": "FEATURE_BIDI_LAYOUT", - "value": 2 - }, - { - "name": "FEATURE_VERTICAL_LAYOUT", - "value": 4 - }, - { - "name": "FEATURE_SHAPING", - "value": 8 - }, - { - "name": "FEATURE_KASHIDA_JUSTIFICATION", - "value": 16 - }, - { - "name": "FEATURE_BREAK_ITERATORS", - "value": 32 - }, - { - "name": "FEATURE_FONT_BITMAP", - "value": 64 - }, - { - "name": "FEATURE_FONT_DYNAMIC", - "value": 128 - }, - { - "name": "FEATURE_FONT_MSDF", - "value": 256 - }, - { - "name": "FEATURE_FONT_SYSTEM", - "value": 512 - }, - { - "name": "FEATURE_FONT_VARIABLE", - "value": 1024 - }, - { - "name": "FEATURE_CONTEXT_SENSITIVE_CASE_CONVERSION", - "value": 2048 - }, - { - "name": "FEATURE_USE_SUPPORT_DATA", - "value": 4096 - }, - { - "name": "FEATURE_UNICODE_IDENTIFIERS", - "value": 8192 - }, - { - "name": "FEATURE_UNICODE_SECURITY", - "value": 16384 - } - ] - }, - { - "name": "ContourPointTag", - "is_bitfield": false, - "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": "SpacingType", - "is_bitfield": false, - "values": [ - { - "name": "SPACING_GLYPH", - "value": 0 - }, - { - "name": "SPACING_SPACE", - "value": 1 - }, - { - "name": "SPACING_TOP", - "value": 2 - }, - { - "name": "SPACING_BOTTOM", - "value": 3 - }, - { - "name": "SPACING_MAX", - "value": 4 - } - ] - }, - { - "name": "FontStyle", - "is_bitfield": true, - "values": [ - { - "name": "FONT_BOLD", - "value": 1 - }, - { - "name": "FONT_ITALIC", - "value": 2 - }, - { - "name": "FONT_FIXED_WIDTH", - "value": 4 - } - ] - }, - { - "name": "StructuredTextParser", - "is_bitfield": false, - "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_GDSCRIPT", - "value": 5 - }, - { - "name": "STRUCTURED_TEXT_CUSTOM", - "value": 6 - } - ] - }, - { - "name": "FixedSizeScaleMode", - "is_bitfield": false, - "values": [ - { - "name": "FIXED_SIZE_SCALE_DISABLE", - "value": 0 - }, - { - "name": "FIXED_SIZE_SCALE_INTEGER_ONLY", - "value": 1 - }, - { - "name": "FIXED_SIZE_SCALE_ENABLED", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "has_feature", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3967367083, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "feature", - "type": "enum::TextServer.Feature" - } - ] - }, - { - "name": "get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_features", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "load_support_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2323990056, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "filename", - "type": "String" - } - ] - }, - { - "name": "get_support_data_filename", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_support_data_info", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "save_support_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "filename", - "type": "String" - } - ] - }, - { - "name": "is_locale_right_to_left", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "locale", - "type": "String" - } - ] - }, - { - "name": "name_to_tag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "tag_to_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "tag", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "has", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "free_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "create_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "create_font_linked_variation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 41030802, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1355495400, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "font_set_face_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "face_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_face_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_get_face_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_style", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 898466325, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "style", - "type": "bitfield::TextServer.FontStyle" - } - ] - }, - { - "name": "font_get_style", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3082502592, - "return_value": { - "type": "bitfield::TextServer.FontStyle" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2726140452, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "font_get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642473191, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_get_ot_name_strings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1882737106, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_style_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2726140452, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "font_get_style_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642473191, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_weight", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "weight", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_weight", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_stretch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "weight", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_stretch", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_antialiasing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 958337235, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "antialiasing", - "type": "enum::TextServer.FontAntialiasing" - } - ] - }, - { - "name": "font_get_antialiasing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3389420495, - "return_value": { - "type": "enum::TextServer.FontAntialiasing" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_generate_mipmaps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "generate_mipmaps", - "type": "bool" - } - ] - }, - { - "name": "font_get_generate_mipmaps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_multichannel_signed_distance_field", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "msdf", - "type": "bool" - } - ] - }, - { - "name": "font_is_multichannel_signed_distance_field", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_msdf_pixel_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "msdf_pixel_range", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_msdf_pixel_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_msdf_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "msdf_size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_msdf_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_fixed_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "fixed_size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_fixed_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_fixed_size_scale_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1029390307, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "fixed_size_scale_mode", - "type": "enum::TextServer.FixedSizeScaleMode" - } - ] - }, - { - "name": "font_get_fixed_size_scale_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4113120379, - "return_value": { - "type": "enum::TextServer.FixedSizeScaleMode" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_allow_system_fallback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "allow_system_fallback", - "type": "bool" - } - ] - }, - { - "name": "font_is_allow_system_fallback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_force_autohinter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "force_autohinter", - "type": "bool" - } - ] - }, - { - "name": "font_is_force_autohinter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_hinting", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1520010864, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "hinting", - "type": "enum::TextServer.Hinting" - } - ] - }, - { - "name": "font_get_hinting", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3971592737, - "return_value": { - "type": "enum::TextServer.Hinting" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_subpixel_positioning", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3830459669, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "subpixel_positioning", - "type": "enum::TextServer.SubpixelPositioning" - } - ] - }, - { - "name": "font_get_subpixel_positioning", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2752233671, - "return_value": { - "type": "enum::TextServer.SubpixelPositioning" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_embolden", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "strength", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "font_get_embolden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_spacing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1307259930, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_spacing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1213653558, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - } - ] - }, - { - "name": "font_set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1246044741, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "font_get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 213527486, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_variation_coordinates", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1217542888, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "variation_coordinates", - "type": "Dictionary" - } - ] - }, - { - "name": "font_get_variation_coordinates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1882737106, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_oversampling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1794382983, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "oversampling", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "font_get_oversampling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_get_size_cache_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_clear_size_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_remove_size_cache", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2450610377, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "font_set_ascent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1892459533, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "ascent", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "font_get_ascent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 755457166, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_descent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1892459533, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "descent", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "font_get_descent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 755457166, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_underline_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1892459533, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "underline_position", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "font_get_underline_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 755457166, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_underline_thickness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1892459533, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "underline_thickness", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "font_get_underline_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 755457166, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1892459533, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "scale", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "font_get_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 755457166, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_texture_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1311001310, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "font_clear_textures", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2450610377, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "font_remove_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3810512262, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_texture_image", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2354485091, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - }, - { - "name": "image", - "type": "Image" - } - ] - }, - { - "name": "font_get_texture_image", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2451761155, - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_texture_offsets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3005398047, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - }, - { - "name": "offset", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "font_get_texture_offsets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3420028887, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_glyph_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 46086620, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "font_clear_glyphs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2450610377, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "font_remove_glyph", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3810512262, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_glyph_advance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2555689501, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_glyph_advance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3219397315, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "advance", - "type": "Vector2" - } - ] - }, - { - "name": "font_get_glyph_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 513728628, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_glyph_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1812632090, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "font_get_glyph_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 513728628, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_glyph_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1812632090, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "gl_size", - "type": "Vector2" - } - ] - }, - { - "name": "font_get_glyph_uv_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2274268786, - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_glyph_uv_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1973324081, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "uv_rect", - "type": "Rect2" - } - ] - }, - { - "name": "font_get_glyph_texture_idx", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4292800474, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_set_glyph_texture_idx", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4254580980, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "texture_idx", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_glyph_texture_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1451696141, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_glyph_texture_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 513728628, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_glyph_contours", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2903964473, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_kerning_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1778388067, - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_clear_kerning_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3411492887, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_remove_kerning", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2141860016, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph_pair", - "type": "Vector2i" - } - ] - }, - { - "name": "font_set_kerning", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3630965883, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph_pair", - "type": "Vector2i" - }, - { - "name": "kerning", - "type": "Vector2" - } - ] - }, - { - "name": "font_get_kerning", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1019980169, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph_pair", - "type": "Vector2i" - } - ] - }, - { - "name": "font_get_glyph_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1765635060, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "char", - "type": "int", - "meta": "int64" - }, - { - "name": "variation_selector", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_char_from_glyph_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2156738276, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_has_char", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3120086654, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "char", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_get_supported_chars", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642473191, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_render_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4254580980, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "end", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_render_glyph", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3810512262, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "font_draw_glyph", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1339057948, - "hash_compatibility": [ - 1821196351 - ], - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - }, - { - "name": "color", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - } - ] - }, - { - "name": "font_draw_glyph_outline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2626165733, - "hash_compatibility": [ - 1124898203 - ], - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "outline_size", - "type": "int", - "meta": "int64" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - }, - { - "name": "color", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - } - ] - }, - { - "name": "font_is_language_supported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3199320846, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "font_set_language_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2313957094, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "language", - "type": "String" - }, - { - "name": "supported", - "type": "bool" - } - ] - }, - { - "name": "font_get_language_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2829184646, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "font_remove_language_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2726140452, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "font_get_language_support_overrides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2801473409, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_is_script_supported", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3199320846, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "font_set_script_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2313957094, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "script", - "type": "String" - }, - { - "name": "supported", - "type": "bool" - } - ] - }, - { - "name": "font_get_script_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2829184646, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "font_remove_script_support_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2726140452, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "font_get_script_support_overrides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2801473409, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_set_opentype_feature_overrides", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1217542888, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "overrides", - "type": "Dictionary" - } - ] - }, - { - "name": "font_get_opentype_feature_overrides", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1882737106, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_supported_feature_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1882737106, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_supported_variation_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1882737106, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "font_get_global_oversampling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "font_set_global_oversampling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "oversampling", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_hex_code_box_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3016396712, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "draw_hex_code_box", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602046441, - "arguments": [ - { - "name": "canvas", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "create_shaped_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1231398698, - "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_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_set_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1551430183, - "hash_compatibility": [ - 2616949700 - ], - "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_static": false, - "is_virtual": false, - "hash": 3065904362, - "return_value": { - "type": "enum::TextServer.Direction" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_inferred_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3065904362, - "return_value": { - "type": "enum::TextServer.Direction" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_set_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 684822712, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "override", - "type": "Array" - } - ] - }, - { - "name": "shaped_text_set_custom_punctuation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2726140452, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "punct", - "type": "String" - } - ] - }, - { - "name": "shaped_text_get_custom_punctuation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642473191, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_set_orientation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3019609126, - "hash_compatibility": [ - 104095128 - ], - "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_static": false, - "is_virtual": false, - "hash": 3142708106, - "return_value": { - "type": "enum::TextServer.Orientation" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_set_preserve_invalid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "shaped_text_get_preserve_invalid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_set_preserve_control", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1265174801, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "shaped_text_get_preserve_control", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_set_spacing", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1307259930, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_get_spacing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1213653558, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - } - ] - }, - { - "name": "shaped_text_add_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 623473029, - "hash_compatibility": [ - 2621279422 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "fonts", - "type": "typedarray::RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "opentype_features", - "type": "Dictionary", - "default_value": "{}" - }, - { - "name": "language", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "meta", - "type": "Variant", - "default_value": "null" - } - ] - }, - { - "name": "shaped_text_add_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3664424789, - "hash_compatibility": [ - 2838446185 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "key", - "type": "Variant" - }, - { - "name": "size", - "type": "Vector2" - }, - { - "name": "inline_align", - "type": "enum::InlineAlignment", - "default_value": "5" - }, - { - "name": "length", - "type": "int", - "meta": "int64", - "default_value": "1" - }, - { - "name": "baseline", - "type": "float", - "meta": "double", - "default_value": "0.0" - } - ] - }, - { - "name": "shaped_text_resize_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 790361552, - "hash_compatibility": [ - 2353789835 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "key", - "type": "Variant" - }, - { - "name": "size", - "type": "Vector2" - }, - { - "name": "inline_align", - "type": "enum::InlineAlignment", - "default_value": "5" - }, - { - "name": "baseline", - "type": "float", - "meta": "double", - "default_value": "0.0" - } - ] - }, - { - "name": "shaped_get_span_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_get_span_meta", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4069510997, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_set_span_update_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2022725822, - "hash_compatibility": [ - 1578983057 - ], - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - }, - { - "name": "fonts", - "type": "typedarray::RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "opentype_features", - "type": "Dictionary", - "default_value": "{}" - } - ] - }, - { - "name": "shaped_text_substr", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1937682086, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "length", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_get_parent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814569979, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_fit_to_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 530670926, - "hash_compatibility": [ - 603718830 - ], - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "width", - "type": "float", - "meta": "double" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag", - "default_value": "3" - } - ] - }, - { - "name": "shaped_text_tab_align", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1283669550, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "tab_stops", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "shaped_text_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3521089500, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_is_ready", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_has_visible_chars", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4155700596, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_glyphs", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_sort_logical", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2670461153, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_glyph_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 733700038, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_line_breaks_adv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2376991424, - "hash_compatibility": [ - 4206849830 - ], - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "width", - "type": "PackedFloat32Array" - }, - { - "name": "start", - "type": "int", - "meta": "int64", - "default_value": "0" - }, - { - "name": "once", - "type": "bool", - "default_value": "true" - }, - { - "name": "break_flags", - "type": "bitfield::TextServer.LineBreakFlag", - "default_value": "3" - } - ] - }, - { - "name": "shaped_text_get_line_breaks", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2651359741, - "hash_compatibility": [ - 303410369 - ], - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "width", - "type": "float", - "meta": "double" - }, - { - "name": "start", - "type": "int", - "meta": "int64", - "default_value": "0" - }, - { - "name": "break_flags", - "type": "bitfield::TextServer.LineBreakFlag", - "default_value": "3" - } - ] - }, - { - "name": "shaped_text_get_word_breaks", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 185957063, - "hash_compatibility": [ - 3299477123 - ], - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "grapheme_flags", - "type": "bitfield::TextServer.GraphemeFlag", - "default_value": "264" - } - ] - }, - { - "name": "shaped_text_get_trim_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_ellipsis_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_ellipsis_glyphs", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_ellipsis_glyph_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2198884583, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_overrun_trim_to_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2723146520, - "hash_compatibility": [ - 1572579718 - ], - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "width", - "type": "float", - "meta": "double", - "default_value": "0" - }, - { - "name": "overrun_trim_flags", - "type": "bitfield::TextServer.TextOverrunFlag", - "default_value": "0" - } - ] - }, - { - "name": "shaped_text_get_objects", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2684255073, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_object_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 447978354, - "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_static": false, - "is_virtual": false, - "hash": 2440833711, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_ascent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_descent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_underline_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_underline_thickness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866169185, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_get_carets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1574219346, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "position", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_get_selection", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3714187733, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "end", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_hit_test_grapheme", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3149310417, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "coords", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "shaped_text_hit_test_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3149310417, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "coords", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "shaped_text_get_grapheme_bounds", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2546185844, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_next_grapheme_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1120910005, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_prev_grapheme_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1120910005, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_get_character_breaks", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 788230395, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "shaped_text_next_character_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1120910005, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_prev_character_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1120910005, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_closest_character_pos", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1120910005, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "shaped_text_draw", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 880389142, - "hash_compatibility": [ - 70679950 - ], - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "clip_l", - "type": "float", - "meta": "double", - "default_value": "-1" - }, - { - "name": "clip_r", - "type": "float", - "meta": "double", - "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_static": false, - "is_virtual": false, - "hash": 2559184194, - "hash_compatibility": [ - 2673671346 - ], - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "clip_l", - "type": "float", - "meta": "double", - "default_value": "-1" - }, - { - "name": "clip_r", - "type": "float", - "meta": "double", - "default_value": "-1" - }, - { - "name": "outline_size", - "type": "int", - "meta": "int64", - "default_value": "1" - }, - { - "name": "color", - "type": "Color", - "default_value": "Color(1, 1, 1, 1)" - } - ] - }, - { - "name": "shaped_text_get_dominant_direction_in_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3326907668, - "return_value": { - "type": "enum::TextServer.Direction" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "end", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "format_number", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2664628024, - "hash_compatibility": [ - 2305636099 - ], - "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_static": false, - "is_virtual": false, - "hash": 2664628024, - "hash_compatibility": [ - 2305636099 - ], - "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_static": false, - "is_virtual": false, - "hash": 993269549, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "language", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "string_get_word_breaks", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 581857818, - "hash_compatibility": [ - 1398910359 - ], - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String", - "default_value": "\"\"" - }, - { - "name": "chars_per_line", - "type": "int", - "meta": "int64", - "default_value": "0" - } - ] - }, - { - "name": "string_get_character_breaks", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2333794773, - "hash_compatibility": [ - 1586579831 - ], - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "is_confusable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1433197768, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "dict", - "type": "PackedStringArray" - } - ] - }, - { - "name": "spoof_check", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "strip_diacritics", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "is_valid_identifier", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "string_to_upper", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2664628024, - "hash_compatibility": [ - 2305636099 - ], - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "string_to_lower", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2664628024, - "hash_compatibility": [ - 2305636099 - ], - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "parse_structured_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3310685015, - "return_value": { - "type": "typedarray::Vector3i" - }, - "arguments": [ - { - "name": "parser_type", - "type": "enum::TextServer.StructuredTextParser" - }, - { - "name": "args", - "type": "Array" - }, - { - "name": "text", - "type": "String" - } - ] - } - ] - }, - { - "name": "TextServerAdvanced", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "TextServerExtension", - "api_type": "core" - }, - { - "name": "TextServerDummy", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "TextServerExtension", - "api_type": "core" - }, - { - "name": "TextServerExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "TextServer", - "api_type": "core", - "methods": [ - { - "name": "_has_feature", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "feature", - "type": "enum::TextServer.Feature" - } - ] - }, - { - "name": "_get_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_features", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - } - }, - { - "name": "_free_rid", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "_has", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "rid", - "type": "RID" - } - ] - }, - { - "name": "_load_support_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "filename", - "type": "String" - } - ] - }, - { - "name": "_get_support_data_filename", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_support_data_info", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_save_support_data", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "filename", - "type": "String" - } - ] - }, - { - "name": "_is_locale_right_to_left", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "locale", - "type": "String" - } - ] - }, - { - "name": "_name_to_tag", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "_tag_to_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "tag", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_create_font", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_create_font_linked_variation", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_data", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "_font_set_data_ptr", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "data_ptr", - "type": "const uint8_t*" - }, - { - "name": "data_size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_face_index", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "face_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_face_index", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_get_face_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_style", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "style", - "type": "bitfield::TextServer.FontStyle" - } - ] - }, - { - "name": "_font_get_style", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bitfield::TextServer.FontStyle" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_name", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "_font_get_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_get_ot_name_strings", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_style_name", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "name_style", - "type": "String" - } - ] - }, - { - "name": "_font_get_style_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_weight", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "weight", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_weight", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_stretch", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "stretch", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_stretch", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_antialiasing", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "antialiasing", - "type": "enum::TextServer.FontAntialiasing" - } - ] - }, - { - "name": "_font_get_antialiasing", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::TextServer.FontAntialiasing" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_generate_mipmaps", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "generate_mipmaps", - "type": "bool" - } - ] - }, - { - "name": "_font_get_generate_mipmaps", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_multichannel_signed_distance_field", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "msdf", - "type": "bool" - } - ] - }, - { - "name": "_font_is_multichannel_signed_distance_field", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_msdf_pixel_range", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "msdf_pixel_range", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_msdf_pixel_range", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_msdf_size", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "msdf_size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_msdf_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_fixed_size", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "fixed_size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_fixed_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_fixed_size_scale_mode", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "fixed_size_scale_mode", - "type": "enum::TextServer.FixedSizeScaleMode" - } - ] - }, - { - "name": "_font_get_fixed_size_scale_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::TextServer.FixedSizeScaleMode" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_allow_system_fallback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "allow_system_fallback", - "type": "bool" - } - ] - }, - { - "name": "_font_is_allow_system_fallback", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_force_autohinter", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "force_autohinter", - "type": "bool" - } - ] - }, - { - "name": "_font_is_force_autohinter", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_hinting", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "hinting", - "type": "enum::TextServer.Hinting" - } - ] - }, - { - "name": "_font_get_hinting", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::TextServer.Hinting" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_subpixel_positioning", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "subpixel_positioning", - "type": "enum::TextServer.SubpixelPositioning" - } - ] - }, - { - "name": "_font_get_subpixel_positioning", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::TextServer.SubpixelPositioning" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_embolden", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "strength", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_font_get_embolden", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_spacing", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_spacing", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - } - ] - }, - { - "name": "_font_set_transform", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "transform", - "type": "Transform2D" - } - ] - }, - { - "name": "_font_get_transform", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform2D" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_variation_coordinates", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "variation_coordinates", - "type": "Dictionary" - } - ] - }, - { - "name": "_font_get_variation_coordinates", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_oversampling", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "oversampling", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_font_get_oversampling", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_get_size_cache_list", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_clear_size_cache", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_remove_size_cache", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "_font_set_ascent", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "ascent", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_font_get_ascent", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_descent", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "descent", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_font_get_descent", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_underline_position", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "underline_position", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_font_get_underline_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_underline_thickness", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "underline_thickness", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_font_get_underline_thickness", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_scale", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "scale", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_font_get_scale", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_texture_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "_font_clear_textures", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "_font_remove_texture", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_texture_image", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - }, - { - "name": "image", - "type": "Image" - } - ] - }, - { - "name": "_font_get_texture_image", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_texture_offsets", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - }, - { - "name": "offset", - "type": "PackedInt32Array" - } - ] - }, - { - "name": "_font_get_texture_offsets", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "texture_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_glyph_list", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "_font_clear_glyphs", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "_font_remove_glyph", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_glyph_advance", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_glyph_advance", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "advance", - "type": "Vector2" - } - ] - }, - { - "name": "_font_get_glyph_offset", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_glyph_offset", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "_font_get_glyph_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_glyph_size", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "gl_size", - "type": "Vector2" - } - ] - }, - { - "name": "_font_get_glyph_uv_rect", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_glyph_uv_rect", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "uv_rect", - "type": "Rect2" - } - ] - }, - { - "name": "_font_get_glyph_texture_idx", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_set_glyph_texture_idx", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - }, - { - "name": "texture_idx", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_glyph_texture_rid", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_glyph_texture_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "glyph", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_glyph_contours", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_kerning_list", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_clear_kerning_map", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_remove_kerning", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph_pair", - "type": "Vector2i" - } - ] - }, - { - "name": "_font_set_kerning", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph_pair", - "type": "Vector2i" - }, - { - "name": "kerning", - "type": "Vector2" - } - ] - }, - { - "name": "_font_get_kerning", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph_pair", - "type": "Vector2i" - } - ] - }, - { - "name": "_font_get_glyph_index", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "char", - "type": "int", - "meta": "int64" - }, - { - "name": "variation_selector", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_char_from_glyph_index", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "glyph_index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_has_char", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "char", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_get_supported_chars", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_render_range", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "end", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_render_glyph", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_font_draw_glyph", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "_font_draw_glyph_outline", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "outline_size", - "type": "int", - "meta": "int64" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "_font_is_language_supported", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "_font_set_language_support_override", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "language", - "type": "String" - }, - { - "name": "supported", - "type": "bool" - } - ] - }, - { - "name": "_font_get_language_support_override", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "_font_remove_language_support_override", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "_font_get_language_support_overrides", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_is_script_supported", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "_font_set_script_support_override", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "script", - "type": "String" - }, - { - "name": "supported", - "type": "bool" - } - ] - }, - { - "name": "_font_get_script_support_override", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "_font_remove_script_support_override", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "_font_get_script_support_overrides", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_set_opentype_feature_overrides", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - }, - { - "name": "overrides", - "type": "Dictionary" - } - ] - }, - { - "name": "_font_get_opentype_feature_overrides", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_supported_feature_list", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_supported_variation_list", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "font_rid", - "type": "RID" - } - ] - }, - { - "name": "_font_get_global_oversampling", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "_font_set_global_oversampling", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "oversampling", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_get_hex_code_box_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_draw_hex_code_box", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "canvas", - "type": "RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "_create_shaped_text", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "direction", - "type": "enum::TextServer.Direction" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation" - } - ] - }, - { - "name": "_shaped_text_clear", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_set_direction", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "direction", - "type": "enum::TextServer.Direction" - } - ] - }, - { - "name": "_shaped_text_get_direction", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::TextServer.Direction" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_inferred_direction", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::TextServer.Direction" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_set_bidi_override", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "override", - "type": "Array" - } - ] - }, - { - "name": "_shaped_text_set_custom_punctuation", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "punct", - "type": "String" - } - ] - }, - { - "name": "_shaped_text_get_custom_punctuation", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_set_orientation", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "orientation", - "type": "enum::TextServer.Orientation" - } - ] - }, - { - "name": "_shaped_text_get_orientation", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::TextServer.Orientation" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_set_preserve_invalid", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "_shaped_text_get_preserve_invalid", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_set_preserve_control", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "_shaped_text_get_preserve_control", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_set_spacing", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - }, - { - "name": "value", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_text_get_spacing", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "spacing", - "type": "enum::TextServer.SpacingType" - } - ] - }, - { - "name": "_shaped_text_add_string", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "text", - "type": "String" - }, - { - "name": "fonts", - "type": "typedarray::RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "opentype_features", - "type": "Dictionary" - }, - { - "name": "language", - "type": "String" - }, - { - "name": "meta", - "type": "Variant" - } - ] - }, - { - "name": "_shaped_text_add_object", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "key", - "type": "Variant" - }, - { - "name": "size", - "type": "Vector2" - }, - { - "name": "inline_align", - "type": "enum::InlineAlignment" - }, - { - "name": "length", - "type": "int", - "meta": "int64" - }, - { - "name": "baseline", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_shaped_text_resize_object", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "key", - "type": "Variant" - }, - { - "name": "size", - "type": "Vector2" - }, - { - "name": "inline_align", - "type": "enum::InlineAlignment" - }, - { - "name": "baseline", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_shaped_get_span_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_get_span_meta", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_set_span_update_font", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "index", - "type": "int", - "meta": "int64" - }, - { - "name": "fonts", - "type": "typedarray::RID" - }, - { - "name": "size", - "type": "int", - "meta": "int64" - }, - { - "name": "opentype_features", - "type": "Dictionary" - } - ] - }, - { - "name": "_shaped_text_substr", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "length", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_text_get_parent", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_fit_to_width", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "width", - "type": "float", - "meta": "double" - }, - { - "name": "justification_flags", - "type": "bitfield::TextServer.JustificationFlag" - } - ] - }, - { - "name": "_shaped_text_tab_align", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "tab_stops", - "type": "PackedFloat32Array" - } - ] - }, - { - "name": "_shaped_text_shape", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_update_breaks", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_update_justification_ops", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_is_ready", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_glyphs", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "const Glyph*" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_sort_logical", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "const Glyph*" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_glyph_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_range", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_line_breaks_adv", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "width", - "type": "PackedFloat32Array" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "once", - "type": "bool" - }, - { - "name": "break_flags", - "type": "bitfield::TextServer.LineBreakFlag" - } - ] - }, - { - "name": "_shaped_text_get_line_breaks", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "width", - "type": "float", - "meta": "double" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "break_flags", - "type": "bitfield::TextServer.LineBreakFlag" - } - ] - }, - { - "name": "_shaped_text_get_word_breaks", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "grapheme_flags", - "type": "bitfield::TextServer.GraphemeFlag" - } - ] - }, - { - "name": "_shaped_text_get_trim_pos", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_ellipsis_pos", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_ellipsis_glyph_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_ellipsis_glyphs", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "const Glyph*" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_overrun_trim_to_width", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "width", - "type": "float", - "meta": "double" - }, - { - "name": "trim_flags", - "type": "bitfield::TextServer.TextOverrunFlag" - } - ] - }, - { - "name": "_shaped_text_get_objects", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_object_rect", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "key", - "type": "Variant" - } - ] - }, - { - "name": "_shaped_text_get_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_ascent", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_descent", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_width", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_underline_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_underline_thickness", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_get_dominant_direction_in_range", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "end", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_text_get_carets", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "position", - "type": "int", - "meta": "int64" - }, - { - "name": "caret", - "type": "CaretInfo*" - } - ] - }, - { - "name": "_shaped_text_get_selection", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "start", - "type": "int", - "meta": "int64" - }, - { - "name": "end", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_text_hit_test_grapheme", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "coord", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_shaped_text_hit_test_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "coord", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_shaped_text_draw", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "clip_l", - "type": "float", - "meta": "double" - }, - { - "name": "clip_r", - "type": "float", - "meta": "double" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "_shaped_text_draw_outline", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "canvas", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "clip_l", - "type": "float", - "meta": "double" - }, - { - "name": "clip_r", - "type": "float", - "meta": "double" - }, - { - "name": "outline_size", - "type": "int", - "meta": "int64" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "_shaped_text_get_grapheme_bounds", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_text_next_grapheme_pos", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_text_prev_grapheme_pos", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_text_get_character_breaks", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - } - ] - }, - { - "name": "_shaped_text_next_character_pos", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_text_prev_character_pos", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_shaped_text_closest_character_pos", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "shaped", - "type": "RID" - }, - { - "name": "pos", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_format_number", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "_parse_number", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "_percent_sign", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "_strip_diacritics", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "_is_valid_identifier", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "_string_get_word_breaks", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String" - }, - { - "name": "chars_per_line", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "_string_get_character_breaks", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "_is_confusable", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "dict", - "type": "PackedStringArray" - } - ] - }, - { - "name": "_spoof_check", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - }, - { - "name": "_string_to_upper", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "_string_to_lower", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "string", - "type": "String" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "_parse_structured_text", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Vector3i" - }, - "arguments": [ - { - "name": "parser_type", - "type": "enum::TextServer.StructuredTextParser" - }, - { - "name": "args", - "type": "Array" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "_cleanup", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - } - ] - }, - { - "name": "TextServerManager", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "add_interface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1799689403, - "arguments": [ - { - "name": "interface", - "type": "TextServer" - } - ] - }, - { - "name": "get_interface_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "remove_interface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1799689403, - "arguments": [ - { - "name": "interface", - "type": "TextServer" - } - ] - }, - { - "name": "get_interface", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1672475555, - "return_value": { - "type": "TextServer" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_interfaces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "find_interface", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240905781, - "return_value": { - "type": "TextServer" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_primary_interface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1799689403, - "arguments": [ - { - "name": "index", - "type": "TextServer" - } - ] - }, - { - "name": "get_primary_interface", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 905850878, - "return_value": { - "type": "TextServer" - } - } - ], - "signals": [ - { - "name": "interface_added", - "arguments": [ - { - "name": "interface_name", - "type": "StringName" - } - ] - }, - { - "name": "interface_removed", - "arguments": [ - { - "name": "interface_name", - "type": "StringName" - } - ] - } - ] - }, - { - "name": "Texture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core" - }, - { - "name": "Texture2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture", - "api_type": "core", - "methods": [ - { - "name": "_get_width", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_height", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_is_pixel_opaque", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "x", - "type": "int", - "meta": "int32" - }, - { - "name": "y", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_has_alpha", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_draw", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "to_canvas_item", - "type": "RID" - }, - { - "name": "pos", - "type": "Vector2" - }, - { - "name": "modulate", - "type": "Color" - }, - { - "name": "transpose", - "type": "bool" - } - ] - }, - { - "name": "_draw_rect", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "to_canvas_item", - "type": "RID" - }, - { - "name": "rect", - "type": "Rect2" - }, - { - "name": "tile", - "type": "bool" - }, - { - "name": "modulate", - "type": "Color" - }, - { - "name": "transpose", - "type": "bool" - } - ] - }, - { - "name": "_draw_rect_region", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "to_canvas_item", - "type": "RID" - }, - { - "name": "rect", - "type": "Rect2" - }, - { - "name": "src_rect", - "type": "Rect2" - }, - { - "name": "modulate", - "type": "Color" - }, - { - "name": "transpose", - "type": "bool" - }, - { - "name": "clip_uv", - "type": "bool" - } - ] - }, - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "has_alpha", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "draw", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2729649137, - "hash_compatibility": [ - 1115460088 - ], - "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_static": false, - "is_virtual": false, - "hash": 3499451691, - "hash_compatibility": [ - 575156982 - ], - "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_static": false, - "is_virtual": false, - "hash": 2963678660, - "hash_compatibility": [ - 1066564656 - ], - "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_static": false, - "is_virtual": false, - "hash": 4190603485, - "return_value": { - "type": "Image" - } - }, - { - "name": "create_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121922552, - "return_value": { - "type": "Resource" - } - } - ] - }, - { - "name": "Texture2DArray", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "ImageTextureLayered", - "api_type": "core", - "methods": [ - { - "name": "create_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121922552, - "return_value": { - "type": "Resource" - } - } - ] - }, - { - "name": "Texture2DArrayRD", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "TextureLayeredRD", - "api_type": "core" - }, - { - "name": "Texture2DRD", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture2D", - "api_type": "core", - "methods": [ - { - "name": "set_texture_rd_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "texture_rd_rid", - "type": "RID" - } - ] - }, - { - "name": "get_texture_rd_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - } - ], - "properties": [ - { - "type": "RID", - "name": "texture_rd_rid", - "setter": "set_texture_rd_rid", - "getter": "get_texture_rd_rid" - } - ] - }, - { - "name": "Texture3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture", - "api_type": "core", - "methods": [ - { - "name": "_get_format", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Image.Format" - } - }, - { - "name": "_get_width", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_height", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_depth", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_has_mipmaps", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_data", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "typedarray::Image" - } - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3847873762, - "return_value": { - "type": "enum::Image.Format" - } - }, - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_depth", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "has_mipmaps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Image" - } - }, - { - "name": "create_placeholder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 121922552, - "return_value": { - "type": "Resource" - } - } - ] - }, - { - "name": "Texture3DRD", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture3D", - "api_type": "core", - "methods": [ - { - "name": "set_texture_rd_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "texture_rd_rid", - "type": "RID" - } - ] - }, - { - "name": "get_texture_rd_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - } - ], - "properties": [ - { - "type": "RID", - "name": "texture_rd_rid", - "setter": "set_texture_rd_rid", - "getter": "get_texture_rd_rid" - } - ] - }, - { - "name": "TextureButton", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "BaseButton", - "api_type": "core", - "enums": [ - { - "name": "StretchMode", - "is_bitfield": false, - "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_texture_normal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "set_texture_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "set_texture_hover", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "set_texture_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "set_texture_focused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "set_click_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 698588216, - "arguments": [ - { - "name": "mask", - "type": "BitMap" - } - ] - }, - { - "name": "set_ignore_texture_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "ignore", - "type": "bool" - } - ] - }, - { - "name": "set_stretch_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 252530840, - "arguments": [ - { - "name": "mode", - "type": "enum::TextureButton.StretchMode" - } - ] - }, - { - "name": "set_flip_h", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_h", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_flip_v", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_v", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_texture_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "get_texture_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "get_texture_hover", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "get_texture_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "get_texture_focused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "get_click_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2459671998, - "return_value": { - "type": "BitMap" - } - }, - { - "name": "get_ignore_texture_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_stretch_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 33815122, - "return_value": { - "type": "enum::TextureButton.StretchMode" - } - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "texture_normal", - "setter": "set_texture_normal", - "getter": "get_texture_normal" - }, - { - "type": "Texture2D", - "name": "texture_pressed", - "setter": "set_texture_pressed", - "getter": "get_texture_pressed" - }, - { - "type": "Texture2D", - "name": "texture_hover", - "setter": "set_texture_hover", - "getter": "get_texture_hover" - }, - { - "type": "Texture2D", - "name": "texture_disabled", - "setter": "set_texture_disabled", - "getter": "get_texture_disabled" - }, - { - "type": "Texture2D", - "name": "texture_focused", - "setter": "set_texture_focused", - "getter": "get_texture_focused" - }, - { - "type": "BitMap", - "name": "texture_click_mask", - "setter": "set_click_mask", - "getter": "get_click_mask" - }, - { - "type": "bool", - "name": "ignore_texture_size", - "setter": "set_ignore_texture_size", - "getter": "get_ignore_texture_size" - }, - { - "type": "int", - "name": "stretch_mode", - "setter": "set_stretch_mode", - "getter": "get_stretch_mode" - }, - { - "type": "bool", - "name": "flip_h", - "setter": "set_flip_h", - "getter": "is_flipped_h" - }, - { - "type": "bool", - "name": "flip_v", - "setter": "set_flip_v", - "getter": "is_flipped_v" - } - ] - }, - { - "name": "TextureCubemapArrayRD", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "TextureLayeredRD", - "api_type": "core" - }, - { - "name": "TextureCubemapRD", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "TextureLayeredRD", - "api_type": "core" - }, - { - "name": "TextureLayered", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Texture", - "api_type": "core", - "enums": [ - { - "name": "LayeredType", - "is_bitfield": false, - "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_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Image.Format" - } - }, - { - "name": "_get_layered_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "_get_width", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_height", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_layers", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_has_mipmaps", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_layer_data", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_format", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3847873762, - "return_value": { - "type": "enum::Image.Format" - } - }, - { - "name": "get_layered_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 518123893, - "return_value": { - "type": "enum::TextureLayered.LayeredType" - } - }, - { - "name": "get_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_layers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "has_mipmaps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_layer_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3655284255, - "return_value": { - "type": "Image" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - } - ] - }, - { - "name": "TextureLayeredRD", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "TextureLayered", - "api_type": "core", - "methods": [ - { - "name": "set_texture_rd_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "texture_rd_rid", - "type": "RID" - } - ] - }, - { - "name": "get_texture_rd_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - } - ], - "properties": [ - { - "type": "RID", - "name": "texture_rd_rid", - "setter": "set_texture_rd_rid", - "getter": "get_texture_rd_rid" - } - ] - }, - { - "name": "TextureProgressBar", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Range", - "api_type": "core", - "enums": [ - { - "name": "FillMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "tex", - "type": "Texture2D" - } - ] - }, - { - "name": "get_under_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_progress_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "tex", - "type": "Texture2D" - } - ] - }, - { - "name": "get_progress_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_over_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "tex", - "type": "Texture2D" - } - ] - }, - { - "name": "get_over_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_fill_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mode", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_fill_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_tint_under", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "tint", - "type": "Color" - } - ] - }, - { - "name": "get_tint_under", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_tint_progress", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "tint", - "type": "Color" - } - ] - }, - { - "name": "get_tint_progress", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_tint_over", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "tint", - "type": "Color" - } - ] - }, - { - "name": "get_tint_over", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_texture_progress_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_texture_progress_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_radial_initial_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mode", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radial_initial_angle", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radial_center_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "mode", - "type": "Vector2" - } - ] - }, - { - "name": "get_radial_center_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1497962370, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_fill_degrees", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "mode", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fill_degrees", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_stretch_margin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 437707142, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - }, - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_stretch_margin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1983885014, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "margin", - "type": "enum::Side" - } - ] - }, - { - "name": "set_nine_patch_stretch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "stretch", - "type": "bool" - } - ] - }, - { - "name": "get_nine_patch_stretch", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "fill_mode", - "setter": "set_fill_mode", - "getter": "get_fill_mode" - }, - { - "type": "bool", - "name": "nine_patch_stretch", - "setter": "set_nine_patch_stretch", - "getter": "get_nine_patch_stretch" - }, - { - "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 - }, - { - "type": "Texture2D", - "name": "texture_under", - "setter": "set_under_texture", - "getter": "get_under_texture" - }, - { - "type": "Texture2D", - "name": "texture_over", - "setter": "set_over_texture", - "getter": "get_over_texture" - }, - { - "type": "Texture2D", - "name": "texture_progress", - "setter": "set_progress_texture", - "getter": "get_progress_texture" - }, - { - "type": "Vector2", - "name": "texture_progress_offset", - "setter": "set_texture_progress_offset", - "getter": "get_texture_progress_offset" - }, - { - "type": "Color", - "name": "tint_under", - "setter": "set_tint_under", - "getter": "get_tint_under" - }, - { - "type": "Color", - "name": "tint_over", - "setter": "set_tint_over", - "getter": "get_tint_over" - }, - { - "type": "Color", - "name": "tint_progress", - "setter": "set_tint_progress", - "getter": "get_tint_progress" - }, - { - "type": "float", - "name": "radial_initial_angle", - "setter": "set_radial_initial_angle", - "getter": "get_radial_initial_angle" - }, - { - "type": "float", - "name": "radial_fill_degrees", - "setter": "set_fill_degrees", - "getter": "get_fill_degrees" - }, - { - "type": "Vector2", - "name": "radial_center_offset", - "setter": "set_radial_center_offset", - "getter": "get_radial_center_offset" - } - ] - }, - { - "name": "TextureRect", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "enums": [ - { - "name": "ExpandMode", - "is_bitfield": false, - "values": [ - { - "name": "EXPAND_KEEP_SIZE", - "value": 0 - }, - { - "name": "EXPAND_IGNORE_SIZE", - "value": 1 - }, - { - "name": "EXPAND_FIT_WIDTH", - "value": 2 - }, - { - "name": "EXPAND_FIT_WIDTH_PROPORTIONAL", - "value": 3 - }, - { - "name": "EXPAND_FIT_HEIGHT", - "value": 4 - }, - { - "name": "EXPAND_FIT_HEIGHT_PROPORTIONAL", - "value": 5 - } - ] - }, - { - "name": "StretchMode", - "is_bitfield": false, - "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_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_expand_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1870766882, - "arguments": [ - { - "name": "expand_mode", - "type": "enum::TextureRect.ExpandMode" - } - ] - }, - { - "name": "get_expand_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3863824733, - "return_value": { - "type": "enum::TextureRect.ExpandMode" - } - }, - { - "name": "set_flip_h", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_h", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_flip_v", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_flipped_v", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_stretch_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 58788729, - "arguments": [ - { - "name": "stretch_mode", - "type": "enum::TextureRect.StretchMode" - } - ] - }, - { - "name": "get_stretch_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 346396079, - "return_value": { - "type": "enum::TextureRect.StretchMode" - } - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "int", - "name": "expand_mode", - "setter": "set_expand_mode", - "getter": "get_expand_mode" - }, - { - "type": "int", - "name": "stretch_mode", - "setter": "set_stretch_mode", - "getter": "get_stretch_mode" - }, - { - "type": "bool", - "name": "flip_h", - "setter": "set_flip_h", - "getter": "is_flipped_h" - }, - { - "type": "bool", - "name": "flip_v", - "setter": "set_flip_v", - "getter": "is_flipped_v" - } - ] - }, - { - "name": "Theme", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "DataType", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2188371082, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 934555193, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "has_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 471820014, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "rename_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642128662, - "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_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_icon_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291131558, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "theme_type", - "type": "String" - } - ] - }, - { - "name": "get_icon_type_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_stylebox", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2075907568, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - }, - { - "name": "texture", - "type": "StyleBox" - } - ] - }, - { - "name": "get_stylebox", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3405608165, - "return_value": { - "type": "StyleBox" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "has_stylebox", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 471820014, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "rename_stylebox", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642128662, - "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_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_stylebox_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291131558, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "theme_type", - "type": "String" - } - ] - }, - { - "name": "get_stylebox_type_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 177292320, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - }, - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "get_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3445063586, - "return_value": { - "type": "Font" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "has_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 471820014, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "rename_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642128662, - "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_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_font_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291131558, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "theme_type", - "type": "String" - } - ] - }, - { - "name": "get_font_type_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_font_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 281601298, - "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_static": false, - "is_virtual": false, - "hash": 2419549490, - "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_static": false, - "is_virtual": false, - "hash": 471820014, - "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_static": false, - "is_virtual": false, - "hash": 642128662, - "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_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_font_size_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291131558, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "theme_type", - "type": "String" - } - ] - }, - { - "name": "get_font_size_type_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4111215154, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2015923404, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "has_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 471820014, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "rename_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642128662, - "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_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_color_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291131558, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "theme_type", - "type": "String" - } - ] - }, - { - "name": "get_color_type_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 281601298, - "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_static": false, - "is_virtual": false, - "hash": 2419549490, - "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_static": false, - "is_virtual": false, - "hash": 471820014, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "rename_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 642128662, - "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_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_constant_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4291131558, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "theme_type", - "type": "String" - } - ] - }, - { - "name": "get_constant_type_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_default_base_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "base_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_default_base_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "has_default_base_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1262170328, - "arguments": [ - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "get_default_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229501585, - "return_value": { - "type": "Font" - } - }, - { - "name": "has_default_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_font_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "font_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_default_font_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "has_default_font_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_theme_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2492983623, - "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_static": false, - "is_virtual": false, - "hash": 2191024021, - "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_static": false, - "is_virtual": false, - "hash": 1739311056, - "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_static": false, - "is_virtual": false, - "hash": 3900867553, - "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_static": false, - "is_virtual": false, - "hash": 2965505587, - "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_static": false, - "is_virtual": false, - "hash": 3726716710, - "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_static": false, - "is_virtual": false, - "hash": 1316004935, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "data_type", - "type": "enum::Theme.DataType" - } - ] - }, - { - "name": "set_type_variation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3740211285, - "arguments": [ - { - "name": "theme_type", - "type": "StringName" - }, - { - "name": "base_type", - "type": "StringName" - } - ] - }, - { - "name": "is_type_variation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 471820014, - "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_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_type_variation_base", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965194235, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_type_variation_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1761182771, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "base_type", - "type": "StringName" - } - ] - }, - { - "name": "add_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "remove_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_type_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "merge_with", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2326690814, - "arguments": [ - { - "name": "other", - "type": "Theme" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "float", - "name": "default_base_scale", - "setter": "set_default_base_scale", - "getter": "get_default_base_scale" - }, - { - "type": "Font", - "name": "default_font", - "setter": "set_default_font", - "getter": "get_default_font" - }, - { - "type": "int", - "name": "default_font_size", - "setter": "set_default_font_size", - "getter": "get_default_font_size" - } - ] - }, - { - "name": "ThemeDB", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "get_default_theme", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 754276358, - "return_value": { - "type": "Theme" - } - }, - { - "name": "get_project_theme", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 754276358, - "return_value": { - "type": "Theme" - } - }, - { - "name": "set_fallback_base_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "base_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fallback_base_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 191475506, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fallback_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1262170328, - "arguments": [ - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "get_fallback_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3656929885, - "return_value": { - "type": "Font" - } - }, - { - "name": "set_fallback_font_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "font_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_fallback_font_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_fallback_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "icon", - "type": "Texture2D" - } - ] - }, - { - "name": "get_fallback_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 255860311, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_fallback_stylebox", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2797200388, - "arguments": [ - { - "name": "stylebox", - "type": "StyleBox" - } - ] - }, - { - "name": "get_fallback_stylebox", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 496040854, - "return_value": { - "type": "StyleBox" - } - } - ], - "signals": [ - { - "name": "fallback_changed" - } - ], - "properties": [ - { - "type": "float", - "name": "fallback_base_scale", - "setter": "set_fallback_base_scale", - "getter": "get_fallback_base_scale" - }, - { - "type": "Font", - "name": "fallback_font", - "setter": "set_fallback_font", - "getter": "get_fallback_font" - }, - { - "type": "int", - "name": "fallback_font_size", - "setter": "set_fallback_font_size", - "getter": "get_fallback_font_size" - }, - { - "type": "Texture2D", - "name": "fallback_icon", - "setter": "set_fallback_icon", - "getter": "get_fallback_icon" - }, - { - "type": "StyleBox", - "name": "fallback_stylebox", - "setter": "set_fallback_stylebox", - "getter": "get_fallback_stylebox" - } - ] - }, - { - "name": "Thread", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "Priority", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1327203254, - "hash_compatibility": [ - 2779832528 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "callable", - "type": "Callable" - }, - { - "name": "priority", - "type": "enum::Thread.Priority", - "default_value": "1" - } - ] - }, - { - "name": "get_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_started", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_alive", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "wait_to_finish", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1460262497, - "return_value": { - "type": "Variant" - } - }, - { - "name": "set_thread_safety_checks_enabled", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_h", - "type": "bool" - } - ] - }, - { - "name": "get_flip_h", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_flip_v", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "flip_v", - "type": "bool" - } - ] - }, - { - "name": "get_flip_v", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_transpose", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "transpose", - "type": "bool" - } - ] - }, - { - "name": "get_transpose", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_material", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2757459619, - "arguments": [ - { - "name": "material", - "type": "Material" - } - ] - }, - { - "name": "get_material", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 5934680, - "return_value": { - "type": "Material" - } - }, - { - "name": "set_texture_origin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "texture_origin", - "type": "Vector2i" - } - ] - }, - { - "name": "get_texture_origin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "get_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - }, - { - "name": "set_z_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "z_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_z_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_y_sort_origin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "y_sort_origin", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_y_sort_origin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_occluder", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 914399637, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - }, - { - "name": "occluder_polygon", - "type": "OccluderPolygon2D" - } - ] - }, - { - "name": "get_occluder", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2458574231, - "return_value": { - "type": "OccluderPolygon2D" - }, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_constant_linear_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 163021252, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - }, - { - "name": "velocity", - "type": "Vector2" - } - ] - }, - { - "name": "get_constant_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2299179447, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_constant_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - }, - { - "name": "velocity", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_constant_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_polygons_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - }, - { - "name": "polygons_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_collision_polygons_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_collision_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_collision_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 3230546541, - "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_static": false, - "is_virtual": false, - "hash": 103942801, - "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_static": false, - "is_virtual": false, - "hash": 1383440665, - "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_static": false, - "is_virtual": false, - "hash": 2522259332, - "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_static": false, - "is_virtual": false, - "hash": 3506521499, - "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_static": false, - "is_virtual": false, - "hash": 3085491603, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_terrain_set", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_terrain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "terrain", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_terrain", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_terrain_peering_bit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1084452308, - "arguments": [ - { - "name": "peering_bit", - "type": "enum::TileSet.CellNeighbor" - }, - { - "name": "terrain", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_terrain_peering_bit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3831796792, - "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_static": false, - "is_virtual": false, - "hash": 2224691167, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - }, - { - "name": "navigation_polygon", - "type": "NavigationPolygon" - } - ] - }, - { - "name": "get_navigation_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3991786031, - "return_value": { - "type": "NavigationPolygon" - }, - "arguments": [ - { - "name": "layer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_probability", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "probability", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_probability", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_custom_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 402577236, - "arguments": [ - { - "name": "layer_name", - "type": "String" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "get_custom_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1868160156, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "layer_name", - "type": "String" - } - ] - }, - { - "name": "set_custom_data_by_layer_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2152698145, - "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_static": false, - "is_virtual": false, - "hash": 4227898402, - "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" - }, - { - "type": "bool", - "name": "flip_v", - "setter": "set_flip_v", - "getter": "get_flip_v" - }, - { - "type": "bool", - "name": "transpose", - "setter": "set_transpose", - "getter": "get_transpose" - }, - { - "type": "Vector2i", - "name": "texture_origin", - "setter": "set_texture_origin", - "getter": "get_texture_origin" - }, - { - "type": "Color", - "name": "modulate", - "setter": "set_modulate", - "getter": "get_modulate" - }, - { - "type": "CanvasItemMaterial,ShaderMaterial", - "name": "material", - "setter": "set_material", - "getter": "get_material" - }, - { - "type": "int", - "name": "z_index", - "setter": "set_z_index", - "getter": "get_z_index" - }, - { - "type": "int", - "name": "y_sort_origin", - "setter": "set_y_sort_origin", - "getter": "get_y_sort_origin" - }, - { - "type": "int", - "name": "terrain_set", - "setter": "set_terrain_set", - "getter": "get_terrain_set" - }, - { - "type": "int", - "name": "terrain", - "setter": "set_terrain", - "getter": "get_terrain" - }, - { - "type": "float", - "name": "probability", - "setter": "set_probability", - "getter": "get_probability" - } - ] - }, - { - "name": "TileMap", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "enums": [ - { - "name": "VisibilityMode", - "is_bitfield": false, - "values": [ - { - "name": "VISIBILITY_MODE_DEFAULT", - "value": 0 - }, - { - "name": "VISIBILITY_MODE_FORCE_HIDE", - "value": 2 - }, - { - "name": "VISIBILITY_MODE_FORCE_SHOW", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "_use_tile_data_runtime_update", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "coords", - "type": "Vector2i" - } - ] - }, - { - "name": "_tile_data_runtime_update", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "coords", - "type": "Vector2i" - }, - { - "name": "tile_data", - "type": "TileData" - } - ] - }, - { - "name": "set_navigation_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4040184819, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 495598643, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "force_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "set_tileset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 774531446, - "arguments": [ - { - "name": "tileset", - "type": "TileSet" - } - ] - }, - { - "name": "get_tileset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2678226422, - "return_value": { - "type": "TileSet" - } - }, - { - "name": "set_rendering_quadrant_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_rendering_quadrant_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_layers_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "to_position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "move_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "to_position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_layer_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_layer_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_layer_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_layer_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_layer_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "get_layer_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_layer_y_sort_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_layer_y_sort_origin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "z_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_layer_z_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_layer_navigation_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_layer_navigation_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_layer_navigation_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4040184819, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "map", - "type": "RID" - } - ] - }, - { - "name": "get_layer_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 495598643, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_collision_animatable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_collision_animatable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collision_visibility_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3193440636, - "arguments": [ - { - "name": "collision_visibility_mode", - "type": "enum::TileMap.VisibilityMode" - } - ] - }, - { - "name": "get_collision_visibility_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2026313073, - "return_value": { - "type": "enum::TileMap.VisibilityMode" - } - }, - { - "name": "set_navigation_visibility_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3193440636, - "arguments": [ - { - "name": "navigation_visibility_mode", - "type": "enum::TileMap.VisibilityMode" - } - ] - }, - { - "name": "get_navigation_visibility_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2026313073, - "return_value": { - "type": "enum::TileMap.VisibilityMode" - } - }, - { - "name": "set_cell", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 966713560, - "hash_compatibility": [ - 1732664643 - ], - "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": "0" - } - ] - }, - { - "name": "erase_cell", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2311374912, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_cell_source_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 551761942, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "coords", - "type": "Vector2i" - }, - { - "name": "use_proxies", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_cell_atlas_coords", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1869815066, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "coords", - "type": "Vector2i" - }, - { - "name": "use_proxies", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_cell_alternative_tile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 551761942, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "coords", - "type": "Vector2i" - }, - { - "name": "use_proxies", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_cell_tile_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2849631287, - "return_value": { - "type": "TileData" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "coords", - "type": "Vector2i" - }, - { - "name": "use_proxies", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_coords_for_body_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 291584212, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "get_layer_for_body_rid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3917799429, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "body", - "type": "RID" - } - ] - }, - { - "name": "get_pattern", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2833570986, - "return_value": { - "type": "TileMapPattern" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "coords_array", - "type": "typedarray::Vector2i" - } - ] - }, - { - "name": "map_pattern", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1864516957, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "position_in_tilemap", - "type": "Vector2i" - }, - { - "name": "coords_in_pattern", - "type": "Vector2i" - }, - { - "name": "pattern", - "type": "TileMapPattern" - } - ] - }, - { - "name": "set_pattern", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1195853946, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "position", - "type": "Vector2i" - }, - { - "name": "pattern", - "type": "TileMapPattern" - } - ] - }, - { - "name": "set_cells_terrain_connect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3578627656, - "hash_compatibility": [ - 3072115677 - ], - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "cells", - "type": "typedarray::Vector2i" - }, - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - }, - { - "name": "terrain", - "type": "int", - "meta": "int32" - }, - { - "name": "ignore_empty_terrains", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "set_cells_terrain_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3578627656, - "hash_compatibility": [ - 3072115677 - ], - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "name": "path", - "type": "typedarray::Vector2i" - }, - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - }, - { - "name": "terrain", - "type": "int", - "meta": "int32" - }, - { - "name": "ignore_empty_terrains", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "fix_invalid_tiles", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "update_internals", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "notify_runtime_tile_data_update", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "get_surrounding_cells", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2673526557, - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_used_cells", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 663333327, - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_used_cells_by_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2931012785, - "hash_compatibility": [ - 4152068407 - ], - "return_value": { - "type": "typedarray::Vector2i" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "int32" - }, - { - "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_used_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 410525958, - "hash_compatibility": [ - 2024035737 - ], - "return_value": { - "type": "Rect2i" - } - }, - { - "name": "map_to_local", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 108438297, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "map_position", - "type": "Vector2i" - } - ] - }, - { - "name": "local_to_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 837806996, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "local_position", - "type": "Vector2" - } - ] - }, - { - "name": "get_neighbor_cell", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 986575103, - "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" - }, - { - "type": "int", - "name": "rendering_quadrant_size", - "setter": "set_rendering_quadrant_size", - "getter": "get_rendering_quadrant_size" - }, - { - "type": "bool", - "name": "collision_animatable", - "setter": "set_collision_animatable", - "getter": "is_collision_animatable" - }, - { - "type": "int", - "name": "collision_visibility_mode", - "setter": "set_collision_visibility_mode", - "getter": "get_collision_visibility_mode" - }, - { - "type": "int", - "name": "navigation_visibility_mode", - "setter": "set_navigation_visibility_mode", - "getter": "get_navigation_visibility_mode" - } - ] - }, - { - "name": "TileMapPattern", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "set_cell", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2224802556, - "hash_compatibility": [ - 634000503 - ], - "arguments": [ - { - "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": "has_cell", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3900751641, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "coords", - "type": "Vector2i" - } - ] - }, - { - "name": "remove_cell", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4153096796, - "arguments": [ - { - "name": "coords", - "type": "Vector2i" - }, - { - "name": "update_size", - "type": "bool" - } - ] - }, - { - "name": "get_cell_source_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2485466453, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_cell_atlas_coords", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3050897911, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_cell_alternative_tile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2485466453, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_used_cells", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Vector2i" - } - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "is_empty", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ] - }, - { - "name": "TileSet", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "TileShape", - "is_bitfield": false, - "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": "TileLayout", - "is_bitfield": false, - "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": "TileOffsetAxis", - "is_bitfield": false, - "values": [ - { - "name": "TILE_OFFSET_AXIS_HORIZONTAL", - "value": 0 - }, - { - "name": "TILE_OFFSET_AXIS_VERTICAL", - "value": 1 - } - ] - }, - { - "name": "CellNeighbor", - "is_bitfield": false, - "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": "TerrainMode", - "is_bitfield": false, - "values": [ - { - "name": "TERRAIN_MODE_MATCH_CORNERS_AND_SIDES", - "value": 0 - }, - { - "name": "TERRAIN_MODE_MATCH_CORNERS", - "value": 1 - }, - { - "name": "TERRAIN_MODE_MATCH_SIDES", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "get_next_source_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_source", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1059186179, - "hash_compatibility": [ - 276991387 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "source", - "type": "TileSetSource" - }, - { - "name": "atlas_source_id_override", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "remove_source", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "source_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_source_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "source_id", - "type": "int", - "meta": "int32" - }, - { - "name": "new_source_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_source_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_source_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "has_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "source_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1763540252, - "return_value": { - "type": "TileSetSource" - }, - "arguments": [ - { - "name": "source_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tile_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2131427112, - "arguments": [ - { - "name": "shape", - "type": "enum::TileSet.TileShape" - } - ] - }, - { - "name": "get_tile_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 716918169, - "return_value": { - "type": "enum::TileSet.TileShape" - } - }, - { - "name": "set_tile_layout", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1071216679, - "arguments": [ - { - "name": "layout", - "type": "enum::TileSet.TileLayout" - } - ] - }, - { - "name": "get_tile_layout", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 194628839, - "return_value": { - "type": "enum::TileSet.TileLayout" - } - }, - { - "name": "set_tile_offset_axis", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3300198521, - "arguments": [ - { - "name": "alignment", - "type": "enum::TileSet.TileOffsetAxis" - } - ] - }, - { - "name": "get_tile_offset_axis", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 762494114, - "return_value": { - "type": "enum::TileSet.TileOffsetAxis" - } - }, - { - "name": "set_tile_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_tile_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_uv_clipping", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "uv_clipping", - "type": "bool" - } - ] - }, - { - "name": "is_uv_clipping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_occlusion_layers_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_occlusion_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "to_position", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "move_occlusion_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - }, - { - "name": "to_position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_occlusion_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_occlusion_layer_light_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_occlusion_layer_sdf_collision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - }, - { - "name": "sdf_collision", - "type": "bool" - } - ] - }, - { - "name": "get_occlusion_layer_sdf_collision", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_physics_layers_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_physics_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "to_position", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "move_physics_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - }, - { - "name": "to_position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_physics_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_physics_layer_collision_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "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_static": false, - "is_virtual": false, - "hash": 1018687357, - "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_static": false, - "is_virtual": false, - "hash": 788318639, - "return_value": { - "type": "PhysicsMaterial" - }, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_terrain_sets_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_terrain_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "to_position", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "move_terrain_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - }, - { - "name": "to_position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_terrain_set", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_terrain_set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3943003916, - "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_static": false, - "is_virtual": false, - "hash": 2084469411, - "return_value": { - "type": "enum::TileSet.TerrainMode" - }, - "arguments": [ - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_terrains_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_terrain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1230568737, - "hash_compatibility": [ - 3023605688 - ], - "arguments": [ - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - }, - { - "name": "to_position", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "move_terrain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1649997291, - "arguments": [ - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - }, - { - "name": "terrain_index", - "type": "int", - "meta": "int32" - }, - { - "name": "to_position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_terrain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - }, - { - "name": "terrain_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_terrain_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2285447957, - "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_static": false, - "is_virtual": false, - "hash": 1391810591, - "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_static": false, - "is_virtual": false, - "hash": 3733378741, - "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_static": false, - "is_virtual": false, - "hash": 2165839948, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "terrain_set", - "type": "int", - "meta": "int32" - }, - { - "name": "terrain_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_navigation_layers_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_navigation_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "to_position", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "move_navigation_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - }, - { - "name": "to_position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_navigation_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_navigation_layer_layers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_navigation_layer_layer_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1383440665, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - }, - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_navigation_layer_layer_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2522259332, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - }, - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_custom_data_layers_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "add_custom_data_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1025054187, - "arguments": [ - { - "name": "to_position", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "move_custom_data_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - }, - { - "name": "to_position", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_custom_data_layer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_custom_data_layer_by_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "layer_name", - "type": "String" - } - ] - }, - { - "name": "set_custom_data_layer_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - }, - { - "name": "layer_name", - "type": "String" - } - ] - }, - { - "name": "get_custom_data_layer_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_custom_data_layer_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3492912874, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - }, - { - "name": "layer_type", - "type": "enum::Variant.Type" - } - ] - }, - { - "name": "get_custom_data_layer_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2990820875, - "return_value": { - "type": "enum::Variant.Type" - }, - "arguments": [ - { - "name": "layer_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_source_level_tile_proxy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 3744713108, - "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_static": false, - "is_virtual": false, - "hash": 3067735520, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "source_from", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_coords_level_tile_proxy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1769939278, - "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_static": false, - "is_virtual": false, - "hash": 2856536371, - "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_static": false, - "is_virtual": false, - "hash": 3957903770, - "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_static": false, - "is_virtual": false, - "hash": 2311374912, - "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_static": false, - "is_virtual": false, - "hash": 3862385460, - "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_static": false, - "is_virtual": false, - "hash": 2303761075, - "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_static": false, - "is_virtual": false, - "hash": 180086755, - "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_static": false, - "is_virtual": false, - "hash": 2328951467, - "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_static": false, - "is_virtual": false, - "hash": 4267935328, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "clear_tile_proxies", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_pattern", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 763712015, - "hash_compatibility": [ - 3009264082 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "pattern", - "type": "TileMapPattern" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "get_pattern", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4207737510, - "return_value": { - "type": "TileMapPattern" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "remove_pattern", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_patterns_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "tile_shape", - "setter": "set_tile_shape", - "getter": "get_tile_shape" - }, - { - "type": "int", - "name": "tile_layout", - "setter": "set_tile_layout", - "getter": "get_tile_layout" - }, - { - "type": "int", - "name": "tile_offset_axis", - "setter": "set_tile_offset_axis", - "getter": "get_tile_offset_axis" - }, - { - "type": "Vector2i", - "name": "tile_size", - "setter": "set_tile_size", - "getter": "get_tile_size" - }, - { - "type": "bool", - "name": "uv_clipping", - "setter": "set_uv_clipping", - "getter": "is_uv_clipping" - } - ] - }, - { - "name": "TileSetAtlasSource", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "TileSetSource", - "api_type": "core", - "constants": [ - { - "name": "TRANSFORM_FLIP_H", - "value": 4096 - }, - { - "name": "TRANSFORM_FLIP_V", - "value": 8192 - }, - { - "name": "TRANSFORM_TRANSPOSE", - "value": 16384 - } - ], - "enums": [ - { - "name": "TileAnimationMode", - "is_bitfield": false, - "values": [ - { - "name": "TILE_ANIMATION_MODE_DEFAULT", - "value": 0 - }, - { - "name": "TILE_ANIMATION_MODE_RANDOM_START_TIMES", - "value": 1 - }, - { - "name": "TILE_ANIMATION_MODE_MAX", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_margins", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "margins", - "type": "Vector2i" - } - ] - }, - { - "name": "get_margins", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_separation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "separation", - "type": "Vector2i" - } - ] - }, - { - "name": "get_separation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_texture_region_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "texture_region_size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_texture_region_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_use_texture_padding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use_texture_padding", - "type": "bool" - } - ] - }, - { - "name": "get_use_texture_padding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "create_tile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 190528769, - "hash_compatibility": [ - 1583819816 - ], - "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_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "move_tile_in_atlas", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3870111920, - "hash_compatibility": [ - 1375626516 - ], - "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_static": false, - "is_virtual": false, - "hash": 3050897911, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "has_room_for_tile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3018597268, - "hash_compatibility": [ - 4182444377 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "size", - "type": "Vector2i" - }, - { - "name": "animation_columns", - "type": "int", - "meta": "int32" - }, - { - "name": "animation_separation", - "type": "Vector2i" - }, - { - "name": "frames_count", - "type": "int", - "meta": "int32" - }, - { - "name": "ignored_tile", - "type": "Vector2i", - "default_value": "Vector2i(-1, -1)" - } - ] - }, - { - "name": "get_tiles_to_be_removed_on_change", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1240378054, - "return_value": { - "type": "PackedVector2Array" - }, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - }, - { - "name": "margins", - "type": "Vector2i" - }, - { - "name": "separation", - "type": "Vector2i" - }, - { - "name": "texture_region_size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_tile_at_coords", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3050897911, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "has_tiles_outside_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "clear_tiles_outside_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_tile_animation_columns", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3200960707, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "frame_columns", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tile_animation_columns", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2485466453, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "set_tile_animation_separation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1941061099, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "separation", - "type": "Vector2i" - } - ] - }, - { - "name": "get_tile_animation_separation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3050897911, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "set_tile_animation_speed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2262553149, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tile_animation_speed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 719993801, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "set_tile_animation_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3192753483, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "mode", - "type": "enum::TileSetAtlasSource.TileAnimationMode" - } - ] - }, - { - "name": "get_tile_animation_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4025349959, - "return_value": { - "type": "enum::TileSetAtlasSource.TileAnimationMode" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "set_tile_animation_frames_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3200960707, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "frames_count", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tile_animation_frames_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2485466453, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "set_tile_animation_frame_duration", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2843487787, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "frame_index", - "type": "int", - "meta": "int32" - }, - { - "name": "duration", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_tile_animation_frame_duration", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1802448425, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "frame_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tile_animation_total_duration", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 719993801, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "create_alternative_tile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2226298068, - "hash_compatibility": [ - 3531100812 - ], - "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_static": false, - "is_virtual": false, - "hash": 3200960707, - "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_static": false, - "is_virtual": false, - "hash": 1499785778, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "alternative_tile", - "type": "int", - "meta": "int32" - }, - { - "name": "new_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_next_alternative_tile_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2485466453, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_tile_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3534028207, - "return_value": { - "type": "TileData" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "alternative_tile", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_atlas_grid_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "get_tile_texture_region", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 241857547, - "hash_compatibility": [ - 1321423751 - ], - "return_value": { - "type": "Rect2i" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "frame", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_runtime_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "get_runtime_tile_texture_region", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 104874263, - "return_value": { - "type": "Rect2i" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "frame", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "Vector2i", - "name": "margins", - "setter": "set_margins", - "getter": "get_margins" - }, - { - "type": "Vector2i", - "name": "separation", - "setter": "set_separation", - "getter": "get_separation" - }, - { - "type": "Vector2i", - "name": "texture_region_size", - "setter": "set_texture_region_size", - "getter": "get_texture_region_size" - }, - { - "type": "bool", - "name": "use_texture_padding", - "setter": "set_use_texture_padding", - "getter": "get_use_texture_padding" - } - ] - }, - { - "name": "TileSetScenesCollectionSource", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "TileSetSource", - "api_type": "core", - "methods": [ - { - "name": "get_scene_tiles_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_scene_tile_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3744713108, - "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_static": false, - "is_virtual": false, - "hash": 3067735520, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "create_scene_tile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1117465415, - "hash_compatibility": [ - 2633389122 - ], - "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_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 3435852839, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "packed_scene", - "type": "PackedScene" - } - ] - }, - { - "name": "get_scene_tile_scene", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 511017218, - "return_value": { - "type": "PackedScene" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_scene_tile_display_placeholder", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "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_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_scene_tile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_next_scene_tile_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ] - }, - { - "name": "TileSetSource", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_tiles_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_tile_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 880721226, - "return_value": { - "type": "Vector2i" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "has_tile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3900751641, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_alternative_tiles_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2485466453, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - } - ] - }, - { - "name": "get_alternative_tile_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 89881719, - "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_static": false, - "is_virtual": false, - "hash": 1073731340, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "atlas_coords", - "type": "Vector2i" - }, - { - "name": "alternative_tile", - "type": "int", - "meta": "int32" - } - ] - } - ] - }, - { - "name": "Time", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "Month", - "is_bitfield": false, - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3485342025, - "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_static": false, - "is_virtual": false, - "hash": 3485342025, - "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_static": false, - "is_virtual": false, - "hash": 3485342025, - "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_static": false, - "is_virtual": false, - "hash": 2311239925, - "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_static": false, - "is_virtual": false, - "hash": 844755477, - "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_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "unix_time_val", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_datetime_dict_from_datetime_string", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3253569256, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "datetime", - "type": "String" - }, - { - "name": "weekday", - "type": "bool" - } - ] - }, - { - "name": "get_datetime_string_from_datetime_dict", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1898123706, - "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_static": false, - "is_virtual": false, - "hash": 3021115443, - "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_static": false, - "is_virtual": false, - "hash": 1321353865, - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "datetime", - "type": "String" - } - ] - }, - { - "name": "get_offset_string_from_offset_minutes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "offset_minutes", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_datetime_dict_from_system", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 205769976, - "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_static": false, - "is_virtual": false, - "hash": 205769976, - "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_static": false, - "is_virtual": false, - "hash": 205769976, - "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_static": false, - "is_virtual": false, - "hash": 1136425492, - "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_static": false, - "is_virtual": false, - "hash": 1162154673, - "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_static": false, - "is_virtual": false, - "hash": 1162154673, - "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_static": false, - "is_virtual": false, - "hash": 3102165223, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_unix_time_from_system", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "get_ticks_msec", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_ticks_usec", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - } - ] - }, - { - "name": "Timer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "enums": [ - { - "name": "TimerProcessCallback", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "time_sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_wait_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_one_shot", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_one_shot", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_autostart", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "has_autostart", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "start", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1392008558, - "arguments": [ - { - "name": "time_sec", - "type": "float", - "meta": "double", - "default_value": "-1" - } - ] - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_paused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "paused", - "type": "bool" - } - ] - }, - { - "name": "is_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_stopped", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_time_left", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_timer_process_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3469495063, - "arguments": [ - { - "name": "callback", - "type": "enum::Timer.TimerProcessCallback" - } - ] - }, - { - "name": "get_timer_process_callback", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2672570227, - "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" - }, - { - "type": "float", - "name": "wait_time", - "setter": "set_wait_time", - "getter": "get_wait_time" - }, - { - "type": "bool", - "name": "one_shot", - "setter": "set_one_shot", - "getter": "is_one_shot" - }, - { - "type": "bool", - "name": "autostart", - "setter": "set_autostart", - "getter": "has_autostart" - }, - { - "type": "bool", - "name": "paused", - "setter": "set_paused", - "getter": "is_paused" - }, - { - "type": "float", - "name": "time_left", - "getter": "get_time_left" - } - ] - }, - { - "name": "TorusMesh", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PrimitiveMesh", - "api_type": "core", - "methods": [ - { - "name": "set_inner_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_inner_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_outer_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_outer_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_rings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "rings", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_rings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_ring_segments", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "rings", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_ring_segments", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "float", - "name": "inner_radius", - "setter": "set_inner_radius", - "getter": "get_inner_radius" - }, - { - "type": "float", - "name": "outer_radius", - "setter": "set_outer_radius", - "getter": "get_outer_radius" - }, - { - "type": "int", - "name": "rings", - "setter": "set_rings", - "getter": "get_rings" - }, - { - "type": "int", - "name": "ring_segments", - "setter": "set_ring_segments", - "getter": "get_ring_segments" - } - ] - }, - { - "name": "TouchScreenButton", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "enums": [ - { - "name": "VisibilityMode", - "is_bitfield": false, - "values": [ - { - "name": "VISIBILITY_ALWAYS", - "value": 0 - }, - { - "name": "VISIBILITY_TOUCHSCREEN_ONLY", - "value": 1 - } - ] - } - ], - "methods": [ - { - "name": "set_texture_normal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_texture_pressed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_bitmask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 698588216, - "arguments": [ - { - "name": "bitmask", - "type": "BitMap" - } - ] - }, - { - "name": "get_bitmask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2459671998, - "return_value": { - "type": "BitMap" - } - }, - { - "name": "set_shape", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 771364740, - "arguments": [ - { - "name": "shape", - "type": "Shape2D" - } - ] - }, - { - "name": "get_shape", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 522005891, - "return_value": { - "type": "Shape2D" - } - }, - { - "name": "set_shape_centered", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "bool", - "type": "bool" - } - ] - }, - { - "name": "is_shape_centered", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_shape_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "bool", - "type": "bool" - } - ] - }, - { - "name": "is_shape_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "action", - "type": "String" - } - ] - }, - { - "name": "get_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_visibility_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3031128463, - "arguments": [ - { - "name": "mode", - "type": "enum::TouchScreenButton.VisibilityMode" - } - ] - }, - { - "name": "get_visibility_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2558996468, - "return_value": { - "type": "enum::TouchScreenButton.VisibilityMode" - } - }, - { - "name": "set_passby_press", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_passby_press_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "pressed" - }, - { - "name": "released" - } - ], - "properties": [ - { - "type": "Texture2D", - "name": "texture_normal", - "setter": "set_texture_normal", - "getter": "get_texture_normal" - }, - { - "type": "Texture2D", - "name": "texture_pressed", - "setter": "set_texture_pressed", - "getter": "get_texture_pressed" - }, - { - "type": "BitMap", - "name": "bitmask", - "setter": "set_bitmask", - "getter": "get_bitmask" - }, - { - "type": "Shape2D", - "name": "shape", - "setter": "set_shape", - "getter": "get_shape" - }, - { - "type": "bool", - "name": "shape_centered", - "setter": "set_shape_centered", - "getter": "is_shape_centered" - }, - { - "type": "bool", - "name": "shape_visible", - "setter": "set_shape_visible", - "getter": "is_shape_visible" - }, - { - "type": "bool", - "name": "passby_press", - "setter": "set_passby_press", - "getter": "is_passby_press_enabled" - }, - { - "type": "StringName", - "name": "action", - "setter": "set_action", - "getter": "get_action" - }, - { - "type": "int", - "name": "visibility_mode", - "setter": "set_visibility_mode", - "getter": "get_visibility_mode" - } - ] - }, - { - "name": "Translation", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "_get_plural_message", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "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" - } - ] - }, - { - "name": "_get_message", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "src_message", - "type": "StringName" - }, - { - "name": "context", - "type": "StringName" - } - ] - }, - { - "name": "set_locale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "locale", - "type": "String" - } - ] - }, - { - "name": "get_locale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "add_message", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3898530326, - "hash_compatibility": [ - 971803314 - ], - "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_static": false, - "is_virtual": false, - "hash": 2356982266, - "hash_compatibility": [ - 360316719 - ], - "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_static": false, - "is_virtual": false, - "hash": 1829228469, - "hash_compatibility": [ - 58037827 - ], - "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_static": false, - "is_virtual": false, - "hash": 229954002, - "hash_compatibility": [ - 1333931916 - ], - "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_static": false, - "is_virtual": false, - "hash": 3959009644, - "hash_compatibility": [ - 3919944288 - ], - "arguments": [ - { - "name": "src_message", - "type": "StringName" - }, - { - "name": "context", - "type": "StringName", - "default_value": "\"\"" - } - ] - }, - { - "name": "get_message_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_translated_message_list", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_message_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "Dictionary", - "name": "messages", - "setter": "_set_messages", - "getter": "_get_messages" - }, - { - "type": "String", - "name": "locale", - "setter": "set_locale", - "getter": "get_locale" - } - ] - }, - { - "name": "TranslationServer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "set_locale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "locale", - "type": "String" - } - ] - }, - { - "name": "get_locale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_tool_locale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "compare_locales", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878152881, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "locale_a", - "type": "String" - }, - { - "name": "locale_b", - "type": "String" - } - ] - }, - { - "name": "standardize_locale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "locale", - "type": "String" - } - ] - }, - { - "name": "get_all_languages", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_language_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_all_scripts", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_script_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "script", - "type": "String" - } - ] - }, - { - "name": "get_all_countries", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "get_country_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "country", - "type": "String" - } - ] - }, - { - "name": "get_locale_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "locale", - "type": "String" - } - ] - }, - { - "name": "translate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1829228469, - "hash_compatibility": [ - 58037827 - ], - "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_static": false, - "is_virtual": false, - "hash": 229954002, - "hash_compatibility": [ - 1333931916 - ], - "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_static": false, - "is_virtual": false, - "hash": 1466479800, - "arguments": [ - { - "name": "translation", - "type": "Translation" - } - ] - }, - { - "name": "remove_translation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1466479800, - "arguments": [ - { - "name": "translation", - "type": "Translation" - } - ] - }, - { - "name": "get_translation_object", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2065240175, - "return_value": { - "type": "Translation" - }, - "arguments": [ - { - "name": "locale", - "type": "String" - } - ] - }, - { - "name": "clear", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_loaded_locales", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "is_pseudolocalization_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_pseudolocalization_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "reload_pseudolocalization", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "pseudolocalize", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1965194235, - "return_value": { - "type": "StringName" - }, - "arguments": [ - { - "name": "message", - "type": "StringName" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "pseudolocalization_enabled", - "setter": "set_pseudolocalization_enabled", - "getter": "is_pseudolocalization_enabled" - } - ] - }, - { - "name": "Tree", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "enums": [ - { - "name": "SelectMode", - "is_bitfield": false, - "values": [ - { - "name": "SELECT_SINGLE", - "value": 0 - }, - { - "name": "SELECT_ROW", - "value": 1 - }, - { - "name": "SELECT_MULTI", - "value": 2 - } - ] - }, - { - "name": "DropModeFlags", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "create_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 528467046, - "return_value": { - "type": "TreeItem" - }, - "arguments": [ - { - "name": "parent", - "type": "TreeItem", - "default_value": "null" - }, - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "get_root", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1514277247, - "return_value": { - "type": "TreeItem" - } - }, - { - "name": "set_column_custom_minimum_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "expand", - "type": "bool" - } - ] - }, - { - "name": "set_column_expand_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_column_expanding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_column_clipping_content", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_column_expand_ratio", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_column_width", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_hide_root", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_root_hidden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_next_selected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 873446299, - "return_value": { - "type": "TreeItem" - }, - "arguments": [ - { - "name": "from", - "type": "TreeItem" - } - ] - }, - { - "name": "get_selected", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1514277247, - "return_value": { - "type": "TreeItem" - } - }, - { - "name": "set_selected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2662547442, - "arguments": [ - { - "name": "item", - "type": "TreeItem" - }, - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_selected_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_pressed_button", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_select_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3223887270, - "arguments": [ - { - "name": "mode", - "type": "enum::Tree.SelectMode" - } - ] - }, - { - "name": "get_select_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 100748571, - "return_value": { - "type": "enum::Tree.SelectMode" - } - }, - { - "name": "deselect_all", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_columns", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "amount", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_columns", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_edited", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1514277247, - "return_value": { - "type": "TreeItem" - } - }, - { - "name": "get_edited_column", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "edit_selected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2595650253, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "force_edit", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_custom_popup_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "get_item_area_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 47968679, - "hash_compatibility": [ - 1235226180 - ], - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "item", - "type": "TreeItem" - }, - { - "name": "column", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "get_item_at_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4193340126, - "return_value": { - "type": "TreeItem" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_column_at_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3820158470, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_drop_section_at_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3820158470, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "get_button_id_at_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3820158470, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "ensure_cursor_is_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_column_titles_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "are_column_titles_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_column_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "title", - "type": "String" - } - ] - }, - { - "name": "get_column_title", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_column_title_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3276431499, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "title_alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_column_title_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4171562184, - "return_value": { - "type": "enum::HorizontalAlignment" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_column_title_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1707680378, - "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_static": false, - "is_virtual": false, - "hash": 4235602388, - "return_value": { - "type": "enum::Control.TextDirection" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_column_title_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_column_title_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_scroll", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "scroll_to_item", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1314737213, - "arguments": [ - { - "name": "item", - "type": "TreeItem" - }, - { - "name": "center_on_item", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_h_scroll_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "h_scroll", - "type": "bool" - } - ] - }, - { - "name": "is_h_scroll_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_v_scroll_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "h_scroll", - "type": "bool" - } - ] - }, - { - "name": "is_v_scroll_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_hide_folding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "hide", - "type": "bool" - } - ] - }, - { - "name": "is_folding_hidden", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_enable_recursive_folding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_recursive_folding_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_drop_mode_flags", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "flags", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_drop_mode_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_allow_rmb_select", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "get_allow_rmb_select", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_allow_reselect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "get_allow_reselect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_allow_search", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "allow", - "type": "bool" - } - ] - }, - { - "name": "get_allow_search", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "item_selected" - }, - { - "name": "cell_selected" - }, - { - "name": "multi_selected", - "arguments": [ - { - "name": "item", - "type": "TreeItem" - }, - { - "name": "column", - "type": "int" - }, - { - "name": "selected", - "type": "bool" - } - ] - }, - { - "name": "item_mouse_selected", - "arguments": [ - { - "name": "position", - "type": "Vector2" - }, - { - "name": "mouse_button_index", - "type": "int" - } - ] - }, - { - "name": "empty_clicked", - "arguments": [ - { - "name": "position", - "type": "Vector2" - }, - { - "name": "mouse_button_index", - "type": "int" - } - ] - }, - { - "name": "item_edited" - }, - { - "name": "custom_item_clicked", - "arguments": [ - { - "name": "mouse_button_index", - "type": "int" - } - ] - }, - { - "name": "item_icon_double_clicked" - }, - { - "name": "item_collapsed", - "arguments": [ - { - "name": "item", - "type": "TreeItem" - } - ] - }, - { - "name": "check_propagated_to_item", - "arguments": [ - { - "name": "item", - "type": "TreeItem" - }, - { - "name": "column", - "type": "int" - } - ] - }, - { - "name": "button_clicked", - "arguments": [ - { - "name": "item", - "type": "TreeItem" - }, - { - "name": "column", - "type": "int" - }, - { - "name": "id", - "type": "int" - }, - { - "name": "mouse_button_index", - "type": "int" - } - ] - }, - { - "name": "custom_popup_edited", - "arguments": [ - { - "name": "arrow_clicked", - "type": "bool" - } - ] - }, - { - "name": "item_activated" - }, - { - "name": "column_title_clicked", - "arguments": [ - { - "name": "column", - "type": "int" - }, - { - "name": "mouse_button_index", - "type": "int" - } - ] - }, - { - "name": "nothing_selected" - } - ], - "properties": [ - { - "type": "int", - "name": "columns", - "setter": "set_columns", - "getter": "get_columns" - }, - { - "type": "bool", - "name": "column_titles_visible", - "setter": "set_column_titles_visible", - "getter": "are_column_titles_visible" - }, - { - "type": "bool", - "name": "allow_reselect", - "setter": "set_allow_reselect", - "getter": "get_allow_reselect" - }, - { - "type": "bool", - "name": "allow_rmb_select", - "setter": "set_allow_rmb_select", - "getter": "get_allow_rmb_select" - }, - { - "type": "bool", - "name": "allow_search", - "setter": "set_allow_search", - "getter": "get_allow_search" - }, - { - "type": "bool", - "name": "hide_folding", - "setter": "set_hide_folding", - "getter": "is_folding_hidden" - }, - { - "type": "bool", - "name": "enable_recursive_folding", - "setter": "set_enable_recursive_folding", - "getter": "is_recursive_folding_enabled" - }, - { - "type": "bool", - "name": "hide_root", - "setter": "set_hide_root", - "getter": "is_root_hidden" - }, - { - "type": "int", - "name": "drop_mode_flags", - "setter": "set_drop_mode_flags", - "getter": "get_drop_mode_flags" - }, - { - "type": "int", - "name": "select_mode", - "setter": "set_select_mode", - "getter": "get_select_mode" - }, - { - "type": "bool", - "name": "scroll_horizontal_enabled", - "setter": "set_h_scroll_enabled", - "getter": "is_h_scroll_enabled" - }, - { - "type": "bool", - "name": "scroll_vertical_enabled", - "setter": "set_v_scroll_enabled", - "getter": "is_v_scroll_enabled" - } - ] - }, - { - "name": "TreeItem", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "TreeCellMode", - "is_bitfield": false, - "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 - } - ] - } - ], - "methods": [ - { - "name": "set_cell_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 289920701, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "mode", - "type": "enum::TreeItem.TreeCellMode" - } - ] - }, - { - "name": "get_cell_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3406114978, - "return_value": { - "type": "enum::TreeItem.TreeCellMode" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_edit_multiline", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "multiline", - "type": "bool" - } - ] - }, - { - "name": "is_edit_multiline", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_checked", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "checked", - "type": "bool" - } - ] - }, - { - "name": "set_indeterminate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "indeterminate", - "type": "bool" - } - ] - }, - { - "name": "is_checked", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_indeterminate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "propagate_check", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 972357352, - "hash_compatibility": [ - 4023243586 - ], - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "emit_signal", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "set_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_text_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1707680378, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "direction", - "type": "enum::Control.TextDirection" - } - ] - }, - { - "name": "get_text_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4235602388, - "return_value": { - "type": "enum::Control.TextDirection" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_autowrap_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3633006561, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "autowrap_mode", - "type": "enum::TextServer.AutowrapMode" - } - ] - }, - { - "name": "get_autowrap_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2902757236, - "return_value": { - "type": "enum::TextServer.AutowrapMode" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_text_overrun_behavior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1940772195, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "overrun_behavior", - "type": "enum::TextServer.OverrunBehavior" - } - ] - }, - { - "name": "get_text_overrun_behavior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3782727860, - "return_value": { - "type": "enum::TextServer.OverrunBehavior" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_structured_text_bidi_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 868756907, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "parser", - "type": "enum::TextServer.StructuredTextParser" - } - ] - }, - { - "name": "get_structured_text_bidi_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3377823772, - "return_value": { - "type": "enum::TextServer.StructuredTextParser" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_structured_text_bidi_override_options", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 537221740, - "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_static": false, - "is_virtual": false, - "hash": 663333327, - "return_value": { - "type": "Array" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_language", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "language", - "type": "String" - } - ] - }, - { - "name": "get_language", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_suffix", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "get_suffix", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_icon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 666127730, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3536238170, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_icon_region", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1356297692, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "region", - "type": "Rect2" - } - ] - }, - { - "name": "get_icon_region", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3327874267, - "return_value": { - "type": "Rect2" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_icon_max_width", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_icon_modulate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "modulate", - "type": "Color" - } - ] - }, - { - "name": "get_icon_modulate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1602489585, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339986948, - "return_value": { - "type": "float", - "meta": "double" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_range_config", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1547181014, - "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_static": false, - "is_virtual": false, - "hash": 3554694381, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_metadata", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2152698145, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "meta", - "type": "Variant" - } - ] - }, - { - "name": "get_metadata", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_custom_draw", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 272420368, - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_collapsed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_collapsed_recursive", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_any_collapsed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2595650253, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "only_visible", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "set_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "uncollapse_tree", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_custom_minimum_height", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "height", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_custom_minimum_height", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_selectable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "selectable", - "type": "bool" - } - ] - }, - { - "name": "is_selectable", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "is_selected", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3067735520, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "select", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "deselect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_editable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_editable", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3067735520, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_custom_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2878471219, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "get_custom_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_custom_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_custom_font", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2637609184, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "get_custom_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4244553094, - "return_value": { - "type": "Font" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_custom_font_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_custom_font_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_custom_bg_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 894174518, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_custom_bg_color", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3457211756, - "return_value": { - "type": "Color" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_custom_as_button", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_custom_set_as_button", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_button", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1688223362, - "hash_compatibility": [ - 1507727907 - ], - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button", - "type": "Texture2D" - }, - { - "name": "id", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "disabled", - "type": "bool", - "default_value": "false" - }, - { - "name": "tooltip_text", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "get_button_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_button_tooltip_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1391810591, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_button_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175239445, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_button_by_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3175239445, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_button", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2584904275, - "return_value": { - "type": "Texture2D" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_button_tooltip_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2285447957, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32" - }, - { - "name": "tooltip", - "type": "String" - } - ] - }, - { - "name": "set_button", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 176101966, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32" - }, - { - "name": "button", - "type": "Texture2D" - } - ] - }, - { - "name": "erase_button", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_button_disabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1383440665, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32" - }, - { - "name": "disabled", - "type": "bool" - } - ] - }, - { - "name": "set_button_color", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3733378741, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "is_button_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2522259332, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "button_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_tooltip_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "tooltip", - "type": "String" - } - ] - }, - { - "name": "get_tooltip_text", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_text_alignment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3276431499, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "text_alignment", - "type": "enum::HorizontalAlignment" - } - ] - }, - { - "name": "get_text_alignment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4171562184, - "return_value": { - "type": "enum::HorizontalAlignment" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_expand_right", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_expand_right", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "column", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_disable_folding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "is_folding_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "create_child", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 954243986, - "return_value": { - "type": "TreeItem" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32", - "default_value": "-1" - } - ] - }, - { - "name": "add_child", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1819951137, - "arguments": [ - { - "name": "child", - "type": "TreeItem" - } - ] - }, - { - "name": "remove_child", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1819951137, - "arguments": [ - { - "name": "child", - "type": "TreeItem" - } - ] - }, - { - "name": "get_tree", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2243340556, - "return_value": { - "type": "Tree" - } - }, - { - "name": "get_next", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1514277247, - "return_value": { - "type": "TreeItem" - } - }, - { - "name": "get_prev", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2768121250, - "return_value": { - "type": "TreeItem" - } - }, - { - "name": "get_parent", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1514277247, - "return_value": { - "type": "TreeItem" - } - }, - { - "name": "get_first_child", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1514277247, - "return_value": { - "type": "TreeItem" - } - }, - { - "name": "get_next_in_tree", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1666920593, - "return_value": { - "type": "TreeItem" - }, - "arguments": [ - { - "name": "wrap", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_prev_in_tree", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1666920593, - "return_value": { - "type": "TreeItem" - }, - "arguments": [ - { - "name": "wrap", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_next_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1666920593, - "return_value": { - "type": "TreeItem" - }, - "arguments": [ - { - "name": "wrap", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_prev_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1666920593, - "return_value": { - "type": "TreeItem" - }, - "arguments": [ - { - "name": "wrap", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_child", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 306700752, - "return_value": { - "type": "TreeItem" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_child_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_children", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "typedarray::TreeItem" - } - }, - { - "name": "get_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "move_before", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1819951137, - "arguments": [ - { - "name": "item", - "type": "TreeItem" - } - ] - }, - { - "name": "move_after", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1819951137, - "arguments": [ - { - "name": "item", - "type": "TreeItem" - } - ] - }, - { - "name": "call_recursive", - "is_const": false, - "is_vararg": true, - "is_static": false, - "is_virtual": false, - "hash": 2866548813, - "arguments": [ - { - "name": "method", - "type": "StringName" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "collapsed", - "setter": "set_collapsed", - "getter": "is_collapsed" - }, - { - "type": "bool", - "name": "visible", - "setter": "set_visible", - "getter": "is_visible" - }, - { - "type": "bool", - "name": "disable_folding", - "setter": "set_disable_folding", - "getter": "is_folding_disabled" - }, - { - "type": "int", - "name": "custom_minimum_height", - "setter": "set_custom_minimum_height", - "getter": "get_custom_minimum_height" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "radius", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_radial_steps", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "radial_steps", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_radial_steps", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_sections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "sections", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_sections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_section_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "section_length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_section_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_section_rings", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "section_rings", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_section_rings", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_cap_top", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "cap_top", - "type": "bool" - } - ] - }, - { - "name": "is_cap_top", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_cap_bottom", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "cap_bottom", - "type": "bool" - } - ] - }, - { - "name": "is_cap_bottom", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_curve", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 270443179, - "arguments": [ - { - "name": "curve", - "type": "Curve" - } - ] - }, - { - "name": "get_curve", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2460114913, - "return_value": { - "type": "Curve" - } - } - ], - "properties": [ - { - "type": "float", - "name": "radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "int", - "name": "radial_steps", - "setter": "set_radial_steps", - "getter": "get_radial_steps" - }, - { - "type": "int", - "name": "sections", - "setter": "set_sections", - "getter": "get_sections" - }, - { - "type": "float", - "name": "section_length", - "setter": "set_section_length", - "getter": "get_section_length" - }, - { - "type": "int", - "name": "section_rings", - "setter": "set_section_rings", - "getter": "get_section_rings" - }, - { - "type": "bool", - "name": "cap_top", - "setter": "set_cap_top", - "getter": "is_cap_top" - }, - { - "type": "bool", - "name": "cap_bottom", - "setter": "set_cap_bottom", - "getter": "is_cap_bottom" - }, - { - "type": "Curve", - "name": "curve", - "setter": "set_curve", - "getter": "get_curve" - } - ] - }, - { - "name": "Tween", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "TweenProcessMode", - "is_bitfield": false, - "values": [ - { - "name": "TWEEN_PROCESS_PHYSICS", - "value": 0 - }, - { - "name": "TWEEN_PROCESS_IDLE", - "value": 1 - } - ] - }, - { - "name": "TweenPauseMode", - "is_bitfield": false, - "values": [ - { - "name": "TWEEN_PAUSE_BOUND", - "value": 0 - }, - { - "name": "TWEEN_PAUSE_STOP", - "value": 1 - }, - { - "name": "TWEEN_PAUSE_PROCESS", - "value": 2 - } - ] - }, - { - "name": "TransitionType", - "is_bitfield": false, - "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": "TRANS_SPRING", - "value": 11 - } - ] - }, - { - "name": "EaseType", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 4049770449, - "return_value": { - "type": "PropertyTweener" - }, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "property", - "type": "NodePath" - }, - { - "name": "final_val", - "type": "Variant" - }, - { - "name": "duration", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "tween_interval", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 413360199, - "return_value": { - "type": "IntervalTweener" - }, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "tween_callback", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1540176488, - "return_value": { - "type": "CallbackTweener" - }, - "arguments": [ - { - "name": "callback", - "type": "Callable" - } - ] - }, - { - "name": "tween_method", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2337877153, - "return_value": { - "type": "MethodTweener" - }, - "arguments": [ - { - "name": "method", - "type": "Callable" - }, - { - "name": "from", - "type": "Variant" - }, - { - "name": "to", - "type": "Variant" - }, - { - "name": "duration", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "custom_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 330693286, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "delta", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "pause", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "play", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "kill", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_total_elapsed_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "is_running", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_valid", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "bind_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2946786331, - "return_value": { - "type": "Tween" - }, - "arguments": [ - { - "name": "node", - "type": "Node" - } - ] - }, - { - "name": "set_process_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 855258840, - "return_value": { - "type": "Tween" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::Tween.TweenProcessMode" - } - ] - }, - { - "name": "set_pause_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3363368837, - "return_value": { - "type": "Tween" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::Tween.TweenPauseMode" - } - ] - }, - { - "name": "set_parallel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1942052223, - "return_value": { - "type": "Tween" - }, - "arguments": [ - { - "name": "parallel", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "set_loops", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2670836414, - "return_value": { - "type": "Tween" - }, - "arguments": [ - { - "name": "loops", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - }, - { - "name": "get_loops_left", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_speed_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3961971106, - "return_value": { - "type": "Tween" - }, - "arguments": [ - { - "name": "speed", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_trans", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3965963875, - "return_value": { - "type": "Tween" - }, - "arguments": [ - { - "name": "trans", - "type": "enum::Tween.TransitionType" - } - ] - }, - { - "name": "set_ease", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1208117252, - "return_value": { - "type": "Tween" - }, - "arguments": [ - { - "name": "ease", - "type": "enum::Tween.EaseType" - } - ] - }, - { - "name": "parallel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3426978995, - "return_value": { - "type": "Tween" - } - }, - { - "name": "chain", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3426978995, - "return_value": { - "type": "Tween" - } - }, - { - "name": "interpolate_value", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3452526450, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "initial_value", - "type": "Variant" - }, - { - "name": "delta_value", - "type": "Variant" - }, - { - "name": "elapsed_time", - "type": "float", - "meta": "double" - }, - { - "name": "duration", - "type": "float", - "meta": "double" - }, - { - "name": "trans_type", - "type": "enum::Tween.TransitionType" - }, - { - "name": "ease_type", - "type": "enum::Tween.EaseType" - } - ] - } - ], - "signals": [ - { - "name": "step_finished", - "arguments": [ - { - "name": "idx", - "type": "int" - } - ] - }, - { - "name": "loop_finished", - "arguments": [ - { - "name": "loop_count", - "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_static": false, - "is_virtual": false, - "hash": 3167955072, - "hash_compatibility": [ - 4025329869 - ], - "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_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "is_connection_available", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_local_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_listening", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "take_connection", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 808734560, - "return_value": { - "type": "PacketPeerUDP" - } - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_max_pending_connections", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_pending_connections", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_pending_connections", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "max_pending_connections", - "setter": "set_max_pending_connections", - "getter": "get_max_pending_connections" - } - ] - }, - { - "name": "UPNP", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "UPNPResult", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_device", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2193290270, - "return_value": { - "type": "UPNPDevice" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_device", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 986715920, - "arguments": [ - { - "name": "device", - "type": "UPNPDevice" - } - ] - }, - { - "name": "set_device", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3015133723, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - }, - { - "name": "device", - "type": "UPNPDevice" - } - ] - }, - { - "name": "remove_device", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_devices", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_gateway", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2276800779, - "return_value": { - "type": "UPNPDevice" - } - }, - { - "name": "discover", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1575334765, - "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_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "add_port_mapping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 818314583, - "hash_compatibility": [ - 3358934458 - ], - "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_static": false, - "is_virtual": false, - "hash": 3444187325, - "hash_compatibility": [ - 760296170 - ], - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "m_if", - "type": "String" - } - ] - }, - { - "name": "get_discover_multicast_if", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_discover_local_port", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_discover_local_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_discover_ipv6", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "ipv6", - "type": "bool" - } - ] - }, - { - "name": "is_discover_ipv6", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "String", - "name": "discover_multicast_if", - "setter": "set_discover_multicast_if", - "getter": "get_discover_multicast_if" - }, - { - "type": "int", - "name": "discover_local_port", - "setter": "set_discover_local_port", - "getter": "get_discover_local_port" - }, - { - "type": "bool", - "name": "discover_ipv6", - "setter": "set_discover_ipv6", - "getter": "is_discover_ipv6" - } - ] - }, - { - "name": "UPNPDevice", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "IGDStatus", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "query_external_address", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "add_port_mapping", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 818314583, - "hash_compatibility": [ - 3358934458 - ], - "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_static": false, - "is_virtual": false, - "hash": 3444187325, - "hash_compatibility": [ - 760296170 - ], - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "url", - "type": "String" - } - ] - }, - { - "name": "get_description_url", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_service_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "type", - "type": "String" - } - ] - }, - { - "name": "get_service_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_igd_control_url", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "url", - "type": "String" - } - ] - }, - { - "name": "get_igd_control_url", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_igd_service_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "type", - "type": "String" - } - ] - }, - { - "name": "get_igd_service_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_igd_our_addr", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "addr", - "type": "String" - } - ] - }, - { - "name": "get_igd_our_addr", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_igd_status", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 519504122, - "arguments": [ - { - "name": "status", - "type": "enum::UPNPDevice.IGDStatus" - } - ] - }, - { - "name": "get_igd_status", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 180887011, - "return_value": { - "type": "enum::UPNPDevice.IGDStatus" - } - } - ], - "properties": [ - { - "type": "String", - "name": "description_url", - "setter": "set_description_url", - "getter": "get_description_url" - }, - { - "type": "String", - "name": "service_type", - "setter": "set_service_type", - "getter": "get_service_type" - }, - { - "type": "String", - "name": "igd_control_url", - "setter": "set_igd_control_url", - "getter": "get_igd_control_url" - }, - { - "type": "String", - "name": "igd_service_type", - "setter": "set_igd_service_type", - "getter": "get_igd_service_type" - }, - { - "type": "String", - "name": "igd_our_addr", - "setter": "set_igd_our_addr", - "getter": "get_igd_our_addr" - }, - { - "type": "int", - "name": "igd_status", - "setter": "set_igd_status", - "getter": "get_igd_status" - } - ] - }, - { - "name": "UndoRedo", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "MergeMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3171901514, - "hash_compatibility": [ - 3900135403 - ], - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "merge_mode", - "type": "enum::UndoRedo.MergeMode", - "default_value": "0" - }, - { - "name": "backward_undo_ops", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "commit_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3216645846, - "arguments": [ - { - "name": "execute", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "is_committing_action", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "add_do_method", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "add_undo_method", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1611583062, - "arguments": [ - { - "name": "callable", - "type": "Callable" - } - ] - }, - { - "name": "add_do_property", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1017172818, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "add_undo_property", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1017172818, - "arguments": [ - { - "name": "object", - "type": "Object" - }, - { - "name": "property", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - }, - { - "name": "add_do_reference", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3975164845, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "add_undo_reference", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3975164845, - "arguments": [ - { - "name": "object", - "type": "Object" - } - ] - }, - { - "name": "start_force_keep_in_merge_ends", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "end_force_keep_in_merge_ends", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_history_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_current_action", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_action_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 990163283, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_history", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3216645846, - "arguments": [ - { - "name": "increase_version", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "get_current_action_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "has_undo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "has_redo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_version", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "redo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "undo", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "version_changed" - } - ] - }, - { - "name": "VBoxContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "BoxContainer", - "api_type": "core" - }, - { - "name": "VFlowContainer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "FlowContainer", - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "engine_force", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_engine_force", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_brake", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "brake", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_brake", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_steering", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "steering", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_steering", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "engine_force", - "setter": "set_engine_force", - "getter": "get_engine_force" - }, - { - "type": "float", - "name": "brake", - "setter": "set_brake", - "getter": "get_brake" - }, - { - "type": "float", - "name": "steering", - "setter": "set_steering", - "getter": "get_steering" - } - ] - }, - { - "name": "VehicleWheel3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "set_radius", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_radius", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_suspension_rest_length", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_suspension_rest_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_suspension_travel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_suspension_travel", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_suspension_stiffness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_suspension_stiffness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_suspension_max_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_suspension_max_force", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_damping_compression", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_damping_compression", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_damping_relaxation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_damping_relaxation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_use_as_traction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_used_as_traction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_as_steering", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_used_as_steering", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_friction_slip", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "length", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_friction_slip", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "is_in_contact", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_contact_body", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 151077316, - "return_value": { - "type": "Node3D" - } - }, - { - "name": "set_roll_influence", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "roll_influence", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_roll_influence", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_skidinfo", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_rpm", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_engine_force", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "engine_force", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_engine_force", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_brake", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "brake", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_brake", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_steering", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "steering", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_steering", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "engine_force", - "setter": "set_engine_force", - "getter": "get_engine_force" - }, - { - "type": "float", - "name": "brake", - "setter": "set_brake", - "getter": "get_brake" - }, - { - "type": "float", - "name": "steering", - "setter": "set_steering", - "getter": "get_steering" - }, - { - "type": "bool", - "name": "use_as_traction", - "setter": "set_use_as_traction", - "getter": "is_used_as_traction" - }, - { - "type": "bool", - "name": "use_as_steering", - "setter": "set_use_as_steering", - "getter": "is_used_as_steering" - }, - { - "type": "float", - "name": "wheel_roll_influence", - "setter": "set_roll_influence", - "getter": "get_roll_influence" - }, - { - "type": "float", - "name": "wheel_radius", - "setter": "set_radius", - "getter": "get_radius" - }, - { - "type": "float", - "name": "wheel_rest_length", - "setter": "set_suspension_rest_length", - "getter": "get_suspension_rest_length" - }, - { - "type": "float", - "name": "wheel_friction_slip", - "setter": "set_friction_slip", - "getter": "get_friction_slip" - }, - { - "type": "float", - "name": "suspension_travel", - "setter": "set_suspension_travel", - "getter": "get_suspension_travel" - }, - { - "type": "float", - "name": "suspension_stiffness", - "setter": "set_suspension_stiffness", - "getter": "get_suspension_stiffness" - }, - { - "type": "float", - "name": "suspension_max_force", - "setter": "set_suspension_max_force", - "getter": "get_suspension_max_force" - }, - { - "type": "float", - "name": "damping_compression", - "setter": "set_damping_compression", - "getter": "get_damping_compression" - }, - { - "type": "float", - "name": "damping_relaxation", - "setter": "set_damping_relaxation", - "getter": "get_damping_relaxation" - } - ] - }, - { - "name": "VideoStream", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "_instantiate_playback", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "VideoStreamPlayback" - } - }, - { - "name": "set_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "get_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "file", - "setter": "set_file", - "getter": "get_file" - } - ] - }, - { - "name": "VideoStreamPlayback", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "_stop", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_play", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_is_playing", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_set_paused", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "paused", - "type": "bool" - } - ] - }, - { - "name": "_is_paused", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_length", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "_get_playback_position", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "_seek", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "time", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_set_audio_track", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_texture", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "_update", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "delta", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_get_channels", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_mix_rate", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "mix_audio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 93876830, - "hash_compatibility": [ - 1369271885 - ], - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "num_frames", - "type": "int", - "meta": "int32" - }, - { - "name": "buffer", - "type": "PackedFloat32Array", - "default_value": "PackedFloat32Array()" - }, - { - "name": "offset", - "type": "int", - "meta": "int32", - "default_value": "0" - } - ] - } - ] - }, - { - "name": "VideoStreamPlayer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Control", - "api_type": "core", - "methods": [ - { - "name": "set_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2317102564, - "arguments": [ - { - "name": "stream", - "type": "VideoStream" - } - ] - }, - { - "name": "get_stream", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 438621487, - "return_value": { - "type": "VideoStream" - } - }, - { - "name": "play", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "stop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_playing", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_paused", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "paused", - "type": "bool" - } - ] - }, - { - "name": "is_paused", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_loop", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "loop", - "type": "bool" - } - ] - }, - { - "name": "has_loop", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_volume", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "volume", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volume", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_volume_db", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "db", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_volume_db", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_audio_track", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "track", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_audio_track", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_stream_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_stream_length", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_stream_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "position", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_stream_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_autoplay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "has_autoplay", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_expand", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "has_expand", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_buffering_msec", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "msec", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_buffering_msec", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_bus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "bus", - "type": "StringName" - } - ] - }, - { - "name": "get_bus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "get_video_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - } - ], - "signals": [ - { - "name": "finished" - } - ], - "properties": [ - { - "type": "int", - "name": "audio_track", - "setter": "set_audio_track", - "getter": "get_audio_track" - }, - { - "type": "VideoStream", - "name": "stream", - "setter": "set_stream", - "getter": "get_stream" - }, - { - "type": "float", - "name": "volume_db", - "setter": "set_volume_db", - "getter": "get_volume_db" - }, - { - "type": "float", - "name": "volume", - "setter": "set_volume", - "getter": "get_volume" - }, - { - "type": "bool", - "name": "autoplay", - "setter": "set_autoplay", - "getter": "has_autoplay" - }, - { - "type": "bool", - "name": "paused", - "setter": "set_paused", - "getter": "is_paused" - }, - { - "type": "bool", - "name": "expand", - "setter": "set_expand", - "getter": "has_expand" - }, - { - "type": "bool", - "name": "loop", - "setter": "set_loop", - "getter": "has_loop" - }, - { - "type": "int", - "name": "buffering_msec", - "setter": "set_buffering_msec", - "getter": "get_buffering_msec" - }, - { - "type": "float", - "name": "stream_position", - "setter": "set_stream_position", - "getter": "get_stream_position" - }, - { - "type": "StringName", - "name": "bus", - "setter": "set_bus", - "getter": "get_bus" - } - ] - }, - { - "name": "VideoStreamTheora", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VideoStream", - "api_type": "core" - }, - { - "name": "Viewport", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Node", - "api_type": "core", - "enums": [ - { - "name": "PositionalShadowAtlasQuadrantSubdiv", - "is_bitfield": false, - "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": "Scaling3DMode", - "is_bitfield": false, - "values": [ - { - "name": "SCALING_3D_MODE_BILINEAR", - "value": 0 - }, - { - "name": "SCALING_3D_MODE_FSR", - "value": 1 - }, - { - "name": "SCALING_3D_MODE_FSR2", - "value": 2 - }, - { - "name": "SCALING_3D_MODE_MAX", - "value": 3 - } - ] - }, - { - "name": "MSAA", - "is_bitfield": false, - "values": [ - { - "name": "MSAA_DISABLED", - "value": 0 - }, - { - "name": "MSAA_2X", - "value": 1 - }, - { - "name": "MSAA_4X", - "value": 2 - }, - { - "name": "MSAA_8X", - "value": 3 - }, - { - "name": "MSAA_MAX", - "value": 4 - } - ] - }, - { - "name": "ScreenSpaceAA", - "is_bitfield": false, - "values": [ - { - "name": "SCREEN_SPACE_AA_DISABLED", - "value": 0 - }, - { - "name": "SCREEN_SPACE_AA_FXAA", - "value": 1 - }, - { - "name": "SCREEN_SPACE_AA_MAX", - "value": 2 - } - ] - }, - { - "name": "RenderInfo", - "is_bitfield": false, - "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": "RenderInfoType", - "is_bitfield": false, - "values": [ - { - "name": "RENDER_INFO_TYPE_VISIBLE", - "value": 0 - }, - { - "name": "RENDER_INFO_TYPE_SHADOW", - "value": 1 - }, - { - "name": "RENDER_INFO_TYPE_MAX", - "value": 2 - } - ] - }, - { - "name": "DebugDraw", - "is_bitfield": false, - "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_SSIL", - "value": 13 - }, - { - "name": "DEBUG_DRAW_PSSM_SPLITS", - "value": 14 - }, - { - "name": "DEBUG_DRAW_DECAL_ATLAS", - "value": 15 - }, - { - "name": "DEBUG_DRAW_SDFGI", - "value": 16 - }, - { - "name": "DEBUG_DRAW_SDFGI_PROBES", - "value": 17 - }, - { - "name": "DEBUG_DRAW_GI_BUFFER", - "value": 18 - }, - { - "name": "DEBUG_DRAW_DISABLE_LOD", - "value": 19 - }, - { - "name": "DEBUG_DRAW_CLUSTER_OMNI_LIGHTS", - "value": 20 - }, - { - "name": "DEBUG_DRAW_CLUSTER_SPOT_LIGHTS", - "value": 21 - }, - { - "name": "DEBUG_DRAW_CLUSTER_DECALS", - "value": 22 - }, - { - "name": "DEBUG_DRAW_CLUSTER_REFLECTION_PROBES", - "value": 23 - }, - { - "name": "DEBUG_DRAW_OCCLUDERS", - "value": 24 - }, - { - "name": "DEBUG_DRAW_MOTION_VECTORS", - "value": 25 - }, - { - "name": "DEBUG_DRAW_INTERNAL_BUFFER", - "value": 26 - } - ] - }, - { - "name": "DefaultCanvasItemTextureFilter", - "is_bitfield": false, - "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": "DefaultCanvasItemTextureRepeat", - "is_bitfield": false, - "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": "SDFOversize", - "is_bitfield": false, - "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": "SDFScale", - "is_bitfield": false, - "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": "VRSMode", - "is_bitfield": false, - "values": [ - { - "name": "VRS_DISABLED", - "value": 0 - }, - { - "name": "VRS_TEXTURE", - "value": 1 - }, - { - "name": "VRS_XR", - "value": 2 - }, - { - "name": "VRS_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_world_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2736080068, - "arguments": [ - { - "name": "world_2d", - "type": "World2D" - } - ] - }, - { - "name": "get_world_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339128592, - "return_value": { - "type": "World2D" - } - }, - { - "name": "find_world_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2339128592, - "return_value": { - "type": "World2D" - } - }, - { - "name": "set_canvas_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "xform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_canvas_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "set_global_canvas_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2761652528, - "arguments": [ - { - "name": "xform", - "type": "Transform2D" - } - ] - }, - { - "name": "get_global_canvas_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_final_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_screen_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3814499831, - "return_value": { - "type": "Transform2D" - } - }, - { - "name": "get_visible_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "set_transparent_background", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "has_transparent_background", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_hdr_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_hdr_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_msaa_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3330258708, - "arguments": [ - { - "name": "msaa", - "type": "enum::Viewport.MSAA" - } - ] - }, - { - "name": "get_msaa_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2542055527, - "return_value": { - "type": "enum::Viewport.MSAA" - } - }, - { - "name": "set_msaa_3d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3330258708, - "arguments": [ - { - "name": "msaa", - "type": "enum::Viewport.MSAA" - } - ] - }, - { - "name": "get_msaa_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2542055527, - "return_value": { - "type": "enum::Viewport.MSAA" - } - }, - { - "name": "set_screen_space_aa", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3544169389, - "arguments": [ - { - "name": "screen_space_aa", - "type": "enum::Viewport.ScreenSpaceAA" - } - ] - }, - { - "name": "get_screen_space_aa", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1390814124, - "return_value": { - "type": "enum::Viewport.ScreenSpaceAA" - } - }, - { - "name": "set_use_taa", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_taa", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_debanding", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_debanding", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_occlusion_culling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_occlusion_culling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_debug_draw", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1970246205, - "arguments": [ - { - "name": "debug_draw", - "type": "enum::Viewport.DebugDraw" - } - ] - }, - { - "name": "get_debug_draw", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 579191299, - "return_value": { - "type": "enum::Viewport.DebugDraw" - } - }, - { - "name": "get_render_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 481977019, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "type", - "type": "enum::Viewport.RenderInfoType" - }, - { - "name": "info", - "type": "enum::Viewport.RenderInfo" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1746695840, - "return_value": { - "type": "ViewportTexture" - } - }, - { - "name": "set_physics_object_picking", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_physics_object_picking", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_physics_object_picking_sort", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_physics_object_picking_sort", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_viewport_rid", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "push_text_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "text", - "type": "String" - } - ] - }, - { - "name": "push_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3644664830, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - }, - { - "name": "in_local_coords", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "push_unhandled_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3644664830, - "arguments": [ - { - "name": "event", - "type": "InputEvent" - }, - { - "name": "in_local_coords", - "type": "bool", - "default_value": "false" - } - ] - }, - { - "name": "get_camera_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3551466917, - "return_value": { - "type": "Camera2D" - } - }, - { - "name": "set_as_audio_listener_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_audio_listener_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_mouse_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "warp_mouse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "position", - "type": "Vector2" - } - ] - }, - { - "name": "update_mouse_cursor_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "gui_get_drag_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1214101251, - "return_value": { - "type": "Variant" - } - }, - { - "name": "gui_is_dragging", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "gui_is_drag_successful", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "gui_release_focus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "gui_get_focus_owner", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2783021301, - "return_value": { - "type": "Control" - } - }, - { - "name": "set_disable_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "is_input_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_positional_shadow_atlas_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_positional_shadow_atlas_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_positional_shadow_atlas_16_bits", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_positional_shadow_atlas_16_bits", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_snap_controls_to_pixels", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_snap_controls_to_pixels_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_snap_2d_transforms_to_pixel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_snap_2d_transforms_to_pixel_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_snap_2d_vertices_to_pixel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_snap_2d_vertices_to_pixel_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_positional_shadow_atlas_quadrant_subdiv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2596956071, - "arguments": [ - { - "name": "quadrant", - "type": "int", - "meta": "int32" - }, - { - "name": "subdiv", - "type": "enum::Viewport.PositionalShadowAtlasQuadrantSubdiv" - } - ] - }, - { - "name": "get_positional_shadow_atlas_quadrant_subdiv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2676778355, - "return_value": { - "type": "enum::Viewport.PositionalShadowAtlasQuadrantSubdiv" - }, - "arguments": [ - { - "name": "quadrant", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_input_as_handled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "is_input_handled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_handle_input_locally", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_handling_input_locally", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_canvas_item_texture_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2815160100, - "arguments": [ - { - "name": "mode", - "type": "enum::Viewport.DefaultCanvasItemTextureFilter" - } - ] - }, - { - "name": "get_default_canvas_item_texture_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 896601198, - "return_value": { - "type": "enum::Viewport.DefaultCanvasItemTextureFilter" - } - }, - { - "name": "set_embedding_subwindows", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_embedding_subwindows", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_embedded_subwindows", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Window" - } - }, - { - "name": "set_canvas_cull_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_canvas_cull_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_canvas_cull_mask_bit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - }, - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_canvas_cull_mask_bit", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "set_default_canvas_item_texture_repeat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1658513413, - "arguments": [ - { - "name": "mode", - "type": "enum::Viewport.DefaultCanvasItemTextureRepeat" - } - ] - }, - { - "name": "get_default_canvas_item_texture_repeat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4049774160, - "return_value": { - "type": "enum::Viewport.DefaultCanvasItemTextureRepeat" - } - }, - { - "name": "set_sdf_oversize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2574159017, - "arguments": [ - { - "name": "oversize", - "type": "enum::Viewport.SDFOversize" - } - ] - }, - { - "name": "get_sdf_oversize", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2631427510, - "return_value": { - "type": "enum::Viewport.SDFOversize" - } - }, - { - "name": "set_sdf_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1402773951, - "arguments": [ - { - "name": "scale", - "type": "enum::Viewport.SDFScale" - } - ] - }, - { - "name": "get_sdf_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3162688184, - "return_value": { - "type": "enum::Viewport.SDFScale" - } - }, - { - "name": "set_mesh_lod_threshold", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "pixels", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_mesh_lod_threshold", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_world_3d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1400875337, - "arguments": [ - { - "name": "world_3d", - "type": "World3D" - } - ] - }, - { - "name": "get_world_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 317588385, - "return_value": { - "type": "World3D" - } - }, - { - "name": "find_world_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 317588385, - "return_value": { - "type": "World3D" - } - }, - { - "name": "set_use_own_world_3d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_own_world_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_camera_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2285090890, - "return_value": { - "type": "Camera3D" - } - }, - { - "name": "set_as_audio_listener_3d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_audio_listener_3d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_disable_3d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "disable", - "type": "bool" - } - ] - }, - { - "name": "is_3d_disabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_xr", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "use", - "type": "bool" - } - ] - }, - { - "name": "is_using_xr", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_scaling_3d_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1531597597, - "arguments": [ - { - "name": "scaling_3d_mode", - "type": "enum::Viewport.Scaling3DMode" - } - ] - }, - { - "name": "get_scaling_3d_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2597660574, - "return_value": { - "type": "enum::Viewport.Scaling3DMode" - } - }, - { - "name": "set_scaling_3d_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_scaling_3d_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_fsr_sharpness", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "fsr_sharpness", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_fsr_sharpness", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_texture_mipmap_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "texture_mipmap_bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_texture_mipmap_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_vrs_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2749867817, - "arguments": [ - { - "name": "mode", - "type": "enum::Viewport.VRSMode" - } - ] - }, - { - "name": "get_vrs_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 349660525, - "return_value": { - "type": "enum::Viewport.VRSMode" - } - }, - { - "name": "set_vrs_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "get_vrs_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - } - ], - "signals": [ - { - "name": "size_changed" - }, - { - "name": "gui_focus_changed", - "arguments": [ - { - "name": "node", - "type": "Control" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "disable_3d", - "setter": "set_disable_3d", - "getter": "is_3d_disabled" - }, - { - "type": "bool", - "name": "use_xr", - "setter": "set_use_xr", - "getter": "is_using_xr" - }, - { - "type": "bool", - "name": "own_world_3d", - "setter": "set_use_own_world_3d", - "getter": "is_using_own_world_3d" - }, - { - "type": "World3D", - "name": "world_3d", - "setter": "set_world_3d", - "getter": "get_world_3d" - }, - { - "type": "World2D", - "name": "world_2d", - "setter": "set_world_2d", - "getter": "get_world_2d" - }, - { - "type": "bool", - "name": "transparent_bg", - "setter": "set_transparent_background", - "getter": "has_transparent_background" - }, - { - "type": "bool", - "name": "handle_input_locally", - "setter": "set_handle_input_locally", - "getter": "is_handling_input_locally" - }, - { - "type": "bool", - "name": "snap_2d_transforms_to_pixel", - "setter": "set_snap_2d_transforms_to_pixel", - "getter": "is_snap_2d_transforms_to_pixel_enabled" - }, - { - "type": "bool", - "name": "snap_2d_vertices_to_pixel", - "setter": "set_snap_2d_vertices_to_pixel", - "getter": "is_snap_2d_vertices_to_pixel_enabled" - }, - { - "type": "int", - "name": "msaa_2d", - "setter": "set_msaa_2d", - "getter": "get_msaa_2d" - }, - { - "type": "int", - "name": "msaa_3d", - "setter": "set_msaa_3d", - "getter": "get_msaa_3d" - }, - { - "type": "int", - "name": "screen_space_aa", - "setter": "set_screen_space_aa", - "getter": "get_screen_space_aa" - }, - { - "type": "bool", - "name": "use_taa", - "setter": "set_use_taa", - "getter": "is_using_taa" - }, - { - "type": "bool", - "name": "use_debanding", - "setter": "set_use_debanding", - "getter": "is_using_debanding" - }, - { - "type": "bool", - "name": "use_occlusion_culling", - "setter": "set_use_occlusion_culling", - "getter": "is_using_occlusion_culling" - }, - { - "type": "float", - "name": "mesh_lod_threshold", - "setter": "set_mesh_lod_threshold", - "getter": "get_mesh_lod_threshold" - }, - { - "type": "int", - "name": "debug_draw", - "setter": "set_debug_draw", - "getter": "get_debug_draw" - }, - { - "type": "bool", - "name": "use_hdr_2d", - "setter": "set_use_hdr_2d", - "getter": "is_using_hdr_2d" - }, - { - "type": "int", - "name": "scaling_3d_mode", - "setter": "set_scaling_3d_mode", - "getter": "get_scaling_3d_mode" - }, - { - "type": "float", - "name": "scaling_3d_scale", - "setter": "set_scaling_3d_scale", - "getter": "get_scaling_3d_scale" - }, - { - "type": "float", - "name": "texture_mipmap_bias", - "setter": "set_texture_mipmap_bias", - "getter": "get_texture_mipmap_bias" - }, - { - "type": "float", - "name": "fsr_sharpness", - "setter": "set_fsr_sharpness", - "getter": "get_fsr_sharpness" - }, - { - "type": "int", - "name": "vrs_mode", - "setter": "set_vrs_mode", - "getter": "get_vrs_mode" - }, - { - "type": "Texture2D", - "name": "vrs_texture", - "setter": "set_vrs_texture", - "getter": "get_vrs_texture" - }, - { - "type": "int", - "name": "canvas_item_default_texture_filter", - "setter": "set_default_canvas_item_texture_filter", - "getter": "get_default_canvas_item_texture_filter" - }, - { - "type": "int", - "name": "canvas_item_default_texture_repeat", - "setter": "set_default_canvas_item_texture_repeat", - "getter": "get_default_canvas_item_texture_repeat" - }, - { - "type": "bool", - "name": "audio_listener_enable_2d", - "setter": "set_as_audio_listener_2d", - "getter": "is_audio_listener_2d" - }, - { - "type": "bool", - "name": "audio_listener_enable_3d", - "setter": "set_as_audio_listener_3d", - "getter": "is_audio_listener_3d" - }, - { - "type": "bool", - "name": "physics_object_picking", - "setter": "set_physics_object_picking", - "getter": "get_physics_object_picking" - }, - { - "type": "bool", - "name": "physics_object_picking_sort", - "setter": "set_physics_object_picking_sort", - "getter": "get_physics_object_picking_sort" - }, - { - "type": "bool", - "name": "gui_disable_input", - "setter": "set_disable_input", - "getter": "is_input_disabled" - }, - { - "type": "bool", - "name": "gui_snap_controls_to_pixels", - "setter": "set_snap_controls_to_pixels", - "getter": "is_snap_controls_to_pixels_enabled" - }, - { - "type": "bool", - "name": "gui_embed_subwindows", - "setter": "set_embedding_subwindows", - "getter": "is_embedding_subwindows" - }, - { - "type": "int", - "name": "sdf_oversize", - "setter": "set_sdf_oversize", - "getter": "get_sdf_oversize" - }, - { - "type": "int", - "name": "sdf_scale", - "setter": "set_sdf_scale", - "getter": "get_sdf_scale" - }, - { - "type": "int", - "name": "positional_shadow_atlas_size", - "setter": "set_positional_shadow_atlas_size", - "getter": "get_positional_shadow_atlas_size" - }, - { - "type": "bool", - "name": "positional_shadow_atlas_16_bits", - "setter": "set_positional_shadow_atlas_16_bits", - "getter": "get_positional_shadow_atlas_16_bits" - }, - { - "type": "int", - "name": "positional_shadow_atlas_quad_0", - "setter": "set_positional_shadow_atlas_quadrant_subdiv", - "getter": "get_positional_shadow_atlas_quadrant_subdiv", - "index": 0 - }, - { - "type": "int", - "name": "positional_shadow_atlas_quad_1", - "setter": "set_positional_shadow_atlas_quadrant_subdiv", - "getter": "get_positional_shadow_atlas_quadrant_subdiv", - "index": 1 - }, - { - "type": "int", - "name": "positional_shadow_atlas_quad_2", - "setter": "set_positional_shadow_atlas_quadrant_subdiv", - "getter": "get_positional_shadow_atlas_quadrant_subdiv", - "index": 2 - }, - { - "type": "int", - "name": "positional_shadow_atlas_quad_3", - "setter": "set_positional_shadow_atlas_quadrant_subdiv", - "getter": "get_positional_shadow_atlas_quadrant_subdiv", - "index": 3 - }, - { - "type": "Transform2D", - "name": "canvas_transform", - "setter": "set_canvas_transform", - "getter": "get_canvas_transform" - }, - { - "type": "Transform2D", - "name": "global_canvas_transform", - "setter": "set_global_canvas_transform", - "getter": "get_global_canvas_transform" - }, - { - "type": "int", - "name": "canvas_cull_mask", - "setter": "set_canvas_cull_mask", - "getter": "get_canvas_cull_mask" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_viewport_path_in_scene", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4075236667, - "return_value": { - "type": "NodePath" - } - } - ], - "properties": [ - { - "type": "NodePath", - "name": "viewport_path", - "setter": "set_viewport_path_in_scene", - "getter": "get_viewport_path_in_scene" - } - ] - }, - { - "name": "VisibleOnScreenEnabler2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VisibleOnScreenNotifier2D", - "api_type": "core", - "enums": [ - { - "name": "EnableMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2961788752, - "arguments": [ - { - "name": "mode", - "type": "enum::VisibleOnScreenEnabler2D.EnableMode" - } - ] - }, - { - "name": "get_enable_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2650445576, - "return_value": { - "type": "enum::VisibleOnScreenEnabler2D.EnableMode" - } - }, - { - "name": "set_enable_node_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_enable_node_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 277076166, - "return_value": { - "type": "NodePath" - } - } - ], - "properties": [ - { - "type": "int", - "name": "enable_mode", - "setter": "set_enable_mode", - "getter": "get_enable_mode" - }, - { - "type": "NodePath", - "name": "enable_node_path", - "setter": "set_enable_node_path", - "getter": "get_enable_node_path" - } - ] - }, - { - "name": "VisibleOnScreenEnabler3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VisibleOnScreenNotifier3D", - "api_type": "core", - "enums": [ - { - "name": "EnableMode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 320303646, - "arguments": [ - { - "name": "mode", - "type": "enum::VisibleOnScreenEnabler3D.EnableMode" - } - ] - }, - { - "name": "get_enable_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3352990031, - "return_value": { - "type": "enum::VisibleOnScreenEnabler3D.EnableMode" - } - }, - { - "name": "set_enable_node_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1348162250, - "arguments": [ - { - "name": "path", - "type": "NodePath" - } - ] - }, - { - "name": "get_enable_node_path", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 277076166, - "return_value": { - "type": "NodePath" - } - } - ], - "properties": [ - { - "type": "int", - "name": "enable_mode", - "setter": "set_enable_mode", - "getter": "get_enable_mode" - }, - { - "type": "NodePath", - "name": "enable_node_path", - "setter": "set_enable_node_path", - "getter": "get_enable_node_path" - } - ] - }, - { - "name": "VisibleOnScreenNotifier2D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node2D", - "api_type": "core", - "methods": [ - { - "name": "set_rect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2046264180, - "arguments": [ - { - "name": "rect", - "type": "Rect2" - } - ] - }, - { - "name": "get_rect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1639390495, - "return_value": { - "type": "Rect2" - } - }, - { - "name": "is_on_screen", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "screen_entered" - }, - { - "name": "screen_exited" - } - ], - "properties": [ - { - "type": "Rect2", - "name": "rect", - "setter": "set_rect", - "getter": "get_rect" - } - ] - }, - { - "name": "VisibleOnScreenNotifier3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "VisualInstance3D", - "api_type": "core", - "methods": [ - { - "name": "set_aabb", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 259215842, - "arguments": [ - { - "name": "rect", - "type": "AABB" - } - ] - }, - { - "name": "is_on_screen", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "signals": [ - { - "name": "screen_entered" - }, - { - "name": "screen_exited" - } - ], - "properties": [ - { - "type": "AABB", - "name": "aabb", - "setter": "set_aabb", - "getter": "get_aabb" - } - ] - }, - { - "name": "VisualInstance3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "_get_aabb", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "AABB" - } - }, - { - "name": "set_base", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2722037293, - "arguments": [ - { - "name": "base", - "type": "RID" - } - ] - }, - { - "name": "get_base", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_instance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_layer_mask", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "mask", - "type": "int", - "meta": "uint32" - } - ] - }, - { - "name": "get_layer_mask", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "set_layer_mask_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 300928843, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_layer_mask_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "layer_number", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_sorting_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "offset", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_sorting_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_sorting_use_aabb_center", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_sorting_use_aabb_center", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_aabb", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - } - ], - "properties": [ - { - "type": "int", - "name": "layers", - "setter": "set_layer_mask", - "getter": "get_layer_mask" - }, - { - "type": "float", - "name": "sorting_offset", - "setter": "set_sorting_offset", - "getter": "get_sorting_offset" - }, - { - "type": "bool", - "name": "sorting_use_aabb_center", - "setter": "set_sorting_use_aabb_center", - "getter": "is_sorting_use_aabb_center" - } - ] - }, - { - "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", - "is_bitfield": false, - "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_FOG", - "value": 9 - }, - { - "name": "TYPE_MAX", - "value": 10 - } - ] - }, - { - "name": "VaryingMode", - "is_bitfield": false, - "values": [ - { - "name": "VARYING_MODE_VERTEX_TO_FRAG_LIGHT", - "value": 0 - }, - { - "name": "VARYING_MODE_FRAG_TO_LIGHT", - "value": 1 - }, - { - "name": "VARYING_MODE_MAX", - "value": 2 - } - ] - }, - { - "name": "VaryingType", - "is_bitfield": false, - "values": [ - { - "name": "VARYING_TYPE_FLOAT", - "value": 0 - }, - { - "name": "VARYING_TYPE_INT", - "value": 1 - }, - { - "name": "VARYING_TYPE_UINT", - "value": 2 - }, - { - "name": "VARYING_TYPE_VECTOR_2D", - "value": 3 - }, - { - "name": "VARYING_TYPE_VECTOR_3D", - "value": 4 - }, - { - "name": "VARYING_TYPE_VECTOR_4D", - "value": 5 - }, - { - "name": "VARYING_TYPE_BOOLEAN", - "value": 6 - }, - { - "name": "VARYING_TYPE_TRANSFORM", - "value": 7 - }, - { - "name": "VARYING_TYPE_MAX", - "value": 8 - } - ] - } - ], - "methods": [ - { - "name": "set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3978014962, - "arguments": [ - { - "name": "mode", - "type": "enum::Shader.Mode" - } - ] - }, - { - "name": "add_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1560769431, - "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_static": false, - "is_virtual": false, - "hash": 3784670312, - "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_static": false, - "is_virtual": false, - "hash": 2726660721, - "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_static": false, - "is_virtual": false, - "hash": 2175036082, - "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_static": false, - "is_virtual": false, - "hash": 2370592410, - "return_value": { - "type": "PackedInt32Array" - }, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShader.Type" - } - ] - }, - { - "name": "get_valid_node_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 629467342, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShader.Type" - } - ] - }, - { - "name": "remove_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844050912, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShader.Type" - }, - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "replace_node", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3144735253, - "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_static": false, - "is_virtual": false, - "hash": 3922381898, - "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_static": false, - "is_virtual": false, - "hash": 3922381898, - "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_static": false, - "is_virtual": false, - "hash": 3081049573, - "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_static": false, - "is_virtual": false, - "hash": 2268060358, - "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_static": false, - "is_virtual": false, - "hash": 2268060358, - "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_static": false, - "is_virtual": false, - "hash": 1441964831, - "return_value": { - "type": "typedarray::Dictionary" - }, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShader.Type" - } - ] - }, - { - "name": "set_graph_offset", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "offset", - "type": "Vector2" - } - ] - }, - { - "name": "get_graph_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "add_varying", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2084110726, - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "mode", - "type": "enum::VisualShader.VaryingMode" - }, - { - "name": "type", - "type": "enum::VisualShader.VaryingType" - } - ] - }, - { - "name": "remove_varying", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "has_varying", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "Vector2", - "name": "graph_offset", - "setter": "set_graph_offset", - "getter": "get_graph_offset" - } - ] - }, - { - "name": "VisualShaderNode", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "Resource", - "api_type": "core", - "enums": [ - { - "name": "PortType", - "is_bitfield": false, - "values": [ - { - "name": "PORT_TYPE_SCALAR", - "value": 0 - }, - { - "name": "PORT_TYPE_SCALAR_INT", - "value": 1 - }, - { - "name": "PORT_TYPE_SCALAR_UINT", - "value": 2 - }, - { - "name": "PORT_TYPE_VECTOR_2D", - "value": 3 - }, - { - "name": "PORT_TYPE_VECTOR_3D", - "value": 4 - }, - { - "name": "PORT_TYPE_VECTOR_4D", - "value": 5 - }, - { - "name": "PORT_TYPE_BOOLEAN", - "value": 6 - }, - { - "name": "PORT_TYPE_TRANSFORM", - "value": 7 - }, - { - "name": "PORT_TYPE_SAMPLER", - "value": 8 - }, - { - "name": "PORT_TYPE_MAX", - "value": 9 - } - ] - } - ], - "methods": [ - { - "name": "get_default_input_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1894493699, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShaderNode.PortType" - } - ] - }, - { - "name": "set_output_port_for_preview", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_output_port_for_preview", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_input_port_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 150923387, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - }, - { - "name": "value", - "type": "Variant" - }, - { - "name": "prev_value", - "type": "Variant", - "default_value": "null" - } - ] - }, - { - "name": "get_input_port_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4227898402, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_input_port_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_default_input_values", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_default_input_values", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 381264803, - "arguments": [ - { - "name": "values", - "type": "Array" - } - ] - }, - { - "name": "get_default_input_values", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - } - ], - "properties": [ - { - "type": "int", - "name": "output_port_for_preview", - "setter": "set_output_port_for_preview", - "getter": "get_output_port_for_preview" - }, - { - "type": "Array", - "name": "default_input_values", - "setter": "set_default_input_values", - "getter": "get_default_input_values" - }, - { - "type": "Array", - "name": "expanded_output_ports", - "setter": "_set_output_ports_expanded", - "getter": "_get_output_ports_expanded" - } - ] - }, - { - "name": "VisualShaderNodeBillboard", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "BillboardType", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1227463289, - "arguments": [ - { - "name": "billboard_type", - "type": "enum::VisualShaderNodeBillboard.BillboardType" - } - ] - }, - { - "name": "get_billboard_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3724188517, - "return_value": { - "type": "enum::VisualShaderNodeBillboard.BillboardType" - } - }, - { - "name": "set_keep_scale_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_keep_scale_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "int", - "name": "billboard_type", - "setter": "set_billboard_type", - "getter": "get_billboard_type" - }, - { - "type": "bool", - "name": "keep_scale", - "setter": "set_keep_scale_enabled", - "getter": "is_keep_scale_enabled" - } - ] - }, - { - "name": "VisualShaderNodeBooleanConstant", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeConstant", - "api_type": "core", - "methods": [ - { - "name": "set_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "constant", - "type": "bool" - } - ] - }, - { - "name": "get_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "constant", - "setter": "set_constant", - "getter": "get_constant" - } - ] - }, - { - "name": "VisualShaderNodeBooleanParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "methods": [ - { - "name": "set_default_value_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_default_value_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "value", - "type": "bool" - } - ] - }, - { - "name": "get_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "default_value_enabled", - "setter": "set_default_value_enabled", - "getter": "is_default_value_enabled" - }, - { - "type": "bool", - "name": "default_value", - "setter": "set_default_value", - "getter": "get_default_value" - } - ] - }, - { - "name": "VisualShaderNodeClamp", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "OpType", - "is_bitfield": false, - "values": [ - { - "name": "OP_TYPE_FLOAT", - "value": 0 - }, - { - "name": "OP_TYPE_INT", - "value": 1 - }, - { - "name": "OP_TYPE_UINT", - "value": 2 - }, - { - "name": "OP_TYPE_VECTOR_2D", - "value": 3 - }, - { - "name": "OP_TYPE_VECTOR_3D", - "value": 4 - }, - { - "name": "OP_TYPE_VECTOR_4D", - "value": 5 - }, - { - "name": "OP_TYPE_MAX", - "value": 6 - } - ] - } - ], - "methods": [ - { - "name": "set_op_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 405010749, - "arguments": [ - { - "name": "op_type", - "type": "enum::VisualShaderNodeClamp.OpType" - } - ] - }, - { - "name": "get_op_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 233276050, - "return_value": { - "type": "enum::VisualShaderNodeClamp.OpType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "op_type", - "setter": "set_op_type", - "getter": "get_op_type" - } - ] - }, - { - "name": "VisualShaderNodeColorConstant", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeConstant", - "api_type": "core", - "methods": [ - { - "name": "set_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "constant", - "type": "Color" - } - ] - }, - { - "name": "get_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - } - ], - "properties": [ - { - "type": "Color", - "name": "constant", - "setter": "set_constant", - "getter": "get_constant" - } - ] - }, - { - "name": "VisualShaderNodeColorFunc", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Function", - "is_bitfield": false, - "values": [ - { - "name": "FUNC_GRAYSCALE", - "value": 0 - }, - { - "name": "FUNC_HSV2RGB", - "value": 1 - }, - { - "name": "FUNC_RGB2HSV", - "value": 2 - }, - { - "name": "FUNC_SEPIA", - "value": 3 - }, - { - "name": "FUNC_MAX", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "set_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3973396138, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeColorFunc.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 554863321, - "return_value": { - "type": "enum::VisualShaderNodeColorFunc.Function" - } - } - ], - "properties": [ - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - } - ] - }, - { - "name": "VisualShaderNodeColorOp", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Operator", - "is_bitfield": false, - "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 - }, - { - "name": "OP_MAX", - "value": 9 - } - ] - } - ], - "methods": [ - { - "name": "set_operator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4260370673, - "arguments": [ - { - "name": "op", - "type": "enum::VisualShaderNodeColorOp.Operator" - } - ] - }, - { - "name": "get_operator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1950956529, - "return_value": { - "type": "enum::VisualShaderNodeColorOp.Operator" - } - } - ], - "properties": [ - { - "type": "int", - "name": "operator", - "setter": "set_operator", - "getter": "get_operator" - } - ] - }, - { - "name": "VisualShaderNodeColorParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "methods": [ - { - "name": "set_default_value_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_default_value_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2920490490, - "arguments": [ - { - "name": "value", - "type": "Color" - } - ] - }, - { - "name": "get_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3444240500, - "return_value": { - "type": "Color" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "default_value_enabled", - "setter": "set_default_value_enabled", - "getter": "is_default_value_enabled" - }, - { - "type": "Color", - "name": "default_value", - "setter": "set_default_value", - "getter": "get_default_value" - } - ] - }, - { - "name": "VisualShaderNodeComment", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeResizableBase", - "api_type": "core", - "methods": [ - { - "name": "set_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "title", - "type": "String" - } - ] - }, - { - "name": "get_title", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_description", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "description", - "type": "String" - } - ] - }, - { - "name": "get_description", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "title", - "setter": "set_title", - "getter": "get_title" - }, - { - "type": "String", - "name": "description", - "setter": "set_description", - "getter": "get_description" - } - ] - }, - { - "name": "VisualShaderNodeCompare", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "ComparisonType", - "is_bitfield": false, - "values": [ - { - "name": "CTYPE_SCALAR", - "value": 0 - }, - { - "name": "CTYPE_SCALAR_INT", - "value": 1 - }, - { - "name": "CTYPE_SCALAR_UINT", - "value": 2 - }, - { - "name": "CTYPE_VECTOR_2D", - "value": 3 - }, - { - "name": "CTYPE_VECTOR_3D", - "value": 4 - }, - { - "name": "CTYPE_VECTOR_4D", - "value": 5 - }, - { - "name": "CTYPE_BOOLEAN", - "value": 6 - }, - { - "name": "CTYPE_TRANSFORM", - "value": 7 - }, - { - "name": "CTYPE_MAX", - "value": 8 - } - ] - }, - { - "name": "Function", - "is_bitfield": false, - "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": "FUNC_MAX", - "value": 6 - } - ] - }, - { - "name": "Condition", - "is_bitfield": false, - "values": [ - { - "name": "COND_ALL", - "value": 0 - }, - { - "name": "COND_ANY", - "value": 1 - }, - { - "name": "COND_MAX", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_comparison_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 516558320, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShaderNodeCompare.ComparisonType" - } - ] - }, - { - "name": "get_comparison_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3495315961, - "return_value": { - "type": "enum::VisualShaderNodeCompare.ComparisonType" - } - }, - { - "name": "set_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2370951349, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeCompare.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4089164265, - "return_value": { - "type": "enum::VisualShaderNodeCompare.Function" - } - }, - { - "name": "set_condition", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 918742392, - "arguments": [ - { - "name": "condition", - "type": "enum::VisualShaderNodeCompare.Condition" - } - ] - }, - { - "name": "get_condition", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3281078941, - "return_value": { - "type": "enum::VisualShaderNodeCompare.Condition" - } - } - ], - "properties": [ - { - "type": "int", - "name": "type", - "setter": "set_comparison_type", - "getter": "get_comparison_type" - }, - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - }, - { - "type": "int", - "name": "condition", - "setter": "set_condition", - "getter": "get_condition" - } - ] - }, - { - "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": "Source", - "is_bitfield": false, - "values": [ - { - "name": "SOURCE_TEXTURE", - "value": 0 - }, - { - "name": "SOURCE_PORT", - "value": 1 - }, - { - "name": "SOURCE_MAX", - "value": 2 - } - ] - }, - { - "name": "TextureType", - "is_bitfield": false, - "values": [ - { - "name": "TYPE_DATA", - "value": 0 - }, - { - "name": "TYPE_COLOR", - "value": 1 - }, - { - "name": "TYPE_NORMAL_MAP", - "value": 2 - }, - { - "name": "TYPE_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_source", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1625400621, - "arguments": [ - { - "name": "value", - "type": "enum::VisualShaderNodeCubemap.Source" - } - ] - }, - { - "name": "get_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2222048781, - "return_value": { - "type": "enum::VisualShaderNodeCubemap.Source" - } - }, - { - "name": "set_cube_map", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2219800736, - "arguments": [ - { - "name": "value", - "type": "Cubemap" - } - ] - }, - { - "name": "get_cube_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1772111058, - "return_value": { - "type": "Cubemap" - } - }, - { - "name": "set_texture_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1899718876, - "arguments": [ - { - "name": "value", - "type": "enum::VisualShaderNodeCubemap.TextureType" - } - ] - }, - { - "name": "get_texture_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3356498888, - "return_value": { - "type": "enum::VisualShaderNodeCubemap.TextureType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "source", - "setter": "set_source", - "getter": "get_source" - }, - { - "type": "Cubemap", - "name": "cube_map", - "setter": "set_cube_map", - "getter": "get_cube_map" - }, - { - "type": "int", - "name": "texture_type", - "setter": "set_texture_type", - "getter": "get_texture_type" - } - ] - }, - { - "name": "VisualShaderNodeCubemapParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeTextureParameter", - "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_static": false, - "is_virtual": false, - "hash": 181872837, - "arguments": [ - { - "name": "texture", - "type": "CurveTexture" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2800800579, - "return_value": { - "type": "CurveTexture" - } - } - ], - "properties": [ - { - "type": "CurveTexture", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - } - ] - }, - { - "name": "VisualShaderNodeCurveXYZTexture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeResizableBase", - "api_type": "core", - "methods": [ - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 8031783, - "arguments": [ - { - "name": "texture", - "type": "CurveXYZTexture" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1950275015, - "return_value": { - "type": "CurveXYZTexture" - } - } - ], - "properties": [ - { - "type": "CurveXYZTexture", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - } - ] - }, - { - "name": "VisualShaderNodeCustom", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "methods": [ - { - "name": "_get_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_description", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_category", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_get_return_icon_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::VisualShaderNode.PortType" - } - }, - { - "name": "_get_input_port_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_input_port_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::VisualShaderNode.PortType" - }, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_input_port_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_input_port_default_value", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_default_input_port", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShaderNode.PortType" - } - ] - }, - { - "name": "_get_output_port_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_output_port_type", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::VisualShaderNode.PortType" - }, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_output_port_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_property_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_property_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_property_default_index", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_property_options", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_code", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "input_vars", - "type": "typedarray::String" - }, - { - "name": "output_vars", - "type": "typedarray::String" - }, - { - "name": "mode", - "type": "enum::Shader.Mode" - }, - { - "name": "type", - "type": "enum::VisualShader.Type" - } - ] - }, - { - "name": "_get_func_code", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::Shader.Mode" - }, - { - "name": "type", - "type": "enum::VisualShader.Type" - } - ] - }, - { - "name": "_get_global_code", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::Shader.Mode" - } - ] - }, - { - "name": "_is_highend", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_is_available", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::Shader.Mode" - }, - { - "name": "type", - "type": "enum::VisualShader.Type" - } - ] - }, - { - "name": "get_option_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "option", - "type": "int", - "meta": "int32" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "initialized", - "setter": "_set_initialized", - "getter": "_is_initialized" - }, - { - "type": "String", - "name": "properties", - "setter": "_set_properties", - "getter": "_get_properties" - } - ] - }, - { - "name": "VisualShaderNodeDerivativeFunc", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "OpType", - "is_bitfield": false, - "values": [ - { - "name": "OP_TYPE_SCALAR", - "value": 0 - }, - { - "name": "OP_TYPE_VECTOR_2D", - "value": 1 - }, - { - "name": "OP_TYPE_VECTOR_3D", - "value": 2 - }, - { - "name": "OP_TYPE_VECTOR_4D", - "value": 3 - }, - { - "name": "OP_TYPE_MAX", - "value": 4 - } - ] - }, - { - "name": "Function", - "is_bitfield": false, - "values": [ - { - "name": "FUNC_SUM", - "value": 0 - }, - { - "name": "FUNC_X", - "value": 1 - }, - { - "name": "FUNC_Y", - "value": 2 - }, - { - "name": "FUNC_MAX", - "value": 3 - } - ] - }, - { - "name": "Precision", - "is_bitfield": false, - "values": [ - { - "name": "PRECISION_NONE", - "value": 0 - }, - { - "name": "PRECISION_COARSE", - "value": 1 - }, - { - "name": "PRECISION_FINE", - "value": 2 - }, - { - "name": "PRECISION_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_op_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 377800221, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShaderNodeDerivativeFunc.OpType" - } - ] - }, - { - "name": "get_op_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3997800514, - "return_value": { - "type": "enum::VisualShaderNodeDerivativeFunc.OpType" - } - }, - { - "name": "set_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1944704156, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeDerivativeFunc.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2389093396, - "return_value": { - "type": "enum::VisualShaderNodeDerivativeFunc.Function" - } - }, - { - "name": "set_precision", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 797270566, - "arguments": [ - { - "name": "precision", - "type": "enum::VisualShaderNodeDerivativeFunc.Precision" - } - ] - }, - { - "name": "get_precision", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3822547323, - "return_value": { - "type": "enum::VisualShaderNodeDerivativeFunc.Precision" - } - } - ], - "properties": [ - { - "type": "int", - "name": "op_type", - "setter": "set_op_type", - "getter": "get_op_type" - }, - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - }, - { - "type": "int", - "name": "precision", - "setter": "set_precision", - "getter": "get_precision" - } - ] - }, - { - "name": "VisualShaderNodeDeterminant", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core" - }, - { - "name": "VisualShaderNodeDistanceFade", - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "expression", - "type": "String" - } - ] - }, - { - "name": "get_expression", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "String", - "name": "expression", - "setter": "set_expression", - "getter": "get_expression" - } - ] - }, - { - "name": "VisualShaderNodeFaceForward", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVectorBase", - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "constant", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "float", - "name": "constant", - "setter": "set_constant", - "getter": "get_constant" - } - ] - }, - { - "name": "VisualShaderNodeFloatFunc", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Function", - "is_bitfield": false, - "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_FRACT", - "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 - }, - { - "name": "FUNC_MAX", - "value": 32 - } - ] - } - ], - "methods": [ - { - "name": "set_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 536026177, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeFloatFunc.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2033948868, - "return_value": { - "type": "enum::VisualShaderNodeFloatFunc.Function" - } - } - ], - "properties": [ - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - } - ] - }, - { - "name": "VisualShaderNodeFloatOp", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Operator", - "is_bitfield": false, - "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 - }, - { - "name": "OP_ENUM_SIZE", - "value": 10 - } - ] - } - ], - "methods": [ - { - "name": "set_operator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2488468047, - "arguments": [ - { - "name": "op", - "type": "enum::VisualShaderNodeFloatOp.Operator" - } - ] - }, - { - "name": "get_operator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1867979390, - "return_value": { - "type": "enum::VisualShaderNodeFloatOp.Operator" - } - } - ], - "properties": [ - { - "type": "int", - "name": "operator", - "setter": "set_operator", - "getter": "get_operator" - } - ] - }, - { - "name": "VisualShaderNodeFloatParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "enums": [ - { - "name": "Hint", - "is_bitfield": false, - "values": [ - { - "name": "HINT_NONE", - "value": 0 - }, - { - "name": "HINT_RANGE", - "value": 1 - }, - { - "name": "HINT_RANGE_STEP", - "value": 2 - }, - { - "name": "HINT_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_hint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3712586466, - "arguments": [ - { - "name": "hint", - "type": "enum::VisualShaderNodeFloatParameter.Hint" - } - ] - }, - { - "name": "get_hint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3042240429, - "return_value": { - "type": "enum::VisualShaderNodeFloatParameter.Hint" - } - }, - { - "name": "set_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_default_value_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_default_value_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "value", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "int", - "name": "hint", - "setter": "set_hint", - "getter": "get_hint" - }, - { - "type": "float", - "name": "min", - "setter": "set_min", - "getter": "get_min" - }, - { - "type": "float", - "name": "max", - "setter": "set_max", - "getter": "get_max" - }, - { - "type": "float", - "name": "step", - "setter": "set_step", - "getter": "get_step" - }, - { - "type": "bool", - "name": "default_value_enabled", - "setter": "set_default_value_enabled", - "getter": "is_default_value_enabled" - }, - { - "type": "float", - "name": "default_value", - "setter": "set_default_value", - "getter": "get_default_value" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "inputs", - "type": "String" - } - ] - }, - { - "name": "get_inputs", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_outputs", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "outputs", - "type": "String" - } - ] - }, - { - "name": "get_outputs", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_valid_port_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "add_input_port", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2285447957, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_input_port_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "has_input_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_input_ports", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_output_port", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2285447957, - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_output_port_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "has_output_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "clear_output_ports", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_input_port_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_input_port_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 501894301, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "set_output_port_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3937882851, - "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_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_free_output_port_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "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_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_input_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_input_real_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "signals": [ - { - "name": "input_type_changed" - } - ], - "properties": [ - { - "type": "StringName", - "name": "input_name", - "setter": "set_input_name", - "getter": "get_input_name" - } - ] - }, - { - "name": "VisualShaderNodeIntConstant", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeConstant", - "api_type": "core", - "methods": [ - { - "name": "set_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "constant", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "constant", - "setter": "set_constant", - "getter": "get_constant" - } - ] - }, - { - "name": "VisualShaderNodeIntFunc", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Function", - "is_bitfield": false, - "values": [ - { - "name": "FUNC_ABS", - "value": 0 - }, - { - "name": "FUNC_NEGATE", - "value": 1 - }, - { - "name": "FUNC_SIGN", - "value": 2 - }, - { - "name": "FUNC_BITWISE_NOT", - "value": 3 - }, - { - "name": "FUNC_MAX", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "set_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 424195284, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeIntFunc.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2753496911, - "return_value": { - "type": "enum::VisualShaderNodeIntFunc.Function" - } - } - ], - "properties": [ - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - } - ] - }, - { - "name": "VisualShaderNodeIntOp", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Operator", - "is_bitfield": false, - "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 - }, - { - "name": "OP_BITWISE_AND", - "value": 7 - }, - { - "name": "OP_BITWISE_OR", - "value": 8 - }, - { - "name": "OP_BITWISE_XOR", - "value": 9 - }, - { - "name": "OP_BITWISE_LEFT_SHIFT", - "value": 10 - }, - { - "name": "OP_BITWISE_RIGHT_SHIFT", - "value": 11 - }, - { - "name": "OP_ENUM_SIZE", - "value": 12 - } - ] - } - ], - "methods": [ - { - "name": "set_operator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1677909323, - "arguments": [ - { - "name": "op", - "type": "enum::VisualShaderNodeIntOp.Operator" - } - ] - }, - { - "name": "get_operator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1236987913, - "return_value": { - "type": "enum::VisualShaderNodeIntOp.Operator" - } - } - ], - "properties": [ - { - "type": "int", - "name": "operator", - "setter": "set_operator", - "getter": "get_operator" - } - ] - }, - { - "name": "VisualShaderNodeIntParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "enums": [ - { - "name": "Hint", - "is_bitfield": false, - "values": [ - { - "name": "HINT_NONE", - "value": 0 - }, - { - "name": "HINT_RANGE", - "value": 1 - }, - { - "name": "HINT_RANGE_STEP", - "value": 2 - }, - { - "name": "HINT_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_hint", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2540512075, - "arguments": [ - { - "name": "hint", - "type": "enum::VisualShaderNodeIntParameter.Hint" - } - ] - }, - { - "name": "get_hint", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4250814924, - "return_value": { - "type": "enum::VisualShaderNodeIntParameter.Hint" - } - }, - { - "name": "set_min", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_min", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_max", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_step", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_step", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_default_value_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_default_value_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "hint", - "setter": "set_hint", - "getter": "get_hint" - }, - { - "type": "int", - "name": "min", - "setter": "set_min", - "getter": "get_min" - }, - { - "type": "int", - "name": "max", - "setter": "set_max", - "getter": "get_max" - }, - { - "type": "int", - "name": "step", - "setter": "set_step", - "getter": "get_step" - }, - { - "type": "bool", - "name": "default_value_enabled", - "setter": "set_default_value_enabled", - "getter": "is_default_value_enabled" - }, - { - "type": "int", - "name": "default_value", - "setter": "set_default_value", - "getter": "get_default_value" - } - ] - }, - { - "name": "VisualShaderNodeIs", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Function", - "is_bitfield": false, - "values": [ - { - "name": "FUNC_IS_INF", - "value": 0 - }, - { - "name": "FUNC_IS_NAN", - "value": 1 - }, - { - "name": "FUNC_MAX", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1438374690, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeIs.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 580678557, - "return_value": { - "type": "enum::VisualShaderNodeIs.Function" - } - } - ], - "properties": [ - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - } - ] - }, - { - "name": "VisualShaderNodeLinearSceneDepth", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core" - }, - { - "name": "VisualShaderNodeMix", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "OpType", - "is_bitfield": false, - "values": [ - { - "name": "OP_TYPE_SCALAR", - "value": 0 - }, - { - "name": "OP_TYPE_VECTOR_2D", - "value": 1 - }, - { - "name": "OP_TYPE_VECTOR_2D_SCALAR", - "value": 2 - }, - { - "name": "OP_TYPE_VECTOR_3D", - "value": 3 - }, - { - "name": "OP_TYPE_VECTOR_3D_SCALAR", - "value": 4 - }, - { - "name": "OP_TYPE_VECTOR_4D", - "value": 5 - }, - { - "name": "OP_TYPE_VECTOR_4D_SCALAR", - "value": 6 - }, - { - "name": "OP_TYPE_MAX", - "value": 7 - } - ] - } - ], - "methods": [ - { - "name": "set_op_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3397501671, - "arguments": [ - { - "name": "op_type", - "type": "enum::VisualShaderNodeMix.OpType" - } - ] - }, - { - "name": "get_op_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4013957297, - "return_value": { - "type": "enum::VisualShaderNodeMix.OpType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "op_type", - "setter": "set_op_type", - "getter": "get_op_type" - } - ] - }, - { - "name": "VisualShaderNodeMultiplyAdd", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "OpType", - "is_bitfield": false, - "values": [ - { - "name": "OP_TYPE_SCALAR", - "value": 0 - }, - { - "name": "OP_TYPE_VECTOR_2D", - "value": 1 - }, - { - "name": "OP_TYPE_VECTOR_3D", - "value": 2 - }, - { - "name": "OP_TYPE_VECTOR_4D", - "value": 3 - }, - { - "name": "OP_TYPE_MAX", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "set_op_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1409862380, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShaderNodeMultiplyAdd.OpType" - } - ] - }, - { - "name": "get_op_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2823201991, - "return_value": { - "type": "enum::VisualShaderNodeMultiplyAdd.OpType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "op_type", - "setter": "set_op_type", - "getter": "get_op_type" - } - ] - }, - { - "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": "VisualShaderNodeParameter", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Qualifier", - "is_bitfield": false, - "values": [ - { - "name": "QUAL_NONE", - "value": 0 - }, - { - "name": "QUAL_GLOBAL", - "value": 1 - }, - { - "name": "QUAL_INSTANCE", - "value": 2 - }, - { - "name": "QUAL_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_parameter_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_parameter_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_qualifier", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1276489447, - "arguments": [ - { - "name": "qualifier", - "type": "enum::VisualShaderNodeParameter.Qualifier" - } - ] - }, - { - "name": "get_qualifier", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3558406205, - "return_value": { - "type": "enum::VisualShaderNodeParameter.Qualifier" - } - } - ], - "properties": [ - { - "type": "StringName", - "name": "parameter_name", - "setter": "set_parameter_name", - "getter": "get_parameter_name" - }, - { - "type": "int", - "name": "qualifier", - "setter": "set_qualifier", - "getter": "get_qualifier" - } - ] - }, - { - "name": "VisualShaderNodeParameterRef", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "methods": [ - { - "name": "set_parameter_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_parameter_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - } - ], - "properties": [ - { - "type": "StringName", - "name": "parameter_name", - "setter": "set_parameter_name", - "getter": "get_parameter_name" - }, - { - "type": "int", - "name": "param_type", - "setter": "_set_parameter_type", - "getter": "_get_parameter_type" - } - ] - }, - { - "name": "VisualShaderNodeParticleAccelerator", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Mode", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3457585749, - "arguments": [ - { - "name": "mode", - "type": "enum::VisualShaderNodeParticleAccelerator.Mode" - } - ] - }, - { - "name": "get_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2660365633, - "return_value": { - "type": "enum::VisualShaderNodeParticleAccelerator.Mode" - } - } - ], - "properties": [ - { - "type": "int", - "name": "mode", - "setter": "set_mode", - "getter": "get_mode" - } - ] - }, - { - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 3960756792, - "arguments": [ - { - "name": "flags", - "type": "enum::VisualShaderNodeParticleEmit.EmitFlags" - } - ] - }, - { - "name": "get_flags", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 171277835, - "return_value": { - "type": "enum::VisualShaderNodeParticleEmit.EmitFlags" - } - } - ], - "properties": [ - { - "type": "int", - "name": "flags", - "setter": "set_flags", - "getter": "get_flags" - } - ] - }, - { - "name": "VisualShaderNodeParticleEmitter", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "VisualShaderNode", - "api_type": "core", - "methods": [ - { - "name": "set_mode_2d", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_mode_2d", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "mode_2d", - "setter": "set_mode_2d", - "getter": "is_mode_2d" - } - ] - }, - { - "name": "VisualShaderNodeParticleMeshEmitter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParticleEmitter", - "api_type": "core", - "methods": [ - { - "name": "set_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 194775623, - "arguments": [ - { - "name": "mesh", - "type": "Mesh" - } - ] - }, - { - "name": "get_mesh", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1808005922, - "return_value": { - "type": "Mesh" - } - }, - { - "name": "set_use_all_surfaces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_use_all_surfaces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_surface_index", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "surface_index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_surface_index", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "Mesh", - "name": "mesh", - "setter": "set_mesh", - "getter": "get_mesh" - }, - { - "type": "bool", - "name": "use_all_surfaces", - "setter": "set_use_all_surfaces", - "getter": "is_use_all_surfaces" - }, - { - "type": "int", - "name": "surface_index", - "setter": "set_surface_index", - "getter": "get_surface_index" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_degrees_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "degrees_mode", - "setter": "set_degrees_mode", - "getter": "is_degrees_mode" - } - ] - }, - { - "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", - "is_bitfield": false, - "values": [ - { - "name": "OP_TYPE_SCALAR", - "value": 0 - }, - { - "name": "OP_TYPE_VECTOR_2D", - "value": 1 - }, - { - "name": "OP_TYPE_VECTOR_3D", - "value": 2 - }, - { - "name": "OP_TYPE_VECTOR_4D", - "value": 3 - }, - { - "name": "OP_TYPE_MAX", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "set_op_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2060089061, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShaderNodeParticleRandomness.OpType" - } - ] - }, - { - "name": "get_op_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3597061078, - "return_value": { - "type": "enum::VisualShaderNodeParticleRandomness.OpType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "op_type", - "setter": "set_op_type", - "getter": "get_op_type" - } - ] - }, - { - "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": "VisualShaderNodeProximityFade", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core" - }, - { - "name": "VisualShaderNodeRandomRange", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core" - }, - { - "name": "VisualShaderNodeRemap", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "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_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "size", - "type": "Vector2" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "size", - "setter": "set_size", - "getter": "get_size" - } - ] - }, - { - "name": "VisualShaderNodeRotationByAxis", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core" - }, - { - "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", - "is_bitfield": false, - "values": [ - { - "name": "SOURCE_TEXTURE", - "value": 0 - }, - { - "name": "SOURCE_PORT", - "value": 1 - }, - { - "name": "SOURCE_MAX", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_source", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3315130991, - "arguments": [ - { - "name": "value", - "type": "enum::VisualShaderNodeSample3D.Source" - } - ] - }, - { - "name": "get_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1079494121, - "return_value": { - "type": "enum::VisualShaderNodeSample3D.Source" - } - } - ], - "properties": [ - { - "type": "int", - "name": "source", - "setter": "set_source", - "getter": "get_source" - } - ] - }, - { - "name": "VisualShaderNodeScreenNormalWorldSpace", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core" - }, - { - "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", - "is_bitfield": false, - "values": [ - { - "name": "OP_TYPE_SCALAR", - "value": 0 - }, - { - "name": "OP_TYPE_VECTOR_2D", - "value": 1 - }, - { - "name": "OP_TYPE_VECTOR_2D_SCALAR", - "value": 2 - }, - { - "name": "OP_TYPE_VECTOR_3D", - "value": 3 - }, - { - "name": "OP_TYPE_VECTOR_3D_SCALAR", - "value": 4 - }, - { - "name": "OP_TYPE_VECTOR_4D", - "value": 5 - }, - { - "name": "OP_TYPE_VECTOR_4D_SCALAR", - "value": 6 - }, - { - "name": "OP_TYPE_MAX", - "value": 7 - } - ] - } - ], - "methods": [ - { - "name": "set_op_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2427426148, - "arguments": [ - { - "name": "op_type", - "type": "enum::VisualShaderNodeSmoothStep.OpType" - } - ] - }, - { - "name": "get_op_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 359640855, - "return_value": { - "type": "enum::VisualShaderNodeSmoothStep.OpType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "op_type", - "setter": "set_op_type", - "getter": "get_op_type" - } - ] - }, - { - "name": "VisualShaderNodeStep", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "OpType", - "is_bitfield": false, - "values": [ - { - "name": "OP_TYPE_SCALAR", - "value": 0 - }, - { - "name": "OP_TYPE_VECTOR_2D", - "value": 1 - }, - { - "name": "OP_TYPE_VECTOR_2D_SCALAR", - "value": 2 - }, - { - "name": "OP_TYPE_VECTOR_3D", - "value": 3 - }, - { - "name": "OP_TYPE_VECTOR_3D_SCALAR", - "value": 4 - }, - { - "name": "OP_TYPE_VECTOR_4D", - "value": 5 - }, - { - "name": "OP_TYPE_VECTOR_4D_SCALAR", - "value": 6 - }, - { - "name": "OP_TYPE_MAX", - "value": 7 - } - ] - } - ], - "methods": [ - { - "name": "set_op_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 715172489, - "arguments": [ - { - "name": "op_type", - "type": "enum::VisualShaderNodeStep.OpType" - } - ] - }, - { - "name": "get_op_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3274022781, - "return_value": { - "type": "enum::VisualShaderNodeStep.OpType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "op_type", - "setter": "set_op_type", - "getter": "get_op_type" - } - ] - }, - { - "name": "VisualShaderNodeSwitch", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "OpType", - "is_bitfield": false, - "values": [ - { - "name": "OP_TYPE_FLOAT", - "value": 0 - }, - { - "name": "OP_TYPE_INT", - "value": 1 - }, - { - "name": "OP_TYPE_UINT", - "value": 2 - }, - { - "name": "OP_TYPE_VECTOR_2D", - "value": 3 - }, - { - "name": "OP_TYPE_VECTOR_3D", - "value": 4 - }, - { - "name": "OP_TYPE_VECTOR_4D", - "value": 5 - }, - { - "name": "OP_TYPE_BOOLEAN", - "value": 6 - }, - { - "name": "OP_TYPE_TRANSFORM", - "value": 7 - }, - { - "name": "OP_TYPE_MAX", - "value": 8 - } - ] - } - ], - "methods": [ - { - "name": "set_op_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 510471861, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShaderNodeSwitch.OpType" - } - ] - }, - { - "name": "get_op_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2517845071, - "return_value": { - "type": "enum::VisualShaderNodeSwitch.OpType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "op_type", - "setter": "set_op_type", - "getter": "get_op_type" - } - ] - }, - { - "name": "VisualShaderNodeTexture", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Source", - "is_bitfield": false, - "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 - }, - { - "name": "SOURCE_3D_NORMAL", - "value": 6 - }, - { - "name": "SOURCE_ROUGHNESS", - "value": 7 - }, - { - "name": "SOURCE_MAX", - "value": 8 - } - ] - }, - { - "name": "TextureType", - "is_bitfield": false, - "values": [ - { - "name": "TYPE_DATA", - "value": 0 - }, - { - "name": "TYPE_COLOR", - "value": 1 - }, - { - "name": "TYPE_NORMAL_MAP", - "value": 2 - }, - { - "name": "TYPE_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_source", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 905262939, - "arguments": [ - { - "name": "value", - "type": "enum::VisualShaderNodeTexture.Source" - } - ] - }, - { - "name": "get_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2896297444, - "return_value": { - "type": "enum::VisualShaderNodeTexture.Source" - } - }, - { - "name": "set_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4051416890, - "arguments": [ - { - "name": "value", - "type": "Texture2D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3635182373, - "return_value": { - "type": "Texture2D" - } - }, - { - "name": "set_texture_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 986314081, - "arguments": [ - { - "name": "value", - "type": "enum::VisualShaderNodeTexture.TextureType" - } - ] - }, - { - "name": "get_texture_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3290430153, - "return_value": { - "type": "enum::VisualShaderNodeTexture.TextureType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "source", - "setter": "set_source", - "getter": "get_source" - }, - { - "type": "Texture2D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - }, - { - "type": "int", - "name": "texture_type", - "setter": "set_texture_type", - "getter": "get_texture_type" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 2206200446, - "arguments": [ - { - "name": "value", - "type": "Texture2DArray" - } - ] - }, - { - "name": "get_texture_array", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 146117123, - "return_value": { - "type": "Texture2DArray" - } - } - ], - "properties": [ - { - "type": "Texture2DArray", - "name": "texture_array", - "setter": "set_texture_array", - "getter": "get_texture_array" - } - ] - }, - { - "name": "VisualShaderNodeTexture2DArrayParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeTextureParameter", - "api_type": "core" - }, - { - "name": "VisualShaderNodeTexture2DParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeTextureParameter", - "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_static": false, - "is_virtual": false, - "hash": 1188404210, - "arguments": [ - { - "name": "value", - "type": "Texture3D" - } - ] - }, - { - "name": "get_texture", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373985333, - "return_value": { - "type": "Texture3D" - } - } - ], - "properties": [ - { - "type": "Texture3D", - "name": "texture", - "setter": "set_texture", - "getter": "get_texture" - } - ] - }, - { - "name": "VisualShaderNodeTexture3DParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeTextureParameter", - "api_type": "core" - }, - { - "name": "VisualShaderNodeTextureParameter", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "enums": [ - { - "name": "TextureType", - "is_bitfield": false, - "values": [ - { - "name": "TYPE_DATA", - "value": 0 - }, - { - "name": "TYPE_COLOR", - "value": 1 - }, - { - "name": "TYPE_NORMAL_MAP", - "value": 2 - }, - { - "name": "TYPE_ANISOTROPY", - "value": 3 - }, - { - "name": "TYPE_MAX", - "value": 4 - } - ] - }, - { - "name": "ColorDefault", - "is_bitfield": false, - "values": [ - { - "name": "COLOR_DEFAULT_WHITE", - "value": 0 - }, - { - "name": "COLOR_DEFAULT_BLACK", - "value": 1 - }, - { - "name": "COLOR_DEFAULT_TRANSPARENT", - "value": 2 - }, - { - "name": "COLOR_DEFAULT_MAX", - "value": 3 - } - ] - }, - { - "name": "TextureFilter", - "is_bitfield": false, - "values": [ - { - "name": "FILTER_DEFAULT", - "value": 0 - }, - { - "name": "FILTER_NEAREST", - "value": 1 - }, - { - "name": "FILTER_LINEAR", - "value": 2 - }, - { - "name": "FILTER_NEAREST_MIPMAP", - "value": 3 - }, - { - "name": "FILTER_LINEAR_MIPMAP", - "value": 4 - }, - { - "name": "FILTER_NEAREST_MIPMAP_ANISOTROPIC", - "value": 5 - }, - { - "name": "FILTER_LINEAR_MIPMAP_ANISOTROPIC", - "value": 6 - }, - { - "name": "FILTER_MAX", - "value": 7 - } - ] - }, - { - "name": "TextureRepeat", - "is_bitfield": false, - "values": [ - { - "name": "REPEAT_DEFAULT", - "value": 0 - }, - { - "name": "REPEAT_ENABLED", - "value": 1 - }, - { - "name": "REPEAT_DISABLED", - "value": 2 - }, - { - "name": "REPEAT_MAX", - "value": 3 - } - ] - }, - { - "name": "TextureSource", - "is_bitfield": false, - "values": [ - { - "name": "SOURCE_NONE", - "value": 0 - }, - { - "name": "SOURCE_SCREEN", - "value": 1 - }, - { - "name": "SOURCE_DEPTH", - "value": 2 - }, - { - "name": "SOURCE_NORMAL_ROUGHNESS", - "value": 3 - }, - { - "name": "SOURCE_MAX", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "set_texture_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2227296876, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShaderNodeTextureParameter.TextureType" - } - ] - }, - { - "name": "get_texture_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 367922070, - "return_value": { - "type": "enum::VisualShaderNodeTextureParameter.TextureType" - } - }, - { - "name": "set_color_default", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4217624432, - "arguments": [ - { - "name": "color", - "type": "enum::VisualShaderNodeTextureParameter.ColorDefault" - } - ] - }, - { - "name": "get_color_default", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3837060134, - "return_value": { - "type": "enum::VisualShaderNodeTextureParameter.ColorDefault" - } - }, - { - "name": "set_texture_filter", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2147684752, - "arguments": [ - { - "name": "filter", - "type": "enum::VisualShaderNodeTextureParameter.TextureFilter" - } - ] - }, - { - "name": "get_texture_filter", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4184490817, - "return_value": { - "type": "enum::VisualShaderNodeTextureParameter.TextureFilter" - } - }, - { - "name": "set_texture_repeat", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2036143070, - "arguments": [ - { - "name": "repeat", - "type": "enum::VisualShaderNodeTextureParameter.TextureRepeat" - } - ] - }, - { - "name": "get_texture_repeat", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1690132794, - "return_value": { - "type": "enum::VisualShaderNodeTextureParameter.TextureRepeat" - } - }, - { - "name": "set_texture_source", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1212687372, - "arguments": [ - { - "name": "source", - "type": "enum::VisualShaderNodeTextureParameter.TextureSource" - } - ] - }, - { - "name": "get_texture_source", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2039092262, - "return_value": { - "type": "enum::VisualShaderNodeTextureParameter.TextureSource" - } - } - ], - "properties": [ - { - "type": "int", - "name": "texture_type", - "setter": "set_texture_type", - "getter": "get_texture_type" - }, - { - "type": "int", - "name": "color_default", - "setter": "set_color_default", - "getter": "get_color_default" - }, - { - "type": "int", - "name": "texture_filter", - "setter": "set_texture_filter", - "getter": "get_texture_filter" - }, - { - "type": "int", - "name": "texture_repeat", - "setter": "set_texture_repeat", - "getter": "get_texture_repeat" - }, - { - "type": "int", - "name": "texture_source", - "setter": "set_texture_source", - "getter": "get_texture_source" - } - ] - }, - { - "name": "VisualShaderNodeTextureParameterTriplanar", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeTextureParameter", - "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": "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_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "constant", - "type": "Transform3D" - } - ] - }, - { - "name": "get_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - } - ], - "properties": [ - { - "type": "Transform3D", - "name": "constant", - "setter": "set_constant", - "getter": "get_constant" - } - ] - }, - { - "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", - "is_bitfield": false, - "values": [ - { - "name": "FUNC_INVERSE", - "value": 0 - }, - { - "name": "FUNC_TRANSPOSE", - "value": 1 - }, - { - "name": "FUNC_MAX", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2900990409, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeTransformFunc.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2839926569, - "return_value": { - "type": "enum::VisualShaderNodeTransformFunc.Function" - } - } - ], - "properties": [ - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - } - ] - }, - { - "name": "VisualShaderNodeTransformOp", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Operator", - "is_bitfield": false, - "values": [ - { - "name": "OP_AxB", - "value": 0 - }, - { - "name": "OP_BxA", - "value": 1 - }, - { - "name": "OP_AxB_COMP", - "value": 2 - }, - { - "name": "OP_BxA_COMP", - "value": 3 - }, - { - "name": "OP_ADD", - "value": 4 - }, - { - "name": "OP_A_MINUS_B", - "value": 5 - }, - { - "name": "OP_B_MINUS_A", - "value": 6 - }, - { - "name": "OP_A_DIV_B", - "value": 7 - }, - { - "name": "OP_B_DIV_A", - "value": 8 - }, - { - "name": "OP_MAX", - "value": 9 - } - ] - } - ], - "methods": [ - { - "name": "set_operator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2287310733, - "arguments": [ - { - "name": "op", - "type": "enum::VisualShaderNodeTransformOp.Operator" - } - ] - }, - { - "name": "get_operator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1238663601, - "return_value": { - "type": "enum::VisualShaderNodeTransformOp.Operator" - } - } - ], - "properties": [ - { - "type": "int", - "name": "operator", - "setter": "set_operator", - "getter": "get_operator" - } - ] - }, - { - "name": "VisualShaderNodeTransformParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "methods": [ - { - "name": "set_default_value_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_default_value_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "value", - "type": "Transform3D" - } - ] - }, - { - "name": "get_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "default_value_enabled", - "setter": "set_default_value_enabled", - "getter": "is_default_value_enabled" - }, - { - "type": "Transform3D", - "name": "default_value", - "setter": "set_default_value", - "getter": "get_default_value" - } - ] - }, - { - "name": "VisualShaderNodeTransformVecMult", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Operator", - "is_bitfield": false, - "values": [ - { - "name": "OP_AxB", - "value": 0 - }, - { - "name": "OP_BxA", - "value": 1 - }, - { - "name": "OP_3x3_AxB", - "value": 2 - }, - { - "name": "OP_3x3_BxA", - "value": 3 - }, - { - "name": "OP_MAX", - "value": 4 - } - ] - } - ], - "methods": [ - { - "name": "set_operator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1785665912, - "arguments": [ - { - "name": "op", - "type": "enum::VisualShaderNodeTransformVecMult.Operator" - } - ] - }, - { - "name": "get_operator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1622088722, - "return_value": { - "type": "enum::VisualShaderNodeTransformVecMult.Operator" - } - } - ], - "properties": [ - { - "type": "int", - "name": "operator", - "setter": "set_operator", - "getter": "get_operator" - } - ] - }, - { - "name": "VisualShaderNodeUIntConstant", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeConstant", - "api_type": "core", - "methods": [ - { - "name": "set_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "constant", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "constant", - "setter": "set_constant", - "getter": "get_constant" - } - ] - }, - { - "name": "VisualShaderNodeUIntFunc", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Function", - "is_bitfield": false, - "values": [ - { - "name": "FUNC_NEGATE", - "value": 0 - }, - { - "name": "FUNC_BITWISE_NOT", - "value": 1 - }, - { - "name": "FUNC_MAX", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2273148961, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeUIntFunc.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4187123296, - "return_value": { - "type": "enum::VisualShaderNodeUIntFunc.Function" - } - } - ], - "properties": [ - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - } - ] - }, - { - "name": "VisualShaderNodeUIntOp", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Operator", - "is_bitfield": false, - "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 - }, - { - "name": "OP_BITWISE_AND", - "value": 7 - }, - { - "name": "OP_BITWISE_OR", - "value": 8 - }, - { - "name": "OP_BITWISE_XOR", - "value": 9 - }, - { - "name": "OP_BITWISE_LEFT_SHIFT", - "value": 10 - }, - { - "name": "OP_BITWISE_RIGHT_SHIFT", - "value": 11 - }, - { - "name": "OP_ENUM_SIZE", - "value": 12 - } - ] - } - ], - "methods": [ - { - "name": "set_operator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3463048345, - "arguments": [ - { - "name": "op", - "type": "enum::VisualShaderNodeUIntOp.Operator" - } - ] - }, - { - "name": "get_operator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 256631461, - "return_value": { - "type": "enum::VisualShaderNodeUIntOp.Operator" - } - } - ], - "properties": [ - { - "type": "int", - "name": "operator", - "setter": "set_operator", - "getter": "get_operator" - } - ] - }, - { - "name": "VisualShaderNodeUIntParameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "methods": [ - { - "name": "set_default_value_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_default_value_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "value", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "default_value_enabled", - "setter": "set_default_value_enabled", - "getter": "is_default_value_enabled" - }, - { - "type": "int", - "name": "default_value", - "setter": "set_default_value", - "getter": "get_default_value" - } - ] - }, - { - "name": "VisualShaderNodeUVFunc", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "Function", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 765791915, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeUVFunc.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3772902164, - "return_value": { - "type": "enum::VisualShaderNodeUVFunc.Function" - } - } - ], - "properties": [ - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - } - ] - }, - { - "name": "VisualShaderNodeUVPolarCoord", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNode", - "api_type": "core" - }, - { - "name": "VisualShaderNodeVarying", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "VisualShaderNode", - "api_type": "core", - "methods": [ - { - "name": "set_varying_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_varying_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_varying_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3565867981, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShader.VaryingType" - } - ] - }, - { - "name": "get_varying_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 523183580, - "return_value": { - "type": "enum::VisualShader.VaryingType" - } - } - ], - "properties": [ - { - "type": "StringName", - "name": "varying_name", - "setter": "set_varying_name", - "getter": "get_varying_name" - }, - { - "type": "int", - "name": "varying_type", - "setter": "set_varying_type", - "getter": "get_varying_type" - } - ] - }, - { - "name": "VisualShaderNodeVaryingGetter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVarying", - "api_type": "core" - }, - { - "name": "VisualShaderNodeVaryingSetter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVarying", - "api_type": "core" - }, - { - "name": "VisualShaderNodeVec2Constant", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeConstant", - "api_type": "core", - "methods": [ - { - "name": "set_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "constant", - "type": "Vector2" - } - ] - }, - { - "name": "get_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "constant", - "setter": "set_constant", - "getter": "get_constant" - } - ] - }, - { - "name": "VisualShaderNodeVec2Parameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "methods": [ - { - "name": "set_default_value_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_default_value_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "value", - "type": "Vector2" - } - ] - }, - { - "name": "get_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "default_value_enabled", - "setter": "set_default_value_enabled", - "getter": "is_default_value_enabled" - }, - { - "type": "Vector2", - "name": "default_value", - "setter": "set_default_value", - "getter": "get_default_value" - } - ] - }, - { - "name": "VisualShaderNodeVec3Constant", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeConstant", - "api_type": "core", - "methods": [ - { - "name": "set_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "constant", - "type": "Vector3" - } - ] - }, - { - "name": "get_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - } - ], - "properties": [ - { - "type": "Vector3", - "name": "constant", - "setter": "set_constant", - "getter": "get_constant" - } - ] - }, - { - "name": "VisualShaderNodeVec3Parameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "methods": [ - { - "name": "set_default_value_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_default_value_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "value", - "type": "Vector3" - } - ] - }, - { - "name": "get_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "default_value_enabled", - "setter": "set_default_value_enabled", - "getter": "is_default_value_enabled" - }, - { - "type": "Vector3", - "name": "default_value", - "setter": "set_default_value", - "getter": "get_default_value" - } - ] - }, - { - "name": "VisualShaderNodeVec4Constant", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeConstant", - "api_type": "core", - "methods": [ - { - "name": "set_constant", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1727505552, - "arguments": [ - { - "name": "constant", - "type": "Quaternion" - } - ] - }, - { - "name": "get_constant", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1222331677, - "return_value": { - "type": "Quaternion" - } - } - ], - "properties": [ - { - "type": "Quaternion", - "name": "constant", - "setter": "set_constant", - "getter": "get_constant" - } - ] - }, - { - "name": "VisualShaderNodeVec4Parameter", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeParameter", - "api_type": "core", - "methods": [ - { - "name": "set_default_value_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_default_value_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_default_value", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 643568085, - "arguments": [ - { - "name": "value", - "type": "Vector4" - } - ] - }, - { - "name": "get_default_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2435802345, - "return_value": { - "type": "Vector4" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "default_value_enabled", - "setter": "set_default_value_enabled", - "getter": "is_default_value_enabled" - }, - { - "type": "Vector4", - "name": "default_value", - "setter": "set_default_value", - "getter": "get_default_value" - } - ] - }, - { - "name": "VisualShaderNodeVectorBase", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "VisualShaderNode", - "api_type": "core", - "enums": [ - { - "name": "OpType", - "is_bitfield": false, - "values": [ - { - "name": "OP_TYPE_VECTOR_2D", - "value": 0 - }, - { - "name": "OP_TYPE_VECTOR_3D", - "value": 1 - }, - { - "name": "OP_TYPE_VECTOR_4D", - "value": 2 - }, - { - "name": "OP_TYPE_MAX", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "set_op_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1692596998, - "arguments": [ - { - "name": "type", - "type": "enum::VisualShaderNodeVectorBase.OpType" - } - ] - }, - { - "name": "get_op_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2568738462, - "return_value": { - "type": "enum::VisualShaderNodeVectorBase.OpType" - } - } - ], - "properties": [ - { - "type": "int", - "name": "op_type", - "setter": "set_op_type", - "getter": "get_op_type" - } - ] - }, - { - "name": "VisualShaderNodeVectorCompose", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVectorBase", - "api_type": "core" - }, - { - "name": "VisualShaderNodeVectorDecompose", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVectorBase", - "api_type": "core" - }, - { - "name": "VisualShaderNodeVectorDistance", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVectorBase", - "api_type": "core" - }, - { - "name": "VisualShaderNodeVectorFunc", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVectorBase", - "api_type": "core", - "enums": [ - { - "name": "Function", - "is_bitfield": false, - "values": [ - { - "name": "FUNC_NORMALIZE", - "value": 0 - }, - { - "name": "FUNC_SATURATE", - "value": 1 - }, - { - "name": "FUNC_NEGATE", - "value": 2 - }, - { - "name": "FUNC_RECIPROCAL", - "value": 3 - }, - { - "name": "FUNC_ABS", - "value": 4 - }, - { - "name": "FUNC_ACOS", - "value": 5 - }, - { - "name": "FUNC_ACOSH", - "value": 6 - }, - { - "name": "FUNC_ASIN", - "value": 7 - }, - { - "name": "FUNC_ASINH", - "value": 8 - }, - { - "name": "FUNC_ATAN", - "value": 9 - }, - { - "name": "FUNC_ATANH", - "value": 10 - }, - { - "name": "FUNC_CEIL", - "value": 11 - }, - { - "name": "FUNC_COS", - "value": 12 - }, - { - "name": "FUNC_COSH", - "value": 13 - }, - { - "name": "FUNC_DEGREES", - "value": 14 - }, - { - "name": "FUNC_EXP", - "value": 15 - }, - { - "name": "FUNC_EXP2", - "value": 16 - }, - { - "name": "FUNC_FLOOR", - "value": 17 - }, - { - "name": "FUNC_FRACT", - "value": 18 - }, - { - "name": "FUNC_INVERSE_SQRT", - "value": 19 - }, - { - "name": "FUNC_LOG", - "value": 20 - }, - { - "name": "FUNC_LOG2", - "value": 21 - }, - { - "name": "FUNC_RADIANS", - "value": 22 - }, - { - "name": "FUNC_ROUND", - "value": 23 - }, - { - "name": "FUNC_ROUNDEVEN", - "value": 24 - }, - { - "name": "FUNC_SIGN", - "value": 25 - }, - { - "name": "FUNC_SIN", - "value": 26 - }, - { - "name": "FUNC_SINH", - "value": 27 - }, - { - "name": "FUNC_SQRT", - "value": 28 - }, - { - "name": "FUNC_TAN", - "value": 29 - }, - { - "name": "FUNC_TANH", - "value": 30 - }, - { - "name": "FUNC_TRUNC", - "value": 31 - }, - { - "name": "FUNC_ONEMINUS", - "value": 32 - }, - { - "name": "FUNC_MAX", - "value": 33 - } - ] - } - ], - "methods": [ - { - "name": "set_function", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 629964457, - "arguments": [ - { - "name": "func", - "type": "enum::VisualShaderNodeVectorFunc.Function" - } - ] - }, - { - "name": "get_function", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4047776843, - "return_value": { - "type": "enum::VisualShaderNodeVectorFunc.Function" - } - } - ], - "properties": [ - { - "type": "int", - "name": "function", - "setter": "set_function", - "getter": "get_function" - } - ] - }, - { - "name": "VisualShaderNodeVectorLen", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVectorBase", - "api_type": "core" - }, - { - "name": "VisualShaderNodeVectorOp", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVectorBase", - "api_type": "core", - "enums": [ - { - "name": "Operator", - "is_bitfield": false, - "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 - }, - { - "name": "OP_ENUM_SIZE", - "value": 12 - } - ] - } - ], - "methods": [ - { - "name": "set_operator", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3371507302, - "arguments": [ - { - "name": "op", - "type": "enum::VisualShaderNodeVectorOp.Operator" - } - ] - }, - { - "name": "get_operator", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 11793929, - "return_value": { - "type": "enum::VisualShaderNodeVectorOp.Operator" - } - } - ], - "properties": [ - { - "type": "int", - "name": "operator", - "setter": "set_operator", - "getter": "get_operator" - } - ] - }, - { - "name": "VisualShaderNodeVectorRefract", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "VisualShaderNodeVectorBase", - "api_type": "core" - }, - { - "name": "VisualShaderNodeWorldPositionFromDepth", - "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", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 1637849675, - "arguments": [ - { - "name": "data", - "type": "VoxelGIData" - } - ] - }, - { - "name": "get_probe_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1730645405, - "return_value": { - "type": "VoxelGIData" - } - }, - { - "name": "set_subdiv", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240898472, - "arguments": [ - { - "name": "subdiv", - "type": "enum::VoxelGI.Subdiv" - } - ] - }, - { - "name": "get_subdiv", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4261647950, - "return_value": { - "type": "enum::VoxelGI.Subdiv" - } - }, - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "size", - "type": "Vector3" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_camera_attributes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2817810567, - "arguments": [ - { - "name": "camera_attributes", - "type": "CameraAttributes" - } - ] - }, - { - "name": "get_camera_attributes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3921283215, - "return_value": { - "type": "CameraAttributes" - } - }, - { - "name": "bake", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2781551026, - "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_static": false, - "is_virtual": false, - "hash": 3218959716 - } - ], - "properties": [ - { - "type": "int", - "name": "subdiv", - "setter": "set_subdiv", - "getter": "get_subdiv" - }, - { - "type": "Vector3", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "CameraAttributesPractical,CameraAttributesPhysical", - "name": "camera_attributes", - "setter": "set_camera_attributes", - "getter": "get_camera_attributes" - }, - { - "type": "VoxelGIData", - "name": "data", - "setter": "set_probe_data", - "getter": "get_probe_data" - } - ] - }, - { - "name": "VoxelGIData", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "allocate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4041601946, - "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_static": false, - "is_virtual": false, - "hash": 1068685055, - "return_value": { - "type": "AABB" - } - }, - { - "name": "get_octree_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_to_cell_xform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "get_octree_cells", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2362200018, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "get_data_cells", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2362200018, - "return_value": { - "type": "PackedByteArray" - } - }, - { - "name": "get_level_counts", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1930428628, - "return_value": { - "type": "PackedInt32Array" - } - }, - { - "name": "set_dynamic_range", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "dynamic_range", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_dynamic_range", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_energy", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "energy", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_energy", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_normal_bias", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "bias", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_normal_bias", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_propagation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "propagation", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_propagation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_interior", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "interior", - "type": "bool" - } - ] - }, - { - "name": "is_interior", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_use_two_bounces", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_two_bounces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "dynamic_range", - "setter": "set_dynamic_range", - "getter": "get_dynamic_range" - }, - { - "type": "float", - "name": "energy", - "setter": "set_energy", - "getter": "get_energy" - }, - { - "type": "float", - "name": "bias", - "setter": "set_bias", - "getter": "get_bias" - }, - { - "type": "float", - "name": "normal_bias", - "setter": "set_normal_bias", - "getter": "get_normal_bias" - }, - { - "type": "float", - "name": "propagation", - "setter": "set_propagation", - "getter": "get_propagation" - }, - { - "type": "bool", - "name": "use_two_bounces", - "setter": "set_use_two_bounces", - "getter": "is_using_two_bounces" - }, - { - "type": "bool", - "name": "interior", - "setter": "set_interior", - "getter": "is_interior" - } - ] - }, - { - "name": "WeakRef", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "get_ref", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1214101251, - "return_value": { - "type": "Variant" - } - } - ] - }, - { - "name": "WebRTCDataChannel", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "PacketPeer", - "api_type": "core", - "enums": [ - { - "name": "WriteMode", - "is_bitfield": false, - "values": [ - { - "name": "WRITE_MODE_TEXT", - "value": 0 - }, - { - "name": "WRITE_MODE_BINARY", - "value": 1 - } - ] - }, - { - "name": "ChannelState", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "close", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "was_string_packet", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_write_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1999768052, - "arguments": [ - { - "name": "write_mode", - "type": "enum::WebRTCDataChannel.WriteMode" - } - ] - }, - { - "name": "get_write_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2848495172, - "return_value": { - "type": "enum::WebRTCDataChannel.WriteMode" - } - }, - { - "name": "get_ready_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3501143017, - "return_value": { - "type": "enum::WebRTCDataChannel.ChannelState" - } - }, - { - "name": "get_label", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_ordered", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_max_packet_life_time", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_max_retransmits", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_protocol", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_negotiated", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_buffered_amount", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "int", - "name": "write_mode", - "setter": "set_write_mode", - "getter": "get_write_mode" - } - ] - }, - { - "name": "WebRTCDataChannelExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "WebRTCDataChannel", - "api_type": "core", - "methods": [ - { - "name": "_get_packet", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "r_buffer", - "type": "const uint8_t **" - }, - { - "name": "r_buffer_size", - "type": "int32_t*" - } - ] - }, - { - "name": "_put_packet", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_buffer", - "type": "const uint8_t*" - }, - { - "name": "p_buffer_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "_get_available_packet_count", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_max_packet_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_poll", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "_close", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_set_write_mode", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "p_write_mode", - "type": "enum::WebRTCDataChannel.WriteMode" - } - ] - }, - { - "name": "_get_write_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::WebRTCDataChannel.WriteMode" - } - }, - { - "name": "_was_string_packet", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_ready_state", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::WebRTCDataChannel.ChannelState" - } - }, - { - "name": "_get_label", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_is_ordered", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_max_packet_life_time", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_max_retransmits", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_protocol", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "String" - } - }, - { - "name": "_is_negotiated", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_get_buffered_amount", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ] - }, - { - "name": "WebRTCMultiplayerPeer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "MultiplayerPeer", - "api_type": "core", - "methods": [ - { - "name": "create_server", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2865356025, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "channels_config", - "type": "Array", - "default_value": "[]" - } - ] - }, - { - "name": "create_client", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2641732907, - "hash_compatibility": [ - 1777354631 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "peer_id", - "type": "int", - "meta": "int32" - }, - { - "name": "channels_config", - "type": "Array", - "default_value": "[]" - } - ] - }, - { - "name": "create_mesh", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2641732907, - "hash_compatibility": [ - 1777354631 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "peer_id", - "type": "int", - "meta": "int32" - }, - { - "name": "channels_config", - "type": "Array", - "default_value": "[]" - } - ] - }, - { - "name": "add_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4078953270, - "hash_compatibility": [ - 2555866323 - ], - "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_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "peer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "has_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3067735520, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "peer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_peer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3554694381, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "peer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_peers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2382534195, - "return_value": { - "type": "Dictionary" - } - } - ] - }, - { - "name": "WebRTCPeerConnection", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "ConnectionState", - "is_bitfield": false, - "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 - } - ] - }, - { - "name": "GatheringState", - "is_bitfield": false, - "values": [ - { - "name": "GATHERING_STATE_NEW", - "value": 0 - }, - { - "name": "GATHERING_STATE_GATHERING", - "value": 1 - }, - { - "name": "GATHERING_STATE_COMPLETE", - "value": 2 - } - ] - }, - { - "name": "SignalingState", - "is_bitfield": false, - "values": [ - { - "name": "SIGNALING_STATE_STABLE", - "value": 0 - }, - { - "name": "SIGNALING_STATE_HAVE_LOCAL_OFFER", - "value": 1 - }, - { - "name": "SIGNALING_STATE_HAVE_REMOTE_OFFER", - "value": 2 - }, - { - "name": "SIGNALING_STATE_HAVE_LOCAL_PRANSWER", - "value": 3 - }, - { - "name": "SIGNALING_STATE_HAVE_REMOTE_PRANSWER", - "value": 4 - }, - { - "name": "SIGNALING_STATE_CLOSED", - "value": 5 - } - ] - } - ], - "methods": [ - { - "name": "set_default_extension", - "is_const": false, - "is_vararg": false, - "is_static": true, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "extension_class", - "type": "StringName" - } - ] - }, - { - "name": "initialize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2625064318, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "configuration", - "type": "Dictionary", - "default_value": "{}" - } - ] - }, - { - "name": "create_data_channel", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1288557393, - "hash_compatibility": [ - 3997447457 - ], - "return_value": { - "type": "WebRTCDataChannel" - }, - "arguments": [ - { - "name": "label", - "type": "String" - }, - { - "name": "options", - "type": "Dictionary", - "default_value": "{}" - } - ] - }, - { - "name": "create_offer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "set_local_description", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 852856452, - "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_static": false, - "is_virtual": false, - "hash": 852856452, - "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_static": false, - "is_virtual": false, - "hash": 3958950400, - "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_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "close", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_connection_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2275710506, - "return_value": { - "type": "enum::WebRTCPeerConnection.ConnectionState" - } - }, - { - "name": "get_gathering_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4262591401, - "return_value": { - "type": "enum::WebRTCPeerConnection.GatheringState" - } - }, - { - "name": "get_signaling_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3342956226, - "return_value": { - "type": "enum::WebRTCPeerConnection.SignalingState" - } - } - ], - "signals": [ - { - "name": "session_description_created", - "arguments": [ - { - "name": "type", - "type": "String" - }, - { - "name": "sdp", - "type": "String" - } - ] - }, - { - "name": "ice_candidate_created", - "arguments": [ - { - "name": "media", - "type": "String" - }, - { - "name": "index", - "type": "int" - }, - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "data_channel_received", - "arguments": [ - { - "name": "channel", - "type": "WebRTCDataChannel" - } - ] - } - ] - }, - { - "name": "WebRTCPeerConnectionExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "WebRTCPeerConnection", - "api_type": "core", - "methods": [ - { - "name": "_get_connection_state", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::WebRTCPeerConnection.ConnectionState" - } - }, - { - "name": "_get_gathering_state", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::WebRTCPeerConnection.GatheringState" - } - }, - { - "name": "_get_signaling_state", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::WebRTCPeerConnection.SignalingState" - } - }, - { - "name": "_initialize", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_config", - "type": "Dictionary" - } - ] - }, - { - "name": "_create_data_channel", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "WebRTCDataChannel" - }, - "arguments": [ - { - "name": "p_label", - "type": "String" - }, - { - "name": "p_config", - "type": "Dictionary" - } - ] - }, - { - "name": "_create_offer", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "_set_remote_description", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_type", - "type": "String" - }, - { - "name": "p_sdp", - "type": "String" - } - ] - }, - { - "name": "_set_local_description", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_type", - "type": "String" - }, - { - "name": "p_sdp", - "type": "String" - } - ] - }, - { - "name": "_add_ice_candidate", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "p_sdp_mid_name", - "type": "String" - }, - { - "name": "p_sdp_mline_index", - "type": "int", - "meta": "int32" - }, - { - "name": "p_sdp_name", - "type": "String" - } - ] - }, - { - "name": "_poll", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "_close", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - } - ] - }, - { - "name": "WebSocketMultiplayerPeer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "MultiplayerPeer", - "api_type": "core", - "methods": [ - { - "name": "create_client", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1966198364, - "hash_compatibility": [ - 3097527179 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "url", - "type": "String" - }, - { - "name": "tls_client_options", - "type": "TLSOptions", - "default_value": "null" - } - ] - }, - { - "name": "create_server", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2400822951, - "hash_compatibility": [ - 337374795 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "port", - "type": "int", - "meta": "int32" - }, - { - "name": "bind_address", - "type": "String", - "default_value": "\"*\"" - }, - { - "name": "tls_server_options", - "type": "TLSOptions", - "default_value": "null" - } - ] - }, - { - "name": "get_peer", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1381378851, - "return_value": { - "type": "WebSocketPeer" - }, - "arguments": [ - { - "name": "peer_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_peer_address", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_peer_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "int32" - }, - "arguments": [ - { - "name": "id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_supported_protocols", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_supported_protocols", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "protocols", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_handshake_headers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_handshake_headers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "protocols", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_inbound_buffer_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_inbound_buffer_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "buffer_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_outbound_buffer_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_outbound_buffer_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "buffer_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_handshake_timeout", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_handshake_timeout", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "timeout", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "set_max_queued_packets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "max_queued_packets", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_queued_packets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "PackedStringArray", - "name": "supported_protocols", - "setter": "set_supported_protocols", - "getter": "get_supported_protocols" - }, - { - "type": "PackedStringArray", - "name": "handshake_headers", - "setter": "set_handshake_headers", - "getter": "get_handshake_headers" - }, - { - "type": "int", - "name": "inbound_buffer_size", - "setter": "set_inbound_buffer_size", - "getter": "get_inbound_buffer_size" - }, - { - "type": "int", - "name": "outbound_buffer_size", - "setter": "set_outbound_buffer_size", - "getter": "get_outbound_buffer_size" - }, - { - "type": "float", - "name": "handshake_timeout", - "setter": "set_handshake_timeout", - "getter": "get_handshake_timeout" - }, - { - "type": "int", - "name": "max_queued_packets", - "setter": "set_max_queued_packets", - "getter": "get_max_queued_packets" - } - ] - }, - { - "name": "WebSocketPeer", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "PacketPeer", - "api_type": "core", - "enums": [ - { - "name": "WriteMode", - "is_bitfield": false, - "values": [ - { - "name": "WRITE_MODE_TEXT", - "value": 0 - }, - { - "name": "WRITE_MODE_BINARY", - "value": 1 - } - ] - }, - { - "name": "State", - "is_bitfield": false, - "values": [ - { - "name": "STATE_CONNECTING", - "value": 0 - }, - { - "name": "STATE_OPEN", - "value": 1 - }, - { - "name": "STATE_CLOSING", - "value": 2 - }, - { - "name": "STATE_CLOSED", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "connect_to_url", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1966198364, - "hash_compatibility": [ - 3097527179 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "url", - "type": "String" - }, - { - "name": "tls_client_options", - "type": "TLSOptions", - "default_value": "null" - } - ] - }, - { - "name": "accept_stream", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 255125695, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "stream", - "type": "StreamPeer" - } - ] - }, - { - "name": "send", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2780360567, - "hash_compatibility": [ - 3440492527 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "message", - "type": "PackedByteArray" - }, - { - "name": "write_mode", - "type": "enum::WebSocketPeer.WriteMode", - "default_value": "1" - } - ] - }, - { - "name": "send_text", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "message", - "type": "String" - } - ] - }, - { - "name": "was_string_packet", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "poll", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "close", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1047156615, - "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_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_connected_port", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint16" - } - }, - { - "name": "get_selected_protocol", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_requested_url", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_no_delay", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_current_outbound_buffered_amount", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_ready_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 346482985, - "return_value": { - "type": "enum::WebSocketPeer.State" - } - }, - { - "name": "get_close_code", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_close_reason", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_supported_protocols", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_supported_protocols", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "protocols", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_handshake_headers", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1139954409, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "set_handshake_headers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4015028928, - "arguments": [ - { - "name": "protocols", - "type": "PackedStringArray" - } - ] - }, - { - "name": "get_inbound_buffer_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_inbound_buffer_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "buffer_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_outbound_buffer_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_outbound_buffer_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "buffer_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "set_max_queued_packets", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "buffer_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_max_queued_packets", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - } - ], - "properties": [ - { - "type": "PackedStringArray", - "name": "supported_protocols", - "setter": "set_supported_protocols", - "getter": "get_supported_protocols" - }, - { - "type": "PackedStringArray", - "name": "handshake_headers", - "setter": "set_handshake_headers", - "getter": "get_handshake_headers" - }, - { - "type": "int", - "name": "inbound_buffer_size", - "setter": "set_inbound_buffer_size", - "getter": "get_inbound_buffer_size" - }, - { - "type": "int", - "name": "outbound_buffer_size", - "setter": "set_outbound_buffer_size", - "getter": "get_outbound_buffer_size" - }, - { - "type": "int", - "name": "max_queued_packets", - "setter": "set_max_queued_packets", - "getter": "get_max_queued_packets" - } - ] - }, - { - "name": "WebXRInterface", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "XRInterface", - "api_type": "core", - "enums": [ - { - "name": "TargetRayMode", - "is_bitfield": false, - "values": [ - { - "name": "TARGET_RAY_MODE_UNKNOWN", - "value": 0 - }, - { - "name": "TARGET_RAY_MODE_GAZE", - "value": 1 - }, - { - "name": "TARGET_RAY_MODE_TRACKED_POINTER", - "value": 2 - }, - { - "name": "TARGET_RAY_MODE_SCREEN", - "value": 3 - } - ] - } - ], - "methods": [ - { - "name": "is_session_supported", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "session_mode", - "type": "String" - } - ] - }, - { - "name": "set_session_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "session_mode", - "type": "String" - } - ] - }, - { - "name": "get_session_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_required_features", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "required_features", - "type": "String" - } - ] - }, - { - "name": "get_required_features", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_optional_features", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "optional_features", - "type": "String" - } - ] - }, - { - "name": "get_optional_features", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_reference_space_type", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_requested_reference_space_types", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "requested_reference_space_types", - "type": "String" - } - ] - }, - { - "name": "get_requested_reference_space_types", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "is_input_source_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "input_source_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_input_source_tracker", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 636011756, - "return_value": { - "type": "XRPositionalTracker" - }, - "arguments": [ - { - "name": "input_source_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_input_source_target_ray_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2852387453, - "return_value": { - "type": "enum::WebXRInterface.TargetRayMode" - }, - "arguments": [ - { - "name": "input_source_id", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_visibility_state", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_display_refresh_rate", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_display_refresh_rate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "refresh_rate", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_available_display_refresh_rates", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "Array" - } - } - ], - "signals": [ - { - "name": "session_supported", - "arguments": [ - { - "name": "session_mode", - "type": "String" - }, - { - "name": "supported", - "type": "bool" - } - ] - }, - { - "name": "session_started" - }, - { - "name": "session_ended" - }, - { - "name": "session_failed", - "arguments": [ - { - "name": "message", - "type": "String" - } - ] - }, - { - "name": "selectstart", - "arguments": [ - { - "name": "input_source_id", - "type": "int" - } - ] - }, - { - "name": "select", - "arguments": [ - { - "name": "input_source_id", - "type": "int" - } - ] - }, - { - "name": "selectend", - "arguments": [ - { - "name": "input_source_id", - "type": "int" - } - ] - }, - { - "name": "squeezestart", - "arguments": [ - { - "name": "input_source_id", - "type": "int" - } - ] - }, - { - "name": "squeeze", - "arguments": [ - { - "name": "input_source_id", - "type": "int" - } - ] - }, - { - "name": "squeezeend", - "arguments": [ - { - "name": "input_source_id", - "type": "int" - } - ] - }, - { - "name": "visibility_state_changed" - }, - { - "name": "reference_space_reset" - }, - { - "name": "display_refresh_rate_changed" - } - ], - "properties": [ - { - "type": "String", - "name": "session_mode", - "setter": "set_session_mode", - "getter": "get_session_mode" - }, - { - "type": "String", - "name": "required_features", - "setter": "set_required_features", - "getter": "get_required_features" - }, - { - "type": "String", - "name": "optional_features", - "setter": "set_optional_features", - "getter": "get_optional_features" - }, - { - "type": "String", - "name": "requested_reference_space_types", - "setter": "set_requested_reference_space_types", - "getter": "get_requested_reference_space_types" - }, - { - "type": "String", - "name": "reference_space_type", - "getter": "get_reference_space_type" - }, - { - "type": "String", - "name": "visibility_state", - "getter": "get_visibility_state" - } - ] - }, - { - "name": "Window", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Viewport", - "api_type": "core", - "constants": [ - { - "name": "NOTIFICATION_VISIBILITY_CHANGED", - "value": 30 - }, - { - "name": "NOTIFICATION_THEME_CHANGED", - "value": 32 - } - ], - "enums": [ - { - "name": "Mode", - "is_bitfield": false, - "values": [ - { - "name": "MODE_WINDOWED", - "value": 0 - }, - { - "name": "MODE_MINIMIZED", - "value": 1 - }, - { - "name": "MODE_MAXIMIZED", - "value": 2 - }, - { - "name": "MODE_FULLSCREEN", - "value": 3 - }, - { - "name": "MODE_EXCLUSIVE_FULLSCREEN", - "value": 4 - } - ] - }, - { - "name": "Flags", - "is_bitfield": false, - "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_POPUP", - "value": 5 - }, - { - "name": "FLAG_EXTEND_TO_TITLE", - "value": 6 - }, - { - "name": "FLAG_MOUSE_PASSTHROUGH", - "value": 7 - }, - { - "name": "FLAG_MAX", - "value": 8 - } - ] - }, - { - "name": "ContentScaleMode", - "is_bitfield": false, - "values": [ - { - "name": "CONTENT_SCALE_MODE_DISABLED", - "value": 0 - }, - { - "name": "CONTENT_SCALE_MODE_CANVAS_ITEMS", - "value": 1 - }, - { - "name": "CONTENT_SCALE_MODE_VIEWPORT", - "value": 2 - } - ] - }, - { - "name": "ContentScaleAspect", - "is_bitfield": false, - "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": "ContentScaleStretch", - "is_bitfield": false, - "values": [ - { - "name": "CONTENT_SCALE_STRETCH_FRACTIONAL", - "value": 0 - }, - { - "name": "CONTENT_SCALE_STRETCH_INTEGER", - "value": 1 - } - ] - }, - { - "name": "LayoutDirection", - "is_bitfield": false, - "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": "WindowInitialPosition", - "is_bitfield": false, - "values": [ - { - "name": "WINDOW_INITIAL_POSITION_ABSOLUTE", - "value": 0 - }, - { - "name": "WINDOW_INITIAL_POSITION_CENTER_PRIMARY_SCREEN", - "value": 1 - }, - { - "name": "WINDOW_INITIAL_POSITION_CENTER_MAIN_WINDOW_SCREEN", - "value": 2 - }, - { - "name": "WINDOW_INITIAL_POSITION_CENTER_OTHER_SCREEN", - "value": 3 - }, - { - "name": "WINDOW_INITIAL_POSITION_CENTER_SCREEN_WITH_MOUSE_FOCUS", - "value": 4 - }, - { - "name": "WINDOW_INITIAL_POSITION_CENTER_SCREEN_WITH_KEYBOARD_FOCUS", - "value": 5 - } - ] - } - ], - "methods": [ - { - "name": "_get_contents_minimum_size", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_title", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "title", - "type": "String" - } - ] - }, - { - "name": "get_title", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_window_id", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_initial_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4084468099, - "arguments": [ - { - "name": "initial_position", - "type": "enum::Window.WindowInitialPosition" - } - ] - }, - { - "name": "get_initial_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4294066647, - "return_value": { - "type": "enum::Window.WindowInitialPosition" - } - }, - { - "name": "set_current_screen", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "index", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_current_screen", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "position", - "type": "Vector2i" - } - ] - }, - { - "name": "get_position", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "move_to_center", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "reset_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_position_with_decorations", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "get_size_with_decorations", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_max_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "max_size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_max_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_min_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "min_size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_min_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3095236531, - "arguments": [ - { - "name": "mode", - "type": "enum::Window.Mode" - } - ] - }, - { - "name": "get_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2566346114, - "return_value": { - "type": "enum::Window.Mode" - } - }, - { - "name": "set_flag", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3426449779, - "arguments": [ - { - "name": "flag", - "type": "enum::Window.Flags" - }, - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "get_flag", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3062752289, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "flag", - "type": "enum::Window.Flags" - } - ] - }, - { - "name": "is_maximize_allowed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "request_attention", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "move_to_foreground", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "visible", - "type": "bool" - } - ] - }, - { - "name": "is_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "hide", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "show", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_transient", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "transient", - "type": "bool" - } - ] - }, - { - "name": "is_transient", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_exclusive", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "exclusive", - "type": "bool" - } - ] - }, - { - "name": "is_exclusive", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_unparent_when_invisible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "unparent", - "type": "bool" - } - ] - }, - { - "name": "can_draw", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "has_focus", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "grab_focus", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_ime_active", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "active", - "type": "bool" - } - ] - }, - { - "name": "set_ime_position", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "position", - "type": "Vector2i" - } - ] - }, - { - "name": "is_embedded", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_contents_minimum_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_content_scale_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1130785943, - "arguments": [ - { - "name": "size", - "type": "Vector2i" - } - ] - }, - { - "name": "get_content_scale_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3690982128, - "return_value": { - "type": "Vector2i" - } - }, - { - "name": "set_content_scale_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2937716473, - "arguments": [ - { - "name": "mode", - "type": "enum::Window.ContentScaleMode" - } - ] - }, - { - "name": "get_content_scale_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 161585230, - "return_value": { - "type": "enum::Window.ContentScaleMode" - } - }, - { - "name": "set_content_scale_aspect", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2370399418, - "arguments": [ - { - "name": "aspect", - "type": "enum::Window.ContentScaleAspect" - } - ] - }, - { - "name": "get_content_scale_aspect", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4158790715, - "return_value": { - "type": "enum::Window.ContentScaleAspect" - } - }, - { - "name": "set_content_scale_stretch", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 349355940, - "arguments": [ - { - "name": "stretch", - "type": "enum::Window.ContentScaleStretch" - } - ] - }, - { - "name": "get_content_scale_stretch", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 536857316, - "return_value": { - "type": "enum::Window.ContentScaleStretch" - } - }, - { - "name": "set_keep_title_visible", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "title_visible", - "type": "bool" - } - ] - }, - { - "name": "get_keep_title_visible", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_content_scale_factor", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "factor", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_content_scale_factor", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_use_font_oversampling", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_using_font_oversampling", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_mouse_passthrough_polygon", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1509147220, - "arguments": [ - { - "name": "polygon", - "type": "PackedVector2Array" - } - ] - }, - { - "name": "get_mouse_passthrough_polygon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2961356807, - "return_value": { - "type": "PackedVector2Array" - } - }, - { - "name": "set_wrap_controls", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_wrapping_controls", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "child_controls_changed", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "set_theme", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2326690814, - "arguments": [ - { - "name": "theme", - "type": "Theme" - } - ] - }, - { - "name": "get_theme", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3846893731, - "return_value": { - "type": "Theme" - } - }, - { - "name": "set_theme_type_variation", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "theme_type", - "type": "StringName" - } - ] - }, - { - "name": "get_theme_type_variation", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "begin_bulk_theme_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "end_bulk_theme_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "add_theme_icon_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1373065600, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "texture", - "type": "Texture2D" - } - ] - }, - { - "name": "add_theme_stylebox_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4188838905, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "stylebox", - "type": "StyleBox" - } - ] - }, - { - "name": "add_theme_font_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3518018674, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "font", - "type": "Font" - } - ] - }, - { - "name": "add_theme_font_size_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2415702435, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "font_size", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "add_theme_color_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4260178595, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "color", - "type": "Color" - } - ] - }, - { - "name": "add_theme_constant_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2415702435, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "constant", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "remove_theme_icon_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_stylebox_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_font_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_font_size_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_color_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "remove_theme_constant_override", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_theme_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3163973443, - "hash_compatibility": [ - 2336455395 - ], - "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_static": false, - "is_virtual": false, - "hash": 604739069, - "hash_compatibility": [ - 2759935355 - ], - "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_static": false, - "is_virtual": false, - "hash": 2826986490, - "hash_compatibility": [ - 387378635 - ], - "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_static": false, - "is_virtual": false, - "hash": 1327056374, - "hash_compatibility": [ - 229578101 - ], - "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_static": false, - "is_virtual": false, - "hash": 2798751242, - "hash_compatibility": [ - 2377051548 - ], - "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_static": false, - "is_virtual": false, - "hash": 1327056374, - "hash_compatibility": [ - 229578101 - ], - "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_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_stylebox_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_font_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_font_size_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_color_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_constant_override", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "has_theme_icon", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "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_static": false, - "is_virtual": false, - "hash": 866386512, - "hash_compatibility": [ - 1187511791 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "theme_type", - "type": "StringName", - "default_value": "\"\"" - } - ] - }, - { - "name": "get_theme_default_base_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "get_theme_default_font", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229501585, - "return_value": { - "type": "Font" - } - }, - { - "name": "get_theme_default_font_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "set_layout_direction", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3094704184, - "arguments": [ - { - "name": "direction", - "type": "enum::Window.LayoutDirection" - } - ] - }, - { - "name": "get_layout_direction", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3909617982, - "return_value": { - "type": "enum::Window.LayoutDirection" - } - }, - { - "name": "is_layout_rtl", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_auto_translate", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "is_auto_translating", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "popup", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1680304321, - "arguments": [ - { - "name": "rect", - "type": "Rect2i", - "default_value": "Rect2i(0, 0, 0, 0)" - } - ] - }, - { - "name": "popup_on_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1763793166, - "arguments": [ - { - "name": "parent_rect", - "type": "Rect2i" - } - ] - }, - { - "name": "popup_centered", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3447975422, - "arguments": [ - { - "name": "minsize", - "type": "Vector2i", - "default_value": "Vector2i(0, 0)" - } - ] - }, - { - "name": "popup_centered_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1014814997, - "arguments": [ - { - "name": "ratio", - "type": "float", - "meta": "float", - "default_value": "0.8" - } - ] - }, - { - "name": "popup_centered_clamped", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2613752477, - "arguments": [ - { - "name": "minsize", - "type": "Vector2i", - "default_value": "Vector2i(0, 0)" - }, - { - "name": "fallback_ratio", - "type": "float", - "meta": "float", - "default_value": "0.75" - } - ] - }, - { - "name": "popup_exclusive", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2134721627, - "hash_compatibility": [ - 1728044812 - ], - "arguments": [ - { - "name": "from_node", - "type": "Node" - }, - { - "name": "rect", - "type": "Rect2i", - "default_value": "Rect2i(0, 0, 0, 0)" - } - ] - }, - { - "name": "popup_exclusive_on_parent", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2344671043, - "arguments": [ - { - "name": "from_node", - "type": "Node" - }, - { - "name": "parent_rect", - "type": "Rect2i" - } - ] - }, - { - "name": "popup_exclusive_centered", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3357594017, - "hash_compatibility": [ - 2561668109 - ], - "arguments": [ - { - "name": "from_node", - "type": "Node" - }, - { - "name": "minsize", - "type": "Vector2i", - "default_value": "Vector2i(0, 0)" - } - ] - }, - { - "name": "popup_exclusive_centered_ratio", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2284776287, - "hash_compatibility": [ - 4257659513 - ], - "arguments": [ - { - "name": "from_node", - "type": "Node" - }, - { - "name": "ratio", - "type": "float", - "meta": "float", - "default_value": "0.8" - } - ] - }, - { - "name": "popup_exclusive_centered_clamped", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2612708785, - "hash_compatibility": [ - 224798062 - ], - "arguments": [ - { - "name": "from_node", - "type": "Node" - }, - { - "name": "minsize", - "type": "Vector2i", - "default_value": "Vector2i(0, 0)" - }, - { - "name": "fallback_ratio", - "type": "float", - "meta": "float", - "default_value": "0.75" - } - ] - } - ], - "signals": [ - { - "name": "window_input", - "arguments": [ - { - "name": "event", - "type": "InputEvent" - } - ] - }, - { - "name": "files_dropped", - "arguments": [ - { - "name": "files", - "type": "PackedStringArray" - } - ] - }, - { - "name": "mouse_entered" - }, - { - "name": "mouse_exited" - }, - { - "name": "focus_entered" - }, - { - "name": "focus_exited" - }, - { - "name": "close_requested" - }, - { - "name": "go_back_requested" - }, - { - "name": "visibility_changed" - }, - { - "name": "about_to_popup" - }, - { - "name": "theme_changed" - }, - { - "name": "dpi_changed" - }, - { - "name": "titlebar_changed" - } - ], - "properties": [ - { - "type": "int", - "name": "mode", - "setter": "set_mode", - "getter": "get_mode" - }, - { - "type": "String", - "name": "title", - "setter": "set_title", - "getter": "get_title" - }, - { - "type": "int", - "name": "initial_position", - "setter": "set_initial_position", - "getter": "get_initial_position" - }, - { - "type": "Vector2i", - "name": "position", - "setter": "set_position", - "getter": "get_position" - }, - { - "type": "Vector2i", - "name": "size", - "setter": "set_size", - "getter": "get_size" - }, - { - "type": "int", - "name": "current_screen", - "setter": "set_current_screen", - "getter": "get_current_screen" - }, - { - "type": "PackedVector2Array", - "name": "mouse_passthrough_polygon", - "setter": "set_mouse_passthrough_polygon", - "getter": "get_mouse_passthrough_polygon" - }, - { - "type": "bool", - "name": "visible", - "setter": "set_visible", - "getter": "is_visible" - }, - { - "type": "bool", - "name": "wrap_controls", - "setter": "set_wrap_controls", - "getter": "is_wrapping_controls" - }, - { - "type": "bool", - "name": "transient", - "setter": "set_transient", - "getter": "is_transient" - }, - { - "type": "bool", - "name": "exclusive", - "setter": "set_exclusive", - "getter": "is_exclusive" - }, - { - "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": "bool", - "name": "popup_window", - "setter": "set_flag", - "getter": "get_flag", - "index": 5 - }, - { - "type": "bool", - "name": "extend_to_title", - "setter": "set_flag", - "getter": "get_flag", - "index": 6 - }, - { - "type": "bool", - "name": "mouse_passthrough", - "setter": "set_flag", - "getter": "get_flag", - "index": 7 - }, - { - "type": "Vector2i", - "name": "min_size", - "setter": "set_min_size", - "getter": "get_min_size" - }, - { - "type": "Vector2i", - "name": "max_size", - "setter": "set_max_size", - "getter": "get_max_size" - }, - { - "type": "bool", - "name": "keep_title_visible", - "setter": "set_keep_title_visible", - "getter": "get_keep_title_visible" - }, - { - "type": "Vector2i", - "name": "content_scale_size", - "setter": "set_content_scale_size", - "getter": "get_content_scale_size" - }, - { - "type": "int", - "name": "content_scale_mode", - "setter": "set_content_scale_mode", - "getter": "get_content_scale_mode" - }, - { - "type": "int", - "name": "content_scale_aspect", - "setter": "set_content_scale_aspect", - "getter": "get_content_scale_aspect" - }, - { - "type": "int", - "name": "content_scale_stretch", - "setter": "set_content_scale_stretch", - "getter": "get_content_scale_stretch" - }, - { - "type": "float", - "name": "content_scale_factor", - "setter": "set_content_scale_factor", - "getter": "get_content_scale_factor" - }, - { - "type": "bool", - "name": "auto_translate", - "setter": "set_auto_translate", - "getter": "is_auto_translating" - }, - { - "type": "Theme", - "name": "theme", - "setter": "set_theme", - "getter": "get_theme" - }, - { - "type": "String", - "name": "theme_type_variation", - "setter": "set_theme_type_variation", - "getter": "get_theme_type_variation" - } - ] - }, - { - "name": "WorkerThreadPool", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Object", - "api_type": "core", - "methods": [ - { - "name": "add_task", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3745067146, - "hash_compatibility": [ - 3976347598 - ], - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "action", - "type": "Callable" - }, - { - "name": "high_priority", - "type": "bool", - "default_value": "false" - }, - { - "name": "description", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "is_task_completed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "task_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "wait_for_task_completion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844576869, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "task_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "add_group_task", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1801953219, - "hash_compatibility": [ - 2377228549 - ], - "return_value": { - "type": "int", - "meta": "int64" - }, - "arguments": [ - { - "name": "action", - "type": "Callable" - }, - { - "name": "elements", - "type": "int", - "meta": "int32" - }, - { - "name": "tasks_needed", - "type": "int", - "meta": "int32", - "default_value": "-1" - }, - { - "name": "high_priority", - "type": "bool", - "default_value": "false" - }, - { - "name": "description", - "type": "String", - "default_value": "\"\"" - } - ] - }, - { - "name": "is_group_task_completed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1116898809, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "group_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "get_group_processed_element_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 923996154, - "return_value": { - "type": "int", - "meta": "uint32" - }, - "arguments": [ - { - "name": "group_id", - "type": "int", - "meta": "int64" - } - ] - }, - { - "name": "wait_for_group_task_completion", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1286410249, - "arguments": [ - { - "name": "group_id", - "type": "int", - "meta": "int64" - } - ] - } - ] - }, - { - "name": "World2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_canvas", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_direct_space_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2506717822, - "return_value": { - "type": "PhysicsDirectSpaceState2D" - } - } - ], - "properties": [ - { - "type": "RID", - "name": "canvas", - "getter": "get_canvas" - }, - { - "type": "RID", - "name": "space", - "getter": "get_space" - }, - { - "type": "RID", - "name": "navigation_map", - "getter": "get_navigation_map" - }, - { - "type": "PhysicsDirectSpaceState2D", - "name": "direct_space_state", - "getter": "get_direct_space_state" - } - ] - }, - { - "name": "World3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "get_space", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_navigation_map", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_scenario", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2944877500, - "return_value": { - "type": "RID" - } - }, - { - "name": "set_environment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4143518816, - "arguments": [ - { - "name": "env", - "type": "Environment" - } - ] - }, - { - "name": "get_environment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3082064660, - "return_value": { - "type": "Environment" - } - }, - { - "name": "set_fallback_environment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4143518816, - "arguments": [ - { - "name": "env", - "type": "Environment" - } - ] - }, - { - "name": "get_fallback_environment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3082064660, - "return_value": { - "type": "Environment" - } - }, - { - "name": "set_camera_attributes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2817810567, - "arguments": [ - { - "name": "attributes", - "type": "CameraAttributes" - } - ] - }, - { - "name": "get_camera_attributes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3921283215, - "return_value": { - "type": "CameraAttributes" - } - }, - { - "name": "get_direct_space_state", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2069328350, - "return_value": { - "type": "PhysicsDirectSpaceState3D" - } - } - ], - "properties": [ - { - "type": "Environment", - "name": "environment", - "setter": "set_environment", - "getter": "get_environment" - }, - { - "type": "Environment", - "name": "fallback_environment", - "setter": "set_fallback_environment", - "getter": "get_fallback_environment" - }, - { - "type": "CameraAttributesPractical,CameraAttributesPhysical", - "name": "camera_attributes", - "setter": "set_camera_attributes", - "getter": "get_camera_attributes" - }, - { - "type": "RID", - "name": "space", - "getter": "get_space" - }, - { - "type": "RID", - "name": "navigation_map", - "getter": "get_navigation_map" - }, - { - "type": "RID", - "name": "scenario", - "getter": "get_scenario" - }, - { - "type": "PhysicsDirectSpaceState3D", - "name": "direct_space_state", - "getter": "get_direct_space_state" - } - ] - }, - { - "name": "WorldBoundaryShape2D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape2D", - "api_type": "core", - "methods": [ - { - "name": "set_normal", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 743155724, - "arguments": [ - { - "name": "normal", - "type": "Vector2" - } - ] - }, - { - "name": "get_normal", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3341600327, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "set_distance", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "distance", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_distance", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - } - ], - "properties": [ - { - "type": "Vector2", - "name": "normal", - "setter": "set_normal", - "getter": "get_normal" - }, - { - "type": "float", - "name": "distance", - "setter": "set_distance", - "getter": "get_distance" - } - ] - }, - { - "name": "WorldBoundaryShape3D", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Shape3D", - "api_type": "core", - "methods": [ - { - "name": "set_plane", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3505987427, - "arguments": [ - { - "name": "plane", - "type": "Plane" - } - ] - }, - { - "name": "get_plane", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2753500971, - "return_value": { - "type": "Plane" - } - } - ], - "properties": [ - { - "type": "Plane", - "name": "plane", - "setter": "set_plane", - "getter": "get_plane" - } - ] - }, - { - "name": "WorldEnvironment", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Node", - "api_type": "core", - "methods": [ - { - "name": "set_environment", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4143518816, - "arguments": [ - { - "name": "env", - "type": "Environment" - } - ] - }, - { - "name": "get_environment", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3082064660, - "return_value": { - "type": "Environment" - } - }, - { - "name": "set_camera_attributes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2817810567, - "arguments": [ - { - "name": "camera_attributes", - "type": "CameraAttributes" - } - ] - }, - { - "name": "get_camera_attributes", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3921283215, - "return_value": { - "type": "CameraAttributes" - } - } - ], - "properties": [ - { - "type": "Environment", - "name": "environment", - "setter": "set_environment", - "getter": "get_environment" - }, - { - "type": "CameraAttributesPractical,CameraAttributesPhysical", - "name": "camera_attributes", - "setter": "set_camera_attributes", - "getter": "get_camera_attributes" - } - ] - }, - { - "name": "X509Certificate", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "Resource", - "api_type": "core", - "methods": [ - { - "name": "save", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "load", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "save_to_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2841200299, - "return_value": { - "type": "String" - } - }, - { - "name": "load_from_string", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "string", - "type": "String" - } - ] - } - ] - }, - { - "name": "XMLParser", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "NodeType", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "get_node_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2984359541, - "return_value": { - "type": "enum::XMLParser.NodeType" - } - }, - { - "name": "get_node_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_node_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "get_node_offset", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint64" - } - }, - { - "name": "get_attribute_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "get_attribute_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_attribute_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844755477, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "has_attribute", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3927539163, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_named_attribute_value", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "get_named_attribute_value_safe", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3135753539, - "return_value": { - "type": "String" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "is_empty", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_current_line", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "skip_section", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "seek", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 844576869, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "position", - "type": "int", - "meta": "uint64" - } - ] - }, - { - "name": "open", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "file", - "type": "String" - } - ] - }, - { - "name": "open_buffer", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "buffer", - "type": "PackedByteArray" - } - ] - } - ] - }, - { - "name": "XRAnchor3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "XRNode3D", - "api_type": "core", - "methods": [ - { - "name": "get_size", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "get_plane", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2753500971, - "return_value": { - "type": "Plane" - } - } - ] - }, - { - "name": "XRCamera3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Camera3D", - "api_type": "core" - }, - { - "name": "XRController3D", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "XRNode3D", - "api_type": "core", - "methods": [ - { - "name": "is_button_pressed", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_input", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_float", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2349060816, - "return_value": { - "type": "float", - "meta": "float" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_vector2", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3100822709, - "return_value": { - "type": "Vector2" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_tracker_hand", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4181770860, - "return_value": { - "type": "enum::XRPositionalTracker.TrackerHand" - } - } - ], - "signals": [ - { - "name": "button_pressed", - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "button_released", - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "input_float_changed", - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "input_vector2_changed", - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "value", - "type": "Vector2" - } - ] - } - ] - }, - { - "name": "XRInterface", - "is_refcounted": true, - "is_instantiable": false, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "Capabilities", - "is_bitfield": false, - "values": [ - { - "name": "XR_NONE", - "value": 0 - }, - { - "name": "XR_MONO", - "value": 1 - }, - { - "name": "XR_STEREO", - "value": 2 - }, - { - "name": "XR_QUAD", - "value": 4 - }, - { - "name": "XR_VR", - "value": 8 - }, - { - "name": "XR_AR", - "value": 16 - }, - { - "name": "XR_EXTERNAL", - "value": 32 - } - ] - }, - { - "name": "TrackingStatus", - "is_bitfield": false, - "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": "PlayAreaMode", - "is_bitfield": false, - "values": [ - { - "name": "XR_PLAY_AREA_UNKNOWN", - "value": 0 - }, - { - "name": "XR_PLAY_AREA_3DOF", - "value": 1 - }, - { - "name": "XR_PLAY_AREA_SITTING", - "value": 2 - }, - { - "name": "XR_PLAY_AREA_ROOMSCALE", - "value": 3 - }, - { - "name": "XR_PLAY_AREA_STAGE", - "value": 4 - } - ] - }, - { - "name": "EnvironmentBlendMode", - "is_bitfield": false, - "values": [ - { - "name": "XR_ENV_BLEND_MODE_OPAQUE", - "value": 0 - }, - { - "name": "XR_ENV_BLEND_MODE_ADDITIVE", - "value": 1 - }, - { - "name": "XR_ENV_BLEND_MODE_ALPHA_BLEND", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "get_capabilities", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "is_primary", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_primary", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "primary", - "type": "bool" - } - ] - }, - { - "name": "is_initialized", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "initialize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "uninitialize", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_system_info", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2382534195, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "get_tracking_status", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 167423259, - "return_value": { - "type": "enum::XRInterface.TrackingStatus" - } - }, - { - "name": "get_render_target_size", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1497962370, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "get_view_count", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "trigger_haptic_pulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3752640163, - "arguments": [ - { - "name": "action_name", - "type": "String" - }, - { - "name": "tracker_name", - "type": "StringName" - }, - { - "name": "frequency", - "type": "float", - "meta": "double" - }, - { - "name": "amplitude", - "type": "float", - "meta": "double" - }, - { - "name": "duration_sec", - "type": "float", - "meta": "double" - }, - { - "name": "delay_sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "supports_play_area_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3429955281, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::XRInterface.PlayAreaMode" - } - ] - }, - { - "name": "get_play_area_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1615132885, - "return_value": { - "type": "enum::XRInterface.PlayAreaMode" - } - }, - { - "name": "set_play_area_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3429955281, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::XRInterface.PlayAreaMode" - } - ] - }, - { - "name": "get_play_area", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 497664490, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "get_anchor_detection_is_enabled", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_anchor_detection_is_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enable", - "type": "bool" - } - ] - }, - { - "name": "get_camera_feed_id", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2455072627, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "is_passthrough_supported", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "is_passthrough_enabled", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "start_passthrough", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2240911060, - "return_value": { - "type": "bool" - } - }, - { - "name": "stop_passthrough", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3218959716 - }, - { - "name": "get_transform_for_view", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 518934792, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "view", - "type": "int", - "meta": "uint32" - }, - { - "name": "cam_transform", - "type": "Transform3D" - } - ] - }, - { - "name": "get_projection_for_view", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3766090294, - "return_value": { - "type": "Projection" - }, - "arguments": [ - { - "name": "view", - "type": "int", - "meta": "uint32" - }, - { - "name": "aspect", - "type": "float", - "meta": "double" - }, - { - "name": "near", - "type": "float", - "meta": "double" - }, - { - "name": "far", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_supported_environment_blend_modes", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2915620761, - "return_value": { - "type": "Array" - } - }, - { - "name": "set_environment_blend_mode", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 551152418, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::XRInterface.EnvironmentBlendMode" - } - ] - }, - { - "name": "get_environment_blend_mode", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1984334071, - "return_value": { - "type": "enum::XRInterface.EnvironmentBlendMode" - } - } - ], - "signals": [ - { - "name": "play_area_changed", - "arguments": [ - { - "name": "mode", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "bool", - "name": "interface_is_primary", - "setter": "set_primary", - "getter": "is_primary" - }, - { - "type": "int", - "name": "xr_play_area_mode", - "setter": "set_play_area_mode", - "getter": "get_play_area_mode" - }, - { - "type": "int", - "name": "environment_blend_mode", - "setter": "set_environment_blend_mode", - "getter": "get_environment_blend_mode" - }, - { - "type": "bool", - "name": "ar_is_anchor_detection_enabled", - "setter": "set_anchor_detection_is_enabled", - "getter": "get_anchor_detection_is_enabled" - } - ] - }, - { - "name": "XRInterfaceExtension", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "XRInterface", - "api_type": "core", - "methods": [ - { - "name": "_get_name", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "StringName" - } - }, - { - "name": "_get_capabilities", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "_is_initialized", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_initialize", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_uninitialize", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_system_info", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Dictionary" - } - }, - { - "name": "_supports_play_area_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::XRInterface.PlayAreaMode" - } - ] - }, - { - "name": "_get_play_area_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::XRInterface.PlayAreaMode" - } - }, - { - "name": "_set_play_area_mode", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "mode", - "type": "enum::XRInterface.PlayAreaMode" - } - ] - }, - { - "name": "_get_play_area", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedVector3Array" - } - }, - { - "name": "_get_render_target_size", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Vector2" - } - }, - { - "name": "_get_view_count", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "uint32" - } - }, - { - "name": "_get_camera_transform", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "_get_transform_for_view", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "Transform3D" - }, - "arguments": [ - { - "name": "view", - "type": "int", - "meta": "uint32" - }, - { - "name": "cam_transform", - "type": "Transform3D" - } - ] - }, - { - "name": "_get_projection_for_view", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedFloat64Array" - }, - "arguments": [ - { - "name": "view", - "type": "int", - "meta": "uint32" - }, - { - "name": "aspect", - "type": "float", - "meta": "double" - }, - { - "name": "z_near", - "type": "float", - "meta": "double" - }, - { - "name": "z_far", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_get_vrs_texture", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_process", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_pre_render", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_pre_draw_viewport", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "render_target", - "type": "RID" - } - ] - }, - { - "name": "_post_draw_viewport", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "render_target", - "type": "RID" - }, - { - "name": "screen_rect", - "type": "Rect2" - } - ] - }, - { - "name": "_end_frame", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true - }, - { - "name": "_get_suggested_tracker_names", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "_get_suggested_pose_names", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "PackedStringArray" - }, - "arguments": [ - { - "name": "tracker_name", - "type": "StringName" - } - ] - }, - { - "name": "_get_tracking_status", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "enum::XRInterface.TrackingStatus" - } - }, - { - "name": "_trigger_haptic_pulse", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "action_name", - "type": "String" - }, - { - "name": "tracker_name", - "type": "StringName" - }, - { - "name": "frequency", - "type": "float", - "meta": "double" - }, - { - "name": "amplitude", - "type": "float", - "meta": "double" - }, - { - "name": "duration_sec", - "type": "float", - "meta": "double" - }, - { - "name": "delay_sec", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "_get_anchor_detection_is_enabled", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "bool" - } - }, - { - "name": "_set_anchor_detection_is_enabled", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "_get_camera_feed_id", - "is_const": true, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "_get_color_texture", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_get_depth_texture", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "_get_velocity_texture", - "is_const": false, - "is_static": false, - "is_vararg": false, - "is_virtual": true, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_color_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_depth_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "get_velocity_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 529393457, - "return_value": { - "type": "RID" - } - }, - { - "name": "add_blit", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 258596971, - "arguments": [ - { - "name": "render_target", - "type": "RID" - }, - { - "name": "src_rect", - "type": "Rect2" - }, - { - "name": "dst_rect", - "type": "Rect2i" - }, - { - "name": "use_layer", - "type": "bool" - }, - { - "name": "layer", - "type": "int", - "meta": "uint32" - }, - { - "name": "apply_lens_distortion", - "type": "bool" - }, - { - "name": "eye_center", - "type": "Vector2" - }, - { - "name": "k1", - "type": "float", - "meta": "double" - }, - { - "name": "k2", - "type": "float", - "meta": "double" - }, - { - "name": "upscale", - "type": "float", - "meta": "double" - }, - { - "name": "aspect_ratio", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_render_target_texture", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 41030802, - "return_value": { - "type": "RID" - }, - "arguments": [ - { - "name": "render_target", - "type": "RID" - } - ] - } - ] - }, - { - "name": "XRNode3D", - "is_refcounted": false, - "is_instantiable": false, - "inherits": "Node3D", - "api_type": "core", - "methods": [ - { - "name": "set_tracker", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "tracker_name", - "type": "StringName" - } - ] - }, - { - "name": "get_tracker", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_pose_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "pose", - "type": "StringName" - } - ] - }, - { - "name": "get_pose_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "get_is_active", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_has_tracking_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "get_pose", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2806551826, - "return_value": { - "type": "XRPose" - } - }, - { - "name": "trigger_haptic_pulse", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 508576839, - "arguments": [ - { - "name": "action_name", - "type": "String" - }, - { - "name": "frequency", - "type": "float", - "meta": "double" - }, - { - "name": "amplitude", - "type": "float", - "meta": "double" - }, - { - "name": "duration_sec", - "type": "float", - "meta": "double" - }, - { - "name": "delay_sec", - "type": "float", - "meta": "double" - } - ] - } - ], - "signals": [ - { - "name": "tracking_changed", - "arguments": [ - { - "name": "tracking", - "type": "bool" - } - ] - } - ], - "properties": [ - { - "type": "String", - "name": "tracker", - "setter": "set_tracker", - "getter": "get_tracker" - }, - { - "type": "String", - "name": "pose", - "setter": "set_pose_name", - "getter": "get_pose_name" - } - ] - }, - { - "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_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "world_scale", - "type": "float", - "meta": "float" - } - ] - }, - { - "name": "get_world_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "float" - } - }, - { - "name": "set_current", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "enabled", - "type": "bool" - } - ] - }, - { - "name": "is_current", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - } - ], - "properties": [ - { - "type": "float", - "name": "world_scale", - "setter": "set_world_scale", - "getter": "get_world_scale" - }, - { - "type": "bool", - "name": "current", - "setter": "set_current", - "getter": "is_current" - } - ] - }, - { - "name": "XRPose", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "TrackingConfidence", - "is_bitfield": false, - "values": [ - { - "name": "XR_TRACKING_CONFIDENCE_NONE", - "value": 0 - }, - { - "name": "XR_TRACKING_CONFIDENCE_LOW", - "value": 1 - }, - { - "name": "XR_TRACKING_CONFIDENCE_HIGH", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "set_has_tracking_data", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2586408642, - "arguments": [ - { - "name": "has_tracking_data", - "type": "bool" - } - ] - }, - { - "name": "get_has_tracking_data", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 36873697, - "return_value": { - "type": "bool" - } - }, - { - "name": "set_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "transform", - "type": "Transform3D" - } - ] - }, - { - "name": "get_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "get_adjusted_transform", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "set_linear_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_linear_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_angular_velocity", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3460891852, - "arguments": [ - { - "name": "velocity", - "type": "Vector3" - } - ] - }, - { - "name": "get_angular_velocity", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3360562783, - "return_value": { - "type": "Vector3" - } - }, - { - "name": "set_tracking_confidence", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4171656666, - "arguments": [ - { - "name": "tracking_confidence", - "type": "enum::XRPose.TrackingConfidence" - } - ] - }, - { - "name": "get_tracking_confidence", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2064923680, - "return_value": { - "type": "enum::XRPose.TrackingConfidence" - } - } - ], - "properties": [ - { - "type": "bool", - "name": "has_tracking_data", - "setter": "set_has_tracking_data", - "getter": "get_has_tracking_data" - }, - { - "type": "String", - "name": "name", - "setter": "set_name", - "getter": "get_name" - }, - { - "type": "String", - "name": "transform", - "setter": "set_transform", - "getter": "get_transform" - }, - { - "type": "String", - "name": "linear_velocity", - "setter": "set_linear_velocity", - "getter": "get_linear_velocity" - }, - { - "type": "String", - "name": "angular_velocity", - "setter": "set_angular_velocity", - "getter": "get_angular_velocity" - }, - { - "type": "int", - "name": "tracking_confidence", - "setter": "set_tracking_confidence", - "getter": "get_tracking_confidence" - } - ] - }, - { - "name": "XRPositionalTracker", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "TrackerHand", - "is_bitfield": false, - "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_static": false, - "is_virtual": false, - "hash": 2784508102, - "return_value": { - "type": "enum::XRServer.TrackerType" - } - }, - { - "name": "set_tracker_type", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3055763575, - "arguments": [ - { - "name": "type", - "type": "enum::XRServer.TrackerType" - } - ] - }, - { - "name": "get_tracker_name", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2002593661, - "return_value": { - "type": "StringName" - } - }, - { - "name": "set_tracker_name", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_tracker_desc", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_tracker_desc", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "description", - "type": "String" - } - ] - }, - { - "name": "get_tracker_profile", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 201670096, - "return_value": { - "type": "String" - } - }, - { - "name": "set_tracker_profile", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 83702148, - "arguments": [ - { - "name": "profile", - "type": "String" - } - ] - }, - { - "name": "get_tracker_hand", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4181770860, - "return_value": { - "type": "enum::XRPositionalTracker.TrackerHand" - } - }, - { - "name": "set_tracker_hand", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3904108980, - "arguments": [ - { - "name": "hand", - "type": "enum::XRPositionalTracker.TrackerHand" - } - ] - }, - { - "name": "has_pose", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2619796661, - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "get_pose", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4099720006, - "return_value": { - "type": "XRPose" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "invalidate_pose", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3304788590, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "set_pose", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3451230163, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "transform", - "type": "Transform3D" - }, - { - "name": "linear_velocity", - "type": "Vector3" - }, - { - "name": "angular_velocity", - "type": "Vector3" - }, - { - "name": "tracking_confidence", - "type": "enum::XRPose.TrackingConfidence" - } - ] - }, - { - "name": "get_input", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2760726917, - "return_value": { - "type": "Variant" - }, - "arguments": [ - { - "name": "name", - "type": "StringName" - } - ] - }, - { - "name": "set_input", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3776071444, - "arguments": [ - { - "name": "name", - "type": "StringName" - }, - { - "name": "value", - "type": "Variant" - } - ] - } - ], - "signals": [ - { - "name": "pose_changed", - "arguments": [ - { - "name": "pose", - "type": "XRPose" - } - ] - }, - { - "name": "pose_lost_tracking", - "arguments": [ - { - "name": "pose", - "type": "XRPose" - } - ] - }, - { - "name": "button_pressed", - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "button_released", - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "input_float_changed", - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "value", - "type": "float" - } - ] - }, - { - "name": "input_vector2_changed", - "arguments": [ - { - "name": "name", - "type": "String" - }, - { - "name": "vector", - "type": "Vector2" - } - ] - }, - { - "name": "profile_changed", - "arguments": [ - { - "name": "role", - "type": "String" - } - ] - } - ], - "properties": [ - { - "type": "int", - "name": "type", - "setter": "set_tracker_type", - "getter": "get_tracker_type" - }, - { - "type": "String", - "name": "name", - "setter": "set_tracker_name", - "getter": "get_tracker_name" - }, - { - "type": "String", - "name": "description", - "setter": "set_tracker_desc", - "getter": "get_tracker_desc" - }, - { - "type": "String", - "name": "profile", - "setter": "set_tracker_profile", - "getter": "get_tracker_profile" - }, - { - "type": "int", - "name": "hand", - "setter": "set_tracker_hand", - "getter": "get_tracker_hand" - } - ] - }, - { - "name": "XRServer", - "is_refcounted": false, - "is_instantiable": true, - "inherits": "Object", - "api_type": "core", - "enums": [ - { - "name": "TrackerType", - "is_bitfield": false, - "values": [ - { - "name": "TRACKER_HEAD", - "value": 1 - }, - { - "name": "TRACKER_CONTROLLER", - "value": 2 - }, - { - "name": "TRACKER_BASESTATION", - "value": 4 - }, - { - "name": "TRACKER_ANCHOR", - "value": 8 - }, - { - "name": "TRACKER_ANY_KNOWN", - "value": 127 - }, - { - "name": "TRACKER_UNKNOWN", - "value": 128 - }, - { - "name": "TRACKER_ANY", - "value": 255 - } - ] - }, - { - "name": "RotationMode", - "is_bitfield": false, - "values": [ - { - "name": "RESET_FULL_ROTATION", - "value": 0 - }, - { - "name": "RESET_BUT_KEEP_TILT", - "value": 1 - }, - { - "name": "DONT_RESET_ROTATION", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "get_world_scale", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1740695150, - "return_value": { - "type": "float", - "meta": "double" - } - }, - { - "name": "set_world_scale", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 373806689, - "arguments": [ - { - "name": "scale", - "type": "float", - "meta": "double" - } - ] - }, - { - "name": "get_world_origin", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "set_world_origin", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2952846383, - "arguments": [ - { - "name": "world_origin", - "type": "Transform3D" - } - ] - }, - { - "name": "get_reference_frame", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3229777777, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "center_on_hmd", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1450904707, - "arguments": [ - { - "name": "rotation_mode", - "type": "enum::XRServer.RotationMode" - }, - { - "name": "keep_height", - "type": "bool" - } - ] - }, - { - "name": "get_hmd_transform", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4183770049, - "return_value": { - "type": "Transform3D" - } - }, - { - "name": "add_interface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1898711491, - "arguments": [ - { - "name": "interface", - "type": "XRInterface" - } - ] - }, - { - "name": "get_interface_count", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3905245786, - "return_value": { - "type": "int", - "meta": "int32" - } - }, - { - "name": "remove_interface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1898711491, - "arguments": [ - { - "name": "interface", - "type": "XRInterface" - } - ] - }, - { - "name": "get_interface", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 4237347919, - "return_value": { - "type": "XRInterface" - }, - "arguments": [ - { - "name": "idx", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_interfaces", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3995934104, - "return_value": { - "type": "typedarray::Dictionary" - } - }, - { - "name": "find_interface", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1395192955, - "return_value": { - "type": "XRInterface" - }, - "arguments": [ - { - "name": "name", - "type": "String" - } - ] - }, - { - "name": "add_tracker", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2692800323, - "arguments": [ - { - "name": "tracker", - "type": "XRPositionalTracker" - } - ] - }, - { - "name": "remove_tracker", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2692800323, - "arguments": [ - { - "name": "tracker", - "type": "XRPositionalTracker" - } - ] - }, - { - "name": "get_trackers", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 3554694381, - "return_value": { - "type": "Dictionary" - }, - "arguments": [ - { - "name": "tracker_types", - "type": "int", - "meta": "int32" - } - ] - }, - { - "name": "get_tracker", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2742084544, - "return_value": { - "type": "XRPositionalTracker" - }, - "arguments": [ - { - "name": "tracker_name", - "type": "StringName" - } - ] - }, - { - "name": "get_primary_interface", - "is_const": true, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2143545064, - "return_value": { - "type": "XRInterface" - } - }, - { - "name": "set_primary_interface", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1898711491, - "arguments": [ - { - "name": "interface", - "type": "XRInterface" - } - ] - } - ], - "signals": [ - { - "name": "interface_added", - "arguments": [ - { - "name": "interface_name", - "type": "StringName" - } - ] - }, - { - "name": "interface_removed", - "arguments": [ - { - "name": "interface_name", - "type": "StringName" - } - ] - }, - { - "name": "tracker_added", - "arguments": [ - { - "name": "tracker_name", - "type": "StringName" - }, - { - "name": "type", - "type": "int" - } - ] - }, - { - "name": "tracker_updated", - "arguments": [ - { - "name": "tracker_name", - "type": "StringName" - }, - { - "name": "type", - "type": "int" - } - ] - }, - { - "name": "tracker_removed", - "arguments": [ - { - "name": "tracker_name", - "type": "StringName" - }, - { - "name": "type", - "type": "int" - } - ] - } - ], - "properties": [ - { - "type": "float", - "name": "world_scale", - "setter": "set_world_scale", - "getter": "get_world_scale" - }, - { - "type": "Vector3", - "name": "world_origin", - "setter": "set_world_origin", - "getter": "get_world_origin" - }, - { - "type": "Object", - "name": "primary_interface", - "setter": "set_primary_interface", - "getter": "get_primary_interface" - } - ] - }, - { - "name": "ZIPPacker", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "enums": [ - { - "name": "ZipAppend", - "is_bitfield": false, - "values": [ - { - "name": "APPEND_CREATE", - "value": 0 - }, - { - "name": "APPEND_CREATEAFTER", - "value": 1 - }, - { - "name": "APPEND_ADDINZIP", - "value": 2 - } - ] - } - ], - "methods": [ - { - "name": "open", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 1936816515, - "hash_compatibility": [ - 3715508516 - ], - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "append", - "type": "enum::ZIPPacker.ZipAppend", - "default_value": "0" - } - ] - }, - { - "name": "start_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "write_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 680677267, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "data", - "type": "PackedByteArray" - } - ] - }, - { - "name": "close_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "close", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - } - ] - }, - { - "name": "ZIPReader", - "is_refcounted": true, - "is_instantiable": true, - "inherits": "RefCounted", - "api_type": "core", - "methods": [ - { - "name": "open", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166001499, - "return_value": { - "type": "enum::Error" - }, - "arguments": [ - { - "name": "path", - "type": "String" - } - ] - }, - { - "name": "close", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 166280745, - "return_value": { - "type": "enum::Error" - } - }, - { - "name": "get_files", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 2981934095, - "return_value": { - "type": "PackedStringArray" - } - }, - { - "name": "read_file", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 740857591, - "hash_compatibility": [ - 156385007 - ], - "return_value": { - "type": "PackedByteArray" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "case_sensitive", - "type": "bool", - "default_value": "true" - } - ] - }, - { - "name": "file_exists", - "is_const": false, - "is_vararg": false, - "is_static": false, - "is_virtual": false, - "hash": 35364943, - "hash_compatibility": [ - 1676256 - ], - "return_value": { - "type": "bool" - }, - "arguments": [ - { - "name": "path", - "type": "String" - }, - { - "name": "case_sensitive", - "type": "bool", - "default_value": "true" - } - ] - } - ] - } - ], - "singletons": [ - { - "name": "Performance", - "type": "Performance" - }, - { - "name": "TextServerManager", - "type": "TextServerManager" - }, - { - "name": "PhysicsServer2DManager", - "type": "PhysicsServer2DManager" - }, - { - "name": "PhysicsServer3DManager", - "type": "PhysicsServer3DManager" - }, - { - "name": "NavigationMeshGenerator", - "type": "NavigationMeshGenerator" - }, - { - "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": "GDExtensionManager", - "type": "GDExtensionManager" - }, - { - "name": "ResourceUID", - "type": "ResourceUID" - }, - { - "name": "WorkerThreadPool", - "type": "WorkerThreadPool" - }, - { - "name": "ThemeDB", - "type": "ThemeDB" - }, - { - "name": "EditorInterface", - "type": "EditorInterface" - }, - { - "name": "JavaClassWrapper", - "type": "JavaClassWrapper" - }, - { - "name": "JavaScriptBridge", - "type": "JavaScriptBridge" - }, - { - "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": "XRServer", - "type": "XRServer" - }, - { - "name": "CameraServer", - "type": "CameraServer" - } - ], - "native_structures": [ - { - "name": "AudioFrame", - "format": "float left;float right" - }, - { - "name": "CaretInfo", - "format": "Rect2 leading_caret;Rect2 trailing_caret;TextServer::Direction leading_direction;TextServer::Direction trailing_direction" - }, - { - "name": "Glyph", - "format": "int start = -1;int end = -1;uint8_t count = 0;uint8_t repeat = 1;uint16_t flags = 0;float x_off = 0.f;float y_off = 0.f;float advance = 0.f;RID font_rid;int font_size = 0;int32_t index = 0" - }, - { - "name": "ObjectID", - "format": "uint64_t id = 0" - }, - { - "name": "PhysicsServer2DExtensionMotionResult", - "format": "Vector2 travel;Vector2 remainder;Vector2 collision_point;Vector2 collision_normal;Vector2 collider_velocity;real_t collision_depth;real_t collision_safe_fraction;real_t collision_unsafe_fraction;int collision_local_shape;ObjectID collider_id;RID collider;int collider_shape" - }, - { - "name": "PhysicsServer2DExtensionRayResult", - "format": "Vector2 position;Vector2 normal;RID rid;ObjectID collider_id;Object *collider;int shape" - }, - { - "name": "PhysicsServer2DExtensionShapeRestInfo", - "format": "Vector2 point;Vector2 normal;RID rid;ObjectID collider_id;int shape;Vector2 linear_velocity" - }, - { - "name": "PhysicsServer2DExtensionShapeResult", - "format": "RID rid;ObjectID collider_id;Object *collider;int shape" - }, - { - "name": "PhysicsServer3DExtensionMotionCollision", - "format": "Vector3 position;Vector3 normal;Vector3 collider_velocity;Vector3 collider_angular_velocity;real_t depth;int local_shape;ObjectID collider_id;RID collider;int collider_shape" - }, - { - "name": "PhysicsServer3DExtensionMotionResult", - "format": "Vector3 travel;Vector3 remainder;real_t collision_depth;real_t collision_safe_fraction;real_t collision_unsafe_fraction;PhysicsServer3DExtensionMotionCollision collisions[32];int collision_count" - }, - { - "name": "PhysicsServer3DExtensionRayResult", - "format": "Vector3 position;Vector3 normal;RID rid;ObjectID collider_id;Object *collider;int shape;int face_index" - }, - { - "name": "PhysicsServer3DExtensionShapeRestInfo", - "format": "Vector3 point;Vector3 normal;RID rid;ObjectID collider_id;int shape;Vector3 linear_velocity" - }, - { - "name": "PhysicsServer3DExtensionShapeResult", - "format": "RID rid;ObjectID collider_id;Object *collider;int shape" - }, - { - "name": "ScriptLanguageExtensionProfilingInfo", - "format": "StringName signature;uint64_t call_count;uint64_t total_time;uint64_t self_time" - } - ] -} diff --git a/thirdparty/godot-cpp/gdextension/gdextension_interface.h b/thirdparty/godot-cpp/gdextension/gdextension_interface.h deleted file mode 100644 index 60ec8d4..0000000 --- a/thirdparty/godot-cpp/gdextension/gdextension_interface.h +++ /dev/null @@ -1,2842 +0,0 @@ -/**************************************************************************/ -/* gdextension_interface.h */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 GDEXTENSION_INTERFACE_H -#define GDEXTENSION_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 - -#ifndef __cplusplus -typedef uint32_t char32_t; -typedef uint16_t char16_t; -#endif - -#ifdef __cplusplus -extern "C" { -#endif - -/* VARIANT TYPES */ - -typedef enum { - GDEXTENSION_VARIANT_TYPE_NIL, - - /* atomic types */ - GDEXTENSION_VARIANT_TYPE_BOOL, - GDEXTENSION_VARIANT_TYPE_INT, - GDEXTENSION_VARIANT_TYPE_FLOAT, - GDEXTENSION_VARIANT_TYPE_STRING, - - /* math types */ - GDEXTENSION_VARIANT_TYPE_VECTOR2, - GDEXTENSION_VARIANT_TYPE_VECTOR2I, - GDEXTENSION_VARIANT_TYPE_RECT2, - GDEXTENSION_VARIANT_TYPE_RECT2I, - GDEXTENSION_VARIANT_TYPE_VECTOR3, - GDEXTENSION_VARIANT_TYPE_VECTOR3I, - GDEXTENSION_VARIANT_TYPE_TRANSFORM2D, - GDEXTENSION_VARIANT_TYPE_VECTOR4, - GDEXTENSION_VARIANT_TYPE_VECTOR4I, - GDEXTENSION_VARIANT_TYPE_PLANE, - GDEXTENSION_VARIANT_TYPE_QUATERNION, - GDEXTENSION_VARIANT_TYPE_AABB, - GDEXTENSION_VARIANT_TYPE_BASIS, - GDEXTENSION_VARIANT_TYPE_TRANSFORM3D, - GDEXTENSION_VARIANT_TYPE_PROJECTION, - - /* misc types */ - GDEXTENSION_VARIANT_TYPE_COLOR, - GDEXTENSION_VARIANT_TYPE_STRING_NAME, - GDEXTENSION_VARIANT_TYPE_NODE_PATH, - GDEXTENSION_VARIANT_TYPE_RID, - GDEXTENSION_VARIANT_TYPE_OBJECT, - GDEXTENSION_VARIANT_TYPE_CALLABLE, - GDEXTENSION_VARIANT_TYPE_SIGNAL, - GDEXTENSION_VARIANT_TYPE_DICTIONARY, - GDEXTENSION_VARIANT_TYPE_ARRAY, - - /* typed arrays */ - GDEXTENSION_VARIANT_TYPE_PACKED_BYTE_ARRAY, - GDEXTENSION_VARIANT_TYPE_PACKED_INT32_ARRAY, - GDEXTENSION_VARIANT_TYPE_PACKED_INT64_ARRAY, - GDEXTENSION_VARIANT_TYPE_PACKED_FLOAT32_ARRAY, - GDEXTENSION_VARIANT_TYPE_PACKED_FLOAT64_ARRAY, - GDEXTENSION_VARIANT_TYPE_PACKED_STRING_ARRAY, - GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR2_ARRAY, - GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR3_ARRAY, - GDEXTENSION_VARIANT_TYPE_PACKED_COLOR_ARRAY, - - GDEXTENSION_VARIANT_TYPE_VARIANT_MAX -} GDExtensionVariantType; - -typedef enum { - /* comparison */ - GDEXTENSION_VARIANT_OP_EQUAL, - GDEXTENSION_VARIANT_OP_NOT_EQUAL, - GDEXTENSION_VARIANT_OP_LESS, - GDEXTENSION_VARIANT_OP_LESS_EQUAL, - GDEXTENSION_VARIANT_OP_GREATER, - GDEXTENSION_VARIANT_OP_GREATER_EQUAL, - - /* mathematic */ - GDEXTENSION_VARIANT_OP_ADD, - GDEXTENSION_VARIANT_OP_SUBTRACT, - GDEXTENSION_VARIANT_OP_MULTIPLY, - GDEXTENSION_VARIANT_OP_DIVIDE, - GDEXTENSION_VARIANT_OP_NEGATE, - GDEXTENSION_VARIANT_OP_POSITIVE, - GDEXTENSION_VARIANT_OP_MODULE, - GDEXTENSION_VARIANT_OP_POWER, - - /* bitwise */ - GDEXTENSION_VARIANT_OP_SHIFT_LEFT, - GDEXTENSION_VARIANT_OP_SHIFT_RIGHT, - GDEXTENSION_VARIANT_OP_BIT_AND, - GDEXTENSION_VARIANT_OP_BIT_OR, - GDEXTENSION_VARIANT_OP_BIT_XOR, - GDEXTENSION_VARIANT_OP_BIT_NEGATE, - - /* logic */ - GDEXTENSION_VARIANT_OP_AND, - GDEXTENSION_VARIANT_OP_OR, - GDEXTENSION_VARIANT_OP_XOR, - GDEXTENSION_VARIANT_OP_NOT, - - /* containment */ - GDEXTENSION_VARIANT_OP_IN, - GDEXTENSION_VARIANT_OP_MAX - -} GDExtensionVariantOperator; - -// In this API there are multiple functions which expect the caller to pass a pointer -// on return value as parameter. -// In order to make it clear if the caller should initialize the return value or not -// we have two flavor of types: -// - `GDExtensionXXXPtr` for pointer on an initialized value -// - `GDExtensionUninitializedXXXPtr` for pointer on uninitialized value -// -// Notes: -// - Not respecting those requirements can seems harmless, but will lead to unexpected -// segfault or memory leak (for instance with a specific compiler/OS, or when two -// native extensions start doing ptrcall on each other). -// - Initialization must be done with the function pointer returned by `variant_get_ptr_constructor`, -// zero-initializing the variable should not be considered a valid initialization method here ! -// - Some types have no destructor (see `extension_api.json`'s `has_destructor` field), for -// them it is always safe to skip the constructor for the return value if you are in a hurry ;-) - -typedef void *GDExtensionVariantPtr; -typedef const void *GDExtensionConstVariantPtr; -typedef void *GDExtensionUninitializedVariantPtr; -typedef void *GDExtensionStringNamePtr; -typedef const void *GDExtensionConstStringNamePtr; -typedef void *GDExtensionUninitializedStringNamePtr; -typedef void *GDExtensionStringPtr; -typedef const void *GDExtensionConstStringPtr; -typedef void *GDExtensionUninitializedStringPtr; -typedef void *GDExtensionObjectPtr; -typedef const void *GDExtensionConstObjectPtr; -typedef void *GDExtensionUninitializedObjectPtr; -typedef void *GDExtensionTypePtr; -typedef const void *GDExtensionConstTypePtr; -typedef void *GDExtensionUninitializedTypePtr; -typedef const void *GDExtensionMethodBindPtr; -typedef int64_t GDExtensionInt; -typedef uint8_t GDExtensionBool; -typedef uint64_t GDObjectInstanceID; -typedef void *GDExtensionRefPtr; -typedef const void *GDExtensionConstRefPtr; - -/* VARIANT DATA I/O */ - -typedef enum { - GDEXTENSION_CALL_OK, - GDEXTENSION_CALL_ERROR_INVALID_METHOD, - GDEXTENSION_CALL_ERROR_INVALID_ARGUMENT, // Expected a different variant type. - GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS, // Expected lower number of arguments. - GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS, // Expected higher number of arguments. - GDEXTENSION_CALL_ERROR_INSTANCE_IS_NULL, - GDEXTENSION_CALL_ERROR_METHOD_NOT_CONST, // Used for const call. -} GDExtensionCallErrorType; - -typedef struct { - GDExtensionCallErrorType error; - int32_t argument; - int32_t expected; -} GDExtensionCallError; - -typedef void (*GDExtensionVariantFromTypeConstructorFunc)(GDExtensionUninitializedVariantPtr, GDExtensionTypePtr); -typedef void (*GDExtensionTypeFromVariantConstructorFunc)(GDExtensionUninitializedTypePtr, GDExtensionVariantPtr); -typedef void (*GDExtensionPtrOperatorEvaluator)(GDExtensionConstTypePtr p_left, GDExtensionConstTypePtr p_right, GDExtensionTypePtr r_result); -typedef void (*GDExtensionPtrBuiltInMethod)(GDExtensionTypePtr p_base, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_return, int p_argument_count); -typedef void (*GDExtensionPtrConstructor)(GDExtensionUninitializedTypePtr p_base, const GDExtensionConstTypePtr *p_args); -typedef void (*GDExtensionPtrDestructor)(GDExtensionTypePtr p_base); -typedef void (*GDExtensionPtrSetter)(GDExtensionTypePtr p_base, GDExtensionConstTypePtr p_value); -typedef void (*GDExtensionPtrGetter)(GDExtensionConstTypePtr p_base, GDExtensionTypePtr r_value); -typedef void (*GDExtensionPtrIndexedSetter)(GDExtensionTypePtr p_base, GDExtensionInt p_index, GDExtensionConstTypePtr p_value); -typedef void (*GDExtensionPtrIndexedGetter)(GDExtensionConstTypePtr p_base, GDExtensionInt p_index, GDExtensionTypePtr r_value); -typedef void (*GDExtensionPtrKeyedSetter)(GDExtensionTypePtr p_base, GDExtensionConstTypePtr p_key, GDExtensionConstTypePtr p_value); -typedef void (*GDExtensionPtrKeyedGetter)(GDExtensionConstTypePtr p_base, GDExtensionConstTypePtr p_key, GDExtensionTypePtr r_value); -typedef uint32_t (*GDExtensionPtrKeyedChecker)(GDExtensionConstVariantPtr p_base, GDExtensionConstVariantPtr p_key); -typedef void (*GDExtensionPtrUtilityFunction)(GDExtensionTypePtr r_return, const GDExtensionConstTypePtr *p_args, int p_argument_count); - -typedef GDExtensionObjectPtr (*GDExtensionClassConstructor)(); - -typedef void *(*GDExtensionInstanceBindingCreateCallback)(void *p_token, void *p_instance); -typedef void (*GDExtensionInstanceBindingFreeCallback)(void *p_token, void *p_instance, void *p_binding); -typedef GDExtensionBool (*GDExtensionInstanceBindingReferenceCallback)(void *p_token, void *p_binding, GDExtensionBool p_reference); - -typedef struct { - GDExtensionInstanceBindingCreateCallback create_callback; - GDExtensionInstanceBindingFreeCallback free_callback; - GDExtensionInstanceBindingReferenceCallback reference_callback; -} GDExtensionInstanceBindingCallbacks; - -/* EXTENSION CLASSES */ - -typedef void *GDExtensionClassInstancePtr; - -typedef GDExtensionBool (*GDExtensionClassSet)(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionConstVariantPtr p_value); -typedef GDExtensionBool (*GDExtensionClassGet)(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionVariantPtr r_ret); -typedef uint64_t (*GDExtensionClassGetRID)(GDExtensionClassInstancePtr p_instance); - -typedef struct { - GDExtensionVariantType type; - GDExtensionStringNamePtr name; - GDExtensionStringNamePtr class_name; - uint32_t hint; // Bitfield of `PropertyHint` (defined in `extension_api.json`). - GDExtensionStringPtr hint_string; - uint32_t usage; // Bitfield of `PropertyUsageFlags` (defined in `extension_api.json`). -} GDExtensionPropertyInfo; - -typedef struct { - GDExtensionStringNamePtr name; - GDExtensionPropertyInfo return_value; - uint32_t flags; // Bitfield of `GDExtensionClassMethodFlags`. - int32_t id; - - /* Arguments: `default_arguments` is an array of size `argument_count`. */ - uint32_t argument_count; - GDExtensionPropertyInfo *arguments; - - /* Default arguments: `default_arguments` is an array of size `default_argument_count`. */ - uint32_t default_argument_count; - GDExtensionVariantPtr *default_arguments; -} GDExtensionMethodInfo; - -typedef const GDExtensionPropertyInfo *(*GDExtensionClassGetPropertyList)(GDExtensionClassInstancePtr p_instance, uint32_t *r_count); -typedef void (*GDExtensionClassFreePropertyList)(GDExtensionClassInstancePtr p_instance, const GDExtensionPropertyInfo *p_list); -typedef GDExtensionBool (*GDExtensionClassPropertyCanRevert)(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name); -typedef GDExtensionBool (*GDExtensionClassPropertyGetRevert)(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionVariantPtr r_ret); -typedef GDExtensionBool (*GDExtensionClassValidateProperty)(GDExtensionClassInstancePtr p_instance, GDExtensionPropertyInfo *p_property); -typedef void (*GDExtensionClassNotification)(GDExtensionClassInstancePtr p_instance, int32_t p_what); // Deprecated. Use GDExtensionClassNotification2 instead. -typedef void (*GDExtensionClassNotification2)(GDExtensionClassInstancePtr p_instance, int32_t p_what, GDExtensionBool p_reversed); -typedef void (*GDExtensionClassToString)(GDExtensionClassInstancePtr p_instance, GDExtensionBool *r_is_valid, GDExtensionStringPtr p_out); -typedef void (*GDExtensionClassReference)(GDExtensionClassInstancePtr p_instance); -typedef void (*GDExtensionClassUnreference)(GDExtensionClassInstancePtr p_instance); -typedef void (*GDExtensionClassCallVirtual)(GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret); -typedef GDExtensionObjectPtr (*GDExtensionClassCreateInstance)(void *p_class_userdata); -typedef void (*GDExtensionClassFreeInstance)(void *p_class_userdata, GDExtensionClassInstancePtr p_instance); -typedef GDExtensionClassInstancePtr (*GDExtensionClassRecreateInstance)(void *p_class_userdata, GDExtensionObjectPtr p_object); -typedef GDExtensionClassCallVirtual (*GDExtensionClassGetVirtual)(void *p_class_userdata, GDExtensionConstStringNamePtr p_name); -typedef void *(*GDExtensionClassGetVirtualCallData)(void *p_class_userdata, GDExtensionConstStringNamePtr p_name); -typedef void (*GDExtensionClassCallVirtualWithData)(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, void *p_virtual_call_userdata, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret); - -typedef struct { - GDExtensionBool is_virtual; - GDExtensionBool is_abstract; - GDExtensionClassSet set_func; - GDExtensionClassGet get_func; - GDExtensionClassGetPropertyList get_property_list_func; - GDExtensionClassFreePropertyList free_property_list_func; - GDExtensionClassPropertyCanRevert property_can_revert_func; - GDExtensionClassPropertyGetRevert property_get_revert_func; - GDExtensionClassNotification notification_func; - GDExtensionClassToString to_string_func; - GDExtensionClassReference reference_func; - GDExtensionClassUnreference unreference_func; - GDExtensionClassCreateInstance create_instance_func; // (Default) constructor; mandatory. If the class is not instantiable, consider making it virtual or abstract. - GDExtensionClassFreeInstance free_instance_func; // Destructor; mandatory. - GDExtensionClassGetVirtual get_virtual_func; // Queries a virtual function by name and returns a callback to invoke the requested virtual function. - GDExtensionClassGetRID get_rid_func; - void *class_userdata; // Per-class user data, later accessible in instance bindings. -} GDExtensionClassCreationInfo; // Deprecated. Use GDExtensionClassCreationInfo3 instead. - -typedef struct { - GDExtensionBool is_virtual; - GDExtensionBool is_abstract; - GDExtensionBool is_exposed; - GDExtensionClassSet set_func; - GDExtensionClassGet get_func; - GDExtensionClassGetPropertyList get_property_list_func; - GDExtensionClassFreePropertyList free_property_list_func; - GDExtensionClassPropertyCanRevert property_can_revert_func; - GDExtensionClassPropertyGetRevert property_get_revert_func; - GDExtensionClassValidateProperty validate_property_func; - GDExtensionClassNotification2 notification_func; - GDExtensionClassToString to_string_func; - GDExtensionClassReference reference_func; - GDExtensionClassUnreference unreference_func; - GDExtensionClassCreateInstance create_instance_func; // (Default) constructor; mandatory. If the class is not instantiable, consider making it virtual or abstract. - GDExtensionClassFreeInstance free_instance_func; // Destructor; mandatory. - GDExtensionClassRecreateInstance recreate_instance_func; - // Queries a virtual function by name and returns a callback to invoke the requested virtual function. - GDExtensionClassGetVirtual get_virtual_func; - // Paired with `call_virtual_with_data_func`, this is an alternative to `get_virtual_func` for extensions that - // need or benefit from extra data when calling virtual functions. - // Returns user data that will be passed to `call_virtual_with_data_func`. - // Returning `NULL` from this function signals to Godot that the virtual function is not overridden. - // Data returned from this function should be managed by the extension and must be valid until the extension is deinitialized. - // You should supply either `get_virtual_func`, or `get_virtual_call_data_func` with `call_virtual_with_data_func`. - GDExtensionClassGetVirtualCallData get_virtual_call_data_func; - // Used to call virtual functions when `get_virtual_call_data_func` is not null. - GDExtensionClassCallVirtualWithData call_virtual_with_data_func; - GDExtensionClassGetRID get_rid_func; - void *class_userdata; // Per-class user data, later accessible in instance bindings. -} GDExtensionClassCreationInfo2; // Deprecated. Use GDExtensionClassCreationInfo3 instead. - -typedef struct { - GDExtensionBool is_virtual; - GDExtensionBool is_abstract; - GDExtensionBool is_exposed; - GDExtensionBool is_runtime; - GDExtensionClassSet set_func; - GDExtensionClassGet get_func; - GDExtensionClassGetPropertyList get_property_list_func; - GDExtensionClassFreePropertyList free_property_list_func; - GDExtensionClassPropertyCanRevert property_can_revert_func; - GDExtensionClassPropertyGetRevert property_get_revert_func; - GDExtensionClassValidateProperty validate_property_func; - GDExtensionClassNotification2 notification_func; - GDExtensionClassToString to_string_func; - GDExtensionClassReference reference_func; - GDExtensionClassUnreference unreference_func; - GDExtensionClassCreateInstance create_instance_func; // (Default) constructor; mandatory. If the class is not instantiable, consider making it virtual or abstract. - GDExtensionClassFreeInstance free_instance_func; // Destructor; mandatory. - GDExtensionClassRecreateInstance recreate_instance_func; - // Queries a virtual function by name and returns a callback to invoke the requested virtual function. - GDExtensionClassGetVirtual get_virtual_func; - // Paired with `call_virtual_with_data_func`, this is an alternative to `get_virtual_func` for extensions that - // need or benefit from extra data when calling virtual functions. - // Returns user data that will be passed to `call_virtual_with_data_func`. - // Returning `NULL` from this function signals to Godot that the virtual function is not overridden. - // Data returned from this function should be managed by the extension and must be valid until the extension is deinitialized. - // You should supply either `get_virtual_func`, or `get_virtual_call_data_func` with `call_virtual_with_data_func`. - GDExtensionClassGetVirtualCallData get_virtual_call_data_func; - // Used to call virtual functions when `get_virtual_call_data_func` is not null. - GDExtensionClassCallVirtualWithData call_virtual_with_data_func; - GDExtensionClassGetRID get_rid_func; - void *class_userdata; // Per-class user data, later accessible in instance bindings. -} GDExtensionClassCreationInfo3; - -typedef void *GDExtensionClassLibraryPtr; - -/* Method */ - -typedef enum { - GDEXTENSION_METHOD_FLAG_NORMAL = 1, - GDEXTENSION_METHOD_FLAG_EDITOR = 2, - GDEXTENSION_METHOD_FLAG_CONST = 4, - GDEXTENSION_METHOD_FLAG_VIRTUAL = 8, - GDEXTENSION_METHOD_FLAG_VARARG = 16, - GDEXTENSION_METHOD_FLAG_STATIC = 32, - GDEXTENSION_METHOD_FLAGS_DEFAULT = GDEXTENSION_METHOD_FLAG_NORMAL, -} GDExtensionClassMethodFlags; - -typedef enum { - GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE, - GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT8, - GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT16, - GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT32, - GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT64, - GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT8, - GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT16, - GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT32, - GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT64, - GDEXTENSION_METHOD_ARGUMENT_METADATA_REAL_IS_FLOAT, - GDEXTENSION_METHOD_ARGUMENT_METADATA_REAL_IS_DOUBLE -} GDExtensionClassMethodArgumentMetadata; - -typedef void (*GDExtensionClassMethodCall)(void *method_userdata, GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionVariantPtr r_return, GDExtensionCallError *r_error); -typedef void (*GDExtensionClassMethodValidatedCall)(void *method_userdata, GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionVariantPtr r_return); -typedef void (*GDExtensionClassMethodPtrCall)(void *method_userdata, GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret); - -typedef struct { - GDExtensionStringNamePtr name; - void *method_userdata; - GDExtensionClassMethodCall call_func; - GDExtensionClassMethodPtrCall ptrcall_func; - uint32_t method_flags; // Bitfield of `GDExtensionClassMethodFlags`. - - /* If `has_return_value` is false, `return_value_info` and `return_value_metadata` are ignored. - * - * @todo Consider dropping `has_return_value` and making the other two properties match `GDExtensionMethodInfo` and `GDExtensionClassVirtualMethod` for consistency in future version of this struct. - */ - GDExtensionBool has_return_value; - GDExtensionPropertyInfo *return_value_info; - GDExtensionClassMethodArgumentMetadata return_value_metadata; - - /* Arguments: `arguments_info` and `arguments_metadata` are array of size `argument_count`. - * Name and hint information for the argument can be omitted in release builds. Class name should always be present if it applies. - * - * @todo Consider renaming `arguments_info` to `arguments` for consistency in future version of this struct. - */ - uint32_t argument_count; - GDExtensionPropertyInfo *arguments_info; - GDExtensionClassMethodArgumentMetadata *arguments_metadata; - - /* Default arguments: `default_arguments` is an array of size `default_argument_count`. */ - uint32_t default_argument_count; - GDExtensionVariantPtr *default_arguments; -} GDExtensionClassMethodInfo; - -typedef struct { - GDExtensionStringNamePtr name; - uint32_t method_flags; // Bitfield of `GDExtensionClassMethodFlags`. - - GDExtensionPropertyInfo return_value; - GDExtensionClassMethodArgumentMetadata return_value_metadata; - - uint32_t argument_count; - GDExtensionPropertyInfo *arguments; - GDExtensionClassMethodArgumentMetadata *arguments_metadata; -} GDExtensionClassVirtualMethodInfo; - -typedef void (*GDExtensionCallableCustomCall)(void *callable_userdata, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionVariantPtr r_return, GDExtensionCallError *r_error); -typedef GDExtensionBool (*GDExtensionCallableCustomIsValid)(void *callable_userdata); -typedef void (*GDExtensionCallableCustomFree)(void *callable_userdata); - -typedef uint32_t (*GDExtensionCallableCustomHash)(void *callable_userdata); -typedef GDExtensionBool (*GDExtensionCallableCustomEqual)(void *callable_userdata_a, void *callable_userdata_b); -typedef GDExtensionBool (*GDExtensionCallableCustomLessThan)(void *callable_userdata_a, void *callable_userdata_b); - -typedef void (*GDExtensionCallableCustomToString)(void *callable_userdata, GDExtensionBool *r_is_valid, GDExtensionStringPtr r_out); - -typedef GDExtensionInt (*GDExtensionCallableCustomGetArgumentCount)(void *callable_userdata, GDExtensionBool *r_is_valid); - -typedef struct { - /* Only `call_func` and `token` are strictly required, however, `object_id` should be passed if its not a static method. - * - * `token` should point to an address that uniquely identifies the GDExtension (for example, the - * `GDExtensionClassLibraryPtr` passed to the entry symbol function. - * - * `hash_func`, `equal_func`, and `less_than_func` are optional. If not provided both `call_func` and - * `callable_userdata` together are used as the identity of the callable for hashing and comparison purposes. - * - * The hash returned by `hash_func` is cached, `hash_func` will not be called more than once per callable. - * - * `is_valid_func` is necessary if the validity of the callable can change before destruction. - * - * `free_func` is necessary if `callable_userdata` needs to be cleaned up when the callable is freed. - */ - void *callable_userdata; - void *token; - - GDObjectInstanceID object_id; - - GDExtensionCallableCustomCall call_func; - GDExtensionCallableCustomIsValid is_valid_func; - GDExtensionCallableCustomFree free_func; - - GDExtensionCallableCustomHash hash_func; - GDExtensionCallableCustomEqual equal_func; - GDExtensionCallableCustomLessThan less_than_func; - - GDExtensionCallableCustomToString to_string_func; -} GDExtensionCallableCustomInfo; // Deprecated. Use GDExtensionCallableCustomInfo2 instead. - -typedef struct { - /* Only `call_func` and `token` are strictly required, however, `object_id` should be passed if its not a static method. - * - * `token` should point to an address that uniquely identifies the GDExtension (for example, the - * `GDExtensionClassLibraryPtr` passed to the entry symbol function. - * - * `hash_func`, `equal_func`, and `less_than_func` are optional. If not provided both `call_func` and - * `callable_userdata` together are used as the identity of the callable for hashing and comparison purposes. - * - * The hash returned by `hash_func` is cached, `hash_func` will not be called more than once per callable. - * - * `is_valid_func` is necessary if the validity of the callable can change before destruction. - * - * `free_func` is necessary if `callable_userdata` needs to be cleaned up when the callable is freed. - */ - void *callable_userdata; - void *token; - - GDObjectInstanceID object_id; - - GDExtensionCallableCustomCall call_func; - GDExtensionCallableCustomIsValid is_valid_func; - GDExtensionCallableCustomFree free_func; - - GDExtensionCallableCustomHash hash_func; - GDExtensionCallableCustomEqual equal_func; - GDExtensionCallableCustomLessThan less_than_func; - - GDExtensionCallableCustomToString to_string_func; - - GDExtensionCallableCustomGetArgumentCount get_argument_count_func; -} GDExtensionCallableCustomInfo2; - -/* SCRIPT INSTANCE EXTENSION */ - -typedef void *GDExtensionScriptInstanceDataPtr; // Pointer to custom ScriptInstance native implementation. - -typedef GDExtensionBool (*GDExtensionScriptInstanceSet)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionConstVariantPtr p_value); -typedef GDExtensionBool (*GDExtensionScriptInstanceGet)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionVariantPtr r_ret); -typedef const GDExtensionPropertyInfo *(*GDExtensionScriptInstanceGetPropertyList)(GDExtensionScriptInstanceDataPtr p_instance, uint32_t *r_count); -typedef void (*GDExtensionScriptInstanceFreePropertyList)(GDExtensionScriptInstanceDataPtr p_instance, const GDExtensionPropertyInfo *p_list); // Deprecated. Use GDExtensionScriptInstanceFreePropertyList2 instead. -typedef void (*GDExtensionScriptInstanceFreePropertyList2)(GDExtensionScriptInstanceDataPtr p_instance, const GDExtensionPropertyInfo *p_list, uint32_t p_count); -typedef GDExtensionBool (*GDExtensionScriptInstanceGetClassCategory)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionPropertyInfo *p_class_category); - -typedef GDExtensionVariantType (*GDExtensionScriptInstanceGetPropertyType)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionBool *r_is_valid); -typedef GDExtensionBool (*GDExtensionScriptInstanceValidateProperty)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionPropertyInfo *p_property); - -typedef GDExtensionBool (*GDExtensionScriptInstancePropertyCanRevert)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name); -typedef GDExtensionBool (*GDExtensionScriptInstancePropertyGetRevert)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionVariantPtr r_ret); - -typedef GDExtensionObjectPtr (*GDExtensionScriptInstanceGetOwner)(GDExtensionScriptInstanceDataPtr p_instance); -typedef void (*GDExtensionScriptInstancePropertyStateAdd)(GDExtensionConstStringNamePtr p_name, GDExtensionConstVariantPtr p_value, void *p_userdata); -typedef void (*GDExtensionScriptInstanceGetPropertyState)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionScriptInstancePropertyStateAdd p_add_func, void *p_userdata); - -typedef const GDExtensionMethodInfo *(*GDExtensionScriptInstanceGetMethodList)(GDExtensionScriptInstanceDataPtr p_instance, uint32_t *r_count); -typedef void (*GDExtensionScriptInstanceFreeMethodList)(GDExtensionScriptInstanceDataPtr p_instance, const GDExtensionMethodInfo *p_list); // Deprecated. Use GDExtensionScriptInstanceFreeMethodList2 instead. -typedef void (*GDExtensionScriptInstanceFreeMethodList2)(GDExtensionScriptInstanceDataPtr p_instance, const GDExtensionMethodInfo *p_list, uint32_t p_count); - -typedef GDExtensionBool (*GDExtensionScriptInstanceHasMethod)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name); - -typedef GDExtensionInt (*GDExtensionScriptInstanceGetMethodArgumentCount)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionBool *r_is_valid); - -typedef void (*GDExtensionScriptInstanceCall)(GDExtensionScriptInstanceDataPtr p_self, GDExtensionConstStringNamePtr p_method, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionVariantPtr r_return, GDExtensionCallError *r_error); -typedef void (*GDExtensionScriptInstanceNotification)(GDExtensionScriptInstanceDataPtr p_instance, int32_t p_what); // Deprecated. Use GDExtensionScriptInstanceNotification2 instead. -typedef void (*GDExtensionScriptInstanceNotification2)(GDExtensionScriptInstanceDataPtr p_instance, int32_t p_what, GDExtensionBool p_reversed); -typedef void (*GDExtensionScriptInstanceToString)(GDExtensionScriptInstanceDataPtr p_instance, GDExtensionBool *r_is_valid, GDExtensionStringPtr r_out); - -typedef void (*GDExtensionScriptInstanceRefCountIncremented)(GDExtensionScriptInstanceDataPtr p_instance); -typedef GDExtensionBool (*GDExtensionScriptInstanceRefCountDecremented)(GDExtensionScriptInstanceDataPtr p_instance); - -typedef GDExtensionObjectPtr (*GDExtensionScriptInstanceGetScript)(GDExtensionScriptInstanceDataPtr p_instance); -typedef GDExtensionBool (*GDExtensionScriptInstanceIsPlaceholder)(GDExtensionScriptInstanceDataPtr p_instance); - -typedef void *GDExtensionScriptLanguagePtr; - -typedef GDExtensionScriptLanguagePtr (*GDExtensionScriptInstanceGetLanguage)(GDExtensionScriptInstanceDataPtr p_instance); - -typedef void (*GDExtensionScriptInstanceFree)(GDExtensionScriptInstanceDataPtr p_instance); - -typedef void *GDExtensionScriptInstancePtr; // Pointer to ScriptInstance. - -typedef struct { - GDExtensionScriptInstanceSet set_func; - GDExtensionScriptInstanceGet get_func; - GDExtensionScriptInstanceGetPropertyList get_property_list_func; - GDExtensionScriptInstanceFreePropertyList free_property_list_func; - - GDExtensionScriptInstancePropertyCanRevert property_can_revert_func; - GDExtensionScriptInstancePropertyGetRevert property_get_revert_func; - - GDExtensionScriptInstanceGetOwner get_owner_func; - GDExtensionScriptInstanceGetPropertyState get_property_state_func; - - GDExtensionScriptInstanceGetMethodList get_method_list_func; - GDExtensionScriptInstanceFreeMethodList free_method_list_func; - GDExtensionScriptInstanceGetPropertyType get_property_type_func; - - GDExtensionScriptInstanceHasMethod has_method_func; - - GDExtensionScriptInstanceCall call_func; - GDExtensionScriptInstanceNotification notification_func; - - GDExtensionScriptInstanceToString to_string_func; - - GDExtensionScriptInstanceRefCountIncremented refcount_incremented_func; - GDExtensionScriptInstanceRefCountDecremented refcount_decremented_func; - - GDExtensionScriptInstanceGetScript get_script_func; - - GDExtensionScriptInstanceIsPlaceholder is_placeholder_func; - - GDExtensionScriptInstanceSet set_fallback_func; - GDExtensionScriptInstanceGet get_fallback_func; - - GDExtensionScriptInstanceGetLanguage get_language_func; - - GDExtensionScriptInstanceFree free_func; - -} GDExtensionScriptInstanceInfo; // Deprecated. Use GDExtensionScriptInstanceInfo3 instead. - -typedef struct { - GDExtensionScriptInstanceSet set_func; - GDExtensionScriptInstanceGet get_func; - GDExtensionScriptInstanceGetPropertyList get_property_list_func; - GDExtensionScriptInstanceFreePropertyList free_property_list_func; - GDExtensionScriptInstanceGetClassCategory get_class_category_func; // Optional. Set to NULL for the default behavior. - - GDExtensionScriptInstancePropertyCanRevert property_can_revert_func; - GDExtensionScriptInstancePropertyGetRevert property_get_revert_func; - - GDExtensionScriptInstanceGetOwner get_owner_func; - GDExtensionScriptInstanceGetPropertyState get_property_state_func; - - GDExtensionScriptInstanceGetMethodList get_method_list_func; - GDExtensionScriptInstanceFreeMethodList free_method_list_func; - GDExtensionScriptInstanceGetPropertyType get_property_type_func; - GDExtensionScriptInstanceValidateProperty validate_property_func; - - GDExtensionScriptInstanceHasMethod has_method_func; - - GDExtensionScriptInstanceCall call_func; - GDExtensionScriptInstanceNotification2 notification_func; - - GDExtensionScriptInstanceToString to_string_func; - - GDExtensionScriptInstanceRefCountIncremented refcount_incremented_func; - GDExtensionScriptInstanceRefCountDecremented refcount_decremented_func; - - GDExtensionScriptInstanceGetScript get_script_func; - - GDExtensionScriptInstanceIsPlaceholder is_placeholder_func; - - GDExtensionScriptInstanceSet set_fallback_func; - GDExtensionScriptInstanceGet get_fallback_func; - - GDExtensionScriptInstanceGetLanguage get_language_func; - - GDExtensionScriptInstanceFree free_func; - -} GDExtensionScriptInstanceInfo2; // Deprecated. Use GDExtensionScriptInstanceInfo3 instead. - -typedef struct { - GDExtensionScriptInstanceSet set_func; - GDExtensionScriptInstanceGet get_func; - GDExtensionScriptInstanceGetPropertyList get_property_list_func; - GDExtensionScriptInstanceFreePropertyList2 free_property_list_func; - GDExtensionScriptInstanceGetClassCategory get_class_category_func; // Optional. Set to NULL for the default behavior. - - GDExtensionScriptInstancePropertyCanRevert property_can_revert_func; - GDExtensionScriptInstancePropertyGetRevert property_get_revert_func; - - GDExtensionScriptInstanceGetOwner get_owner_func; - GDExtensionScriptInstanceGetPropertyState get_property_state_func; - - GDExtensionScriptInstanceGetMethodList get_method_list_func; - GDExtensionScriptInstanceFreeMethodList2 free_method_list_func; - GDExtensionScriptInstanceGetPropertyType get_property_type_func; - GDExtensionScriptInstanceValidateProperty validate_property_func; - - GDExtensionScriptInstanceHasMethod has_method_func; - - GDExtensionScriptInstanceGetMethodArgumentCount get_method_argument_count_func; - - GDExtensionScriptInstanceCall call_func; - GDExtensionScriptInstanceNotification2 notification_func; - - GDExtensionScriptInstanceToString to_string_func; - - GDExtensionScriptInstanceRefCountIncremented refcount_incremented_func; - GDExtensionScriptInstanceRefCountDecremented refcount_decremented_func; - - GDExtensionScriptInstanceGetScript get_script_func; - - GDExtensionScriptInstanceIsPlaceholder is_placeholder_func; - - GDExtensionScriptInstanceSet set_fallback_func; - GDExtensionScriptInstanceGet get_fallback_func; - - GDExtensionScriptInstanceGetLanguage get_language_func; - - GDExtensionScriptInstanceFree free_func; - -} GDExtensionScriptInstanceInfo3; - -/* INITIALIZATION */ - -typedef enum { - GDEXTENSION_INITIALIZATION_CORE, - GDEXTENSION_INITIALIZATION_SERVERS, - GDEXTENSION_INITIALIZATION_SCENE, - GDEXTENSION_INITIALIZATION_EDITOR, - GDEXTENSION_MAX_INITIALIZATION_LEVEL, -} GDExtensionInitializationLevel; - -typedef struct { - /* Minimum initialization level required. - * If Core or Servers, the extension needs editor or game restart to take effect */ - GDExtensionInitializationLevel 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, GDExtensionInitializationLevel p_level); - void (*deinitialize)(void *userdata, GDExtensionInitializationLevel p_level); -} GDExtensionInitialization; - -typedef void (*GDExtensionInterfaceFunctionPtr)(); -typedef GDExtensionInterfaceFunctionPtr (*GDExtensionInterfaceGetProcAddress)(const char *p_function_name); - -/* - * Each GDExtension should define a C function that matches the signature of GDExtensionInitializationFunction, - * and export it so that it can be loaded via dlopen() or equivalent for the given platform. - * - * For example: - * - * GDExtensionBool my_extension_init(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization); - * - * This function's name must be specified as the 'entry_symbol' in the .gdextension file. - * - * This makes it the entry point of the GDExtension and will be called on initialization. - * - * The GDExtension can then modify the r_initialization structure, setting the minimum initialization level, - * and providing pointers to functions that will be called at various stages of initialization/shutdown. - * - * The rest of the GDExtension's interface to Godot consists of function pointers that can be loaded - * by calling p_get_proc_address("...") with the name of the function. - * - * For example: - * - * GDExtensionInterfaceGetGodotVersion get_godot_version = (GDExtensionInterfaceGetGodotVersion)p_get_proc_address("get_godot_version"); - * - * (Note that snippet may cause "cast between incompatible function types" on some compilers, you can - * silence this by adding an intermediary `void*` cast.) - * - * You can then call it like a normal function: - * - * GDExtensionGodotVersion godot_version; - * get_godot_version(&godot_version); - * printf("Godot v%d.%d.%d\n", godot_version.major, godot_version.minor, godot_version.patch); - * - * All of these interface functions are described below, together with the name that's used to load it, - * and the function pointer typedef that shows its signature. - */ -typedef GDExtensionBool (*GDExtensionInitializationFunction)(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization); - -/* INTERFACE */ - -typedef struct { - uint32_t major; - uint32_t minor; - uint32_t patch; - const char *string; -} GDExtensionGodotVersion; - -/** - * @name get_godot_version - * @since 4.1 - * - * Gets the Godot version that the GDExtension was loaded into. - * - * @param r_godot_version A pointer to the structure to write the version information into. - */ -typedef void (*GDExtensionInterfaceGetGodotVersion)(GDExtensionGodotVersion *r_godot_version); - -/* INTERFACE: Memory */ - -/** - * @name mem_alloc - * @since 4.1 - * - * Allocates memory. - * - * @param p_bytes The amount of memory to allocate in bytes. - * - * @return A pointer to the allocated memory, or NULL if unsuccessful. - */ -typedef void *(*GDExtensionInterfaceMemAlloc)(size_t p_bytes); - -/** - * @name mem_realloc - * @since 4.1 - * - * Reallocates memory. - * - * @param p_ptr A pointer to the previously allocated memory. - * @param p_bytes The number of bytes to resize the memory block to. - * - * @return A pointer to the allocated memory, or NULL if unsuccessful. - */ -typedef void *(*GDExtensionInterfaceMemRealloc)(void *p_ptr, size_t p_bytes); - -/** - * @name mem_free - * @since 4.1 - * - * Frees memory. - * - * @param p_ptr A pointer to the previously allocated memory. - */ -typedef void (*GDExtensionInterfaceMemFree)(void *p_ptr); - -/* INTERFACE: Godot Core */ - -/** - * @name print_error - * @since 4.1 - * - * Logs an error to Godot's built-in debugger and to the OS terminal. - * - * @param p_description The code trigging the error. - * @param p_function The function name where the error occurred. - * @param p_file The file where the error occurred. - * @param p_line The line where the error occurred. - * @param p_editor_notify Whether or not to notify the editor. - */ -typedef void (*GDExtensionInterfacePrintError)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); - -/** - * @name print_error_with_message - * @since 4.1 - * - * Logs an error with a message to Godot's built-in debugger and to the OS terminal. - * - * @param p_description The code trigging the error. - * @param p_message The message to show along with the error. - * @param p_function The function name where the error occurred. - * @param p_file The file where the error occurred. - * @param p_line The line where the error occurred. - * @param p_editor_notify Whether or not to notify the editor. - */ -typedef void (*GDExtensionInterfacePrintErrorWithMessage)(const char *p_description, const char *p_message, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); - -/** - * @name print_warning - * @since 4.1 - * - * Logs a warning to Godot's built-in debugger and to the OS terminal. - * - * @param p_description The code trigging the warning. - * @param p_function The function name where the warning occurred. - * @param p_file The file where the warning occurred. - * @param p_line The line where the warning occurred. - * @param p_editor_notify Whether or not to notify the editor. - */ -typedef void (*GDExtensionInterfacePrintWarning)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); - -/** - * @name print_warning_with_message - * @since 4.1 - * - * Logs a warning with a message to Godot's built-in debugger and to the OS terminal. - * - * @param p_description The code trigging the warning. - * @param p_message The message to show along with the warning. - * @param p_function The function name where the warning occurred. - * @param p_file The file where the warning occurred. - * @param p_line The line where the warning occurred. - * @param p_editor_notify Whether or not to notify the editor. - */ -typedef void (*GDExtensionInterfacePrintWarningWithMessage)(const char *p_description, const char *p_message, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); - -/** - * @name print_script_error - * @since 4.1 - * - * Logs a script error to Godot's built-in debugger and to the OS terminal. - * - * @param p_description The code trigging the error. - * @param p_function The function name where the error occurred. - * @param p_file The file where the error occurred. - * @param p_line The line where the error occurred. - * @param p_editor_notify Whether or not to notify the editor. - */ -typedef void (*GDExtensionInterfacePrintScriptError)(const char *p_description, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); - -/** - * @name print_script_error_with_message - * @since 4.1 - * - * Logs a script error with a message to Godot's built-in debugger and to the OS terminal. - * - * @param p_description The code trigging the error. - * @param p_message The message to show along with the error. - * @param p_function The function name where the error occurred. - * @param p_file The file where the error occurred. - * @param p_line The line where the error occurred. - * @param p_editor_notify Whether or not to notify the editor. - */ -typedef void (*GDExtensionInterfacePrintScriptErrorWithMessage)(const char *p_description, const char *p_message, const char *p_function, const char *p_file, int32_t p_line, GDExtensionBool p_editor_notify); - -/** - * @name get_native_struct_size - * @since 4.1 - * - * Gets the size of a native struct (ex. ObjectID) in bytes. - * - * @param p_name A pointer to a StringName identifying the struct name. - * - * @return The size in bytes. - */ -typedef uint64_t (*GDExtensionInterfaceGetNativeStructSize)(GDExtensionConstStringNamePtr p_name); - -/* INTERFACE: Variant */ - -/** - * @name variant_new_copy - * @since 4.1 - * - * Copies one Variant into a another. - * - * @param r_dest A pointer to the destination Variant. - * @param p_src A pointer to the source Variant. - */ -typedef void (*GDExtensionInterfaceVariantNewCopy)(GDExtensionUninitializedVariantPtr r_dest, GDExtensionConstVariantPtr p_src); - -/** - * @name variant_new_nil - * @since 4.1 - * - * Creates a new Variant containing nil. - * - * @param r_dest A pointer to the destination Variant. - */ -typedef void (*GDExtensionInterfaceVariantNewNil)(GDExtensionUninitializedVariantPtr r_dest); - -/** - * @name variant_destroy - * @since 4.1 - * - * Destroys a Variant. - * - * @param p_self A pointer to the Variant to destroy. - */ -typedef void (*GDExtensionInterfaceVariantDestroy)(GDExtensionVariantPtr p_self); - -/** - * @name variant_call - * @since 4.1 - * - * Calls a method on a Variant. - * - * @param p_self A pointer to the Variant. - * @param p_method A pointer to a StringName identifying the method. - * @param p_args A pointer to a C array of Variant. - * @param p_argument_count The number of arguments. - * @param r_return A pointer a Variant which will be assigned the return value. - * @param r_error A pointer the structure which will hold error information. - * - * @see Variant::callp() - */ -typedef void (*GDExtensionInterfaceVariantCall)(GDExtensionVariantPtr p_self, GDExtensionConstStringNamePtr p_method, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionUninitializedVariantPtr r_return, GDExtensionCallError *r_error); - -/** - * @name variant_call_static - * @since 4.1 - * - * Calls a static method on a Variant. - * - * @param p_self A pointer to the Variant. - * @param p_method A pointer to a StringName identifying the method. - * @param p_args A pointer to a C array of Variant. - * @param p_argument_count The number of arguments. - * @param r_return A pointer a Variant which will be assigned the return value. - * @param r_error A pointer the structure which will be updated with error information. - * - * @see Variant::call_static() - */ -typedef void (*GDExtensionInterfaceVariantCallStatic)(GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_method, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionUninitializedVariantPtr r_return, GDExtensionCallError *r_error); - -/** - * @name variant_evaluate - * @since 4.1 - * - * Evaluate an operator on two Variants. - * - * @param p_op The operator to evaluate. - * @param p_a The first Variant. - * @param p_b The second Variant. - * @param r_return A pointer a Variant which will be assigned the return value. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - * - * @see Variant::evaluate() - */ -typedef void (*GDExtensionInterfaceVariantEvaluate)(GDExtensionVariantOperator p_op, GDExtensionConstVariantPtr p_a, GDExtensionConstVariantPtr p_b, GDExtensionUninitializedVariantPtr r_return, GDExtensionBool *r_valid); - -/** - * @name variant_set - * @since 4.1 - * - * Sets a key on a Variant to a value. - * - * @param p_self A pointer to the Variant. - * @param p_key A pointer to a Variant representing the key. - * @param p_value A pointer to a Variant representing the value. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - * - * @see Variant::set() - */ -typedef void (*GDExtensionInterfaceVariantSet)(GDExtensionVariantPtr p_self, GDExtensionConstVariantPtr p_key, GDExtensionConstVariantPtr p_value, GDExtensionBool *r_valid); - -/** - * @name variant_set_named - * @since 4.1 - * - * Sets a named key on a Variant to a value. - * - * @param p_self A pointer to the Variant. - * @param p_key A pointer to a StringName representing the key. - * @param p_value A pointer to a Variant representing the value. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - * - * @see Variant::set_named() - */ -typedef void (*GDExtensionInterfaceVariantSetNamed)(GDExtensionVariantPtr p_self, GDExtensionConstStringNamePtr p_key, GDExtensionConstVariantPtr p_value, GDExtensionBool *r_valid); - -/** - * @name variant_set_keyed - * @since 4.1 - * - * Sets a keyed property on a Variant to a value. - * - * @param p_self A pointer to the Variant. - * @param p_key A pointer to a Variant representing the key. - * @param p_value A pointer to a Variant representing the value. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - * - * @see Variant::set_keyed() - */ -typedef void (*GDExtensionInterfaceVariantSetKeyed)(GDExtensionVariantPtr p_self, GDExtensionConstVariantPtr p_key, GDExtensionConstVariantPtr p_value, GDExtensionBool *r_valid); - -/** - * @name variant_set_indexed - * @since 4.1 - * - * Sets an index on a Variant to a value. - * - * @param p_self A pointer to the Variant. - * @param p_index The index. - * @param p_value A pointer to a Variant representing the value. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - * @param r_oob A pointer to a boolean which will be set to true if the index is out of bounds. - */ -typedef void (*GDExtensionInterfaceVariantSetIndexed)(GDExtensionVariantPtr p_self, GDExtensionInt p_index, GDExtensionConstVariantPtr p_value, GDExtensionBool *r_valid, GDExtensionBool *r_oob); - -/** - * @name variant_get - * @since 4.1 - * - * Gets the value of a key from a Variant. - * - * @param p_self A pointer to the Variant. - * @param p_key A pointer to a Variant representing the key. - * @param r_ret A pointer to a Variant which will be assigned the value. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - */ -typedef void (*GDExtensionInterfaceVariantGet)(GDExtensionConstVariantPtr p_self, GDExtensionConstVariantPtr p_key, GDExtensionUninitializedVariantPtr r_ret, GDExtensionBool *r_valid); - -/** - * @name variant_get_named - * @since 4.1 - * - * Gets the value of a named key from a Variant. - * - * @param p_self A pointer to the Variant. - * @param p_key A pointer to a StringName representing the key. - * @param r_ret A pointer to a Variant which will be assigned the value. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - */ -typedef void (*GDExtensionInterfaceVariantGetNamed)(GDExtensionConstVariantPtr p_self, GDExtensionConstStringNamePtr p_key, GDExtensionUninitializedVariantPtr r_ret, GDExtensionBool *r_valid); - -/** - * @name variant_get_keyed - * @since 4.1 - * - * Gets the value of a keyed property from a Variant. - * - * @param p_self A pointer to the Variant. - * @param p_key A pointer to a Variant representing the key. - * @param r_ret A pointer to a Variant which will be assigned the value. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - */ -typedef void (*GDExtensionInterfaceVariantGetKeyed)(GDExtensionConstVariantPtr p_self, GDExtensionConstVariantPtr p_key, GDExtensionUninitializedVariantPtr r_ret, GDExtensionBool *r_valid); - -/** - * @name variant_get_indexed - * @since 4.1 - * - * Gets the value of an index from a Variant. - * - * @param p_self A pointer to the Variant. - * @param p_index The index. - * @param r_ret A pointer to a Variant which will be assigned the value. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - * @param r_oob A pointer to a boolean which will be set to true if the index is out of bounds. - */ -typedef void (*GDExtensionInterfaceVariantGetIndexed)(GDExtensionConstVariantPtr p_self, GDExtensionInt p_index, GDExtensionUninitializedVariantPtr r_ret, GDExtensionBool *r_valid, GDExtensionBool *r_oob); - -/** - * @name variant_iter_init - * @since 4.1 - * - * Initializes an iterator over a Variant. - * - * @param p_self A pointer to the Variant. - * @param r_iter A pointer to a Variant which will be assigned the iterator. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - * - * @return true if the operation is valid; otherwise false. - * - * @see Variant::iter_init() - */ -typedef GDExtensionBool (*GDExtensionInterfaceVariantIterInit)(GDExtensionConstVariantPtr p_self, GDExtensionUninitializedVariantPtr r_iter, GDExtensionBool *r_valid); - -/** - * @name variant_iter_next - * @since 4.1 - * - * Gets the next value for an iterator over a Variant. - * - * @param p_self A pointer to the Variant. - * @param r_iter A pointer to a Variant which will be assigned the iterator. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - * - * @return true if the operation is valid; otherwise false. - * - * @see Variant::iter_next() - */ -typedef GDExtensionBool (*GDExtensionInterfaceVariantIterNext)(GDExtensionConstVariantPtr p_self, GDExtensionVariantPtr r_iter, GDExtensionBool *r_valid); - -/** - * @name variant_iter_get - * @since 4.1 - * - * Gets the next value for an iterator over a Variant. - * - * @param p_self A pointer to the Variant. - * @param r_iter A pointer to a Variant which will be assigned the iterator. - * @param r_ret A pointer to a Variant which will be assigned false if the operation is invalid. - * @param r_valid A pointer to a boolean which will be set to false if the operation is invalid. - * - * @see Variant::iter_get() - */ -typedef void (*GDExtensionInterfaceVariantIterGet)(GDExtensionConstVariantPtr p_self, GDExtensionVariantPtr r_iter, GDExtensionUninitializedVariantPtr r_ret, GDExtensionBool *r_valid); - -/** - * @name variant_hash - * @since 4.1 - * - * Gets the hash of a Variant. - * - * @param p_self A pointer to the Variant. - * - * @return The hash value. - * - * @see Variant::hash() - */ -typedef GDExtensionInt (*GDExtensionInterfaceVariantHash)(GDExtensionConstVariantPtr p_self); - -/** - * @name variant_recursive_hash - * @since 4.1 - * - * Gets the recursive hash of a Variant. - * - * @param p_self A pointer to the Variant. - * @param p_recursion_count The number of recursive loops so far. - * - * @return The hash value. - * - * @see Variant::recursive_hash() - */ -typedef GDExtensionInt (*GDExtensionInterfaceVariantRecursiveHash)(GDExtensionConstVariantPtr p_self, GDExtensionInt p_recursion_count); - -/** - * @name variant_hash_compare - * @since 4.1 - * - * Compares two Variants by their hash. - * - * @param p_self A pointer to the Variant. - * @param p_other A pointer to the other Variant to compare it to. - * - * @return The hash value. - * - * @see Variant::hash_compare() - */ -typedef GDExtensionBool (*GDExtensionInterfaceVariantHashCompare)(GDExtensionConstVariantPtr p_self, GDExtensionConstVariantPtr p_other); - -/** - * @name variant_booleanize - * @since 4.1 - * - * Converts a Variant to a boolean. - * - * @param p_self A pointer to the Variant. - * - * @return The boolean value of the Variant. - */ -typedef GDExtensionBool (*GDExtensionInterfaceVariantBooleanize)(GDExtensionConstVariantPtr p_self); - -/** - * @name variant_duplicate - * @since 4.1 - * - * Duplicates a Variant. - * - * @param p_self A pointer to the Variant. - * @param r_ret A pointer to a Variant to store the duplicated value. - * @param p_deep Whether or not to duplicate deeply (when supported by the Variant type). - */ -typedef void (*GDExtensionInterfaceVariantDuplicate)(GDExtensionConstVariantPtr p_self, GDExtensionVariantPtr r_ret, GDExtensionBool p_deep); - -/** - * @name variant_stringify - * @since 4.1 - * - * Converts a Variant to a string. - * - * @param p_self A pointer to the Variant. - * @param r_ret A pointer to a String to store the resulting value. - */ -typedef void (*GDExtensionInterfaceVariantStringify)(GDExtensionConstVariantPtr p_self, GDExtensionStringPtr r_ret); - -/** - * @name variant_get_type - * @since 4.1 - * - * Gets the type of a Variant. - * - * @param p_self A pointer to the Variant. - * - * @return The variant type. - */ -typedef GDExtensionVariantType (*GDExtensionInterfaceVariantGetType)(GDExtensionConstVariantPtr p_self); - -/** - * @name variant_has_method - * @since 4.1 - * - * Checks if a Variant has the given method. - * - * @param p_self A pointer to the Variant. - * @param p_method A pointer to a StringName with the method name. - * - * @return - */ -typedef GDExtensionBool (*GDExtensionInterfaceVariantHasMethod)(GDExtensionConstVariantPtr p_self, GDExtensionConstStringNamePtr p_method); - -/** - * @name variant_has_member - * @since 4.1 - * - * Checks if a type of Variant has the given member. - * - * @param p_type The Variant type. - * @param p_member A pointer to a StringName with the member name. - * - * @return - */ -typedef GDExtensionBool (*GDExtensionInterfaceVariantHasMember)(GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_member); - -/** - * @name variant_has_key - * @since 4.1 - * - * Checks if a Variant has a key. - * - * @param p_self A pointer to the Variant. - * @param p_key A pointer to a Variant representing the key. - * @param r_valid A pointer to a boolean which will be set to false if the key doesn't exist. - * - * @return true if the key exists; otherwise false. - */ -typedef GDExtensionBool (*GDExtensionInterfaceVariantHasKey)(GDExtensionConstVariantPtr p_self, GDExtensionConstVariantPtr p_key, GDExtensionBool *r_valid); - -/** - * @name variant_get_type_name - * @since 4.1 - * - * Gets the name of a Variant type. - * - * @param p_type The Variant type. - * @param r_name A pointer to a String to store the Variant type name. - */ -typedef void (*GDExtensionInterfaceVariantGetTypeName)(GDExtensionVariantType p_type, GDExtensionUninitializedStringPtr r_name); - -/** - * @name variant_can_convert - * @since 4.1 - * - * Checks if Variants can be converted from one type to another. - * - * @param p_from The Variant type to convert from. - * @param p_to The Variant type to convert to. - * - * @return true if the conversion is possible; otherwise false. - */ -typedef GDExtensionBool (*GDExtensionInterfaceVariantCanConvert)(GDExtensionVariantType p_from, GDExtensionVariantType p_to); - -/** - * @name variant_can_convert_strict - * @since 4.1 - * - * Checks if Variant can be converted from one type to another using stricter rules. - * - * @param p_from The Variant type to convert from. - * @param p_to The Variant type to convert to. - * - * @return true if the conversion is possible; otherwise false. - */ -typedef GDExtensionBool (*GDExtensionInterfaceVariantCanConvertStrict)(GDExtensionVariantType p_from, GDExtensionVariantType p_to); - -/** - * @name get_variant_from_type_constructor - * @since 4.1 - * - * Gets a pointer to a function that can create a Variant of the given type from a raw value. - * - * @param p_type The Variant type. - * - * @return A pointer to a function that can create a Variant of the given type from a raw value. - */ -typedef GDExtensionVariantFromTypeConstructorFunc (*GDExtensionInterfaceGetVariantFromTypeConstructor)(GDExtensionVariantType p_type); - -/** - * @name get_variant_to_type_constructor - * @since 4.1 - * - * Gets a pointer to a function that can get the raw value from a Variant of the given type. - * - * @param p_type The Variant type. - * - * @return A pointer to a function that can get the raw value from a Variant of the given type. - */ -typedef GDExtensionTypeFromVariantConstructorFunc (*GDExtensionInterfaceGetVariantToTypeConstructor)(GDExtensionVariantType p_type); - -/** - * @name variant_get_ptr_operator_evaluator - * @since 4.1 - * - * Gets a pointer to a function that can evaluate the given Variant operator on the given Variant types. - * - * @param p_operator The variant operator. - * @param p_type_a The type of the first Variant. - * @param p_type_b The type of the second Variant. - * - * @return A pointer to a function that can evaluate the given Variant operator on the given Variant types. - */ -typedef GDExtensionPtrOperatorEvaluator (*GDExtensionInterfaceVariantGetPtrOperatorEvaluator)(GDExtensionVariantOperator p_operator, GDExtensionVariantType p_type_a, GDExtensionVariantType p_type_b); - -/** - * @name variant_get_ptr_builtin_method - * @since 4.1 - * - * Gets a pointer to a function that can call a builtin method on a type of Variant. - * - * @param p_type The Variant type. - * @param p_method A pointer to a StringName with the method name. - * @param p_hash A hash representing the method signature. - * - * @return A pointer to a function that can call a builtin method on a type of Variant. - */ -typedef GDExtensionPtrBuiltInMethod (*GDExtensionInterfaceVariantGetPtrBuiltinMethod)(GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_method, GDExtensionInt p_hash); - -/** - * @name variant_get_ptr_constructor - * @since 4.1 - * - * Gets a pointer to a function that can call one of the constructors for a type of Variant. - * - * @param p_type The Variant type. - * @param p_constructor The index of the constructor. - * - * @return A pointer to a function that can call one of the constructors for a type of Variant. - */ -typedef GDExtensionPtrConstructor (*GDExtensionInterfaceVariantGetPtrConstructor)(GDExtensionVariantType p_type, int32_t p_constructor); - -/** - * @name variant_get_ptr_destructor - * @since 4.1 - * - * Gets a pointer to a function than can call the destructor for a type of Variant. - * - * @param p_type The Variant type. - * - * @return A pointer to a function than can call the destructor for a type of Variant. - */ -typedef GDExtensionPtrDestructor (*GDExtensionInterfaceVariantGetPtrDestructor)(GDExtensionVariantType p_type); - -/** - * @name variant_construct - * @since 4.1 - * - * Constructs a Variant of the given type, using the first constructor that matches the given arguments. - * - * @param p_type The Variant type. - * @param p_base A pointer to a Variant to store the constructed value. - * @param p_args A pointer to a C array of Variant pointers representing the arguments for the constructor. - * @param p_argument_count The number of arguments to pass to the constructor. - * @param r_error A pointer the structure which will be updated with error information. - */ -typedef void (*GDExtensionInterfaceVariantConstruct)(GDExtensionVariantType p_type, GDExtensionUninitializedVariantPtr r_base, const GDExtensionConstVariantPtr *p_args, int32_t p_argument_count, GDExtensionCallError *r_error); - -/** - * @name variant_get_ptr_setter - * @since 4.1 - * - * Gets a pointer to a function that can call a member's setter on the given Variant type. - * - * @param p_type The Variant type. - * @param p_member A pointer to a StringName with the member name. - * - * @return A pointer to a function that can call a member's setter on the given Variant type. - */ -typedef GDExtensionPtrSetter (*GDExtensionInterfaceVariantGetPtrSetter)(GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_member); - -/** - * @name variant_get_ptr_getter - * @since 4.1 - * - * Gets a pointer to a function that can call a member's getter on the given Variant type. - * - * @param p_type The Variant type. - * @param p_member A pointer to a StringName with the member name. - * - * @return A pointer to a function that can call a member's getter on the given Variant type. - */ -typedef GDExtensionPtrGetter (*GDExtensionInterfaceVariantGetPtrGetter)(GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_member); - -/** - * @name variant_get_ptr_indexed_setter - * @since 4.1 - * - * Gets a pointer to a function that can set an index on the given Variant type. - * - * @param p_type The Variant type. - * - * @return A pointer to a function that can set an index on the given Variant type. - */ -typedef GDExtensionPtrIndexedSetter (*GDExtensionInterfaceVariantGetPtrIndexedSetter)(GDExtensionVariantType p_type); - -/** - * @name variant_get_ptr_indexed_getter - * @since 4.1 - * - * Gets a pointer to a function that can get an index on the given Variant type. - * - * @param p_type The Variant type. - * - * @return A pointer to a function that can get an index on the given Variant type. - */ -typedef GDExtensionPtrIndexedGetter (*GDExtensionInterfaceVariantGetPtrIndexedGetter)(GDExtensionVariantType p_type); - -/** - * @name variant_get_ptr_keyed_setter - * @since 4.1 - * - * Gets a pointer to a function that can set a key on the given Variant type. - * - * @param p_type The Variant type. - * - * @return A pointer to a function that can set a key on the given Variant type. - */ -typedef GDExtensionPtrKeyedSetter (*GDExtensionInterfaceVariantGetPtrKeyedSetter)(GDExtensionVariantType p_type); - -/** - * @name variant_get_ptr_keyed_getter - * @since 4.1 - * - * Gets a pointer to a function that can get a key on the given Variant type. - * - * @param p_type The Variant type. - * - * @return A pointer to a function that can get a key on the given Variant type. - */ -typedef GDExtensionPtrKeyedGetter (*GDExtensionInterfaceVariantGetPtrKeyedGetter)(GDExtensionVariantType p_type); - -/** - * @name variant_get_ptr_keyed_checker - * @since 4.1 - * - * Gets a pointer to a function that can check a key on the given Variant type. - * - * @param p_type The Variant type. - * - * @return A pointer to a function that can check a key on the given Variant type. - */ -typedef GDExtensionPtrKeyedChecker (*GDExtensionInterfaceVariantGetPtrKeyedChecker)(GDExtensionVariantType p_type); - -/** - * @name variant_get_constant_value - * @since 4.1 - * - * Gets the value of a constant from the given Variant type. - * - * @param p_type The Variant type. - * @param p_constant A pointer to a StringName with the constant name. - * @param r_ret A pointer to a Variant to store the value. - */ -typedef void (*GDExtensionInterfaceVariantGetConstantValue)(GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_constant, GDExtensionUninitializedVariantPtr r_ret); - -/** - * @name variant_get_ptr_utility_function - * @since 4.1 - * - * Gets a pointer to a function that can call a Variant utility function. - * - * @param p_function A pointer to a StringName with the function name. - * @param p_hash A hash representing the function signature. - * - * @return A pointer to a function that can call a Variant utility function. - */ -typedef GDExtensionPtrUtilityFunction (*GDExtensionInterfaceVariantGetPtrUtilityFunction)(GDExtensionConstStringNamePtr p_function, GDExtensionInt p_hash); - -/* INTERFACE: String Utilities */ - -/** - * @name string_new_with_latin1_chars - * @since 4.1 - * - * Creates a String from a Latin-1 encoded C string. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a Latin-1 encoded C string (null terminated). - */ -typedef void (*GDExtensionInterfaceStringNewWithLatin1Chars)(GDExtensionUninitializedStringPtr r_dest, const char *p_contents); - -/** - * @name string_new_with_utf8_chars - * @since 4.1 - * - * Creates a String from a UTF-8 encoded C string. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a UTF-8 encoded C string (null terminated). - */ -typedef void (*GDExtensionInterfaceStringNewWithUtf8Chars)(GDExtensionUninitializedStringPtr r_dest, const char *p_contents); - -/** - * @name string_new_with_utf16_chars - * @since 4.1 - * - * Creates a String from a UTF-16 encoded C string. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a UTF-16 encoded C string (null terminated). - */ -typedef void (*GDExtensionInterfaceStringNewWithUtf16Chars)(GDExtensionUninitializedStringPtr r_dest, const char16_t *p_contents); - -/** - * @name string_new_with_utf32_chars - * @since 4.1 - * - * Creates a String from a UTF-32 encoded C string. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a UTF-32 encoded C string (null terminated). - */ -typedef void (*GDExtensionInterfaceStringNewWithUtf32Chars)(GDExtensionUninitializedStringPtr r_dest, const char32_t *p_contents); - -/** - * @name string_new_with_wide_chars - * @since 4.1 - * - * Creates a String from a wide C string. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a wide C string (null terminated). - */ -typedef void (*GDExtensionInterfaceStringNewWithWideChars)(GDExtensionUninitializedStringPtr r_dest, const wchar_t *p_contents); - -/** - * @name string_new_with_latin1_chars_and_len - * @since 4.1 - * - * Creates a String from a Latin-1 encoded C string with the given length. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a Latin-1 encoded C string. - * @param p_size The number of characters (= number of bytes). - */ -typedef void (*GDExtensionInterfaceStringNewWithLatin1CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char *p_contents, GDExtensionInt p_size); - -/** - * @name string_new_with_utf8_chars_and_len - * @since 4.1 - * - * Creates a String from a UTF-8 encoded C string with the given length. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a UTF-8 encoded C string. - * @param p_size The number of bytes (not code units). - */ -typedef void (*GDExtensionInterfaceStringNewWithUtf8CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char *p_contents, GDExtensionInt p_size); - -/** - * @name string_new_with_utf16_chars_and_len - * @since 4.1 - * - * Creates a String from a UTF-16 encoded C string with the given length. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a UTF-16 encoded C string. - * @param p_size The number of characters (not bytes). - */ -typedef void (*GDExtensionInterfaceStringNewWithUtf16CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char16_t *p_contents, GDExtensionInt p_char_count); - -/** - * @name string_new_with_utf32_chars_and_len - * @since 4.1 - * - * Creates a String from a UTF-32 encoded C string with the given length. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a UTF-32 encoded C string. - * @param p_size The number of characters (not bytes). - */ -typedef void (*GDExtensionInterfaceStringNewWithUtf32CharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const char32_t *p_contents, GDExtensionInt p_char_count); - -/** - * @name string_new_with_wide_chars_and_len - * @since 4.1 - * - * Creates a String from a wide C string with the given length. - * - * @param r_dest A pointer to a Variant to hold the newly created String. - * @param p_contents A pointer to a wide C string. - * @param p_size The number of characters (not bytes). - */ -typedef void (*GDExtensionInterfaceStringNewWithWideCharsAndLen)(GDExtensionUninitializedStringPtr r_dest, const wchar_t *p_contents, GDExtensionInt p_char_count); - -/** - * @name string_to_latin1_chars - * @since 4.1 - * - * Converts a String to a Latin-1 encoded C string. - * - * It doesn't write a null terminator. - * - * @param p_self A pointer to the String. - * @param r_text A pointer to the buffer to hold the resulting data. If NULL is passed in, only the length will be computed. - * @param p_max_write_length The maximum number of characters that can be written to r_text. It has no affect on the return value. - * - * @return The resulting encoded string length in characters (not bytes), not including a null terminator. - */ -typedef GDExtensionInt (*GDExtensionInterfaceStringToLatin1Chars)(GDExtensionConstStringPtr p_self, char *r_text, GDExtensionInt p_max_write_length); - -/** - * @name string_to_utf8_chars - * @since 4.1 - * - * Converts a String to a UTF-8 encoded C string. - * - * It doesn't write a null terminator. - * - * @param p_self A pointer to the String. - * @param r_text A pointer to the buffer to hold the resulting data. If NULL is passed in, only the length will be computed. - * @param p_max_write_length The maximum number of characters that can be written to r_text. It has no affect on the return value. - * - * @return The resulting encoded string length in characters (not bytes), not including a null terminator. - */ -typedef GDExtensionInt (*GDExtensionInterfaceStringToUtf8Chars)(GDExtensionConstStringPtr p_self, char *r_text, GDExtensionInt p_max_write_length); - -/** - * @name string_to_utf16_chars - * @since 4.1 - * - * Converts a String to a UTF-16 encoded C string. - * - * It doesn't write a null terminator. - * - * @param p_self A pointer to the String. - * @param r_text A pointer to the buffer to hold the resulting data. If NULL is passed in, only the length will be computed. - * @param p_max_write_length The maximum number of characters that can be written to r_text. It has no affect on the return value. - * - * @return The resulting encoded string length in characters (not bytes), not including a null terminator. - */ -typedef GDExtensionInt (*GDExtensionInterfaceStringToUtf16Chars)(GDExtensionConstStringPtr p_self, char16_t *r_text, GDExtensionInt p_max_write_length); - -/** - * @name string_to_utf32_chars - * @since 4.1 - * - * Converts a String to a UTF-32 encoded C string. - * - * It doesn't write a null terminator. - * - * @param p_self A pointer to the String. - * @param r_text A pointer to the buffer to hold the resulting data. If NULL is passed in, only the length will be computed. - * @param p_max_write_length The maximum number of characters that can be written to r_text. It has no affect on the return value. - * - * @return The resulting encoded string length in characters (not bytes), not including a null terminator. - */ -typedef GDExtensionInt (*GDExtensionInterfaceStringToUtf32Chars)(GDExtensionConstStringPtr p_self, char32_t *r_text, GDExtensionInt p_max_write_length); - -/** - * @name string_to_wide_chars - * @since 4.1 - * - * Converts a String to a wide C string. - * - * It doesn't write a null terminator. - * - * @param p_self A pointer to the String. - * @param r_text A pointer to the buffer to hold the resulting data. If NULL is passed in, only the length will be computed. - * @param p_max_write_length The maximum number of characters that can be written to r_text. It has no affect on the return value. - * - * @return The resulting encoded string length in characters (not bytes), not including a null terminator. - */ -typedef GDExtensionInt (*GDExtensionInterfaceStringToWideChars)(GDExtensionConstStringPtr p_self, wchar_t *r_text, GDExtensionInt p_max_write_length); - -/** - * @name string_operator_index - * @since 4.1 - * - * Gets a pointer to the character at the given index from a String. - * - * @param p_self A pointer to the String. - * @param p_index The index. - * - * @return A pointer to the requested character. - */ -typedef char32_t *(*GDExtensionInterfaceStringOperatorIndex)(GDExtensionStringPtr p_self, GDExtensionInt p_index); - -/** - * @name string_operator_index_const - * @since 4.1 - * - * Gets a const pointer to the character at the given index from a String. - * - * @param p_self A pointer to the String. - * @param p_index The index. - * - * @return A const pointer to the requested character. - */ -typedef const char32_t *(*GDExtensionInterfaceStringOperatorIndexConst)(GDExtensionConstStringPtr p_self, GDExtensionInt p_index); - -/** - * @name string_operator_plus_eq_string - * @since 4.1 - * - * Appends another String to a String. - * - * @param p_self A pointer to the String. - * @param p_b A pointer to the other String to append. - */ -typedef void (*GDExtensionInterfaceStringOperatorPlusEqString)(GDExtensionStringPtr p_self, GDExtensionConstStringPtr p_b); - -/** - * @name string_operator_plus_eq_char - * @since 4.1 - * - * Appends a character to a String. - * - * @param p_self A pointer to the String. - * @param p_b A pointer to the character to append. - */ -typedef void (*GDExtensionInterfaceStringOperatorPlusEqChar)(GDExtensionStringPtr p_self, char32_t p_b); - -/** - * @name string_operator_plus_eq_cstr - * @since 4.1 - * - * Appends a Latin-1 encoded C string to a String. - * - * @param p_self A pointer to the String. - * @param p_b A pointer to a Latin-1 encoded C string (null terminated). - */ -typedef void (*GDExtensionInterfaceStringOperatorPlusEqCstr)(GDExtensionStringPtr p_self, const char *p_b); - -/** - * @name string_operator_plus_eq_wcstr - * @since 4.1 - * - * Appends a wide C string to a String. - * - * @param p_self A pointer to the String. - * @param p_b A pointer to a wide C string (null terminated). - */ -typedef void (*GDExtensionInterfaceStringOperatorPlusEqWcstr)(GDExtensionStringPtr p_self, const wchar_t *p_b); - -/** - * @name string_operator_plus_eq_c32str - * @since 4.1 - * - * Appends a UTF-32 encoded C string to a String. - * - * @param p_self A pointer to the String. - * @param p_b A pointer to a UTF-32 encoded C string (null terminated). - */ -typedef void (*GDExtensionInterfaceStringOperatorPlusEqC32str)(GDExtensionStringPtr p_self, const char32_t *p_b); - -/** - * @name string_resize - * @since 4.2 - * - * Resizes the underlying string data to the given number of characters. - * - * Space needs to be allocated for the null terminating character ('\0') which - * also must be added manually, in order for all string functions to work correctly. - * - * Warning: This is an error-prone operation - only use it if there's no other - * efficient way to accomplish your goal. - * - * @param p_self A pointer to the String. - * @param p_resize The new length for the String. - * - * @return Error code signifying if the operation successful. - */ -typedef GDExtensionInt (*GDExtensionInterfaceStringResize)(GDExtensionStringPtr p_self, GDExtensionInt p_resize); - -/* INTERFACE: StringName Utilities */ - -/** - * @name string_name_new_with_latin1_chars - * @since 4.2 - * - * Creates a StringName from a Latin-1 encoded C string. - * - * If `p_is_static` is true, then: - * - The StringName will reuse the `p_contents` buffer instead of copying it. - * You must guarantee that the buffer remains valid for the duration of the application (e.g. string literal). - * - You must not call a destructor for this StringName. Incrementing the initial reference once should achieve this. - * - * `p_is_static` is purely an optimization and can easily introduce undefined behavior if used wrong. In case of doubt, set it to false. - * - * @param r_dest A pointer to uninitialized storage, into which the newly created StringName is constructed. - * @param p_contents A pointer to a C string (null terminated and Latin-1 or ASCII encoded). - * @param p_is_static Whether the StringName reuses the buffer directly (see above). - */ -typedef void (*GDExtensionInterfaceStringNameNewWithLatin1Chars)(GDExtensionUninitializedStringNamePtr r_dest, const char *p_contents, GDExtensionBool p_is_static); - -/** - * @name string_name_new_with_utf8_chars - * @since 4.2 - * - * Creates a StringName from a UTF-8 encoded C string. - * - * @param r_dest A pointer to uninitialized storage, into which the newly created StringName is constructed. - * @param p_contents A pointer to a C string (null terminated and UTF-8 encoded). - */ -typedef void (*GDExtensionInterfaceStringNameNewWithUtf8Chars)(GDExtensionUninitializedStringNamePtr r_dest, const char *p_contents); - -/** - * @name string_name_new_with_utf8_chars_and_len - * @since 4.2 - * - * Creates a StringName from a UTF-8 encoded string with a given number of characters. - * - * @param r_dest A pointer to uninitialized storage, into which the newly created StringName is constructed. - * @param p_contents A pointer to a C string (null terminated and UTF-8 encoded). - * @param p_size The number of bytes (not UTF-8 code points). - */ -typedef void (*GDExtensionInterfaceStringNameNewWithUtf8CharsAndLen)(GDExtensionUninitializedStringNamePtr r_dest, const char *p_contents, GDExtensionInt p_size); - -/* INTERFACE: XMLParser Utilities */ - -/** - * @name xml_parser_open_buffer - * @since 4.1 - * - * Opens a raw XML buffer on an XMLParser instance. - * - * @param p_instance A pointer to an XMLParser object. - * @param p_buffer A pointer to the buffer. - * @param p_size The size of the buffer. - * - * @return A Godot error code (ex. OK, ERR_INVALID_DATA, etc). - * - * @see XMLParser::open_buffer() - */ -typedef GDExtensionInt (*GDExtensionInterfaceXmlParserOpenBuffer)(GDExtensionObjectPtr p_instance, const uint8_t *p_buffer, size_t p_size); - -/* INTERFACE: FileAccess Utilities */ - -/** - * @name file_access_store_buffer - * @since 4.1 - * - * Stores the given buffer using an instance of FileAccess. - * - * @param p_instance A pointer to a FileAccess object. - * @param p_src A pointer to the buffer. - * @param p_length The size of the buffer. - * - * @see FileAccess::store_buffer() - */ -typedef void (*GDExtensionInterfaceFileAccessStoreBuffer)(GDExtensionObjectPtr p_instance, const uint8_t *p_src, uint64_t p_length); - -/** - * @name file_access_get_buffer - * @since 4.1 - * - * Reads the next p_length bytes into the given buffer using an instance of FileAccess. - * - * @param p_instance A pointer to a FileAccess object. - * @param p_dst A pointer to the buffer to store the data. - * @param p_length The requested number of bytes to read. - * - * @return The actual number of bytes read (may be less than requested). - */ -typedef uint64_t (*GDExtensionInterfaceFileAccessGetBuffer)(GDExtensionConstObjectPtr p_instance, uint8_t *p_dst, uint64_t p_length); - -/* INTERFACE: WorkerThreadPool Utilities */ - -/** - * @name worker_thread_pool_add_native_group_task - * @since 4.1 - * - * Adds a group task to an instance of WorkerThreadPool. - * - * @param p_instance A pointer to a WorkerThreadPool object. - * @param p_func A pointer to a function to run in the thread pool. - * @param p_userdata A pointer to arbitrary data which will be passed to p_func. - * @param p_tasks The number of tasks needed in the group. - * @param p_high_priority Whether or not this is a high priority task. - * @param p_description A pointer to a String with the task description. - * - * @return The task group ID. - * - * @see WorkerThreadPool::add_group_task() - */ -typedef int64_t (*GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask)(GDExtensionObjectPtr p_instance, void (*p_func)(void *, uint32_t), void *p_userdata, int p_elements, int p_tasks, GDExtensionBool p_high_priority, GDExtensionConstStringPtr p_description); - -/** - * @name worker_thread_pool_add_native_task - * @since 4.1 - * - * Adds a task to an instance of WorkerThreadPool. - * - * @param p_instance A pointer to a WorkerThreadPool object. - * @param p_func A pointer to a function to run in the thread pool. - * @param p_userdata A pointer to arbitrary data which will be passed to p_func. - * @param p_high_priority Whether or not this is a high priority task. - * @param p_description A pointer to a String with the task description. - * - * @return The task ID. - */ -typedef int64_t (*GDExtensionInterfaceWorkerThreadPoolAddNativeTask)(GDExtensionObjectPtr p_instance, void (*p_func)(void *), void *p_userdata, GDExtensionBool p_high_priority, GDExtensionConstStringPtr p_description); - -/* INTERFACE: Packed Array */ - -/** - * @name packed_byte_array_operator_index - * @since 4.1 - * - * Gets a pointer to a byte in a PackedByteArray. - * - * @param p_self A pointer to a PackedByteArray object. - * @param p_index The index of the byte to get. - * - * @return A pointer to the requested byte. - */ -typedef uint8_t *(*GDExtensionInterfacePackedByteArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_byte_array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a byte in a PackedByteArray. - * - * @param p_self A const pointer to a PackedByteArray object. - * @param p_index The index of the byte to get. - * - * @return A const pointer to the requested byte. - */ -typedef const uint8_t *(*GDExtensionInterfacePackedByteArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_color_array_operator_index - * @since 4.1 - * - * Gets a pointer to a color in a PackedColorArray. - * - * @param p_self A pointer to a PackedColorArray object. - * @param p_index The index of the Color to get. - * - * @return A pointer to the requested Color. - */ -typedef GDExtensionTypePtr (*GDExtensionInterfacePackedColorArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_color_array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a color in a PackedColorArray. - * - * @param p_self A const pointer to a const PackedColorArray object. - * @param p_index The index of the Color to get. - * - * @return A const pointer to the requested Color. - */ -typedef GDExtensionTypePtr (*GDExtensionInterfacePackedColorArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_float32_array_operator_index - * @since 4.1 - * - * Gets a pointer to a 32-bit float in a PackedFloat32Array. - * - * @param p_self A pointer to a PackedFloat32Array object. - * @param p_index The index of the float to get. - * - * @return A pointer to the requested 32-bit float. - */ -typedef float *(*GDExtensionInterfacePackedFloat32ArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_float32_array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a 32-bit float in a PackedFloat32Array. - * - * @param p_self A const pointer to a PackedFloat32Array object. - * @param p_index The index of the float to get. - * - * @return A const pointer to the requested 32-bit float. - */ -typedef const float *(*GDExtensionInterfacePackedFloat32ArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_float64_array_operator_index - * @since 4.1 - * - * Gets a pointer to a 64-bit float in a PackedFloat64Array. - * - * @param p_self A pointer to a PackedFloat64Array object. - * @param p_index The index of the float to get. - * - * @return A pointer to the requested 64-bit float. - */ -typedef double *(*GDExtensionInterfacePackedFloat64ArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_float64_array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a 64-bit float in a PackedFloat64Array. - * - * @param p_self A const pointer to a PackedFloat64Array object. - * @param p_index The index of the float to get. - * - * @return A const pointer to the requested 64-bit float. - */ -typedef const double *(*GDExtensionInterfacePackedFloat64ArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_int32_array_operator_index - * @since 4.1 - * - * Gets a pointer to a 32-bit integer in a PackedInt32Array. - * - * @param p_self A pointer to a PackedInt32Array object. - * @param p_index The index of the integer to get. - * - * @return A pointer to the requested 32-bit integer. - */ -typedef int32_t *(*GDExtensionInterfacePackedInt32ArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_int32_array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a 32-bit integer in a PackedInt32Array. - * - * @param p_self A const pointer to a PackedInt32Array object. - * @param p_index The index of the integer to get. - * - * @return A const pointer to the requested 32-bit integer. - */ -typedef const int32_t *(*GDExtensionInterfacePackedInt32ArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_int64_array_operator_index - * @since 4.1 - * - * Gets a pointer to a 64-bit integer in a PackedInt64Array. - * - * @param p_self A pointer to a PackedInt64Array object. - * @param p_index The index of the integer to get. - * - * @return A pointer to the requested 64-bit integer. - */ -typedef int64_t *(*GDExtensionInterfacePackedInt64ArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_int64_array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a 64-bit integer in a PackedInt64Array. - * - * @param p_self A const pointer to a PackedInt64Array object. - * @param p_index The index of the integer to get. - * - * @return A const pointer to the requested 64-bit integer. - */ -typedef const int64_t *(*GDExtensionInterfacePackedInt64ArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_string_array_operator_index - * @since 4.1 - * - * Gets a pointer to a string in a PackedStringArray. - * - * @param p_self A pointer to a PackedStringArray object. - * @param p_index The index of the String to get. - * - * @return A pointer to the requested String. - */ -typedef GDExtensionStringPtr (*GDExtensionInterfacePackedStringArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_string_array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a string in a PackedStringArray. - * - * @param p_self A const pointer to a PackedStringArray object. - * @param p_index The index of the String to get. - * - * @return A const pointer to the requested String. - */ -typedef GDExtensionStringPtr (*GDExtensionInterfacePackedStringArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_vector2_array_operator_index - * @since 4.1 - * - * Gets a pointer to a Vector2 in a PackedVector2Array. - * - * @param p_self A pointer to a PackedVector2Array object. - * @param p_index The index of the Vector2 to get. - * - * @return A pointer to the requested Vector2. - */ -typedef GDExtensionTypePtr (*GDExtensionInterfacePackedVector2ArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_vector2_array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a Vector2 in a PackedVector2Array. - * - * @param p_self A const pointer to a PackedVector2Array object. - * @param p_index The index of the Vector2 to get. - * - * @return A const pointer to the requested Vector2. - */ -typedef GDExtensionTypePtr (*GDExtensionInterfacePackedVector2ArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_vector3_array_operator_index - * @since 4.1 - * - * Gets a pointer to a Vector3 in a PackedVector3Array. - * - * @param p_self A pointer to a PackedVector3Array object. - * @param p_index The index of the Vector3 to get. - * - * @return A pointer to the requested Vector3. - */ -typedef GDExtensionTypePtr (*GDExtensionInterfacePackedVector3ArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name packed_vector3_array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a Vector3 in a PackedVector3Array. - * - * @param p_self A const pointer to a PackedVector3Array object. - * @param p_index The index of the Vector3 to get. - * - * @return A const pointer to the requested Vector3. - */ -typedef GDExtensionTypePtr (*GDExtensionInterfacePackedVector3ArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name array_operator_index - * @since 4.1 - * - * Gets a pointer to a Variant in an Array. - * - * @param p_self A pointer to an Array object. - * @param p_index The index of the Variant to get. - * - * @return A pointer to the requested Variant. - */ -typedef GDExtensionVariantPtr (*GDExtensionInterfaceArrayOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionInt p_index); - -/** - * @name array_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a Variant in an Array. - * - * @param p_self A const pointer to an Array object. - * @param p_index The index of the Variant to get. - * - * @return A const pointer to the requested Variant. - */ -typedef GDExtensionVariantPtr (*GDExtensionInterfaceArrayOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionInt p_index); - -/** - * @name array_ref - * @since 4.1 - * - * Sets an Array to be a reference to another Array object. - * - * @param p_self A pointer to the Array object to update. - * @param p_from A pointer to the Array object to reference. - */ -typedef void (*GDExtensionInterfaceArrayRef)(GDExtensionTypePtr p_self, GDExtensionConstTypePtr p_from); - -/** - * @name array_set_typed - * @since 4.1 - * - * Makes an Array into a typed Array. - * - * @param p_self A pointer to the Array. - * @param p_type The type of Variant the Array will store. - * @param p_class_name A pointer to a StringName with the name of the object (if p_type is GDEXTENSION_VARIANT_TYPE_OBJECT). - * @param p_script A pointer to a Script object (if p_type is GDEXTENSION_VARIANT_TYPE_OBJECT and the base class is extended by a script). - */ -typedef void (*GDExtensionInterfaceArraySetTyped)(GDExtensionTypePtr p_self, GDExtensionVariantType p_type, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstVariantPtr p_script); - -/* INTERFACE: Dictionary */ - -/** - * @name dictionary_operator_index - * @since 4.1 - * - * Gets a pointer to a Variant in a Dictionary with the given key. - * - * @param p_self A pointer to a Dictionary object. - * @param p_key A pointer to a Variant representing the key. - * - * @return A pointer to a Variant representing the value at the given key. - */ -typedef GDExtensionVariantPtr (*GDExtensionInterfaceDictionaryOperatorIndex)(GDExtensionTypePtr p_self, GDExtensionConstVariantPtr p_key); - -/** - * @name dictionary_operator_index_const - * @since 4.1 - * - * Gets a const pointer to a Variant in a Dictionary with the given key. - * - * @param p_self A const pointer to a Dictionary object. - * @param p_key A pointer to a Variant representing the key. - * - * @return A const pointer to a Variant representing the value at the given key. - */ -typedef GDExtensionVariantPtr (*GDExtensionInterfaceDictionaryOperatorIndexConst)(GDExtensionConstTypePtr p_self, GDExtensionConstVariantPtr p_key); - -/* INTERFACE: Object */ - -/** - * @name object_method_bind_call - * @since 4.1 - * - * Calls a method on an Object. - * - * @param p_method_bind A pointer to the MethodBind representing the method on the Object's class. - * @param p_instance A pointer to the Object. - * @param p_args A pointer to a C array of Variants representing the arguments. - * @param p_arg_count The number of arguments. - * @param r_ret A pointer to Variant which will receive the return value. - * @param r_error A pointer to a GDExtensionCallError struct that will receive error information. - */ -typedef void (*GDExtensionInterfaceObjectMethodBindCall)(GDExtensionMethodBindPtr p_method_bind, GDExtensionObjectPtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_arg_count, GDExtensionUninitializedVariantPtr r_ret, GDExtensionCallError *r_error); - -/** - * @name object_method_bind_ptrcall - * @since 4.1 - * - * Calls a method on an Object (using a "ptrcall"). - * - * @param p_method_bind A pointer to the MethodBind representing the method on the Object's class. - * @param p_instance A pointer to the Object. - * @param p_args A pointer to a C array representing the arguments. - * @param r_ret A pointer to the Object that will receive the return value. - */ -typedef void (*GDExtensionInterfaceObjectMethodBindPtrcall)(GDExtensionMethodBindPtr p_method_bind, GDExtensionObjectPtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret); - -/** - * @name object_destroy - * @since 4.1 - * - * Destroys an Object. - * - * @param p_o A pointer to the Object. - */ -typedef void (*GDExtensionInterfaceObjectDestroy)(GDExtensionObjectPtr p_o); - -/** - * @name global_get_singleton - * @since 4.1 - * - * Gets a global singleton by name. - * - * @param p_name A pointer to a StringName with the singleton name. - * - * @return A pointer to the singleton Object. - */ -typedef GDExtensionObjectPtr (*GDExtensionInterfaceGlobalGetSingleton)(GDExtensionConstStringNamePtr p_name); - -/** - * @name object_get_instance_binding - * @since 4.1 - * - * Gets a pointer representing an Object's instance binding. - * - * @param p_o A pointer to the Object. - * @param p_library A token the library received by the GDExtension's entry point function. - * @param p_callbacks A pointer to a GDExtensionInstanceBindingCallbacks struct. - * - * @return - */ -typedef void *(*GDExtensionInterfaceObjectGetInstanceBinding)(GDExtensionObjectPtr p_o, void *p_token, const GDExtensionInstanceBindingCallbacks *p_callbacks); - -/** - * @name object_set_instance_binding - * @since 4.1 - * - * Sets an Object's instance binding. - * - * @param p_o A pointer to the Object. - * @param p_library A token the library received by the GDExtension's entry point function. - * @param p_binding A pointer to the instance binding. - * @param p_callbacks A pointer to a GDExtensionInstanceBindingCallbacks struct. - */ -typedef void (*GDExtensionInterfaceObjectSetInstanceBinding)(GDExtensionObjectPtr p_o, void *p_token, void *p_binding, const GDExtensionInstanceBindingCallbacks *p_callbacks); - -/** - * @name object_free_instance_binding - * @since 4.2 - * - * Free an Object's instance binding. - * - * @param p_o A pointer to the Object. - * @param p_library A token the library received by the GDExtension's entry point function. - */ -typedef void (*GDExtensionInterfaceObjectFreeInstanceBinding)(GDExtensionObjectPtr p_o, void *p_token); - -/** - * @name object_set_instance - * @since 4.1 - * - * Sets an extension class instance on a Object. - * - * @param p_o A pointer to the Object. - * @param p_classname A pointer to a StringName with the registered extension class's name. - * @param p_instance A pointer to the extension class instance. - */ -typedef void (*GDExtensionInterfaceObjectSetInstance)(GDExtensionObjectPtr p_o, GDExtensionConstStringNamePtr p_classname, GDExtensionClassInstancePtr p_instance); /* p_classname should be a registered extension class and should extend the p_o object's class. */ - -/** - * @name object_get_class_name - * @since 4.1 - * - * Gets the class name of an Object. - * - * @param p_object A pointer to the Object. - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param r_class_name A pointer to a String to receive the class name. - * - * @return true if successful in getting the class name; otherwise false. - */ -typedef GDExtensionBool (*GDExtensionInterfaceObjectGetClassName)(GDExtensionConstObjectPtr p_object, GDExtensionClassLibraryPtr p_library, GDExtensionUninitializedStringNamePtr r_class_name); - -/** - * @name object_cast_to - * @since 4.1 - * - * Casts an Object to a different type. - * - * @param p_object A pointer to the Object. - * @param p_class_tag A pointer uniquely identifying a built-in class in the ClassDB. - * - * @return Returns a pointer to the Object, or NULL if it can't be cast to the requested type. - */ -typedef GDExtensionObjectPtr (*GDExtensionInterfaceObjectCastTo)(GDExtensionConstObjectPtr p_object, void *p_class_tag); - -/** - * @name object_get_instance_from_id - * @since 4.1 - * - * Gets an Object by its instance ID. - * - * @param p_instance_id The instance ID. - * - * @return A pointer to the Object. - */ -typedef GDExtensionObjectPtr (*GDExtensionInterfaceObjectGetInstanceFromId)(GDObjectInstanceID p_instance_id); - -/** - * @name object_get_instance_id - * @since 4.1 - * - * Gets the instance ID from an Object. - * - * @param p_object A pointer to the Object. - * - * @return The instance ID. - */ -typedef GDObjectInstanceID (*GDExtensionInterfaceObjectGetInstanceId)(GDExtensionConstObjectPtr p_object); - -/** - * @name object_has_script_method - * @since 4.3 - * - * Checks if this object has a script with the given method. - * - * @param p_object A pointer to the Object. - * @param p_method A pointer to a StringName identifying the method. - * - * @returns true if the object has a script and that script has a method with the given name. Returns false if the object has no script. - */ -typedef GDExtensionBool (*GDExtensionInterfaceObjectHasScriptMethod)(GDExtensionConstObjectPtr p_object, GDExtensionConstStringNamePtr p_method); - -/** - * @name object_call_script_method - * @since 4.3 - * - * Call the given script method on this object. - * - * @param p_object A pointer to the Object. - * @param p_method A pointer to a StringName identifying the method. - * @param p_args A pointer to a C array of Variant. - * @param p_argument_count The number of arguments. - * @param r_return A pointer a Variant which will be assigned the return value. - * @param r_error A pointer the structure which will hold error information. - */ -typedef void (*GDExtensionInterfaceObjectCallScriptMethod)(GDExtensionObjectPtr p_object, GDExtensionConstStringNamePtr p_method, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionUninitializedVariantPtr r_return, GDExtensionCallError *r_error); - -/* INTERFACE: Reference */ - -/** - * @name ref_get_object - * @since 4.1 - * - * Gets the Object from a reference. - * - * @param p_ref A pointer to the reference. - * - * @return A pointer to the Object from the reference or NULL. - */ -typedef GDExtensionObjectPtr (*GDExtensionInterfaceRefGetObject)(GDExtensionConstRefPtr p_ref); - -/** - * @name ref_set_object - * @since 4.1 - * - * Sets the Object referred to by a reference. - * - * @param p_ref A pointer to the reference. - * @param p_object A pointer to the Object to refer to. - */ -typedef void (*GDExtensionInterfaceRefSetObject)(GDExtensionRefPtr p_ref, GDExtensionObjectPtr p_object); - -/* INTERFACE: Script Instance */ - -/** - * @name script_instance_create - * @since 4.1 - * @deprecated in Godot 4.2. Use `script_instance_create3` instead. - * - * Creates a script instance that contains the given info and instance data. - * - * @param p_info A pointer to a GDExtensionScriptInstanceInfo struct. - * @param p_instance_data A pointer to a data representing the script instance in the GDExtension. This will be passed to all the function pointers on p_info. - * - * @return A pointer to a ScriptInstanceExtension object. - */ -typedef GDExtensionScriptInstancePtr (*GDExtensionInterfaceScriptInstanceCreate)(const GDExtensionScriptInstanceInfo *p_info, GDExtensionScriptInstanceDataPtr p_instance_data); - -/** - * @name script_instance_create2 - * @since 4.2 - * @deprecated in Godot 4.3. Use `script_instance_create3` instead. - * - * Creates a script instance that contains the given info and instance data. - * - * @param p_info A pointer to a GDExtensionScriptInstanceInfo2 struct. - * @param p_instance_data A pointer to a data representing the script instance in the GDExtension. This will be passed to all the function pointers on p_info. - * - * @return A pointer to a ScriptInstanceExtension object. - */ -typedef GDExtensionScriptInstancePtr (*GDExtensionInterfaceScriptInstanceCreate2)(const GDExtensionScriptInstanceInfo2 *p_info, GDExtensionScriptInstanceDataPtr p_instance_data); - -/** - * @name script_instance_create3 - * @since 4.3 - * - * Creates a script instance that contains the given info and instance data. - * - * @param p_info A pointer to a GDExtensionScriptInstanceInfo3 struct. - * @param p_instance_data A pointer to a data representing the script instance in the GDExtension. This will be passed to all the function pointers on p_info. - * - * @return A pointer to a ScriptInstanceExtension object. - */ -typedef GDExtensionScriptInstancePtr (*GDExtensionInterfaceScriptInstanceCreate3)(const GDExtensionScriptInstanceInfo3 *p_info, GDExtensionScriptInstanceDataPtr p_instance_data); - -/** - * @name placeholder_script_instance_create - * @since 4.2 - * - * Creates a placeholder script instance for a given script and instance. - * - * This interface is optional as a custom placeholder could also be created with script_instance_create(). - * - * @param p_language A pointer to a ScriptLanguage. - * @param p_script A pointer to a Script. - * @param p_owner A pointer to an Object. - * - * @return A pointer to a PlaceHolderScriptInstance object. - */ -typedef GDExtensionScriptInstancePtr (*GDExtensionInterfacePlaceHolderScriptInstanceCreate)(GDExtensionObjectPtr p_language, GDExtensionObjectPtr p_script, GDExtensionObjectPtr p_owner); - -/** - * @name placeholder_script_instance_update - * @since 4.2 - * - * Updates a placeholder script instance with the given properties and values. - * - * The passed in placeholder must be an instance of PlaceHolderScriptInstance - * such as the one returned by placeholder_script_instance_create(). - * - * @param p_placeholder A pointer to a PlaceHolderScriptInstance. - * @param p_properties A pointer to an Array of Dictionary representing PropertyInfo. - * @param p_values A pointer to a Dictionary mapping StringName to Variant values. - */ -typedef void (*GDExtensionInterfacePlaceHolderScriptInstanceUpdate)(GDExtensionScriptInstancePtr p_placeholder, GDExtensionConstTypePtr p_properties, GDExtensionConstTypePtr p_values); - -/** - * @name object_get_script_instance - * @since 4.2 - * - * Get the script instance data attached to this object. - * - * @param p_object A pointer to the Object. - * @param p_language A pointer to the language expected for this script instance. - * - * @return A GDExtensionScriptInstanceDataPtr that was attached to this object as part of script_instance_create. - */ -typedef GDExtensionScriptInstanceDataPtr (*GDExtensionInterfaceObjectGetScriptInstance)(GDExtensionConstObjectPtr p_object, GDExtensionObjectPtr p_language); - -/* INTERFACE: Callable */ - -/** - * @name callable_custom_create - * @since 4.2 - * @deprecated in Godot 4.3. Use `callable_custom_create2` instead. - * - * Creates a custom Callable object from a function pointer. - * - * Provided struct can be safely freed once the function returns. - * - * @param r_callable A pointer that will receive the new Callable. - * @param p_callable_custom_info The info required to construct a Callable. - */ -typedef void (*GDExtensionInterfaceCallableCustomCreate)(GDExtensionUninitializedTypePtr r_callable, GDExtensionCallableCustomInfo *p_callable_custom_info); - -/** - * @name callable_custom_create2 - * @since 4.3 - * - * Creates a custom Callable object from a function pointer. - * - * Provided struct can be safely freed once the function returns. - * - * @param r_callable A pointer that will receive the new Callable. - * @param p_callable_custom_info The info required to construct a Callable. - */ -typedef void (*GDExtensionInterfaceCallableCustomCreate2)(GDExtensionUninitializedTypePtr r_callable, GDExtensionCallableCustomInfo2 *p_callable_custom_info); - -/** - * @name callable_custom_get_userdata - * @since 4.2 - * - * Retrieves the userdata pointer from a custom Callable. - * - * If the Callable is not a custom Callable or the token does not match the one provided to callable_custom_create() via GDExtensionCallableCustomInfo then NULL will be returned. - * - * @param p_callable A pointer to a Callable. - * @param p_token A pointer to an address that uniquely identifies the GDExtension. - */ -typedef void *(*GDExtensionInterfaceCallableCustomGetUserData)(GDExtensionConstTypePtr p_callable, void *p_token); - -/* INTERFACE: ClassDB */ - -/** - * @name classdb_construct_object - * @since 4.1 - * - * Constructs an Object of the requested class. - * - * The passed class must be a built-in godot class, or an already-registered extension class. In both cases, object_set_instance() should be called to fully initialize the object. - * - * @param p_classname A pointer to a StringName with the class name. - * - * @return A pointer to the newly created Object. - */ -typedef GDExtensionObjectPtr (*GDExtensionInterfaceClassdbConstructObject)(GDExtensionConstStringNamePtr p_classname); - -/** - * @name classdb_get_method_bind - * @since 4.1 - * - * Gets a pointer to the MethodBind in ClassDB for the given class, method and hash. - * - * @param p_classname A pointer to a StringName with the class name. - * @param p_methodname A pointer to a StringName with the method name. - * @param p_hash A hash representing the function signature. - * - * @return A pointer to the MethodBind from ClassDB. - */ -typedef GDExtensionMethodBindPtr (*GDExtensionInterfaceClassdbGetMethodBind)(GDExtensionConstStringNamePtr p_classname, GDExtensionConstStringNamePtr p_methodname, GDExtensionInt p_hash); - -/** - * @name classdb_get_class_tag - * @since 4.1 - * - * Gets a pointer uniquely identifying the given built-in class in the ClassDB. - * - * @param p_classname A pointer to a StringName with the class name. - * - * @return A pointer uniquely identifying the built-in class in the ClassDB. - */ -typedef void *(*GDExtensionInterfaceClassdbGetClassTag)(GDExtensionConstStringNamePtr p_classname); - -/* INTERFACE: ClassDB Extension */ - -/** - * @name classdb_register_extension_class - * @since 4.1 - * @deprecated in Godot 4.2. Use `classdb_register_extension_class2` instead. - * - * Registers an extension class in the ClassDB. - * - * Provided struct can be safely freed once the function returns. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_parent_class_name A pointer to a StringName with the parent class name. - * @param p_extension_funcs A pointer to a GDExtensionClassCreationInfo struct. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClass)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstStringNamePtr p_parent_class_name, const GDExtensionClassCreationInfo *p_extension_funcs); - -/** - * @name classdb_register_extension_class2 - * @since 4.2 - * - * Registers an extension class in the ClassDB. - * - * Provided struct can be safely freed once the function returns. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_parent_class_name A pointer to a StringName with the parent class name. - * @param p_extension_funcs A pointer to a GDExtensionClassCreationInfo2 struct. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClass2)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstStringNamePtr p_parent_class_name, const GDExtensionClassCreationInfo2 *p_extension_funcs); - -/** - * @name classdb_register_extension_class3 - * @since 4.3 - * - * Registers an extension class in the ClassDB. - * - * Provided struct can be safely freed once the function returns. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_parent_class_name A pointer to a StringName with the parent class name. - * @param p_extension_funcs A pointer to a GDExtensionClassCreationInfo2 struct. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClass3)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstStringNamePtr p_parent_class_name, const GDExtensionClassCreationInfo3 *p_extension_funcs); - -/** - * @name classdb_register_extension_class_method - * @since 4.1 - * - * Registers a method on an extension class in the ClassDB. - * - * Provided struct can be safely freed once the function returns. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_method_info A pointer to a GDExtensionClassMethodInfo struct. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClassMethod)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, const GDExtensionClassMethodInfo *p_method_info); - -/** - * @name classdb_register_extension_class_virtual_method - * @since 4.3 - * - * Registers a virtual method on an extension class in ClassDB, that can be implemented by scripts or other extensions. - * - * Provided struct can be safely freed once the function returns. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_method_info A pointer to a GDExtensionClassMethodInfo struct. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClassVirtualMethod)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, const GDExtensionClassVirtualMethodInfo *p_method_info); - -/** - * @name classdb_register_extension_class_integer_constant - * @since 4.1 - * - * Registers an integer constant on an extension class in the ClassDB. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_enum_name A pointer to a StringName with the enum name. - * @param p_constant_name A pointer to a StringName with the constant name. - * @param p_constant_value The constant value. - * @param p_is_bitfield Whether or not this is a bit field. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClassIntegerConstant)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstStringNamePtr p_enum_name, GDExtensionConstStringNamePtr p_constant_name, GDExtensionInt p_constant_value, GDExtensionBool p_is_bitfield); - -/** - * @name classdb_register_extension_class_property - * @since 4.1 - * - * Registers a property on an extension class in the ClassDB. - * - * Provided struct can be safely freed once the function returns. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_info A pointer to a GDExtensionPropertyInfo struct. - * @param p_setter A pointer to a StringName with the name of the setter method. - * @param p_getter A pointer to a StringName with the name of the getter method. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClassProperty)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, const GDExtensionPropertyInfo *p_info, GDExtensionConstStringNamePtr p_setter, GDExtensionConstStringNamePtr p_getter); - -/** - * @name classdb_register_extension_class_property_indexed - * @since 4.2 - * - * Registers an indexed property on an extension class in the ClassDB. - * - * Provided struct can be safely freed once the function returns. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_info A pointer to a GDExtensionPropertyInfo struct. - * @param p_setter A pointer to a StringName with the name of the setter method. - * @param p_getter A pointer to a StringName with the name of the getter method. - * @param p_index The index to pass as the first argument to the getter and setter methods. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClassPropertyIndexed)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, const GDExtensionPropertyInfo *p_info, GDExtensionConstStringNamePtr p_setter, GDExtensionConstStringNamePtr p_getter, GDExtensionInt p_index); - -/** - * @name classdb_register_extension_class_property_group - * @since 4.1 - * - * Registers a property group on an extension class in the ClassDB. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_group_name A pointer to a String with the group name. - * @param p_prefix A pointer to a String with the prefix used by properties in this group. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClassPropertyGroup)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstStringPtr p_group_name, GDExtensionConstStringPtr p_prefix); - -/** - * @name classdb_register_extension_class_property_subgroup - * @since 4.1 - * - * Registers a property subgroup on an extension class in the ClassDB. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_subgroup_name A pointer to a String with the subgroup name. - * @param p_prefix A pointer to a String with the prefix used by properties in this subgroup. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClassPropertySubgroup)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstStringPtr p_subgroup_name, GDExtensionConstStringPtr p_prefix); - -/** - * @name classdb_register_extension_class_signal - * @since 4.1 - * - * Registers a signal on an extension class in the ClassDB. - * - * Provided structs can be safely freed once the function returns. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - * @param p_signal_name A pointer to a StringName with the signal name. - * @param p_argument_info A pointer to a GDExtensionPropertyInfo struct. - * @param p_argument_count The number of arguments the signal receives. - */ -typedef void (*GDExtensionInterfaceClassdbRegisterExtensionClassSignal)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name, GDExtensionConstStringNamePtr p_signal_name, const GDExtensionPropertyInfo *p_argument_info, GDExtensionInt p_argument_count); - -/** - * @name classdb_unregister_extension_class - * @since 4.1 - * - * Unregisters an extension class in the ClassDB. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param p_class_name A pointer to a StringName with the class name. - */ -typedef void (*GDExtensionInterfaceClassdbUnregisterExtensionClass)(GDExtensionClassLibraryPtr p_library, GDExtensionConstStringNamePtr p_class_name); /* Unregistering a parent class before a class that inherits it will result in failure. Inheritors must be unregistered first. */ - -/** - * @name get_library_path - * @since 4.1 - * - * Gets the path to the current GDExtension library. - * - * @param p_library A pointer the library received by the GDExtension's entry point function. - * @param r_path A pointer to a String which will receive the path. - */ -typedef void (*GDExtensionInterfaceGetLibraryPath)(GDExtensionClassLibraryPtr p_library, GDExtensionUninitializedStringPtr r_path); - -/** - * @name editor_add_plugin - * @since 4.1 - * - * Adds an editor plugin. - * - * It's safe to call during initialization. - * - * @param p_class_name A pointer to a StringName with the name of a class (descending from EditorPlugin) which is already registered with ClassDB. - */ -typedef void (*GDExtensionInterfaceEditorAddPlugin)(GDExtensionConstStringNamePtr p_class_name); - -/** - * @name editor_remove_plugin - * @since 4.1 - * - * Removes an editor plugin. - * - * @param p_class_name A pointer to a StringName with the name of a class that was previously added as an editor plugin. - */ -typedef void (*GDExtensionInterfaceEditorRemovePlugin)(GDExtensionConstStringNamePtr p_class_name); - -#ifdef __cplusplus -} -#endif - -#endif // GDEXTENSION_INTERFACE_H diff --git a/thirdparty/godot-cpp/header_matcher.py b/thirdparty/godot-cpp/header_matcher.py deleted file mode 100644 index 3fe7dcb..0000000 --- a/thirdparty/godot-cpp/header_matcher.py +++ /dev/null @@ -1,31 +0,0 @@ -import json - - -def match_headers(mapping1, mapping2): - matches = {} - for header_file, data1 in mapping1.items(): - for header_file2, data2 in mapping2.items(): - # Check if classes/defines/structs in header_file1 are present in header_file2 - if (any(class_name in data2["classes"] for class_name in data1["classes"]) or - any(define_name in data2["defines"] for define_name in data1["defines"]) or - any(define_name in data2["structs"] for define_name in data1["structs"])): - if header_file not in matches: - matches[header_file] = [] - matches[header_file].append(header_file2) - return matches - - -if __name__ == "__main__": - # Load the two header mappings - with open("output_header_mapping.json", "r") as file: - mapping1 = json.load(file) - - with open("output_header_mapping_godot.json", "r") as file: - mapping2 = json.load(file) - - # Match the headers - matches = match_headers(mapping1, mapping2) - - # Optionally, you can save the matches to a file - with open("header_matches.json", "w") as outfile: - json.dump(matches, outfile, indent=4) diff --git a/thirdparty/godot-cpp/include/godot_cpp/classes/editor_plugin_registration.hpp b/thirdparty/godot-cpp/include/godot_cpp/classes/editor_plugin_registration.hpp deleted file mode 100644 index 7870bfc..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/classes/editor_plugin_registration.hpp +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************/ -/* editor_plugin_registration.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_EDITOR_PLUGIN_REGISTRATION_HPP -#define GODOT_EDITOR_PLUGIN_REGISTRATION_HPP - -#include - -namespace godot { - -class EditorPlugin; -class StringName; - -class EditorPlugins { -private: - static Vector plugin_classes; - -public: - static void add_plugin_class(const StringName &p_class_name); - static void remove_plugin_class(const StringName &p_class_name); - static void deinitialize(GDExtensionInitializationLevel p_level); - - template - static void add_by_type() { - add_plugin_class(T::get_class_static()); - } - template - static void remove_by_type() { - remove_plugin_class(T::get_class_static()); - } -}; - -} // namespace godot - -#endif // GODOT_EDITOR_PLUGIN_REGISTRATION_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/classes/ref.hpp b/thirdparty/godot-cpp/include/godot_cpp/classes/ref.hpp deleted file mode 100644 index c4682bc..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/classes/ref.hpp +++ /dev/null @@ -1,284 +0,0 @@ -/**************************************************************************/ -/* ref.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_REF_HPP -#define GODOT_REF_HPP - -#include - -#include -#include -#include -#include -#include - -namespace godot { - -// Helper class for RefCounted objects, same as Godot one. - -class RefCounted; - -template -class Ref { - T *reference = nullptr; - - void ref(const Ref &p_from) { - if (p_from.reference == reference) { - return; - } - - unref(); - - reference = p_from.reference; - if (reference) { - reference->reference(); - } - } - - void ref_pointer(T *p_ref) { - ERR_FAIL_NULL(p_ref); - - if (p_ref->init_ref()) { - reference = p_ref; - } - } - -public: - _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; - } - _FORCE_INLINE_ bool operator==(const Ref &p_r) const { - return reference == p_r.reference; - } - _FORCE_INLINE_ bool operator!=(const Ref &p_r) const { - return reference != p_r.reference; - } - - _FORCE_INLINE_ T *operator*() const { - return reference; - } - - _FORCE_INLINE_ T *operator->() const { - return reference; - } - - _FORCE_INLINE_ T *ptr() const { - return reference; - } - - operator Variant() const { - return Variant(reference); - } - - void operator=(const Ref &p_from) { - ref(p_from); - } - - template - void operator=(const Ref &p_from) { - RefCounted *refb = const_cast(static_cast(p_from.ptr())); - if (!refb) { - unref(); - return; - } - - Ref r; - r.reference = Object::cast_to(refb); - ref(r); - r.reference = nullptr; - } - - void operator=(const Variant &p_variant) { - // Needs testing, Variant has a cast to Object * here. - - // Object *object = p_variant.get_validated_object(); - Object *object = p_variant; - - if (object == reference) { - return; - } - - unref(); - - if (!object) { - return; - } - - T *r = Object::cast_to(object); - if (r && r->reference()) { - reference = r; - } - } - - template - void reference_ptr(T_Other *p_ptr) { - if (reference == p_ptr) { - return; - } - unref(); - - T *r = Object::cast_to(p_ptr); - if (r) { - ref_pointer(r); - } - } - - Ref(const Ref &p_from) { - ref(p_from); - } - - template - Ref(const Ref &p_from) { - RefCounted *refb = const_cast(static_cast(p_from.ptr())); - if (!refb) { - unref(); - return; - } - - Ref r; - r.reference = Object::cast_to(refb); - ref(r); - r.reference = nullptr; - } - - Ref(T *p_reference) { - if (p_reference) { - ref_pointer(p_reference); - } - } - - Ref(const Variant &p_variant) { - // Needs testing, Variant has a cast to Object * here. - - // Object *object = p_variant.get_validated_object(); - Object *object = p_variant; - - 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() { - if (reference && reference->unreference()) { - memdelete(reference); - } - reference = nullptr; - } - - void instantiate() { - ref(memnew(T())); - } - - Ref() {} - - ~Ref() { - unref(); - } - - // Used exclusively in the bindings to recreate the Ref Godot encapsulates in return values, - // without adding to the refcount. - inline static Ref _gde_internal_constructor(Object *obj) { - Ref r; - r.reference = (T *)obj; - return r; - } -}; - -template -struct PtrToArg> { - _FORCE_INLINE_ static Ref convert(const void *p_ptr) { - GDExtensionRefPtr ref = (GDExtensionRefPtr)p_ptr; - ERR_FAIL_NULL_V(p_ptr, Ref()); - return Ref(reinterpret_cast(godot::internal::get_object_instance_binding(godot::internal::gdextension_interface_ref_get_object(ref)))); - } - - typedef Ref EncodeT; - - _FORCE_INLINE_ static void encode(Ref p_val, void *p_ptr) { - GDExtensionRefPtr ref = (GDExtensionRefPtr)p_ptr; - ERR_FAIL_NULL(ref); - - // This code assumes that p_ptr points to an unset Ref variable on the Godot side - // so we only set it if we have an object to set. - if (p_val.is_valid()) { - godot::internal::gdextension_interface_ref_set_object(ref, p_val->_owner); - } - } -}; - -template -struct PtrToArg &> { - typedef Ref EncodeT; - - _FORCE_INLINE_ static Ref convert(const void *p_ptr) { - GDExtensionRefPtr ref = const_cast(p_ptr); - ERR_FAIL_NULL_V(p_ptr, Ref()); - return Ref(reinterpret_cast(godot::internal::get_object_instance_binding(godot::internal::gdextension_interface_ref_get_object(ref)))); - } -}; - -template -struct GetTypeInfo, typename EnableIf::value>::type> { - static const GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_OBJECT; - static const GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; - - static inline PropertyInfo get_class_info() { - return make_property_info(Variant::Type::OBJECT, "", PROPERTY_HINT_RESOURCE_TYPE, T::get_class_static()); - } -}; - -template -struct GetTypeInfo &, typename EnableIf::value>::type> { - static const GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_OBJECT; - static const GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; - - static inline PropertyInfo get_class_info() { - return make_property_info(Variant::Type::OBJECT, "", PROPERTY_HINT_RESOURCE_TYPE, T::get_class_static()); - } -}; - -} // namespace godot - -#endif // GODOT_REF_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/classes/wrapped.hpp b/thirdparty/godot-cpp/include/godot_cpp/classes/wrapped.hpp deleted file mode 100644 index 97f9a6e..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/classes/wrapped.hpp +++ /dev/null @@ -1,484 +0,0 @@ -/**************************************************************************/ -/* wrapped.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_WRAPPED_HPP -#define GODOT_WRAPPED_HPP - -#include - -#include - -#include -#include - -#include - -namespace godot { - -class ClassDB; - -typedef void GodotObject; - -// Base for all engine classes, to contain the pointer to the engine instance. -class Wrapped { - friend class GDExtensionBinding; - friend class ClassDB; - friend void postinitialize_handler(Wrapped *); - -protected: -#ifdef HOT_RELOAD_ENABLED - struct RecreateInstance { - GDExtensionClassInstancePtr wrapper; - GDExtensionObjectPtr owner; - RecreateInstance *next; - }; - inline static RecreateInstance *recreate_instance = nullptr; -#endif - - virtual const StringName *_get_extension_class_name() const; // This is needed to retrieve the class name before the godot object has its _extension and _extension_instance members assigned. - virtual const GDExtensionInstanceBindingCallbacks *_get_bindings_callbacks() const = 0; - - void _notification(int p_what) {} - bool _set(const StringName &p_name, const Variant &p_property) { return false; } - bool _get(const StringName &p_name, Variant &r_property) const { return false; } - void _get_property_list(List *p_list) const {} - bool _property_can_revert(const StringName &p_name) const { return false; } - bool _property_get_revert(const StringName &p_name, Variant &r_property) const { return false; } - void _validate_property(PropertyInfo &p_property) const {} - String _to_string() const { return "[" + String(get_class_static()) + ":" + itos(get_instance_id()) + "]"; } - - static void notification_bind(GDExtensionClassInstancePtr p_instance, int32_t p_what, GDExtensionBool p_reversed) {} - static GDExtensionBool set_bind(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionConstVariantPtr p_value) { return false; } - static GDExtensionBool get_bind(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionVariantPtr r_ret) { return false; } - static const GDExtensionPropertyInfo *get_property_list_bind(GDExtensionClassInstancePtr p_instance, uint32_t *r_count) { return nullptr; } - static void free_property_list_bind(GDExtensionClassInstancePtr p_instance, const GDExtensionPropertyInfo *p_list) {} - static GDExtensionBool property_can_revert_bind(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name) { return false; } - static GDExtensionBool property_get_revert_bind(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionVariantPtr r_ret) { return false; } - static GDExtensionBool validate_property_bind(GDExtensionClassInstancePtr p_instance, GDExtensionPropertyInfo *p_property) { return false; } - static void to_string_bind(GDExtensionClassInstancePtr p_instance, GDExtensionBool *r_is_valid, GDExtensionStringPtr r_out) {} - - // The only reason this has to be held here, is when we return results of `_get_property_list` to Godot, we pass - // pointers to strings in this list. They have to remain valid to pass the bridge, until the list is freed by Godot... - ::godot::List<::godot::PropertyInfo> plist_owned; - - void _postinitialize(); - - Wrapped(const StringName p_godot_class); - Wrapped(GodotObject *p_godot_object); - virtual ~Wrapped() {} - -public: - static StringName &get_class_static() { - static StringName string_name = StringName("Wrapped"); - return string_name; - } - - uint64_t get_instance_id() const { - return 0; - } - - // Must be public but you should not touch this. - GodotObject *_owner = nullptr; -}; - -_FORCE_INLINE_ void snarray_add_str(Vector &arr) { -} - -_FORCE_INLINE_ void snarray_add_str(Vector &arr, const StringName &p_str) { - arr.push_back(p_str); -} - -template -_FORCE_INLINE_ void snarray_add_str(Vector &arr, const StringName &p_str, P... p_args) { - arr.push_back(p_str); - snarray_add_str(arr, p_args...); -} - -template -_FORCE_INLINE_ Vector snarray(P... p_args) { - Vector arr; - snarray_add_str(arr, p_args...); - return arr; -} - -namespace internal { - -GDExtensionPropertyInfo *create_c_property_list(const ::godot::List<::godot::PropertyInfo> &plist_cpp, uint32_t *r_size); -void free_c_property_list(GDExtensionPropertyInfo *plist); - -typedef void (*EngineClassRegistrationCallback)(); -void add_engine_class_registration_callback(EngineClassRegistrationCallback p_callback); -void register_engine_class(const StringName &p_name, const GDExtensionInstanceBindingCallbacks *p_callbacks); -void register_engine_classes(); - -template -struct EngineClassRegistration { - EngineClassRegistration() { - add_engine_class_registration_callback(&EngineClassRegistration::callback); - } - - static void callback() { - register_engine_class(T::get_class_static(), &T::_gde_binding_callbacks); - } -}; - -} // namespace internal - -} // namespace godot - -// Use this on top of your own classes. -// Note: the trail of `***` is to keep sane diffs in PRs, because clang-format otherwise moves every `\` which makes -// every line of the macro different -#define GDCLASS(m_class, m_inherits) /***********************************************************************************************************************************************/ \ -private: \ - void operator=(const m_class &p_rval) {} \ - friend class ::godot::ClassDB; \ - \ -protected: \ - virtual const ::godot::StringName *_get_extension_class_name() const override { \ - static ::godot::StringName string_name = get_class_static(); \ - return &string_name; \ - } \ - \ - virtual const GDExtensionInstanceBindingCallbacks *_get_bindings_callbacks() const override { \ - return &_gde_binding_callbacks; \ - } \ - \ - static void (*_get_bind_methods())() { \ - return &m_class::_bind_methods; \ - } \ - \ - static void (::godot::Wrapped::*_get_notification())(int) { \ - return (void(::godot::Wrapped::*)(int)) & m_class::_notification; \ - } \ - \ - static bool (::godot::Wrapped::*_get_set())(const ::godot::StringName &p_name, const ::godot::Variant &p_property) { \ - return (bool(::godot::Wrapped::*)(const ::godot::StringName &p_name, const ::godot::Variant &p_property)) & m_class::_set; \ - } \ - \ - static bool (::godot::Wrapped::*_get_get())(const ::godot::StringName &p_name, ::godot::Variant &r_ret) const { \ - return (bool(::godot::Wrapped::*)(const ::godot::StringName &p_name, ::godot::Variant &r_ret) const) & m_class::_get; \ - } \ - \ - static void (::godot::Wrapped::*_get_get_property_list())(::godot::List<::godot::PropertyInfo> * p_list) const { \ - return (void(::godot::Wrapped::*)(::godot::List<::godot::PropertyInfo> * p_list) const) & m_class::_get_property_list; \ - } \ - \ - static bool (::godot::Wrapped::*_get_property_can_revert())(const ::godot::StringName &p_name) const { \ - return (bool(::godot::Wrapped::*)(const ::godot::StringName &p_name) const) & m_class::_property_can_revert; \ - } \ - \ - static bool (::godot::Wrapped::*_get_property_get_revert())(const ::godot::StringName &p_name, ::godot::Variant &) const { \ - return (bool(::godot::Wrapped::*)(const ::godot::StringName &p_name, ::godot::Variant &) const) & m_class::_property_get_revert; \ - } \ - \ - static void (::godot::Wrapped::*_get_validate_property())(::godot::PropertyInfo & p_property) const { \ - return (void(::godot::Wrapped::*)(::godot::PropertyInfo & p_property) const) & m_class::_validate_property; \ - } \ - \ - static ::godot::String (::godot::Wrapped::*_get_to_string())() const { \ - return (::godot::String(::godot::Wrapped::*)() const) & m_class::_to_string; \ - } \ - \ - template \ - static void register_virtuals() { \ - m_inherits::register_virtuals(); \ - } \ - \ -public: \ - typedef m_class self_type; \ - \ - 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(); \ - m_inherits::register_virtuals(); \ - } \ - initialized = true; \ - } \ - \ - static ::godot::StringName &get_class_static() { \ - static ::godot::StringName string_name = ::godot::StringName(#m_class); \ - return string_name; \ - } \ - \ - static ::godot::StringName &get_parent_class_static() { \ - return m_inherits::get_class_static(); \ - } \ - \ - static void notification_bind(GDExtensionClassInstancePtr p_instance, int32_t p_what, GDExtensionBool p_reversed) { \ - if (p_instance && m_class::_get_notification()) { \ - if (!p_reversed) { \ - m_inherits::notification_bind(p_instance, p_what, p_reversed); \ - } \ - if (m_class::_get_notification() != m_inherits::_get_notification()) { \ - m_class *cls = reinterpret_cast(p_instance); \ - cls->_notification(p_what); \ - } \ - if (p_reversed) { \ - m_inherits::notification_bind(p_instance, p_what, p_reversed); \ - } \ - } \ - } \ - \ - static GDExtensionBool set_bind(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionConstVariantPtr p_value) { \ - if (p_instance && m_class::_get_set()) { \ - if (m_class::_get_set() != m_inherits::_get_set()) { \ - m_class *cls = reinterpret_cast(p_instance); \ - return cls->_set(*reinterpret_cast(p_name), *reinterpret_cast(p_value)); \ - } \ - return m_inherits::set_bind(p_instance, p_name, p_value); \ - } \ - return false; \ - } \ - \ - static GDExtensionBool get_bind(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionVariantPtr r_ret) { \ - if (p_instance && m_class::_get_get()) { \ - if (m_class::_get_get() != m_inherits::_get_get()) { \ - m_class *cls = reinterpret_cast(p_instance); \ - return cls->_get(*reinterpret_cast(p_name), *reinterpret_cast<::godot::Variant *>(r_ret)); \ - } \ - return m_inherits::get_bind(p_instance, p_name, r_ret); \ - } \ - return false; \ - } \ - \ - static inline bool has_get_property_list() { \ - return m_class::_get_get_property_list() && m_class::_get_get_property_list() != m_inherits::_get_get_property_list(); \ - } \ - \ - static const GDExtensionPropertyInfo *get_property_list_bind(GDExtensionClassInstancePtr p_instance, uint32_t *r_count) { \ - if (!p_instance) { \ - if (r_count) \ - *r_count = 0; \ - return nullptr; \ - } \ - m_class *cls = reinterpret_cast(p_instance); \ - ::godot::List<::godot::PropertyInfo> &plist_cpp = cls->plist_owned; \ - ERR_FAIL_COND_V_MSG(!plist_cpp.is_empty(), nullptr, "Internal error, property list was not freed by engine!"); \ - cls->_get_property_list(&plist_cpp); \ - return ::godot::internal::create_c_property_list(plist_cpp, r_count); \ - } \ - \ - static void free_property_list_bind(GDExtensionClassInstancePtr p_instance, const GDExtensionPropertyInfo *p_list) { \ - if (p_instance) { \ - m_class *cls = reinterpret_cast(p_instance); \ - cls->plist_owned.clear(); \ - /* TODO `GDExtensionClassFreePropertyList` is ill-defined, we need a non-const pointer to free this. */ \ - ::godot::internal::free_c_property_list(const_cast(p_list)); \ - } \ - } \ - \ - static GDExtensionBool property_can_revert_bind(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name) { \ - if (p_instance && m_class::_get_property_can_revert()) { \ - if (m_class::_get_property_can_revert() != m_inherits::_get_property_can_revert()) { \ - m_class *cls = reinterpret_cast(p_instance); \ - return cls->_property_can_revert(*reinterpret_cast(p_name)); \ - } \ - return m_inherits::property_can_revert_bind(p_instance, p_name); \ - } \ - return false; \ - } \ - \ - static GDExtensionBool property_get_revert_bind(GDExtensionClassInstancePtr p_instance, GDExtensionConstStringNamePtr p_name, GDExtensionVariantPtr r_ret) { \ - if (p_instance && m_class::_get_property_get_revert()) { \ - if (m_class::_get_property_get_revert() != m_inherits::_get_property_get_revert()) { \ - m_class *cls = reinterpret_cast(p_instance); \ - return cls->_property_get_revert(*reinterpret_cast(p_name), *reinterpret_cast<::godot::Variant *>(r_ret)); \ - } \ - return m_inherits::property_get_revert_bind(p_instance, p_name, r_ret); \ - } \ - return false; \ - } \ - \ - static GDExtensionBool validate_property_bind(GDExtensionClassInstancePtr p_instance, GDExtensionPropertyInfo *p_property) { \ - bool ret = false; \ - if (p_instance && m_class::_get_validate_property()) { \ - ret = m_inherits::validate_property_bind(p_instance, p_property); \ - if (m_class::_get_validate_property() != m_inherits::_get_validate_property()) { \ - m_class *cls = reinterpret_cast(p_instance); \ - ::godot::PropertyInfo info(p_property); \ - cls->_validate_property(info); \ - info._update(p_property); \ - return true; \ - } \ - } \ - return ret; \ - } \ - \ - static void to_string_bind(GDExtensionClassInstancePtr p_instance, GDExtensionBool *r_is_valid, GDExtensionStringPtr r_out) { \ - if (p_instance && m_class::_get_to_string()) { \ - if (m_class::_get_to_string() != m_inherits::_get_to_string()) { \ - m_class *cls = reinterpret_cast(p_instance); \ - *reinterpret_cast<::godot::String *>(r_out) = cls->_to_string(); \ - *r_is_valid = true; \ - return; \ - } \ - m_inherits::to_string_bind(p_instance, r_is_valid, r_out); \ - } \ - } \ - \ - static void free(void *data, GDExtensionClassInstancePtr ptr) { \ - if (ptr) { \ - m_class *cls = reinterpret_cast(ptr); \ - cls->~m_class(); \ - ::godot::Memory::free_static(cls); \ - } \ - } \ - \ - static void *_gde_binding_create_callback(void *p_token, void *p_instance) { \ - return nullptr; \ - } \ - \ - static void _gde_binding_free_callback(void *p_token, void *p_instance, void *p_binding) { \ - } \ - \ - static GDExtensionBool _gde_binding_reference_callback(void *p_token, void *p_instance, GDExtensionBool p_reference) { \ - return true; \ - } \ - \ - static constexpr GDExtensionInstanceBindingCallbacks _gde_binding_callbacks = { \ - _gde_binding_create_callback, \ - _gde_binding_free_callback, \ - _gde_binding_reference_callback, \ - }; \ - \ -private: - -// Don't use this for your classes, use GDCLASS() instead. -#define GDEXTENSION_CLASS_ALIAS(m_class, m_alias_for, m_inherits) /******************************************************************************************************************/ \ -private: \ - inline static ::godot::internal::EngineClassRegistration _gde_engine_class_registration_helper; \ - void operator=(const m_class &p_rval) {} \ - \ -protected: \ - virtual const GDExtensionInstanceBindingCallbacks *_get_bindings_callbacks() const override { \ - return &_gde_binding_callbacks; \ - } \ - \ - m_class(const char *p_godot_class) : m_inherits(p_godot_class) {} \ - m_class(GodotObject *p_godot_object) : m_inherits(p_godot_object) {} \ - \ - static void (*_get_bind_methods())() { \ - return nullptr; \ - } \ - \ - static void (Wrapped::*_get_notification())(int) { \ - return nullptr; \ - } \ - \ - static bool (Wrapped::*_get_set())(const ::godot::StringName &p_name, const Variant &p_property) { \ - return nullptr; \ - } \ - \ - static bool (Wrapped::*_get_get())(const ::godot::StringName &p_name, Variant &r_ret) const { \ - return nullptr; \ - } \ - \ - static inline bool has_get_property_list() { \ - return false; \ - } \ - \ - static void (Wrapped::*_get_get_property_list())(List * p_list) const { \ - return nullptr; \ - } \ - \ - static bool (Wrapped::*_get_property_can_revert())(const ::godot::StringName &p_name) const { \ - return nullptr; \ - } \ - \ - static bool (Wrapped::*_get_property_get_revert())(const ::godot::StringName &p_name, Variant &) const { \ - return nullptr; \ - } \ - \ - static void (Wrapped::*_get_validate_property())(::godot::PropertyInfo & p_property) const { \ - return nullptr; \ - } \ - \ - static String (Wrapped::*_get_to_string())() const { \ - return nullptr; \ - } \ - \ -public: \ - typedef m_class self_type; \ - \ - static void initialize_class() {} \ - \ - static ::godot::StringName &get_class_static() { \ - static ::godot::StringName string_name = ::godot::StringName(#m_alias_for); \ - return string_name; \ - } \ - \ - static ::godot::StringName &get_parent_class_static() { \ - return m_inherits::get_class_static(); \ - } \ - \ - static void free(void *data, GDExtensionClassInstancePtr ptr) { \ - } \ - \ - static void *_gde_binding_create_callback(void *p_token, void *p_instance) { \ - /* Do not call memnew here, we don't want the post-initializer to be called */ \ - return new ("", "") m_class((GodotObject *)p_instance); \ - } \ - static void _gde_binding_free_callback(void *p_token, void *p_instance, void *p_binding) { \ - /* Explicitly call the deconstructor to ensure proper lifecycle for non-trivial members */ \ - reinterpret_cast(p_binding)->~m_class(); \ - Memory::free_static(reinterpret_cast(p_binding)); \ - } \ - static GDExtensionBool _gde_binding_reference_callback(void *p_token, void *p_instance, GDExtensionBool p_reference) { \ - return true; \ - } \ - static constexpr GDExtensionInstanceBindingCallbacks _gde_binding_callbacks = { \ - _gde_binding_create_callback, \ - _gde_binding_free_callback, \ - _gde_binding_reference_callback, \ - }; \ - m_class() : m_class(#m_alias_for) {} \ - \ -private: - -// Don't use this for your classes, use GDCLASS() instead. -#define GDEXTENSION_CLASS(m_class, m_inherits) GDEXTENSION_CLASS_ALIAS(m_class, m_class, m_inherits) - -#define GDVIRTUAL_CALL(m_name, ...) _gdvirtual_##m_name##_call(__VA_ARGS__) -#define GDVIRTUAL_CALL_PTR(m_obj, m_name, ...) m_obj->_gdvirtual_##m_name##_call(__VA_ARGS__) - -#define GDVIRTUAL_REQUIRED_CALL(m_name, ...) _gdvirtual_##m_name##_call(__VA_ARGS__) -#define GDVIRTUAL_REQUIRED_CALL_PTR(m_obj, m_name, ...) m_obj->_gdvirtual_##m_name##_call(__VA_ARGS__) - -#define GDVIRTUAL_BIND(m_name, ...) ::godot::ClassDB::add_virtual_method(get_class_static(), _gdvirtual_##m_name##_get_method_info(), ::godot::snarray(__VA_ARGS__)); -#define GDVIRTUAL_IS_OVERRIDDEN(m_name) _gdvirtual_##m_name##_overridden() -#define GDVIRTUAL_IS_OVERRIDDEN_PTR(m_obj, m_name) m_obj->_gdvirtual_##m_name##_overridden() - -#endif // GODOT_WRAPPED_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/binder_common.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/binder_common.hpp deleted file mode 100644 index 26ed4ca..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/binder_common.hpp +++ /dev/null @@ -1,696 +0,0 @@ -/**************************************************************************/ -/* binder_common.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_BINDER_COMMON_HPP -#define GODOT_BINDER_COMMON_HPP - -#include - -#include -#include - -#include -#include - -namespace godot { - -#define VARIANT_ENUM_CAST(m_enum) \ - namespace godot { \ - MAKE_ENUM_TYPE_INFO(m_enum) \ - template <> \ - struct VariantCaster { \ - static _FORCE_INLINE_ m_enum cast(const Variant &p_variant) { \ - return (m_enum)p_variant.operator int64_t(); \ - } \ - }; \ - template <> \ - struct PtrToArg { \ - _FORCE_INLINE_ static m_enum convert(const void *p_ptr) { \ - return m_enum(*reinterpret_cast(p_ptr)); \ - } \ - typedef int64_t EncodeT; \ - _FORCE_INLINE_ static void encode(m_enum p_val, void *p_ptr) { \ - *reinterpret_cast(p_ptr) = p_val; \ - } \ - }; \ - } - -#define VARIANT_BITFIELD_CAST(m_enum) \ - namespace godot { \ - MAKE_BITFIELD_TYPE_INFO(m_enum) \ - template <> \ - struct VariantCaster> { \ - static _FORCE_INLINE_ BitField cast(const Variant &p_variant) { \ - return BitField(p_variant.operator int64_t()); \ - } \ - }; \ - template <> \ - struct PtrToArg> { \ - _FORCE_INLINE_ static BitField convert(const void *p_ptr) { \ - return BitField(*reinterpret_cast(p_ptr)); \ - } \ - typedef int64_t EncodeT; \ - _FORCE_INLINE_ static void encode(BitField p_val, void *p_ptr) { \ - *reinterpret_cast(p_ptr) = p_val; \ - } \ - }; \ - } - -template -struct VariantCaster { - static _FORCE_INLINE_ T cast(const Variant &p_variant) { - using TStripped = std::remove_pointer_t; - if constexpr (std::is_base_of::value) { - return Object::cast_to(p_variant); - } else { - return p_variant; - } - } -}; - -template -struct VariantCaster { - static _FORCE_INLINE_ T cast(const Variant &p_variant) { - using TStripped = std::remove_pointer_t; - if constexpr (std::is_base_of::value) { - return Object::cast_to(p_variant); - } else { - return p_variant; - } - } -}; - -template -struct VariantCaster { - static _FORCE_INLINE_ T cast(const Variant &p_variant) { - using TStripped = std::remove_pointer_t; - if constexpr (std::is_base_of::value) { - return Object::cast_to(p_variant); - } else { - return p_variant; - } - } -}; - -template -struct VariantObjectClassChecker { - static _FORCE_INLINE_ bool check(const Variant &p_variant) { - using TStripped = std::remove_pointer_t; - if constexpr (std::is_base_of::value) { - Object *obj = p_variant; - return Object::cast_to(p_variant) || !obj; - } else { - 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, GDExtensionCallError &r_error) { - GDExtensionVariantType argtype = GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); - if (!internal::gdextension_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 = GDEXTENSION_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, GDExtensionCallError &r_error) { - GDExtensionVariantType argtype = GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); - if (!internal::gdextension_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 = GDEXTENSION_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, GDExtensionCallError &r_error) { - GDExtensionVariantType argtype = GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); - if (!internal::gdextension_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 = GDEXTENSION_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 GDExtensionConstTypePtr *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 GDExtensionConstTypePtr *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 GDExtensionConstTypePtr *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 GDExtensionConstTypePtr *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 GDExtensionConstTypePtr *p_args, void * /*ret*/) { - 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 GDExtensionConstTypePtr *p_args, void * /*ret*/) { - 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 GDExtensionConstTypePtr *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 GDExtensionConstTypePtr *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, GDExtensionCallError &r_error, IndexSequence) { - r_error.error = GDEXTENSION_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, GDExtensionCallError &r_error, IndexSequence) { - r_error.error = GDEXTENSION_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, GDExtensionCallError &r_error, IndexSequence) { - r_error.error = GDEXTENSION_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, GDExtensionCallError &r_error, IndexSequence) { - r_error.error = GDEXTENSION_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(T *p_instance, void (T::*p_method)(P...), const Variant **p_args, int p_argcount, GDExtensionCallError &r_error) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } - - if ((size_t)p_argcount < sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } -#endif - call_with_variant_args_helper(p_instance, p_method, p_args, r_error, BuildIndexSequence{}); -} - -template -void call_with_variant_args_ret(T *p_instance, R (T::*p_method)(P...), const Variant **p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } - - if ((size_t)p_argcount < sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } -#endif - call_with_variant_args_ret_helper(p_instance, p_method, p_args, r_ret, r_error, BuildIndexSequence{}); -} - -template -void call_with_variant_args_retc(T *p_instance, R (T::*p_method)(P...) const, const Variant **p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } - - if ((size_t)p_argcount < sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } -#endif - call_with_variant_args_retc_helper(p_instance, p_method, p_args, r_ret, r_error, BuildIndexSequence{}); -} - -template -void call_with_variant_args_dv(T *p_instance, void (T::*p_method)(P...), const GDExtensionConstVariantPtr *p_args, int p_argcount, GDExtensionCallError &r_error, const std::vector &default_values) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } -#endif - - int32_t missing = (int32_t)sizeof...(P) - (int32_t)p_argcount; - - int32_t dvs = (int32_t)default_values.size(); -#ifdef DEBUG_ENABLED - if (missing > dvs) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = (int32_t)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] = Variant(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 GDExtensionConstVariantPtr *p_args, int p_argcount, GDExtensionCallError &r_error, const std::vector &default_values) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } -#endif - - int32_t missing = (int32_t)sizeof...(P) - (int32_t)p_argcount; - - int32_t dvs = (int32_t)default_values.size(); -#ifdef DEBUG_ENABLED - if (missing > dvs) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = (int32_t)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] = Variant(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 GDExtensionConstVariantPtr *p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error, const std::vector &default_values) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } -#endif - - int32_t missing = (int32_t)sizeof...(P) - (int32_t)p_argcount; - - int32_t dvs = (int32_t)default_values.size(); -#ifdef DEBUG_ENABLED - if (missing > dvs) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = (int32_t)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] = Variant(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 GDExtensionConstVariantPtr *p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error, const std::vector &default_values) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } -#endif - - int32_t missing = (int32_t)sizeof...(P) - (int32_t)p_argcount; - - int32_t dvs = (int32_t)default_values.size(); -#ifdef DEBUG_ENABLED - if (missing > dvs) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = (int32_t)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] = Variant(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, GDExtensionVariantType &type) { - if (p_arg == index) { - type = GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); - } - index++; -} - -template -GDExtensionVariantType call_get_argument_type(int p_arg) { - GDExtensionVariantType type = GDEXTENSION_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, PropertyInfo &info) { - if (p_arg == index) { - info = GetTypeInfo::get_class_info(); - } - index++; -} - -template -void call_get_argument_type_info(int p_arg, PropertyInfo &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, GDExtensionClassMethodArgumentMetadata &md) { - if (p_arg == index) { - md = GetTypeInfo::METADATA; - } - index++; -} - -template -GDExtensionClassMethodArgumentMetadata call_get_argument_metadata(int p_arg) { - GDExtensionClassMethodArgumentMetadata md = GDEXTENSION_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; -} - -template -void call_with_variant_args_static(void (*p_method)(P...), const Variant **p_args, GDExtensionCallError &r_error, IndexSequence) { - r_error.error = GDEXTENSION_CALL_OK; - -#ifdef DEBUG_METHODS_ENABLED - (p_method)(VariantCasterAndValidate

::cast(p_args, Is, r_error)...); -#else - (p_method)(VariantCaster

::cast(*p_args[Is])...); -#endif -} - -template -void call_with_variant_args_static_dv(void (*p_method)(P...), const GDExtensionConstVariantPtr *p_args, int p_argcount, GDExtensionCallError &r_error, const std::vector &default_values) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = 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 = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = 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] = Variant(p_args[i]); - } else { - args[i] = default_values[i - p_argcount + (dvs - missing)]; - } - argsp[i] = &args[i]; - } - - call_with_variant_args_static(p_method, argsp.data(), r_error, BuildIndexSequence{}); -} - -template -void call_with_ptr_args_static_method_helper(void (*p_method)(P...), const GDExtensionConstTypePtr *p_args, IndexSequence) { - p_method(PtrToArg

::convert(p_args[Is])...); -} - -template -void call_with_ptr_args_static_method(void (*p_method)(P...), const GDExtensionConstTypePtr *p_args) { - call_with_ptr_args_static_method_helper(p_method, p_args, BuildIndexSequence{}); -} - -template -void call_with_variant_args_static_ret(R (*p_method)(P...), const Variant **p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } - - if ((size_t)p_argcount < sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } -#endif - call_with_variant_args_static_ret(p_method, p_args, r_ret, r_error, BuildIndexSequence{}); -} - -template -void call_with_variant_args_static_ret(void (*p_method)(P...), const Variant **p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } - - if ((size_t)p_argcount < sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = (int32_t)sizeof...(P); - return; - } -#endif - call_with_variant_args_static(p_method, p_args, r_error, BuildIndexSequence{}); -} - -template -void call_with_variant_args_static_ret(R (*p_method)(P...), const Variant **p_args, Variant &r_ret, GDExtensionCallError &r_error, IndexSequence) { - r_error.error = GDEXTENSION_CALL_OK; - -#ifdef DEBUG_METHODS_ENABLED - r_ret = (p_method)(VariantCasterAndValidate

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

::cast(*p_args[Is])...); -#endif -} - -template -void call_with_variant_args_static_ret_dv(R (*p_method)(P...), const GDExtensionConstVariantPtr *p_args, int p_argcount, Variant &r_ret, GDExtensionCallError &r_error, const std::vector &default_values) { -#ifdef DEBUG_ENABLED - if ((size_t)p_argcount > sizeof...(P)) { - r_error.error = GDEXTENSION_CALL_ERROR_TOO_MANY_ARGUMENTS; - r_error.expected = 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 = GDEXTENSION_CALL_ERROR_TOO_FEW_ARGUMENTS; - r_error.expected = 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] = Variant(p_args[i]); - } else { - args[i] = default_values[i - p_argcount + (dvs - missing)]; - } - argsp[i] = &args[i]; - } - - call_with_variant_args_static_ret(p_method, argsp.data(), r_ret, r_error, BuildIndexSequence{}); -} - -template -void call_with_ptr_args_static_method_ret_helper(R (*p_method)(P...), const GDExtensionConstTypePtr *p_args, void *r_ret, IndexSequence) { - PtrToArg::encode(p_method(PtrToArg

::convert(p_args[Is])...), r_ret); -} - -template -void call_with_ptr_args_static_method_ret(R (*p_method)(P...), const GDExtensionConstTypePtr *p_args, void *r_ret) { - call_with_ptr_args_static_method_ret_helper(p_method, p_args, r_ret, BuildIndexSequence{}); -} - -#if defined(__GNUC__) && !defined(__clang__) -#pragma GCC diagnostic pop -#endif - -} // namespace godot - -#include -#include - -#endif // GODOT_BINDER_COMMON_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/builtin_ptrcall.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/builtin_ptrcall.hpp deleted file mode 100644 index 286051f..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/builtin_ptrcall.hpp +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************/ -/* builtin_ptrcall.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_BUILTIN_PTRCALL_HPP -#define GODOT_BUILTIN_PTRCALL_HPP - -#include -#include - -#include - -namespace godot { - -namespace internal { - -template -O *_call_builtin_method_ptr_ret_obj(const GDExtensionPtrBuiltInMethod method, GDExtensionTypePtr base, const Args &...args) { - GodotObject *ret = nullptr; - std::array call_args = { { (GDExtensionConstTypePtr)args... } }; - method(base, call_args.data(), &ret, sizeof...(Args)); - if (ret == nullptr) { - return nullptr; - } - return reinterpret_cast(internal::get_object_instance_binding(ret)); -} - -template -void _call_builtin_constructor(const GDExtensionPtrConstructor constructor, GDExtensionTypePtr base, Args... args) { - std::array call_args = { { (GDExtensionConstTypePtr)args... } }; - constructor(base, call_args.data()); -} - -template -T _call_builtin_method_ptr_ret(const GDExtensionPtrBuiltInMethod method, GDExtensionTypePtr base, Args... args) { - T ret; - std::array call_args = { { (GDExtensionConstTypePtr)args... } }; - method(base, call_args.data(), &ret, sizeof...(Args)); - return ret; -} - -template -void _call_builtin_method_ptr_no_ret(const GDExtensionPtrBuiltInMethod method, GDExtensionTypePtr base, Args... args) { - std::array call_args = { { (GDExtensionConstTypePtr)args... } }; - method(base, call_args.data(), nullptr, sizeof...(Args)); -} - -template -T _call_builtin_operator_ptr(const GDExtensionPtrOperatorEvaluator op, GDExtensionConstTypePtr left, GDExtensionConstTypePtr right) { - T ret; - op(left, right, &ret); - return ret; -} - -template -T _call_builtin_ptr_getter(const GDExtensionPtrGetter getter, GDExtensionConstTypePtr base) { - T ret; - getter(base, &ret); - return ret; -} - -} // namespace internal - -} // namespace godot - -#endif // GODOT_BUILTIN_PTRCALL_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/class_db.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/class_db.hpp deleted file mode 100644 index e240193..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/class_db.hpp +++ /dev/null @@ -1,340 +0,0 @@ -/**************************************************************************/ -/* class_db.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_CLASS_DB_HPP -#define GODOT_CLASS_DB_HPP - -#include - -#include -#include -#include -#include - -#include - -// Makes callable_mp readily available in all classes connecting signals. -// Needs to come after method_bind and object have been included. -#include - -#include -#include -#include -#include -#include - -// Needed to use StringName as key in `std::unordered_map` -template <> -struct std::hash { - std::size_t operator()(godot::StringName const &s) const noexcept { - return s.hash(); - } -}; - -namespace godot { - -#define DEFVAL(m_defval) (m_defval) - -struct MethodDefinition { - StringName name; - std::list args; - MethodDefinition() {} - MethodDefinition(StringName p_name) : - name(p_name) {} -}; - -MethodDefinition D_METHOD(StringName p_name); -MethodDefinition D_METHOD(StringName p_name, StringName p_arg1); -template -MethodDefinition D_METHOD(StringName p_name, StringName p_arg1, Args... args) { - MethodDefinition md = D_METHOD(p_name, args...); - md.args.push_front(p_arg1); - return md; -} - -class ClassDB { - static GDExtensionInitializationLevel current_level; - - friend class godot::GDExtensionBinding; - -public: - struct ClassInfo { - StringName name; - StringName parent_name; - GDExtensionInitializationLevel level = GDEXTENSION_INITIALIZATION_SCENE; - std::unordered_map method_map; - std::set signal_names; - std::unordered_map virtual_methods; - std::set property_names; - std::set constant_names; - // Pointer to the parent custom class, if any. Will be null if the parent class is a Godot class. - ClassInfo *parent_ptr = nullptr; - }; - -private: - // This may only contain custom classes, not Godot classes - static std::unordered_map classes; - static std::unordered_map instance_binding_callbacks; - // Used to remember the custom class registration order. - static std::vector class_register_order; - - static MethodBind *bind_methodfi(uint32_t p_flags, MethodBind *p_bind, const MethodDefinition &method_name, const void **p_defs, int p_defcount); - static void initialize_class(const ClassInfo &cl); - static void bind_method_godot(const StringName &p_class_name, MethodBind *p_method); - - template - static void _register_class(bool p_virtual = false, bool p_exposed = true, bool p_runtime = false); - - template - static GDExtensionObjectPtr _create_instance_func(void *data) { - if constexpr (!std::is_abstract_v) { - T *new_object = memnew(T); - return new_object->_owner; - } else { - return nullptr; - } - } - - template - static GDExtensionClassInstancePtr _recreate_instance_func(void *data, GDExtensionObjectPtr obj) { - if constexpr (!std::is_abstract_v) { -#ifdef HOT_RELOAD_ENABLED - T *new_instance = (T *)memalloc(sizeof(T)); - Wrapped::RecreateInstance recreate_data = { new_instance, obj, Wrapped::recreate_instance }; - Wrapped::recreate_instance = &recreate_data; - memnew_placement(new_instance, T); - return new_instance; -#else - return nullptr; -#endif - } else { - return nullptr; - } - } - -public: - template - static void register_class(bool p_virtual = false); - template - static void register_abstract_class(); - template - static void register_internal_class(); - template - static void register_runtime_class(); - - _FORCE_INLINE_ static void _register_engine_class(const StringName &p_name, const GDExtensionInstanceBindingCallbacks *p_callbacks) { - instance_binding_callbacks[p_name] = p_callbacks; - } - - template - static MethodBind *bind_method(N p_method_name, M p_method, VarArgs... p_args); - - template - static MethodBind *bind_static_method(StringName p_class, N p_method_name, M p_method, VarArgs... p_args); - - template - static MethodBind *bind_vararg_method(uint32_t p_flags, StringName 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_group(const StringName &p_class, const String &p_name, const String &p_prefix); - static void add_property_subgroup(const StringName &p_class, const String &p_name, const String &p_prefix); - static void add_property(const StringName &p_class, const PropertyInfo &p_pinfo, const StringName &p_setter, const StringName &p_getter, int p_index = -1); - static void add_signal(const StringName &p_class, const MethodInfo &p_signal); - static void bind_integer_constant(const StringName &p_class_name, const StringName &p_enum_name, const StringName &p_constant_name, GDExtensionInt p_constant_value, bool p_is_bitfield = false); - // Binds an implementation of a virtual method defined in Godot. - static void bind_virtual_method(const StringName &p_class, const StringName &p_method, GDExtensionClassCallVirtual p_call); - // Add a new virtual method that can be implemented by scripts. - static void add_virtual_method(const StringName &p_class, const MethodInfo &p_method, const Vector &p_arg_names = Vector()); - - static MethodBind *get_method(const StringName &p_class, const StringName &p_method); - - static GDExtensionClassCallVirtual get_virtual_func(void *p_userdata, GDExtensionConstStringNamePtr p_name); - static const GDExtensionInstanceBindingCallbacks *get_instance_binding_callbacks(const StringName &p_class); - - static void initialize(GDExtensionInitializationLevel p_level); - static void deinitialize(GDExtensionInitializationLevel p_level); - - CLASSDB_SINGLETON_FORWARD_METHODS; -}; - -#define BIND_CONSTANT(m_constant) \ - ::godot::ClassDB::bind_integer_constant(get_class_static(), "", #m_constant, m_constant); - -#define BIND_ENUM_CONSTANT(m_constant) \ - ::godot::ClassDB::bind_integer_constant(get_class_static(), ::godot::_gde_constant_get_enum_name(m_constant, #m_constant), #m_constant, m_constant); - -#define BIND_BITFIELD_FLAG(m_constant) \ - ::godot::ClassDB::bind_integer_constant(get_class_static(), ::godot::_gde_constant_get_bitfield_name(m_constant, #m_constant), #m_constant, m_constant, true); - -#define BIND_VIRTUAL_METHOD(m_class, m_method) \ - { \ - auto _call##m_method = [](GDExtensionObjectPtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr p_ret) -> void { \ - call_with_ptr_args(reinterpret_cast(p_instance), &m_class::m_method, p_args, p_ret); \ - }; \ - ::godot::ClassDB::bind_virtual_method(m_class::get_class_static(), #m_method, _call##m_method); \ - } - -template -void ClassDB::_register_class(bool p_virtual, bool p_exposed, bool p_runtime) { - static_assert(TypesAreSame::value, "Class not declared properly, please use GDCLASS."); - instance_binding_callbacks[T::get_class_static()] = &T::_gde_binding_callbacks; - - // Register this class within our plugin - ClassInfo cl; - cl.name = T::get_class_static(); - cl.parent_name = T::get_parent_class_static(); - cl.level = current_level; - std::unordered_map::iterator parent_it = classes.find(cl.parent_name); - if (parent_it != classes.end()) { - // Assign parent if it is also a custom class - cl.parent_ptr = &parent_it->second; - } - classes[cl.name] = cl; - class_register_order.push_back(cl.name); - - // Register this class with Godot - GDExtensionClassCreationInfo3 class_info = { - p_virtual, // GDExtensionBool is_virtual; - is_abstract, // GDExtensionBool is_abstract; - p_exposed, // GDExtensionBool is_exposed; - p_runtime, // GDExtensionBool is_runtime; - T::set_bind, // GDExtensionClassSet set_func; - T::get_bind, // GDExtensionClassGet get_func; - T::has_get_property_list() ? T::get_property_list_bind : nullptr, // GDExtensionClassGetPropertyList get_property_list_func; - T::free_property_list_bind, // GDExtensionClassFreePropertyList free_property_list_func; - T::property_can_revert_bind, // GDExtensionClassPropertyCanRevert property_can_revert_func; - T::property_get_revert_bind, // GDExtensionClassPropertyGetRevert property_get_revert_func; - T::validate_property_bind, // GDExtensionClassValidateProperty validate_property_func; - T::notification_bind, // GDExtensionClassNotification2 notification_func; - T::to_string_bind, // GDExtensionClassToString to_string_func; - nullptr, // GDExtensionClassReference reference_func; - nullptr, // GDExtensionClassUnreference unreference_func; - &_create_instance_func, // GDExtensionClassCreateInstance create_instance_func; /* this one is mandatory */ - T::free, // GDExtensionClassFreeInstance free_instance_func; /* this one is mandatory */ - &_recreate_instance_func, // GDExtensionClassRecreateInstance recreate_instance_func; - &ClassDB::get_virtual_func, // GDExtensionClassGetVirtual get_virtual_func; - nullptr, // GDExtensionClassGetVirtualCallData get_virtual_call_data_func; - nullptr, // GDExtensionClassCallVirtualWithData call_virtual_func; - nullptr, // GDExtensionClassGetRID get_rid; - (void *)&T::get_class_static(), // void *class_userdata; - }; - - internal::gdextension_interface_classdb_register_extension_class3(internal::library, cl.name._native_ptr(), cl.parent_name._native_ptr(), &class_info); - - // call bind_methods etc. to register all members of the class - T::initialize_class(); - - // now register our class within ClassDB within Godot - initialize_class(classes[cl.name]); -} - -template -void ClassDB::register_class(bool p_virtual) { - ClassDB::_register_class(p_virtual); -} - -template -void ClassDB::register_abstract_class() { - ClassDB::_register_class(); -} - -template -void ClassDB::register_internal_class() { - ClassDB::_register_class(false, false); -} - -template -void ClassDB::register_runtime_class() { - ClassDB::_register_class(false, true, true); -} - -template -MethodBind *ClassDB::bind_method(N p_method_name, M p_method, VarArgs... p_args) { - Variant args[sizeof...(p_args) + 1] = { p_args..., Variant() }; // +1 makes sure zero sized arrays are also supported. - const Variant *argptrs[sizeof...(p_args) + 1]; - for (uint32_t i = 0; i < sizeof...(p_args); i++) { - argptrs[i] = &args[i]; - } - MethodBind *bind = create_method_bind(p_method); - return bind_methodfi(METHOD_FLAGS_DEFAULT, bind, p_method_name, sizeof...(p_args) == 0 ? nullptr : (const void **)argptrs, sizeof...(p_args)); -} - -template -MethodBind *ClassDB::bind_static_method(StringName p_class, N p_method_name, M p_method, VarArgs... p_args) { - Variant args[sizeof...(p_args) + 1] = { p_args..., Variant() }; // +1 makes sure zero sized arrays are also supported. - const Variant *argptrs[sizeof...(p_args) + 1]; - for (uint32_t i = 0; i < sizeof...(p_args); i++) { - argptrs[i] = &args[i]; - } - MethodBind *bind = create_static_method_bind(p_method); - bind->set_instance_class(p_class); - return bind_methodfi(0, bind, p_method_name, sizeof...(p_args) == 0 ? nullptr : (const void **)argptrs, sizeof...(p_args)); -} - -template -MethodBind *ClassDB::bind_vararg_method(uint32_t p_flags, StringName 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_NULL_V(bind, nullptr); - - bind->set_name(p_name); - bind->set_default_arguments(p_default_args); - - StringName 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, String("Class '{0}' doesn't exist.").format(Array::make(instance_type))); - } - - ClassInfo &type = type_it->second; - - if (type.method_map.find(p_name) != type.method_map.end()) { - memdelete(bind); - ERR_FAIL_V_MSG(nullptr, String("Binding duplicate method: {0}::{1}.").format(Array::make(instance_type, p_method))); - } - - // register our method bind within our plugin - type.method_map[p_name] = bind; - - // and register with godot - bind_method_godot(type.name, bind); - - return bind; -} - -#define GDREGISTER_CLASS(m_class) ClassDB::register_class(); -#define GDREGISTER_VIRTUAL_CLASS(m_class) ClassDB::register_class(true); -#define GDREGISTER_ABSTRACT_CLASS(m_class) ClassDB::register_abstract_class(); -#define GDREGISTER_INTERNAL_CLASS(m_class) ClassDB::register_internal_class(); -#define GDREGISTER_RUNTIME_CLASS(m_class) ClassDB::register_runtime_class(); - -} // namespace godot - -#endif // GODOT_CLASS_DB_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/defs.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/defs.hpp deleted file mode 100644 index 16812c2..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/defs.hpp +++ /dev/null @@ -1,130 +0,0 @@ -/**************************************************************************/ -/* defs.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_DEFS_HPP -#define GODOT_DEFS_HPP - -#include -#include -#include - -#if !defined(GDE_EXPORT) -#if defined(_WIN32) -#define GDE_EXPORT __declspec(dllexport) -#elif defined(__GNUC__) -#define GDE_EXPORT __attribute__((visibility("default"))) -#else -#define GDE_EXPORT -#endif -#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 - -#ifndef _NO_DISCARD_ -#define _NO_DISCARD_ [[nodiscard]] -#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 - -#ifdef REAL_T_IS_DOUBLE -typedef double real_t; -#else -typedef float real_t; -#endif - -// Generic swap template. -#ifndef SWAP -#define SWAP(m_x, m_y) __swap_tmpl((m_x), (m_y)) -template -inline void __swap_tmpl(T &x, T &y) { - T aux = x; - x = y; - y = aux; -} -#endif // SWAP - -// 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 // GODOT_DEFS_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/engine_ptrcall.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/engine_ptrcall.hpp deleted file mode 100644 index 555806b..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/engine_ptrcall.hpp +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************/ -/* engine_ptrcall.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_ENGINE_PTRCALL_HPP -#define GODOT_ENGINE_PTRCALL_HPP - -#include - -#include -#include -#include - -#include - -namespace godot { - -namespace internal { - -template -O *_call_native_mb_ret_obj(const GDExtensionMethodBindPtr mb, void *instance, const Args &...args) { - GodotObject *ret = nullptr; - std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; - internal::gdextension_interface_object_method_bind_ptrcall(mb, instance, mb_args.data(), &ret); - if (ret == nullptr) { - return nullptr; - } - return reinterpret_cast(internal::get_object_instance_binding(ret)); -} - -template -R _call_native_mb_ret(const GDExtensionMethodBindPtr mb, void *instance, const Args &...args) { - R ret; - std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; - internal::gdextension_interface_object_method_bind_ptrcall(mb, instance, mb_args.data(), &ret); - return ret; -} - -template -void _call_native_mb_no_ret(const GDExtensionMethodBindPtr mb, void *instance, const Args &...args) { - std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; - internal::gdextension_interface_object_method_bind_ptrcall(mb, instance, mb_args.data(), nullptr); -} - -template -R _call_utility_ret(GDExtensionPtrUtilityFunction func, const Args &...args) { - R ret; - std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; - func(&ret, mb_args.data(), mb_args.size()); - return ret; -} - -template -Object *_call_utility_ret_obj(const GDExtensionPtrUtilityFunction func, const Args &...args) { - GodotObject *ret = nullptr; - std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; - func(&ret, mb_args.data(), mb_args.size()); - return (Object *)internal::get_object_instance_binding(ret); -} - -template -void _call_utility_no_ret(const GDExtensionPtrUtilityFunction func, const Args &...args) { - std::array mb_args = { { (GDExtensionConstTypePtr)args... } }; - func(nullptr, mb_args.data(), mb_args.size()); -} - -} // namespace internal - -} // namespace godot - -#endif // GODOT_ENGINE_PTRCALL_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/error_macros.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/error_macros.hpp deleted file mode 100644 index a27c2cb..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/error_macros.hpp +++ /dev/null @@ -1,806 +0,0 @@ -/**************************************************************************/ -/* error_macros.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_ERROR_MACROS_HPP -#define GODOT_ERROR_MACROS_HPP - -#include - -#include - -namespace godot { - -class String; - -void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, bool p_editor_notify = false, bool p_is_warning = false); -void _err_print_error(const char *p_function, const char *p_file, int p_line, const String &p_error, bool p_editor_notify = false, 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_editor_notify = false, bool p_is_warning = false); -void _err_print_error(const char *p_function, const char *p_file, int p_line, const String &p_error, const char *p_message, bool p_editor_notify = false, 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 String &p_message, bool p_editor_notify = false, bool p_is_warning = false); -void _err_print_error(const char *p_function, const char *p_file, int p_line, const String &p_error, const String &p_message, bool p_editor_notify = false, 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 p_editor_notify = false, bool p_fatal = 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 String &p_message, bool p_editor_notify = false, bool p_fatal = false); -void _err_flush_stdout(); - -} // namespace godot - -#ifdef __GNUC__ -#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 - -/** - * Error macros. - * WARNING: These macros work in the opposite way to assert(). - * - * Unlike exceptions and asserts, these macros try to maintain consistency and stability. - * In most cases, bugs and/or invalid data are not fatal. They should never allow a perfectly - * running application to fail or crash. - * Always try to return processable data, so the engine can keep running well. - * Use the _MSG versions to print a meaningful message to help with debugging. - * - * The `((void)0)` no-op statement is used as a trick to force us to put a semicolon after - * those macros, making them look like proper statements. - * The if wrappers are used to ensure that the macro replacement does not trigger unexpected - * issues when expanded e.g. after an `if (cond) ERR_FAIL();` without braces. - */ - -// Index out of bounds error macros. -// These macros should be used instead of `ERR_FAIL_COND` for bounds checking. - -// Integer index out of bounds error macros. - -/** - * Try using `ERR_FAIL_INDEX_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. - */ -#define ERR_FAIL_INDEX(m_index, m_size) \ - if (unlikely((m_index) < 0 || (m_index) >= (m_size))) { \ - ::godot::_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))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg); \ - return; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_INDEX_MSG` but also notifies the editor. - */ -#define ERR_FAIL_INDEX_EDMSG(m_index, m_size, m_msg) \ - if (unlikely((m_index) < 0 || (m_index) >= (m_size))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg, true); \ - 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))) { \ - ::godot::_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))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg); \ - return m_retval; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_INDEX_V_MSG` but also notifies the editor. - */ -#define ERR_FAIL_INDEX_V_EDMSG(m_index, m_size, m_retval, m_msg) \ - if (unlikely((m_index) < 0 || (m_index) >= (m_size))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg, true); \ - 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))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), "", false, true); \ - ::godot::_err_flush_stdout(); \ - 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))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg, false, true); \ - ::godot::_err_flush_stdout(); \ - 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))) { \ - ::godot::_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))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg); \ - return; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_UNSIGNED_INDEX_MSG` but also notifies the editor. - */ -#define ERR_FAIL_UNSIGNED_INDEX_EDMSG(m_index, m_size, m_msg) \ - if (unlikely((m_index) >= (m_size))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg, true); \ - 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))) { \ - ::godot::_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))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg); \ - return m_retval; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_UNSIGNED_INDEX_V_EDMSG` but also notifies the editor. - */ -#define ERR_FAIL_UNSIGNED_INDEX_V_EDMSG(m_index, m_size, m_retval, m_msg) \ - if (unlikely((m_index) >= (m_size))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg, true); \ - 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))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), "", false, true); \ - ::godot::_err_flush_stdout(); \ - 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))) { \ - ::godot::_err_print_index_error(FUNCTION_STR, __FILE__, __LINE__, m_index, m_size, _STR(m_index), _STR(m_size), m_msg, false, true); \ - ::godot::_err_flush_stdout(); \ - 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)) { \ - ::godot::_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)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Parameter \"" _STR(m_param) "\" is null.", m_msg); \ - return; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_NULL_MSG` but also notifies the editor. - */ -#define ERR_FAIL_NULL_EDMSG(m_param, m_msg) \ - if (unlikely(m_param == nullptr)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Parameter \"" _STR(m_param) "\" is null.", m_msg, true); \ - 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)) { \ - ::godot::_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)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Parameter \"" _STR(m_param) "\" is null.", m_msg); \ - return m_retval; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_NULL_V_MSG` but also notifies the editor. - */ -#define ERR_FAIL_NULL_V_EDMSG(m_param, m_retval, m_msg) \ - if (unlikely(m_param == nullptr)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Parameter \"" _STR(m_param) "\" is null.", m_msg, true); \ - 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)) { \ - ::godot::_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)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true.", m_msg); \ - return; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_COND_MSG` but also notifies the editor. - */ -#define ERR_FAIL_COND_EDMSG(m_cond, m_msg) \ - if (unlikely(m_cond)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true.", m_msg, true); \ - 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)) { \ - ::godot::_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)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Returning: " _STR(m_retval), m_msg); \ - return m_retval; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_COND_V_MSG` but also notifies the editor. - */ -#define ERR_FAIL_COND_V_EDMSG(m_cond, m_retval, m_msg) \ - if (unlikely(m_cond)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Returning: " _STR(m_retval), m_msg, true); \ - 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)) { \ - ::godot::_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)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Continuing.", m_msg); \ - continue; \ - } else \ - ((void)0) - -/** - * Same as `ERR_CONTINUE_MSG` but also notifies the editor. - */ -#define ERR_CONTINUE_EDMSG(m_cond, m_msg) \ - if (unlikely(m_cond)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Continuing.", m_msg, true); \ - 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)) { \ - ::godot::_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)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Breaking.", m_msg); \ - break; \ - } else \ - ((void)0) - -/** - * Same as `ERR_BREAK_MSG` but also notifies the editor. - */ -#define ERR_BREAK_EDMSG(m_cond, m_msg) \ - if (unlikely(m_cond)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Condition \"" _STR(m_cond) "\" is true. Breaking.", m_msg, true); \ - 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)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "FATAL: Condition \"" _STR(m_cond) "\" is true."); \ - ::godot::_err_flush_stdout(); \ - 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)) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "FATAL: Condition \"" _STR(m_cond) "\" is true.", m_msg); \ - ::godot::_err_flush_stdout(); \ - 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) { \ - ::godot::_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) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/function failed.", m_msg); \ - return; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_MSG` but also notifies the editor. - */ -#define ERR_FAIL_EDMSG(m_msg) \ - if (true) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/function failed.", m_msg, true); \ - 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) { \ - ::godot::_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) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/function failed. Returning: " _STR(m_retval), m_msg); \ - return m_retval; \ - } else \ - ((void)0) - -/** - * Same as `ERR_FAIL_V_MSG` but also notifies the editor. - */ -#define ERR_FAIL_V_EDMSG(m_retval, m_msg) \ - if (true) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/function failed. Returning: " _STR(m_retval), m_msg, true); \ - 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) \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg) - -/** - * Same as `ERR_PRINT` but also notifies the editor. - */ -#define ERR_PRINT_ED(m_msg) \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg, true) - -/** - * Prints `m_msg` once during the application lifetime. - */ -#define ERR_PRINT_ONCE(m_msg) \ - if (true) { \ - static bool first_print = true; \ - if (first_print) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg); \ - first_print = false; \ - } \ - } else \ - ((void)0) - -/** - * Same as `ERR_PRINT_ONCE` but also notifies the editor. - */ -#define ERR_PRINT_ONCE_ED(m_msg) \ - if (true) { \ - static bool first_print = true; \ - if (first_print) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg, true); \ - 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) \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg, false, true) - -/** - * Same as `WARN_PRINT` but also notifies the editor. - */ -#define WARN_PRINT_ED(m_msg) \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg, true, 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) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg, false, true); \ - first_print = false; \ - } \ - } else \ - ((void)0) - -/** - * Same as `WARN_PRINT_ONCE` but also notifies the editor. - */ -#define WARN_PRINT_ONCE_ED(m_msg) \ - if (true) { \ - static bool first_print = true; \ - if (first_print) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, m_msg, true, 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 std::atomic warning_shown; \ - if (!warning_shown.load()) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "This method has been deprecated and will be removed in the future.", false, true); \ - warning_shown.store(true); \ - } \ - } else \ - ((void)0) - -/** - * Warns that the current function is deprecated and prints `m_msg`. - */ -#define WARN_DEPRECATED_MSG(m_msg) \ - if (true) { \ - static std::atomic warning_shown; \ - if (!warning_shown.load()) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "This method has been deprecated and will be removed in the future.", m_msg, false, true); \ - warning_shown.store(true); \ - } \ - } 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) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "FATAL: Method/function failed."); \ - ::godot::_err_flush_stdout(); \ - 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) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "FATAL: Method/function failed.", m_msg); \ - ::godot::_err_flush_stdout(); \ - GENERATE_TRAP(); \ - } else \ - ((void)0) - -/** - * This should be a 'free' assert for program flow and should not be needed in any releases, - * only used in dev builds. - */ -#ifdef DEBUG_ENABLED -#define DEV_ASSERT(m_cond) \ - if (unlikely(!(m_cond))) { \ - ::godot::_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "FATAL: DEV_ASSERT failed \"" _STR(m_cond) "\" is false."); \ - ::godot::_err_flush_stdout(); \ - GENERATE_TRAP(); \ - } else \ - ((void)0) -#else -#define DEV_ASSERT(m_cond) -#endif - -/** - * 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_ERROR_MACROS_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/math.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/math.hpp deleted file mode 100644 index 2cbbe27..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/math.hpp +++ /dev/null @@ -1,811 +0,0 @@ -/**************************************************************************/ -/* math.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_HPP -#define GODOT_MATH_HPP - -#include - -#include - -#include - -namespace godot { - -#define Math_SQRT12 0.7071067811865475244008443621048490 -#define Math_SQRT2 1.4142135623730950488016887242 -#define Math_LN2 0.6931471805599453094172321215 -#define Math_PI 3.1415926535897932384626433833 -#define Math_TAU 6.2831853071795864769252867666 -#define Math_E 2.7182818284590452353602874714 -#define Math_INF INFINITY -#define Math_NAN NAN - -// Make room for our constexpr's below by overriding potential system-specific macros. -#undef ABS -#undef SIGN -#undef MIN -#undef MAX -#undef CLAMP - -// Generic ABS function, for math uses please use Math::abs. -template -constexpr T ABS(T m_v) { - return m_v < 0 ? -m_v : m_v; -} - -template -constexpr const T SIGN(const T m_v) { - return m_v == 0 ? 0.0f : (m_v < 0 ? -1.0f : +1.0f); -} - -template -constexpr auto MIN(const T m_a, const T2 m_b) { - return m_a < m_b ? m_a : m_b; -} - -template -constexpr auto MAX(const T m_a, const T2 m_b) { - return m_a > m_b ? m_a : m_b; -} - -template -constexpr auto CLAMP(const T m_a, const T2 m_min, const T3 m_max) { - return m_a < m_min ? m_min : (m_a > m_max ? m_max : m_a); -} - -// Generic swap template. -#ifndef SWAP -#define SWAP(m_x, m_y) __swap_tmpl((m_x), (m_y)) -template -inline void __swap_tmpl(T &x, T &y) { - T aux = x; - x = y; - y = aux; -} -#endif // SWAP - -/* Functions to handle powers of 2 and shifting. */ - -// Function to find the next power of 2 to an integer. -static _FORCE_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; -} - -// Function to find the previous power of 2 to an integer. -static _FORCE_INLINE_ unsigned int previous_power_of_2(unsigned int x) { - x |= x >> 1; - x |= x >> 2; - x |= x >> 4; - x |= x >> 8; - x |= x >> 16; - return x - (x >> 1); -} - -// Function to find the closest power of 2 to an integer. -static _FORCE_INLINE_ unsigned int closest_power_of_2(unsigned int x) { - unsigned int nx = next_power_of_2(x); - unsigned int px = previous_power_of_2(x); - return (nx - x) > (x - px) ? px : nx; -} - -// Get a shift value from a power of 2. -static inline int get_shift_from_power_of_2(unsigned int p_bits) { - for (unsigned int i = 0; i < 32; i++) { - if (p_bits == (unsigned int)(1 << i)) { - return i; - } - } - - return -1; -} - -template -static _FORCE_INLINE_ T nearest_power_of_2_templated(T x) { - --x; - - // The number of operations on x is the base two logarithm - // of the number of bits in the type. Add three to account - // for sizeof(T) being in bytes. - size_t num = get_shift_from_power_of_2(sizeof(T)) + 3; - - // If the compiler is smart, it unrolls this loop. - // If it's dumb, this is a bit slow. - for (size_t i = 0; i < num; i++) { - x |= x >> (1 << i); - } - - return ++x; -} - -// Function to find the nearest (bigger) power of 2 to an integer. -static inline unsigned int nearest_shift(unsigned int p_number) { - for (int i = 30; i >= 0; i--) { - if (p_number & (1 << i)) { - return i + 1; - } - } - - return 0; -} - -// constexpr function to find the floored log2 of a number -template -constexpr T floor_log2(T x) { - return x < 2 ? x : 1 + floor_log2(x >> 1); -} - -// Get the number of bits needed to represent the number. -// IE, if you pass in 8, you will get 4. -// If you want to know how many bits are needed to store 8 values however, pass in (8 - 1). -template -constexpr T get_num_bits(T x) { - return floor_log2(x); -} - -// Swap 16, 32 and 64 bits value for endianness. -#if defined(__GNUC__) -#define BSWAP16(x) __builtin_bswap16(x) -#define BSWAP32(x) __builtin_bswap32(x) -#define BSWAP64(x) __builtin_bswap64(x) -#else -static inline uint16_t BSWAP16(uint16_t x) { - return (x >> 8) | (x << 8); -} - -static inline uint32_t BSWAP32(uint32_t x) { - return ((x << 24) | ((x << 8) & 0x00FF0000) | ((x >> 8) & 0x0000FF00) | (x >> 24)); -} - -static inline uint64_t BSWAP64(uint64_t x) { - x = (x & 0x00000000FFFFFFFF) << 32 | (x & 0xFFFFFFFF00000000) >> 32; - x = (x & 0x0000FFFF0000FFFF) << 16 | (x & 0xFFFF0000FFFF0000) >> 16; - x = (x & 0x00FF00FF00FF00FF) << 8 | (x & 0xFF00FF00FF00FF00) >> 8; - return x; -} -#endif - -namespace Math { - -// 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) - -// This epsilon is for values related to a unit size (scalar or vector len). -#ifdef PRECISE_MATH_CHECKS -#define UNIT_EPSILON 0.00001 -#else -// Tolerate some more floating point error normally. -#define UNIT_EPSILON 0.001 -#endif - -// 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 fposmod(double p_x, double p_y) { - double value = Math::fmod(p_x, p_y); - if ((value < 0 && p_y > 0) || (value > 0 && p_y < 0)) { - value += p_y; - } - value += 0.0; - return value; -} -inline float fposmod(float p_x, float p_y) { - float value = Math::fmod(p_x, p_y); - if ((value < 0 && p_y > 0) || (value > 0 && p_y < 0)) { - value += p_y; - } - value += 0.0f; - return value; -} - -inline float fposmodp(float p_x, float p_y) { - float value = Math::fmod(p_x, p_y); - if (value < 0) { - value += p_y; - } - value += 0.0f; - return value; -} -inline double fposmodp(double p_x, double p_y) { - double value = Math::fmod(p_x, p_y); - if (value < 0) { - value += p_y; - } - value += 0.0; - return value; -} - -inline int64_t posmod(int64_t p_x, int64_t p_y) { - int64_t value = p_x % p_y; - if ((value < 0 && p_y > 0) || (value > 0 && p_y < 0)) { - value += p_y; - } - return value; -} - -inline double floor(double p_x) { - return ::floor(p_x); -} -inline float floor(float p_x) { - return ::floorf(p_x); -} - -inline double ceil(double p_x) { - return ::ceil(p_x); -} -inline float ceil(float p_x) { - return ::ceilf(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 sinh(double p_x) { - return ::sinh(p_x); -} -inline float sinh(float p_x) { - return ::sinhf(p_x); -} - -inline float sinc(float p_x) { - return p_x == 0 ? 1 : ::sin(p_x) / p_x; -} -inline double sinc(double p_x) { - return p_x == 0 ? 1 : ::sin(p_x) / p_x; -} - -inline float sincn(float p_x) { - return (float)sinc(Math_PI * p_x); -} -inline double sincn(double p_x) { - return sinc(Math_PI * p_x); -} - -inline double cosh(double p_x) { - return ::cosh(p_x); -} -inline float cosh(float p_x) { - return ::coshf(p_x); -} - -inline double tanh(double p_x) { - return ::tanh(p_x); -} -inline float tanh(float p_x) { - return ::tanhf(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 double pow(double p_x, double p_y) { - return ::pow(p_x, p_y); -} -inline float pow(float p_x, float p_y) { - return ::powf(p_x, p_y); -} - -inline double log(double p_x) { - return ::log(p_x); -} -inline float log(float p_x) { - return ::logf(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; -} - -inline double cubic_interpolate(double p_from, double p_to, double p_pre, double p_post, double p_weight) { - return 0.5 * - ((p_from * 2.0) + - (-p_pre + p_to) * p_weight + - (2.0 * p_pre - 5.0 * p_from + 4.0 * p_to - p_post) * (p_weight * p_weight) + - (-p_pre + 3.0 * p_from - 3.0 * p_to + p_post) * (p_weight * p_weight * p_weight)); -} - -inline float cubic_interpolate(float p_from, float p_to, float p_pre, float p_post, float p_weight) { - return 0.5f * - ((p_from * 2.0f) + - (-p_pre + p_to) * p_weight + - (2.0f * p_pre - 5.0f * p_from + 4.0f * p_to - p_post) * (p_weight * p_weight) + - (-p_pre + 3.0f * p_from - 3.0f * p_to + p_post) * (p_weight * p_weight * p_weight)); -} - -inline double cubic_interpolate_angle(double p_from, double p_to, double p_pre, double p_post, double p_weight) { - double from_rot = fmod(p_from, Math_TAU); - - double pre_diff = fmod(p_pre - from_rot, Math_TAU); - double pre_rot = from_rot + fmod(2.0 * pre_diff, Math_TAU) - pre_diff; - - double to_diff = fmod(p_to - from_rot, Math_TAU); - double to_rot = from_rot + fmod(2.0 * to_diff, Math_TAU) - to_diff; - - double post_diff = fmod(p_post - to_rot, Math_TAU); - double post_rot = to_rot + fmod(2.0 * post_diff, Math_TAU) - post_diff; - - return cubic_interpolate(from_rot, to_rot, pre_rot, post_rot, p_weight); -} - -inline float cubic_interpolate_angle(float p_from, float p_to, float p_pre, float p_post, float p_weight) { - float from_rot = fmod(p_from, (float)Math_TAU); - - float pre_diff = fmod(p_pre - from_rot, (float)Math_TAU); - float pre_rot = from_rot + fmod(2.0f * pre_diff, (float)Math_TAU) - pre_diff; - - float to_diff = fmod(p_to - from_rot, (float)Math_TAU); - float to_rot = from_rot + fmod(2.0f * to_diff, (float)Math_TAU) - to_diff; - - float post_diff = fmod(p_post - to_rot, (float)Math_TAU); - float post_rot = to_rot + fmod(2.0f * post_diff, (float)Math_TAU) - post_diff; - - return cubic_interpolate(from_rot, to_rot, pre_rot, post_rot, p_weight); -} - -inline double cubic_interpolate_in_time(double p_from, double p_to, double p_pre, double p_post, double p_weight, - double p_to_t, double p_pre_t, double p_post_t) { - /* Barry-Goldman method */ - double t = Math::lerp(0.0, p_to_t, p_weight); - double a1 = Math::lerp(p_pre, p_from, p_pre_t == 0 ? 0.0 : (t - p_pre_t) / -p_pre_t); - double a2 = Math::lerp(p_from, p_to, p_to_t == 0 ? 0.5 : t / p_to_t); - double a3 = Math::lerp(p_to, p_post, p_post_t - p_to_t == 0 ? 1.0 : (t - p_to_t) / (p_post_t - p_to_t)); - double b1 = Math::lerp(a1, a2, p_to_t - p_pre_t == 0 ? 0.0 : (t - p_pre_t) / (p_to_t - p_pre_t)); - double b2 = Math::lerp(a2, a3, p_post_t == 0 ? 1.0 : t / p_post_t); - return Math::lerp(b1, b2, p_to_t == 0 ? 0.5 : t / p_to_t); -} - -inline float cubic_interpolate_in_time(float p_from, float p_to, float p_pre, float p_post, float p_weight, - float p_to_t, float p_pre_t, float p_post_t) { - /* Barry-Goldman method */ - float t = Math::lerp(0.0f, p_to_t, p_weight); - float a1 = Math::lerp(p_pre, p_from, p_pre_t == 0 ? 0.0f : (t - p_pre_t) / -p_pre_t); - float a2 = Math::lerp(p_from, p_to, p_to_t == 0 ? 0.5f : t / p_to_t); - float a3 = Math::lerp(p_to, p_post, p_post_t - p_to_t == 0 ? 1.0f : (t - p_to_t) / (p_post_t - p_to_t)); - float b1 = Math::lerp(a1, a2, p_to_t - p_pre_t == 0 ? 0.0f : (t - p_pre_t) / (p_to_t - p_pre_t)); - float b2 = Math::lerp(a2, a3, p_post_t == 0 ? 1.0f : t / p_post_t); - return Math::lerp(b1, b2, p_to_t == 0 ? 0.5f : t / p_to_t); -} - -inline double cubic_interpolate_angle_in_time(double p_from, double p_to, double p_pre, double p_post, double p_weight, - double p_to_t, double p_pre_t, double p_post_t) { - double from_rot = fmod(p_from, Math_TAU); - - double pre_diff = fmod(p_pre - from_rot, Math_TAU); - double pre_rot = from_rot + fmod(2.0 * pre_diff, Math_TAU) - pre_diff; - - double to_diff = fmod(p_to - from_rot, Math_TAU); - double to_rot = from_rot + fmod(2.0 * to_diff, Math_TAU) - to_diff; - - double post_diff = fmod(p_post - to_rot, Math_TAU); - double post_rot = to_rot + fmod(2.0 * post_diff, Math_TAU) - post_diff; - - return cubic_interpolate_in_time(from_rot, to_rot, pre_rot, post_rot, p_weight, p_to_t, p_pre_t, p_post_t); -} - -inline float cubic_interpolate_angle_in_time(float p_from, float p_to, float p_pre, float p_post, float p_weight, - float p_to_t, float p_pre_t, float p_post_t) { - float from_rot = fmod(p_from, (float)Math_TAU); - - float pre_diff = fmod(p_pre - from_rot, (float)Math_TAU); - float pre_rot = from_rot + fmod(2.0f * pre_diff, (float)Math_TAU) - pre_diff; - - float to_diff = fmod(p_to - from_rot, (float)Math_TAU); - float to_rot = from_rot + fmod(2.0f * to_diff, (float)Math_TAU) - to_diff; - - float post_diff = fmod(p_post - to_rot, (float)Math_TAU); - float post_rot = to_rot + fmod(2.0f * post_diff, (float)Math_TAU) - post_diff; - - return cubic_interpolate_in_time(from_rot, to_rot, pre_rot, post_rot, p_weight, p_to_t, p_pre_t, p_post_t); -} - -inline double bezier_interpolate(double p_start, double p_control_1, double p_control_2, double p_end, double p_t) { - /* Formula from Wikipedia article on Bezier curves. */ - double omt = (1.0 - p_t); - double omt2 = omt * omt; - double omt3 = omt2 * omt; - double t2 = p_t * p_t; - double t3 = t2 * p_t; - - return p_start * omt3 + p_control_1 * omt2 * p_t * 3.0 + p_control_2 * omt * t2 * 3.0 + p_end * t3; -} - -inline float bezier_interpolate(float p_start, float p_control_1, float p_control_2, float p_end, float p_t) { - /* Formula from Wikipedia article on Bezier curves. */ - float omt = (1.0f - p_t); - float omt2 = omt * omt; - float omt3 = omt2 * omt; - float t2 = p_t * p_t; - float t3 = t2 * p_t; - - return p_start * omt3 + p_control_1 * omt2 * p_t * 3.0f + p_control_2 * omt * t2 * 3.0f + p_end * t3; -} - -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(SIGN(x)); -} - -template -inline T abs(T x) { - return std::abs(x); -} - -inline double deg_to_rad(double p_y) { - return p_y * Math_PI / 180.0; -} -inline float deg_to_rad(float p_y) { - return p_y * static_cast(Math_PI) / 180.f; -} - -inline double rad_to_deg(double p_y) { - return p_y * 180.0 / Math_PI; -} -inline float rad_to_deg(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 remap(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 remap(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_nan(float p_val) { - return std::isnan(p_val); -} - -inline bool is_nan(double p_val) { - return std::isnan(p_val); -} - -inline bool is_inf(float p_val) { - return std::isinf(p_val); -} - -inline bool is_inf(double p_val) { - return std::isinf(p_val); -} - -inline bool is_equal_approx(float a, float b) { - // Check for exact equality first, required to handle "infinity" values. - if (a == b) { - return true; - } - // Then check for approximate equality. - float tolerance = (float)CMP_EPSILON * abs(a); - if (tolerance < (float)CMP_EPSILON) { - tolerance = (float)CMP_EPSILON; - } - return abs(a - b) < tolerance; -} - -inline bool is_equal_approx(float a, float b, float tolerance) { - // Check for exact equality first, required to handle "infinity" values. - if (a == b) { - return true; - } - // Then check for approximate equality. - return abs(a - b) < tolerance; -} - -inline bool is_zero_approx(float s) { - return abs(s) < (float)CMP_EPSILON; -} - -inline bool is_equal_approx(double a, double b) { - // Check for exact equality first, required to handle "infinity" values. - if (a == b) { - return true; - } - // Then check for approximate equality. - double tolerance = CMP_EPSILON * abs(a); - if (tolerance < CMP_EPSILON) { - tolerance = CMP_EPSILON; - } - return abs(a - b) < tolerance; -} - -inline bool is_equal_approx(double a, double b, double tolerance) { - // Check for exact equality first, required to handle "infinity" values. - if (a == b) { - return true; - } - // Then check for approximate equality. - return abs(a - b) < tolerance; -} - -inline bool is_zero_approx(double s) { - return abs(s) < CMP_EPSILON; -} - -inline float absf(float g) { - union { - float f; - uint32_t i; - } u; - - u.f = g; - u.i &= 2147483647u; - return u.f; -} - -inline double absd(double g) { - union { - double d; - uint64_t i; - } u; - u.d = g; - u.i &= (uint64_t)9223372036854775807ull; - return u.d; -} - -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 fract(float value) { - return value - floor(value); -} - -inline double fract(double value) { - return value - floor(value); -} - -inline float pingpong(float value, float length) { - return (length != 0.0f) ? abs(fract((value - length) / (length * 2.0f)) * length * 2.0f - length) : 0.0f; -} - -inline double pingpong(double value, double length) { - return (length != 0.0) ? abs(fract((value - length) / (length * 2.0)) * length * 2.0 - length) : 0.0; -} - -// This function should be as fast as possible and rounding mode should not matter. -inline int fast_ftoi(float a) { - static int b; - -#if (defined(_WIN32_WINNT) && _WIN32_WINNT >= 0x0603) || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP // windows 8 phone? - b = (int)((a > 0.0) ? (a + 0.5) : (a - 0.5)); - -#elif defined(_MSC_VER) && _MSC_VER < 1800 - __asm fld a __asm fistp b - /*#elif defined( __GNUC__ ) && ( defined( __i386__ ) || defined( __x86_64__ ) ) - // use AT&T inline assembly style, document that - // we use memory as output (=m) and input (m) - __asm__ __volatile__ ( - "flds %1 \n\t" - "fistpl %0 \n\t" - : "=m" (b) - : "m" (a));*/ - -#else - b = lrintf(a); // assuming everything but msvc 2012 or earlier has lrint -#endif - return b; -} - -inline double snapped(double p_value, double p_step) { - if (p_step != 0) { - p_value = Math::floor(p_value / p_step + 0.5) * p_step; - } - return p_value; -} - -inline float snap_scalar(float p_offset, float p_step, float p_target) { - return p_step != 0 ? Math::snapped(p_target - p_offset, p_step) + p_offset : p_target; -} - -inline float snap_scalar_separation(float p_offset, float p_step, float p_target, float p_separation) { - if (p_step != 0) { - float a = Math::snapped(p_target - p_offset, p_step + p_separation) + p_offset; - float b = a; - if (p_target >= 0) { - b -= p_separation; - } else { - b += p_step; - } - return (Math::abs(p_target - a) < Math::abs(p_target - b)) ? a : b; - } - return p_target; -} - -} // namespace Math -} // namespace godot - -#endif // GODOT_MATH_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/memory.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/memory.hpp deleted file mode 100644 index 3c98c19..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/memory.hpp +++ /dev/null @@ -1,217 +0,0 @@ -/**************************************************************************/ -/* memory.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_MEMORY_HPP -#define GODOT_MEMORY_HPP - -#include -#include - -#include -#include -#include - -#include - -// p_dummy argument is added to avoid conflicts with the engine functions when both engine and GDExtension are built as a static library on iOS. -void *operator new(size_t p_size, const char *p_dummy, const char *p_description); ///< operator new that takes a description and uses MemoryStaticPool -void *operator new(size_t p_size, const char *p_dummy, void *(*p_allocfunc)(size_t p_size)); ///< operator new that takes a description and uses MemoryStaticPool -void *operator new(size_t p_size, const char *p_dummy, 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, const char *p_dummy, void *p_pointer, size_t check, const char *p_description) { - return p_pointer; -} - -#ifdef _MSC_VER -// When compiling with VC++ 2017, the above declarations of placement new generate many irrelevant warnings (C4291). -// The purpose of the following definitions is to muffle these warnings, not to provide a usable implementation of placement delete. -void operator delete(void *p_mem, const char *p_dummy, const char *p_description); -void operator delete(void *p_mem, const char *p_dummy, void *(*p_allocfunc)(size_t p_size)); -void operator delete(void *p_mem, const char *p_dummy, void *p_pointer, size_t check, const char *p_description); -#endif - -namespace godot { - -class Wrapped; - -class Memory { - Memory(); - -public: - // Alignment: ↓ max_align_t ↓ uint64_t ↓ max_align_t - // ┌─────────────────┬──┬────────────────┬──┬───────────... - // │ uint64_t │░░│ uint64_t │░░│ T[] - // │ alloc size │░░│ element count │░░│ data - // └─────────────────┴──┴────────────────┴──┴───────────... - // Offset: ↑ SIZE_OFFSET ↑ ELEMENT_OFFSET ↑ DATA_OFFSET - // Note: "alloc size" is used and set by the engine and is never accessed or changed for the extension. - - static constexpr size_t SIZE_OFFSET = 0; - static constexpr size_t ELEMENT_OFFSET = ((SIZE_OFFSET + sizeof(uint64_t)) % alignof(uint64_t) == 0) ? (SIZE_OFFSET + sizeof(uint64_t)) : ((SIZE_OFFSET + sizeof(uint64_t)) + alignof(uint64_t) - ((SIZE_OFFSET + sizeof(uint64_t)) % alignof(uint64_t))); - static constexpr size_t DATA_OFFSET = ((ELEMENT_OFFSET + sizeof(uint64_t)) % alignof(max_align_t) == 0) ? (ELEMENT_OFFSET + sizeof(uint64_t)) : ((ELEMENT_OFFSET + sizeof(uint64_t)) + alignof(max_align_t) - ((ELEMENT_OFFSET + sizeof(uint64_t)) % alignof(max_align_t))); - - static void *alloc_static(size_t p_bytes, bool p_pad_align = false); - static void *realloc_static(void *p_memory, size_t p_bytes, bool p_pad_align = false); - static void free_static(void *p_ptr, bool p_pad_align = false); -}; - -_ALWAYS_INLINE_ void postinitialize_handler(void *) {} - -template -_ALWAYS_INLINE_ T *_post_initialize(T *p_obj) { - postinitialize_handler(p_obj); - return p_obj; -} - -#define memalloc(m_size) ::godot::Memory::alloc_static(m_size) -#define memrealloc(m_mem, m_size) ::godot::Memory::realloc_static(m_mem, m_size) -#define memfree(m_mem) ::godot::Memory::free_static(m_mem) - -#define memnew(m_class) ::godot::_post_initialize(new ("", "") m_class) - -#define memnew_allocator(m_class, m_allocator) ::godot::_post_initialize(new ("", m_allocator::alloc) m_class) -#define memnew_placement(m_placement, m_class) ::godot::_post_initialize(new ("", m_placement, sizeof(m_class), "") m_class) - -// Generic comparator used in Map, List, etc. -template -struct Comparator { - _ALWAYS_INLINE_ bool operator()(const T &p_a, const T &p_b) const { return (p_a < p_b); } -}; - -template -void memdelete(T *p_class, typename std::enable_if>::type * = nullptr) { - if constexpr (!std::is_trivially_destructible_v) { - p_class->~T(); - } - - Memory::free_static(p_class); -} - -template , bool> = true> -void memdelete(T *p_class) { - godot::internal::gdextension_interface_object_destroy(p_class->_owner); -} - -template -void memdelete_allocator(T *p_class) { - if constexpr (!std::is_trivially_destructible_v) { - p_class->~T(); - } - - A::free(p_class); -} - -class DefaultAllocator { -public: - _ALWAYS_INLINE_ static void *alloc(size_t p_memory) { return Memory::alloc_static(p_memory); } - _ALWAYS_INLINE_ static void free(void *p_ptr) { Memory::free_static(p_ptr); } -}; - -template -class DefaultTypedAllocator { -public: - template - _ALWAYS_INLINE_ T *new_allocation(const Args &&...p_args) { return memnew(T(p_args...)); } - _ALWAYS_INLINE_ void delete_allocation(T *p_allocation) { memdelete(p_allocation); } -}; - -#define memnew_arr(m_class, m_count) memnew_arr_template(m_count) - -_FORCE_INLINE_ uint64_t *_get_element_count_ptr(uint8_t *p_ptr) { - return (uint64_t *)(p_ptr - Memory::DATA_OFFSET + Memory::ELEMENT_OFFSET); -} - -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; - uint8_t *mem = (uint8_t *)Memory::alloc_static(len, true); - T *failptr = nullptr; // Get rid of a warning. - ERR_FAIL_NULL_V(mem, failptr); - - uint64_t *_elem_count_ptr = _get_element_count_ptr(mem); - *(_elem_count_ptr) = p_elements; - - if constexpr (!std::is_trivially_destructible_v) { - 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 -size_t memarr_len(const T *p_class) { - uint8_t *ptr = (uint8_t *)p_class; - uint64_t *_elem_count_ptr = _get_element_count_ptr(ptr); - return *(_elem_count_ptr); -} - -template -void memdelete_arr(T *p_class) { - uint8_t *ptr = (uint8_t *)p_class; - - if constexpr (!std::is_trivially_destructible_v) { - uint64_t *_elem_count_ptr = _get_element_count_ptr(ptr); - uint64_t elem_count = *(_elem_count_ptr); - - for (uint64_t i = 0; i < elem_count; i++) { - p_class[i].~T(); - } - } - - Memory::free_static(ptr, true); -} - -struct _GlobalNil { - int color = 1; - _GlobalNil *right; - _GlobalNil *left; - _GlobalNil *parent; - - _GlobalNil(); -}; - -struct _GlobalNilClass { - static _GlobalNil _nil; -}; - -} // namespace godot - -#endif // GODOT_MEMORY_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/method_bind.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/method_bind.hpp deleted file mode 100644 index 4afd7b8..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/method_bind.hpp +++ /dev/null @@ -1,733 +0,0 @@ -/**************************************************************************/ -/* method_bind.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_METHOD_BIND_HPP -#define GODOT_METHOD_BIND_HPP - -#include -#include - -#include - -#include - -#include - -#include -#include - -#include - -namespace godot { - -class MethodBind { - StringName name; - StringName instance_class; - int argument_count = 0; - uint32_t hint_flags = METHOD_FLAGS_DEFAULT; - - bool _static = false; - bool _is_const = false; - bool _has_return = false; - bool _vararg = false; - - std::vector argument_names; - GDExtensionVariantType *argument_types = nullptr; - std::vector default_arguments; - -protected: - virtual GDExtensionVariantType gen_argument_type(int p_arg) const = 0; - virtual PropertyInfo 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_static(bool p_static); - void set_vararg(bool p_vararg); - void set_argument_count(int p_count); - -public: - StringName get_name() const; - void set_name(const StringName &p_name); - _FORCE_INLINE_ int get_default_argument_count() const { return (int)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 { - const int num_default_args = (int)(default_arguments.size()); - const int idx = p_arg - (argument_count - num_default_args); - - if (idx < 0 || idx >= num_default_args) { - return false; - } else { - return true; - } - } - _FORCE_INLINE_ Variant get_default_argument(int p_arg) const { - const int num_default_args = (int)(default_arguments.size()); - const int idx = p_arg - (argument_count - num_default_args); - - if (idx < 0 || idx >= num_default_args) { - return Variant(); - } else { - return default_arguments[idx]; - } - } - _FORCE_INLINE_ StringName get_instance_class() const { return instance_class; } - _FORCE_INLINE_ void set_instance_class(StringName 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 is_static() const { return _static; } - _FORCE_INLINE_ bool is_vararg() const { return _vararg; } - _FORCE_INLINE_ bool has_return() const { return _has_return; } - _FORCE_INLINE_ uint32_t get_hint_flags() const { return hint_flags | (is_const() ? GDEXTENSION_METHOD_FLAG_CONST : 0) | (is_vararg() ? GDEXTENSION_METHOD_FLAG_VARARG : 0) | (is_static() ? GDEXTENSION_METHOD_FLAG_STATIC : 0); } - _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_ GDExtensionVariantType get_argument_type(int p_argument) const { - ERR_FAIL_COND_V(p_argument < -1 || p_argument > argument_count, GDEXTENSION_VARIANT_TYPE_NIL); - return argument_types[p_argument + 1]; - } - - PropertyInfo get_argument_info(int p_argument) const; - virtual GDExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const = 0; - - std::vector get_arguments_info_list() const { - std::vector vec; - // First element is return value - vec.reserve(argument_count + 1); - for (int i = 0; i < argument_count + 1; i++) { - vec.push_back(get_argument_info(i - 1)); - } - return vec; - } - std::vector get_arguments_metadata_list() const { - std::vector vec; - // First element is return value - vec.reserve(argument_count + 1); - for (int i = 0; i < argument_count; i++) { - vec.push_back(get_argument_metadata(i - 1)); - } - return vec; - } - - virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionCallError &r_error) const = 0; - virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_return) const = 0; - - static void bind_call(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionVariantPtr r_return, GDExtensionCallError *r_error); - static void bind_ptrcall(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_return); - - virtual ~MethodBind(); -}; - -template -class MethodBindVarArgBase : public MethodBind { -protected: - R(T::*method) - (const Variant **, GDExtensionInt, GDExtensionCallError &); - std::vector arguments; - -public: - virtual PropertyInfo gen_argument_type_info(int p_arg) const { - if (p_arg < 0) { - return _gen_return_type_info(); - } else if ((size_t)(p_arg) < arguments.size()) { - return arguments[p_arg]; - } else { - return make_property_info(Variant::Type::NIL, "vararg", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_NIL_IS_VARIANT); - } - } - - virtual GDExtensionVariantType gen_argument_type(int p_arg) const { - return static_cast(gen_argument_type_info(p_arg).type); - } - - virtual GDExtensionClassMethodArgumentMetadata get_argument_metadata(int) const { - return GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; - } - - virtual void ptrcall(GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_return) const { - ERR_FAIL(); // Can't call. - } - - MethodBindVarArgBase( - R (T::*p_method)(const Variant **, GDExtensionInt, GDExtensionCallError &), - const MethodInfo &p_method_info, - bool p_return_nil_is_variant) : - method(p_method) { - set_vararg(true); - set_const(true); - set_argument_count(p_method_info.arguments.size()); - if (p_method_info.arguments.size()) { - arguments = p_method_info.arguments; - - std::vector names; - names.reserve(p_method_info.arguments.size()); - for (size_t i = 0; i < p_method_info.arguments.size(); i++) { - names.push_back(p_method_info.arguments[i].name); - } - set_argument_names(names); - } - - generate_argument_types((int)p_method_info.arguments.size()); - set_return(should_returns); - } - - ~MethodBindVarArgBase() {} - -private: - PropertyInfo _gen_return_type_info() const { - return reinterpret_cast(this)->_gen_return_type_info_impl(); - } -}; - -template -class MethodBindVarArgT : public MethodBindVarArgBase, T, void, false> { - friend class MethodBindVarArgBase, T, void, false>; - -public: - virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionCallError &r_error) const { - (static_cast(p_instance)->*MethodBindVarArgBase, T, void, false>::method)((const Variant **)p_args, p_argument_count, r_error); - return {}; - } - - MethodBindVarArgT( - void (T::*p_method)(const Variant **, GDExtensionInt, GDExtensionCallError &), - const MethodInfo &p_method_info, - bool p_return_nil_is_variant) : - MethodBindVarArgBase, T, void, false>(p_method, p_method_info, p_return_nil_is_variant) { - } - -private: - PropertyInfo _gen_return_type_info_impl() const { - return {}; - } -}; - -template -MethodBind *create_vararg_method_bind(void (T::*p_method)(const Variant **, GDExtensionInt, GDExtensionCallError &), const MethodInfo &p_info, bool p_return_nil_is_variant) { - MethodBind *a = memnew((MethodBindVarArgT)(p_method, p_info, p_return_nil_is_variant)); - a->set_instance_class(T::get_class_static()); - return a; -} - -template -class MethodBindVarArgTR : public MethodBindVarArgBase, T, R, true> { - friend class MethodBindVarArgBase, T, R, true>; - -public: - virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionCallError &r_error) const { - return (static_cast(p_instance)->*MethodBindVarArgBase, T, R, true>::method)((const Variant **)p_args, p_argument_count, r_error); - } - - MethodBindVarArgTR( - R (T::*p_method)(const Variant **, GDExtensionInt, GDExtensionCallError &), - const MethodInfo &p_info, - bool p_return_nil_is_variant) : - MethodBindVarArgBase, T, R, true>(p_method, p_info, p_return_nil_is_variant) { - } - -private: - PropertyInfo _gen_return_type_info_impl() const { - return GetTypeInfo::get_class_info(); - } -}; - -template -MethodBind *create_vararg_method_bind(R (T::*p_method)(const Variant **, GDExtensionInt, GDExtensionCallError &), const MethodInfo &p_info, bool p_return_nil_is_variant) { - MethodBind *a = memnew((MethodBindVarArgTR)(p_method, p_info, p_return_nil_is_variant)); - a->set_instance_class(T::get_class_static()); - return a; -} - -#ifndef TYPED_METHOD_BIND -class _gde_UnexistingClass; -#define MB_T _gde_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 GDExtensionVariantType 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 GDEXTENSION_VARIANT_TYPE_NIL; - } - } - - virtual PropertyInfo gen_argument_type_info(int p_arg) const { - PropertyInfo 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 GDExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const { - return call_get_argument_metadata(p_argument); - } - - virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionCallError &r_error) const { -#ifdef TYPED_METHOD_BIND - call_with_variant_args_dv(static_cast(p_instance), method, p_args, (int)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 GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret) const { -#ifdef TYPED_METHOD_BIND - call_with_ptr_args(static_cast(p_instance), method, p_args, nullptr); -#else - call_with_ptr_args(reinterpret_cast(p_instance), method, p_args, nullptr); -#endif // TYPED_METHOD_BIND - } - - MethodBindT(void (MB_T::*p_method)(P...)) { - method = p_method; - generate_argument_types(sizeof...(P)); - 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 GDExtensionVariantType 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 GDEXTENSION_VARIANT_TYPE_NIL; - } - } - - virtual PropertyInfo gen_argument_type_info(int p_arg) const { - PropertyInfo 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 GDExtensionClassMethodArgumentMetadata get_argument_metadata(int p_argument) const { - return call_get_argument_metadata(p_argument); - } - - virtual Variant call(GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionCallError &r_error) const { -#ifdef TYPED_METHOD_BIND - call_with_variant_argsc_dv(static_cast(p_instance), method, p_args, (int)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 GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret) const { -#ifdef TYPED_METHOD_BIND - call_with_ptr_args(static_cast(p_instance), method, p_args, nullptr); -#else - call_with_ptr_args(reinterpret_cast(p_instance), method, p_args, nullptr); -#endif // TYPED_METHOD_BIND - } - - MethodBindTC(void (MB_T::*p_method)(P...) const) { - method = p_method; - generate_argument_types(sizeof...(P)); - 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 GDExtensionVariantType 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 GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); - } - } - - virtual PropertyInfo gen_argument_type_info(int p_arg) const { - if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { - PropertyInfo 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 GDExtensionClassMethodArgumentMetadata 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 GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionCallError &r_error) const { - Variant ret; -#ifdef TYPED_METHOD_BIND - call_with_variant_args_ret_dv(static_cast(p_instance), method, p_args, (int)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 GDExtensionConstTypePtr *p_args, GDExtensionTypePtr 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; - generate_argument_types(sizeof...(P)); - 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 GDExtensionVariantType 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 GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); - } - } - - virtual PropertyInfo gen_argument_type_info(int p_arg) const { - if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { - PropertyInfo 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 GDExtensionClassMethodArgumentMetadata 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 GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionCallError &r_error) const { - Variant ret; -#ifdef TYPED_METHOD_BIND - call_with_variant_args_retc_dv(static_cast(p_instance), method, p_args, (int)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 GDExtensionConstTypePtr *p_args, GDExtensionTypePtr 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; - generate_argument_types(sizeof...(P)); - 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; -} - -// STATIC BINDS - -// no return - -template -class MethodBindTS : public MethodBind { - void (*function)(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 GDExtensionVariantType 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 GDEXTENSION_VARIANT_TYPE_NIL; - } - } - - virtual PropertyInfo gen_argument_type_info(int p_arg) const { - PropertyInfo 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 GDExtensionClassMethodArgumentMetadata get_argument_metadata(int p_arg) const { - return call_get_argument_metadata(p_arg); - } - - virtual Variant call(GDExtensionClassInstancePtr p_object, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_arg_count, GDExtensionCallError &r_error) const { - (void)p_object; // unused - call_with_variant_args_static_dv(function, p_args, p_arg_count, r_error, get_default_arguments()); - return Variant(); - } - - virtual void ptrcall(GDExtensionClassInstancePtr p_object, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret) const { - (void)p_object; - (void)r_ret; - call_with_ptr_args_static_method(function, p_args); - } - - MethodBindTS(void (*p_function)(P...)) { - function = p_function; - generate_argument_types(sizeof...(P)); - set_argument_count(sizeof...(P)); - set_static(true); - } -}; - -template -MethodBind *create_static_method_bind(void (*p_method)(P...)) { - MethodBind *a = memnew((MethodBindTS)(p_method)); - return a; -} - -// return - -template -class MethodBindTRS : public MethodBind { - R(*function) - (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 GDExtensionVariantType 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 GDExtensionVariantType(GetTypeInfo::VARIANT_TYPE); - } - } - - virtual PropertyInfo gen_argument_type_info(int p_arg) const { - if (p_arg >= 0 && p_arg < (int)sizeof...(P)) { - PropertyInfo 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 GDExtensionClassMethodArgumentMetadata get_argument_metadata(int p_arg) const { - if (p_arg >= 0) { - return call_get_argument_metadata(p_arg); - } else { - return GetTypeInfo::METADATA; - } - } - - virtual Variant call(GDExtensionClassInstancePtr p_object, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_arg_count, GDExtensionCallError &r_error) const { - Variant ret; - call_with_variant_args_static_ret_dv(function, p_args, p_arg_count, ret, r_error, get_default_arguments()); - return ret; - } - - virtual void ptrcall(GDExtensionClassInstancePtr p_object, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr r_ret) const { - (void)p_object; - call_with_ptr_args_static_method_ret(function, p_args, r_ret); - } - - MethodBindTRS(R (*p_function)(P...)) { - function = p_function; - generate_argument_types(sizeof...(P)); - set_argument_count(sizeof...(P)); - set_static(true); - set_return(true); - } -}; - -template -MethodBind *create_static_method_bind(R (*p_method)(P...)) { - MethodBind *a = memnew((MethodBindTRS)(p_method)); - return a; -} - -} // namespace godot - -#endif // GODOT_METHOD_BIND_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/method_ptrcall.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/method_ptrcall.hpp deleted file mode 100644 index ca3327e..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/method_ptrcall.hpp +++ /dev/null @@ -1,237 +0,0 @@ -/**************************************************************************/ -/* method_ptrcall.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_METHOD_PTRCALL_HPP -#define GODOT_METHOD_PTRCALL_HPP - -#include - -#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) { \ - *reinterpret_cast(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) { \ - *reinterpret_cast(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) { \ - *reinterpret_cast(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) { \ - *reinterpret_cast(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) { \ - *reinterpret_cast(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) { \ - *reinterpret_cast(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(Vector4); -MAKE_PTRARG_BY_REFERENCE(Vector4i); -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(Projection); -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 { - static_assert(std::is_base_of::value, "Cannot encode non-Object value as an Object"); - _FORCE_INLINE_ static T *convert(const void *p_ptr) { - return reinterpret_cast(godot::internal::get_object_instance_binding(*reinterpret_cast(const_cast(p_ptr)))); - } - typedef Object *EncodeT; - _FORCE_INLINE_ static void encode(T *p_var, void *p_ptr) { - *reinterpret_cast(p_ptr) = p_var ? p_var->_owner : nullptr; - } -}; - -template -struct PtrToArg { - static_assert(std::is_base_of::value, "Cannot encode non-Object value as an Object"); - _FORCE_INLINE_ static const T *convert(const void *p_ptr) { - return reinterpret_cast(godot::internal::get_object_instance_binding(*reinterpret_cast(const_cast(p_ptr)))); - } - typedef const Object *EncodeT; - _FORCE_INLINE_ static void encode(T *p_var, void *p_ptr) { - *reinterpret_cast(p_ptr) = p_var ? p_var->_owner : nullptr; - } -}; - -// Pointers. -#define GDVIRTUAL_NATIVE_PTR(m_type) \ - template <> \ - struct PtrToArg { \ - _FORCE_INLINE_ static m_type *convert(const void *p_ptr) { \ - return (m_type *)(*(void **)p_ptr); \ - } \ - typedef m_type *EncodeT; \ - _FORCE_INLINE_ static void encode(m_type *p_var, void *p_ptr) { \ - *reinterpret_cast(p_ptr) = p_var; \ - } \ - }; \ - \ - template <> \ - struct PtrToArg { \ - _FORCE_INLINE_ static const m_type *convert(const void *p_ptr) { \ - return (const m_type *)(*(const void **)p_ptr); \ - } \ - typedef const m_type *EncodeT; \ - _FORCE_INLINE_ static void encode(const m_type *p_var, void *p_ptr) { \ - *reinterpret_cast(p_ptr) = p_var; \ - } \ - } - -GDVIRTUAL_NATIVE_PTR(void); -GDVIRTUAL_NATIVE_PTR(bool); -GDVIRTUAL_NATIVE_PTR(char); -GDVIRTUAL_NATIVE_PTR(char16_t); -GDVIRTUAL_NATIVE_PTR(char32_t); -GDVIRTUAL_NATIVE_PTR(wchar_t); -GDVIRTUAL_NATIVE_PTR(uint8_t); -GDVIRTUAL_NATIVE_PTR(uint8_t *); -GDVIRTUAL_NATIVE_PTR(int8_t); -GDVIRTUAL_NATIVE_PTR(uint16_t); -GDVIRTUAL_NATIVE_PTR(int16_t); -GDVIRTUAL_NATIVE_PTR(uint32_t); -GDVIRTUAL_NATIVE_PTR(int32_t); -GDVIRTUAL_NATIVE_PTR(int64_t); -GDVIRTUAL_NATIVE_PTR(uint64_t); -GDVIRTUAL_NATIVE_PTR(float); -GDVIRTUAL_NATIVE_PTR(double); - -} // namespace godot - -#endif // GODOT_METHOD_PTRCALL_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/mutex_lock.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/mutex_lock.hpp deleted file mode 100644 index aa81d4d..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/mutex_lock.hpp +++ /dev/null @@ -1,59 +0,0 @@ -/**************************************************************************/ -/* mutex_lock.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_MUTEX_LOCK_HPP -#define GODOT_MUTEX_LOCK_HPP - -#include - -namespace godot { - -class MutexLock { - const Mutex &mutex; - -public: - _ALWAYS_INLINE_ explicit MutexLock(const Mutex &p_mutex) : - mutex(p_mutex) { - const_cast(&mutex)->lock(); - } - - _ALWAYS_INLINE_ ~MutexLock() { - const_cast(&mutex)->unlock(); - } -}; - -#define _THREAD_SAFE_CLASS_ mutable Mutex _thread_safe_; -#define _THREAD_SAFE_METHOD_ MutexLock _thread_safe_method_(_thread_safe_); -#define _THREAD_SAFE_LOCK_ _thread_safe_.lock(); -#define _THREAD_SAFE_UNLOCK_ _thread_safe_.unlock(); - -} // namespace godot - -#endif // GODOT_MUTEX_LOCK_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/object.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/object.hpp deleted file mode 100644 index 917ec6c..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/object.hpp +++ /dev/null @@ -1,152 +0,0 @@ -/**************************************************************************/ -/* object.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -#include - -#include - -#define ADD_SIGNAL(m_signal) ::godot::ClassDB::add_signal(get_class_static(), m_signal) -#define ADD_GROUP(m_name, m_prefix) ::godot::ClassDB::add_property_group(get_class_static(), m_name, m_prefix) -#define ADD_SUBGROUP(m_name, m_prefix) ::godot::ClassDB::add_property_subgroup(get_class_static(), m_name, m_prefix) -#define ADD_PROPERTY(m_property, m_setter, m_getter) ::godot::ClassDB::add_property(get_class_static(), m_property, m_setter, m_getter) -#define ADD_PROPERTYI(m_property, m_setter, m_getter, m_index) ::godot::ClassDB::add_property(get_class_static(), m_property, m_setter, m_getter, m_index) - -namespace godot { - -namespace internal { - -Object *get_object_instance_binding(GodotObject *); - -} // namespace internal - -struct MethodInfo { - StringName name; - PropertyInfo return_val; - uint32_t flags; - int id = 0; - std::vector arguments; - std::vector default_arguments; - GDExtensionClassMethodArgumentMetadata return_val_metadata; - std::vector arguments_metadata; - - 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(StringName p_name); - template - MethodInfo(StringName p_name, const Args &...args); - MethodInfo(Variant::Type ret); - MethodInfo(Variant::Type ret, StringName p_name); - template - MethodInfo(Variant::Type ret, StringName p_name, const Args &...args); - MethodInfo(const PropertyInfo &p_ret, StringName p_name); - template - MethodInfo(const PropertyInfo &p_ret, StringName p_name, const Args &...); -}; - -template -MethodInfo::MethodInfo(StringName p_name, const Args &...args) : - name(p_name), flags(GDEXTENSION_METHOD_FLAG_NORMAL) { - arguments = { args... }; -} - -template -MethodInfo::MethodInfo(Variant::Type ret, StringName p_name, const Args &...args) : - name(p_name), flags(GDEXTENSION_METHOD_FLAG_NORMAL) { - return_val.type = ret; - arguments = { args... }; -} - -template -MethodInfo::MethodInfo(const PropertyInfo &p_ret, StringName p_name, const Args &...args) : - name(p_name), return_val(p_ret), flags(GDEXTENSION_METHOD_FLAG_NORMAL) { - arguments = { args... }; -} - -class ObjectDB { -public: - static Object *get_instance(uint64_t p_object_id) { - GDExtensionObjectPtr obj = internal::gdextension_interface_object_get_instance_from_id(p_object_id); - if (obj == nullptr) { - return nullptr; - } - return internal::get_object_instance_binding(obj); - } -}; - -template -T *Object::cast_to(Object *p_object) { - if (p_object == nullptr) { - return nullptr; - } - StringName class_name = T::get_class_static(); - GDExtensionObjectPtr casted = internal::gdextension_interface_object_cast_to(p_object->_owner, internal::gdextension_interface_classdb_get_class_tag(class_name._native_ptr())); - if (casted == nullptr) { - return nullptr; - } - return dynamic_cast(internal::get_object_instance_binding(casted)); -} - -template -const T *Object::cast_to(const Object *p_object) { - if (p_object == nullptr) { - return nullptr; - } - StringName class_name = T::get_class_static(); - GDExtensionObjectPtr casted = internal::gdextension_interface_object_cast_to(p_object->_owner, internal::gdextension_interface_classdb_get_class_tag(class_name._native_ptr())); - if (casted == nullptr) { - return nullptr; - } - return dynamic_cast(internal::get_object_instance_binding(casted)); -} - -} // namespace godot - -#endif // GODOT_OBJECT_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/object_id.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/object_id.hpp deleted file mode 100644 index 9f3bc96..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/object_id.hpp +++ /dev/null @@ -1,62 +0,0 @@ -/**************************************************************************/ -/* object_id.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_ID_HPP -#define GODOT_OBJECT_ID_HPP - -#include - -namespace godot { - -class ObjectID { - uint64_t id = 0; - -public: - _FORCE_INLINE_ bool is_ref_counted() const { return (id & (uint64_t(1) << 63)) != 0; } - _FORCE_INLINE_ bool is_valid() const { return id != 0; } - _FORCE_INLINE_ bool is_null() const { return id == 0; } - _FORCE_INLINE_ operator uint64_t() const { return id; } - _FORCE_INLINE_ operator int64_t() const { return id; } - - _FORCE_INLINE_ bool operator==(const ObjectID &p_id) const { return id == p_id.id; } - _FORCE_INLINE_ bool operator!=(const ObjectID &p_id) const { return id != p_id.id; } - _FORCE_INLINE_ bool operator<(const ObjectID &p_id) const { return id < p_id.id; } - - _FORCE_INLINE_ void operator=(int64_t p_int64) { id = p_int64; } - _FORCE_INLINE_ void operator=(uint64_t p_uint64) { id = p_uint64; } - - _FORCE_INLINE_ ObjectID() {} - _FORCE_INLINE_ explicit ObjectID(const uint64_t p_id) { id = p_id; } - _FORCE_INLINE_ explicit ObjectID(const int64_t p_id) { id = p_id; } -}; - -} // namespace godot - -#endif // GODOT_OBJECT_ID_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/property_info.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/property_info.hpp deleted file mode 100644 index f610f3f..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/property_info.hpp +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************/ -/* property_info.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_PROPERTY_INFO_HPP -#define GODOT_PROPERTY_INFO_HPP - -#include - -#include - -#include - -#include - -#include - -namespace godot { - -struct PropertyInfo { - Variant::Type type = Variant::NIL; - StringName name; - StringName class_name; - uint32_t hint = 0; - String hint_string; - uint32_t usage = 7; - - PropertyInfo() = default; - - PropertyInfo(Variant::Type p_type, const StringName &p_name, PropertyHint p_hint = PROPERTY_HINT_NONE, const String &p_hint_string = "", uint32_t p_usage = PROPERTY_USAGE_DEFAULT, const StringName &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(GDExtensionVariantType p_type, const StringName &p_name, PropertyHint p_hint = PROPERTY_HINT_NONE, const String &p_hint_string = "", uint32_t p_usage = PROPERTY_USAGE_DEFAULT, const StringName &p_class_name = "") : - PropertyInfo((Variant::Type)p_type, p_name, p_hint, p_hint_string, p_usage, p_class_name) {} - - PropertyInfo(const GDExtensionPropertyInfo *p_info) : - PropertyInfo(p_info->type, *reinterpret_cast(p_info->name), (PropertyHint)p_info->hint, *reinterpret_cast(p_info->hint_string), p_info->usage, *reinterpret_cast(p_info->class_name)) {} - - void _update(GDExtensionPropertyInfo *p_info) { - p_info->type = (GDExtensionVariantType)type; - *(reinterpret_cast(p_info->name)) = name; - p_info->hint = hint; - *(reinterpret_cast(p_info->hint_string)) = hint_string; - p_info->usage = usage; - *(reinterpret_cast(p_info->class_name)) = class_name; - } - - GDExtensionPropertyInfo _to_gdextension() const { - return { - (GDExtensionVariantType)type, - name._native_ptr(), - class_name._native_ptr(), - hint, - hint_string._native_ptr(), - usage, - }; - } -}; - -} // namespace godot - -#endif // GODOT_PROPERTY_INFO_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/core/type_info.hpp b/thirdparty/godot-cpp/include/godot_cpp/core/type_info.hpp deleted file mode 100644 index 5896651..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/core/type_info.hpp +++ /dev/null @@ -1,408 +0,0 @@ -/**************************************************************************/ -/* type_info.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -#include - -namespace godot { - -template -struct EnableIf { - typedef T type; -}; - -template -struct EnableIf { -}; - -template -struct TypesAreSame { - static bool const value = false; -}; - -template -struct TypesAreSame { - static bool const value = true; -}; - -template -struct TypeInherits { - static D *get_d(); - - static char (&test(B *))[1]; - static char (&test(...))[2]; - - static bool const value = sizeof(test(get_d())) == sizeof(char) && - !TypesAreSame::value; -}; - -static PropertyInfo make_property_info(Variant::Type p_type, const StringName &p_name, uint32_t p_hint = PROPERTY_HINT_NONE, const String &p_hint_string = "", uint32_t p_usage = PROPERTY_USAGE_DEFAULT, const StringName &p_class_name = "") { - PropertyInfo info; - info.type = p_type; - info.name = p_name; - info.hint = p_hint; - info.hint_string = p_hint_string; - info.usage = p_usage; - if (p_hint == PROPERTY_HINT_RESOURCE_TYPE) { - info.class_name = p_hint_string; - } else { - info.class_name = p_class_name; - } - return info; -} - -// 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 GDExtensionVariantType VARIANT_TYPE = m_var_type; \ - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ - static inline PropertyInfo get_class_info() { \ - return make_property_info((Variant::Type)VARIANT_TYPE, ""); \ - } \ - }; \ - template <> \ - struct GetTypeInfo { \ - static constexpr GDExtensionVariantType VARIANT_TYPE = m_var_type; \ - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ - static inline PropertyInfo get_class_info() { \ - return make_property_info((Variant::Type)VARIANT_TYPE, ""); \ - } \ - }; - -#define MAKE_TYPE_INFO_WITH_META(m_type, m_var_type, m_metadata) \ - template <> \ - struct GetTypeInfo { \ - static constexpr GDExtensionVariantType VARIANT_TYPE = m_var_type; \ - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = m_metadata; \ - static inline PropertyInfo get_class_info() { \ - return make_property_info((Variant::Type)VARIANT_TYPE, ""); \ - } \ - }; \ - template <> \ - struct GetTypeInfo { \ - static constexpr GDExtensionVariantType VARIANT_TYPE = m_var_type; \ - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = m_metadata; \ - static inline PropertyInfo get_class_info() { \ - return make_property_info((Variant::Type)VARIANT_TYPE, ""); \ - } \ - }; - -MAKE_TYPE_INFO(bool, GDEXTENSION_VARIANT_TYPE_BOOL) -MAKE_TYPE_INFO_WITH_META(uint8_t, GDEXTENSION_VARIANT_TYPE_INT, GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT8) -MAKE_TYPE_INFO_WITH_META(int8_t, GDEXTENSION_VARIANT_TYPE_INT, GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT8) -MAKE_TYPE_INFO_WITH_META(uint16_t, GDEXTENSION_VARIANT_TYPE_INT, GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT16) -MAKE_TYPE_INFO_WITH_META(int16_t, GDEXTENSION_VARIANT_TYPE_INT, GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT16) -MAKE_TYPE_INFO_WITH_META(uint32_t, GDEXTENSION_VARIANT_TYPE_INT, GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT32) -MAKE_TYPE_INFO_WITH_META(int32_t, GDEXTENSION_VARIANT_TYPE_INT, GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT32) -MAKE_TYPE_INFO_WITH_META(uint64_t, GDEXTENSION_VARIANT_TYPE_INT, GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_UINT64) -MAKE_TYPE_INFO_WITH_META(int64_t, GDEXTENSION_VARIANT_TYPE_INT, GDEXTENSION_METHOD_ARGUMENT_METADATA_INT_IS_INT64) -MAKE_TYPE_INFO(char16_t, GDEXTENSION_VARIANT_TYPE_INT) -MAKE_TYPE_INFO(char32_t, GDEXTENSION_VARIANT_TYPE_INT) -MAKE_TYPE_INFO_WITH_META(float, GDEXTENSION_VARIANT_TYPE_FLOAT, GDEXTENSION_METHOD_ARGUMENT_METADATA_REAL_IS_FLOAT) -MAKE_TYPE_INFO_WITH_META(double, GDEXTENSION_VARIANT_TYPE_FLOAT, GDEXTENSION_METHOD_ARGUMENT_METADATA_REAL_IS_DOUBLE) - -MAKE_TYPE_INFO(String, GDEXTENSION_VARIANT_TYPE_STRING) -MAKE_TYPE_INFO(Vector2, GDEXTENSION_VARIANT_TYPE_VECTOR2) -MAKE_TYPE_INFO(Vector2i, GDEXTENSION_VARIANT_TYPE_VECTOR2I) -MAKE_TYPE_INFO(Rect2, GDEXTENSION_VARIANT_TYPE_RECT2) -MAKE_TYPE_INFO(Rect2i, GDEXTENSION_VARIANT_TYPE_RECT2I) -MAKE_TYPE_INFO(Vector3, GDEXTENSION_VARIANT_TYPE_VECTOR3) -MAKE_TYPE_INFO(Vector3i, GDEXTENSION_VARIANT_TYPE_VECTOR3I) -MAKE_TYPE_INFO(Transform2D, GDEXTENSION_VARIANT_TYPE_TRANSFORM2D) -MAKE_TYPE_INFO(Vector4, GDEXTENSION_VARIANT_TYPE_VECTOR4) -MAKE_TYPE_INFO(Vector4i, GDEXTENSION_VARIANT_TYPE_VECTOR4I) -MAKE_TYPE_INFO(Plane, GDEXTENSION_VARIANT_TYPE_PLANE) -MAKE_TYPE_INFO(Quaternion, GDEXTENSION_VARIANT_TYPE_QUATERNION) -MAKE_TYPE_INFO(AABB, GDEXTENSION_VARIANT_TYPE_AABB) -MAKE_TYPE_INFO(Basis, GDEXTENSION_VARIANT_TYPE_BASIS) -MAKE_TYPE_INFO(Transform3D, GDEXTENSION_VARIANT_TYPE_TRANSFORM3D) -MAKE_TYPE_INFO(Projection, GDEXTENSION_VARIANT_TYPE_PROJECTION) -MAKE_TYPE_INFO(Color, GDEXTENSION_VARIANT_TYPE_COLOR) -MAKE_TYPE_INFO(StringName, GDEXTENSION_VARIANT_TYPE_STRING_NAME) -MAKE_TYPE_INFO(NodePath, GDEXTENSION_VARIANT_TYPE_NODE_PATH) -MAKE_TYPE_INFO(RID, GDEXTENSION_VARIANT_TYPE_RID) -MAKE_TYPE_INFO(Callable, GDEXTENSION_VARIANT_TYPE_CALLABLE) -MAKE_TYPE_INFO(Signal, GDEXTENSION_VARIANT_TYPE_SIGNAL) -MAKE_TYPE_INFO(Dictionary, GDEXTENSION_VARIANT_TYPE_DICTIONARY) -MAKE_TYPE_INFO(Array, GDEXTENSION_VARIANT_TYPE_ARRAY) -MAKE_TYPE_INFO(PackedByteArray, GDEXTENSION_VARIANT_TYPE_PACKED_BYTE_ARRAY) -MAKE_TYPE_INFO(PackedInt32Array, GDEXTENSION_VARIANT_TYPE_PACKED_INT32_ARRAY) -MAKE_TYPE_INFO(PackedInt64Array, GDEXTENSION_VARIANT_TYPE_PACKED_INT64_ARRAY) -MAKE_TYPE_INFO(PackedFloat32Array, GDEXTENSION_VARIANT_TYPE_PACKED_FLOAT32_ARRAY) -MAKE_TYPE_INFO(PackedFloat64Array, GDEXTENSION_VARIANT_TYPE_PACKED_FLOAT64_ARRAY) -MAKE_TYPE_INFO(PackedStringArray, GDEXTENSION_VARIANT_TYPE_PACKED_STRING_ARRAY) -MAKE_TYPE_INFO(PackedVector2Array, GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR2_ARRAY) -MAKE_TYPE_INFO(PackedVector3Array, GDEXTENSION_VARIANT_TYPE_PACKED_VECTOR3_ARRAY) -MAKE_TYPE_INFO(PackedColorArray, GDEXTENSION_VARIANT_TYPE_PACKED_COLOR_ARRAY) - -// For variant. -template <> -struct GetTypeInfo { - static constexpr GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_NIL; - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; - static inline PropertyInfo get_class_info() { - return make_property_info(Variant::Type::NIL, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_NIL_IS_VARIANT); - } -}; - -template <> -struct GetTypeInfo { - static constexpr GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_NIL; - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; - static inline PropertyInfo get_class_info() { - return make_property_info(Variant::Type::NIL, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_NIL_IS_VARIANT); - } -}; - -template -struct GetTypeInfo::value>::type> { - static const GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_OBJECT; - static const GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; - static inline PropertyInfo get_class_info() { - return make_property_info(Variant::Type::OBJECT, "", PROPERTY_HINT_RESOURCE_TYPE, T::get_class_static()); - } -}; - -template -struct GetTypeInfo::value>::type> { - static const GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_OBJECT; - static const GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; - static inline PropertyInfo get_class_info() { - return make_property_info(Variant::Type::OBJECT, "", PROPERTY_HINT_RESOURCE_TYPE, T::get_class_static()); - } -}; - -inline String enum_qualified_name_to_class_info_name(const String &p_qualified_name) { - PackedStringArray parts = p_qualified_name.split("::", false); - if (parts.size() <= 2) { - return String(".").join(parts); - } - // Contains namespace. We only want the class and enum names. - return parts[parts.size() - 2] + "." + parts[parts.size() - 1]; -} - -#define TEMPL_MAKE_ENUM_TYPE_INFO(m_enum, m_impl) \ - template <> \ - struct GetTypeInfo { \ - static const Variant::Type VARIANT_TYPE = Variant::INT; \ - static const GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ - static inline PropertyInfo get_class_info() { \ - return make_property_info(Variant::Type::INT, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_CLASS_IS_ENUM, \ - enum_qualified_name_to_class_info_name(#m_enum)); \ - } \ - }; - -#define MAKE_ENUM_TYPE_INFO(m_enum) \ - TEMPL_MAKE_ENUM_TYPE_INFO(m_enum, m_enum) \ - TEMPL_MAKE_ENUM_TYPE_INFO(m_enum, m_enum const) \ - TEMPL_MAKE_ENUM_TYPE_INFO(m_enum, m_enum &) \ - TEMPL_MAKE_ENUM_TYPE_INFO(m_enum, const m_enum &) - -template -inline StringName _gde_constant_get_enum_name(T param, StringName 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; -} - -template -class BitField { - int64_t value = 0; - -public: - _FORCE_INLINE_ void set_flag(T p_flag) { value |= p_flag; } - _FORCE_INLINE_ bool has_flag(T p_flag) const { return value & p_flag; } - _FORCE_INLINE_ void clear_flag(T p_flag) { value &= ~p_flag; } - _FORCE_INLINE_ BitField(int64_t p_value) { value = p_value; } - _FORCE_INLINE_ operator int64_t() const { return value; } - _FORCE_INLINE_ operator Variant() const { return value; } -}; - -#define TEMPL_MAKE_BITFIELD_TYPE_INFO(m_enum, m_impl) \ - template <> \ - struct GetTypeInfo { \ - static const Variant::Type VARIANT_TYPE = Variant::INT; \ - static const GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ - static inline PropertyInfo get_class_info() { \ - return make_property_info(Variant::Type::INT, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_CLASS_IS_BITFIELD, \ - enum_qualified_name_to_class_info_name(#m_enum)); \ - } \ - }; \ - template <> \ - struct GetTypeInfo> { \ - static const Variant::Type VARIANT_TYPE = Variant::INT; \ - static const GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ - static inline PropertyInfo get_class_info() { \ - return make_property_info(Variant::Type::INT, "", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_CLASS_IS_BITFIELD, \ - enum_qualified_name_to_class_info_name(#m_enum)); \ - } \ - }; - -#define MAKE_BITFIELD_TYPE_INFO(m_enum) \ - TEMPL_MAKE_BITFIELD_TYPE_INFO(m_enum, m_enum) \ - TEMPL_MAKE_BITFIELD_TYPE_INFO(m_enum, m_enum const) \ - TEMPL_MAKE_BITFIELD_TYPE_INFO(m_enum, m_enum &) \ - TEMPL_MAKE_BITFIELD_TYPE_INFO(m_enum, const m_enum &) - -template -inline StringName _gde_constant_get_bitfield_name(T param, StringName p_constant) { - if (GetTypeInfo::VARIANT_TYPE == Variant::NIL) { - ERR_PRINT(("Missing VARIANT_ENUM_CAST for constant's bitfield: " + String(p_constant)).utf8().get_data()); - } - return GetTypeInfo>::get_class_info().class_name; -} - -template -struct PtrToArg> { - _FORCE_INLINE_ static TypedArray convert(const void *p_ptr) { - return TypedArray(*reinterpret_cast(p_ptr)); - } - typedef Array EncodeT; - _FORCE_INLINE_ static void encode(TypedArray p_val, void *p_ptr) { - *reinterpret_cast(p_ptr) = p_val; - } -}; - -template -struct PtrToArg &> { - typedef Array EncodeT; - _FORCE_INLINE_ static TypedArray - convert(const void *p_ptr) { - return TypedArray(*reinterpret_cast(p_ptr)); - } -}; - -template -struct GetTypeInfo> { - static constexpr GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_ARRAY; - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; - static inline PropertyInfo get_class_info() { - return make_property_info(Variant::Type::ARRAY, "", PROPERTY_HINT_ARRAY_TYPE, T::get_class_static()); - } -}; - -template -struct GetTypeInfo &> { - static constexpr GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_ARRAY; - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; - static inline PropertyInfo get_class_info() { - return make_property_info(Variant::Type::ARRAY, "", PROPERTY_HINT_ARRAY_TYPE, T::get_class_static()); - } -}; - -#define MAKE_TYPED_ARRAY_INFO(m_type, m_variant_type) \ - template <> \ - struct GetTypeInfo> { \ - static constexpr GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_ARRAY; \ - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ - static inline PropertyInfo get_class_info() { \ - return make_property_info(Variant::Type::ARRAY, "", PROPERTY_HINT_ARRAY_TYPE, Variant::get_type_name(m_variant_type).utf8().get_data()); \ - } \ - }; \ - template <> \ - struct GetTypeInfo &> { \ - static constexpr GDExtensionVariantType VARIANT_TYPE = GDEXTENSION_VARIANT_TYPE_ARRAY; \ - static constexpr GDExtensionClassMethodArgumentMetadata METADATA = GDEXTENSION_METHOD_ARGUMENT_METADATA_NONE; \ - static inline PropertyInfo get_class_info() { \ - return make_property_info(Variant::Type::ARRAY, "", PROPERTY_HINT_ARRAY_TYPE, Variant::get_type_name(m_variant_type).utf8().get_data()); \ - } \ - }; - -MAKE_TYPED_ARRAY_INFO(bool, Variant::BOOL) -MAKE_TYPED_ARRAY_INFO(uint8_t, Variant::INT) -MAKE_TYPED_ARRAY_INFO(int8_t, Variant::INT) -MAKE_TYPED_ARRAY_INFO(uint16_t, Variant::INT) -MAKE_TYPED_ARRAY_INFO(int16_t, Variant::INT) -MAKE_TYPED_ARRAY_INFO(uint32_t, Variant::INT) -MAKE_TYPED_ARRAY_INFO(int32_t, Variant::INT) -MAKE_TYPED_ARRAY_INFO(uint64_t, Variant::INT) -MAKE_TYPED_ARRAY_INFO(int64_t, Variant::INT) -MAKE_TYPED_ARRAY_INFO(float, Variant::FLOAT) -MAKE_TYPED_ARRAY_INFO(double, Variant::FLOAT) -MAKE_TYPED_ARRAY_INFO(String, Variant::STRING) -MAKE_TYPED_ARRAY_INFO(Vector2, Variant::VECTOR2) -MAKE_TYPED_ARRAY_INFO(Vector2i, Variant::VECTOR2I) -MAKE_TYPED_ARRAY_INFO(Rect2, Variant::RECT2) -MAKE_TYPED_ARRAY_INFO(Rect2i, Variant::RECT2I) -MAKE_TYPED_ARRAY_INFO(Vector3, Variant::VECTOR3) -MAKE_TYPED_ARRAY_INFO(Vector3i, Variant::VECTOR3I) -MAKE_TYPED_ARRAY_INFO(Transform2D, Variant::TRANSFORM2D) -MAKE_TYPED_ARRAY_INFO(Vector4, Variant::VECTOR4) -MAKE_TYPED_ARRAY_INFO(Vector4i, Variant::VECTOR4I) -MAKE_TYPED_ARRAY_INFO(Plane, Variant::PLANE) -MAKE_TYPED_ARRAY_INFO(Quaternion, Variant::QUATERNION) -MAKE_TYPED_ARRAY_INFO(AABB, Variant::AABB) -MAKE_TYPED_ARRAY_INFO(Basis, Variant::BASIS) -MAKE_TYPED_ARRAY_INFO(Transform3D, Variant::TRANSFORM3D) -MAKE_TYPED_ARRAY_INFO(Projection, Variant::PROJECTION) -MAKE_TYPED_ARRAY_INFO(Color, Variant::COLOR) -MAKE_TYPED_ARRAY_INFO(StringName, Variant::STRING_NAME) -MAKE_TYPED_ARRAY_INFO(NodePath, Variant::NODE_PATH) -MAKE_TYPED_ARRAY_INFO(RID, Variant::RID) -MAKE_TYPED_ARRAY_INFO(Callable, Variant::CALLABLE) -MAKE_TYPED_ARRAY_INFO(Signal, Variant::SIGNAL) -MAKE_TYPED_ARRAY_INFO(Dictionary, Variant::DICTIONARY) -MAKE_TYPED_ARRAY_INFO(Array, Variant::ARRAY) -/* -MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_BYTE_ARRAY) -MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_INT32_ARRAY) -MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_INT64_ARRAY) -MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_FLOAT32_ARRAY) -MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_FLOAT64_ARRAY) -MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_STRING_ARRAY) -MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_VECTOR2_ARRAY) -MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_VECTOR3_ARRAY) -MAKE_TYPED_ARRAY_INFO(Vector, Variant::PACKED_COLOR_ARRAY) -MAKE_TYPED_ARRAY_INFO(IPAddress, Variant::STRING) -*/ - -#undef MAKE_TYPED_ARRAY_INFO - -#define CLASS_INFO(m_type) (GetTypeInfo::get_class_info()) - -} // namespace godot - -#endif // GODOT_TYPE_INFO_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/godot.hpp b/thirdparty/godot-cpp/include/godot_cpp/godot.hpp deleted file mode 100644 index 5a62930..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/godot.hpp +++ /dev/null @@ -1,252 +0,0 @@ -/**************************************************************************/ -/* godot.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_GODOT_HPP -#define GODOT_GODOT_HPP - -#include - -namespace godot { - -namespace internal { - -extern "C" GDExtensionInterfaceGetProcAddress gdextension_interface_get_proc_address; -extern "C" GDExtensionClassLibraryPtr library; -extern "C" void *token; - -extern "C" GDExtensionGodotVersion godot_version; - -// All of the GDExtension interface functions. -extern "C" GDExtensionInterfaceGetGodotVersion gdextension_interface_get_godot_version; -extern "C" GDExtensionInterfaceMemAlloc gdextension_interface_mem_alloc; -extern "C" GDExtensionInterfaceMemRealloc gdextension_interface_mem_realloc; -extern "C" GDExtensionInterfaceMemFree gdextension_interface_mem_free; -extern "C" GDExtensionInterfacePrintError gdextension_interface_print_error; -extern "C" GDExtensionInterfacePrintErrorWithMessage gdextension_interface_print_error_with_message; -extern "C" GDExtensionInterfacePrintWarning gdextension_interface_print_warning; -extern "C" GDExtensionInterfacePrintWarningWithMessage gdextension_interface_print_warning_with_message; -extern "C" GDExtensionInterfacePrintScriptError gdextension_interface_print_script_error; -extern "C" GDExtensionInterfacePrintScriptErrorWithMessage gdextension_interface_print_script_error_with_message; -extern "C" GDExtensionInterfaceGetNativeStructSize gdextension_interface_get_native_struct_size; -extern "C" GDExtensionInterfaceVariantNewCopy gdextension_interface_variant_new_copy; -extern "C" GDExtensionInterfaceVariantNewNil gdextension_interface_variant_new_nil; -extern "C" GDExtensionInterfaceVariantDestroy gdextension_interface_variant_destroy; -extern "C" GDExtensionInterfaceVariantCall gdextension_interface_variant_call; -extern "C" GDExtensionInterfaceVariantCallStatic gdextension_interface_variant_call_static; -extern "C" GDExtensionInterfaceVariantEvaluate gdextension_interface_variant_evaluate; -extern "C" GDExtensionInterfaceVariantSet gdextension_interface_variant_set; -extern "C" GDExtensionInterfaceVariantSetNamed gdextension_interface_variant_set_named; -extern "C" GDExtensionInterfaceVariantSetKeyed gdextension_interface_variant_set_keyed; -extern "C" GDExtensionInterfaceVariantSetIndexed gdextension_interface_variant_set_indexed; -extern "C" GDExtensionInterfaceVariantGet gdextension_interface_variant_get; -extern "C" GDExtensionInterfaceVariantGetNamed gdextension_interface_variant_get_named; -extern "C" GDExtensionInterfaceVariantGetKeyed gdextension_interface_variant_get_keyed; -extern "C" GDExtensionInterfaceVariantGetIndexed gdextension_interface_variant_get_indexed; -extern "C" GDExtensionInterfaceVariantIterInit gdextension_interface_variant_iter_init; -extern "C" GDExtensionInterfaceVariantIterNext gdextension_interface_variant_iter_next; -extern "C" GDExtensionInterfaceVariantIterGet gdextension_interface_variant_iter_get; -extern "C" GDExtensionInterfaceVariantHash gdextension_interface_variant_hash; -extern "C" GDExtensionInterfaceVariantRecursiveHash gdextension_interface_variant_recursive_hash; -extern "C" GDExtensionInterfaceVariantHashCompare gdextension_interface_variant_hash_compare; -extern "C" GDExtensionInterfaceVariantBooleanize gdextension_interface_variant_booleanize; -extern "C" GDExtensionInterfaceVariantDuplicate gdextension_interface_variant_duplicate; -extern "C" GDExtensionInterfaceVariantStringify gdextension_interface_variant_stringify; -extern "C" GDExtensionInterfaceVariantGetType gdextension_interface_variant_get_type; -extern "C" GDExtensionInterfaceVariantHasMethod gdextension_interface_variant_has_method; -extern "C" GDExtensionInterfaceVariantHasMember gdextension_interface_variant_has_member; -extern "C" GDExtensionInterfaceVariantHasKey gdextension_interface_variant_has_key; -extern "C" GDExtensionInterfaceVariantGetTypeName gdextension_interface_variant_get_type_name; -extern "C" GDExtensionInterfaceVariantCanConvert gdextension_interface_variant_can_convert; -extern "C" GDExtensionInterfaceVariantCanConvertStrict gdextension_interface_variant_can_convert_strict; -extern "C" GDExtensionInterfaceGetVariantFromTypeConstructor gdextension_interface_get_variant_from_type_constructor; -extern "C" GDExtensionInterfaceGetVariantToTypeConstructor gdextension_interface_get_variant_to_type_constructor; -extern "C" GDExtensionInterfaceVariantGetPtrOperatorEvaluator gdextension_interface_variant_get_ptr_operator_evaluator; -extern "C" GDExtensionInterfaceVariantGetPtrBuiltinMethod gdextension_interface_variant_get_ptr_builtin_method; -extern "C" GDExtensionInterfaceVariantGetPtrConstructor gdextension_interface_variant_get_ptr_constructor; -extern "C" GDExtensionInterfaceVariantGetPtrDestructor gdextension_interface_variant_get_ptr_destructor; -extern "C" GDExtensionInterfaceVariantConstruct gdextension_interface_variant_construct; -extern "C" GDExtensionInterfaceVariantGetPtrSetter gdextension_interface_variant_get_ptr_setter; -extern "C" GDExtensionInterfaceVariantGetPtrGetter gdextension_interface_variant_get_ptr_getter; -extern "C" GDExtensionInterfaceVariantGetPtrIndexedSetter gdextension_interface_variant_get_ptr_indexed_setter; -extern "C" GDExtensionInterfaceVariantGetPtrIndexedGetter gdextension_interface_variant_get_ptr_indexed_getter; -extern "C" GDExtensionInterfaceVariantGetPtrKeyedSetter gdextension_interface_variant_get_ptr_keyed_setter; -extern "C" GDExtensionInterfaceVariantGetPtrKeyedGetter gdextension_interface_variant_get_ptr_keyed_getter; -extern "C" GDExtensionInterfaceVariantGetPtrKeyedChecker gdextension_interface_variant_get_ptr_keyed_checker; -extern "C" GDExtensionInterfaceVariantGetConstantValue gdextension_interface_variant_get_constant_value; -extern "C" GDExtensionInterfaceVariantGetPtrUtilityFunction gdextension_interface_variant_get_ptr_utility_function; -extern "C" GDExtensionInterfaceStringNewWithLatin1Chars gdextension_interface_string_new_with_latin1_chars; -extern "C" GDExtensionInterfaceStringNewWithUtf8Chars gdextension_interface_string_new_with_utf8_chars; -extern "C" GDExtensionInterfaceStringNewWithUtf16Chars gdextension_interface_string_new_with_utf16_chars; -extern "C" GDExtensionInterfaceStringNewWithUtf32Chars gdextension_interface_string_new_with_utf32_chars; -extern "C" GDExtensionInterfaceStringNewWithWideChars gdextension_interface_string_new_with_wide_chars; -extern "C" GDExtensionInterfaceStringNewWithLatin1CharsAndLen gdextension_interface_string_new_with_latin1_chars_and_len; -extern "C" GDExtensionInterfaceStringNewWithUtf8CharsAndLen gdextension_interface_string_new_with_utf8_chars_and_len; -extern "C" GDExtensionInterfaceStringNewWithUtf16CharsAndLen gdextension_interface_string_new_with_utf16_chars_and_len; -extern "C" GDExtensionInterfaceStringNewWithUtf32CharsAndLen gdextension_interface_string_new_with_utf32_chars_and_len; -extern "C" GDExtensionInterfaceStringNewWithWideCharsAndLen gdextension_interface_string_new_with_wide_chars_and_len; -extern "C" GDExtensionInterfaceStringToLatin1Chars gdextension_interface_string_to_latin1_chars; -extern "C" GDExtensionInterfaceStringToUtf8Chars gdextension_interface_string_to_utf8_chars; -extern "C" GDExtensionInterfaceStringToUtf16Chars gdextension_interface_string_to_utf16_chars; -extern "C" GDExtensionInterfaceStringToUtf32Chars gdextension_interface_string_to_utf32_chars; -extern "C" GDExtensionInterfaceStringToWideChars gdextension_interface_string_to_wide_chars; -extern "C" GDExtensionInterfaceStringOperatorIndex gdextension_interface_string_operator_index; -extern "C" GDExtensionInterfaceStringOperatorIndexConst gdextension_interface_string_operator_index_const; -extern "C" GDExtensionInterfaceStringOperatorPlusEqString gdextension_interface_string_operator_plus_eq_string; -extern "C" GDExtensionInterfaceStringOperatorPlusEqChar gdextension_interface_string_operator_plus_eq_char; -extern "C" GDExtensionInterfaceStringOperatorPlusEqCstr gdextension_interface_string_operator_plus_eq_cstr; -extern "C" GDExtensionInterfaceStringOperatorPlusEqWcstr gdextension_interface_string_operator_plus_eq_wcstr; -extern "C" GDExtensionInterfaceStringOperatorPlusEqC32str gdextension_interface_string_operator_plus_eq_c32str; -extern "C" GDExtensionInterfaceStringResize gdextension_interface_string_resize; -extern "C" GDExtensionInterfaceStringNameNewWithLatin1Chars gdextension_interface_string_name_new_with_latin1_chars; -extern "C" GDExtensionInterfaceXmlParserOpenBuffer gdextension_interface_xml_parser_open_buffer; -extern "C" GDExtensionInterfaceFileAccessStoreBuffer gdextension_interface_file_access_store_buffer; -extern "C" GDExtensionInterfaceFileAccessGetBuffer gdextension_interface_file_access_get_buffer; -extern "C" GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask gdextension_interface_worker_thread_pool_add_native_group_task; -extern "C" GDExtensionInterfaceWorkerThreadPoolAddNativeTask gdextension_interface_worker_thread_pool_add_native_task; -extern "C" GDExtensionInterfacePackedByteArrayOperatorIndex gdextension_interface_packed_byte_array_operator_index; -extern "C" GDExtensionInterfacePackedByteArrayOperatorIndexConst gdextension_interface_packed_byte_array_operator_index_const; -extern "C" GDExtensionInterfacePackedColorArrayOperatorIndex gdextension_interface_packed_color_array_operator_index; -extern "C" GDExtensionInterfacePackedColorArrayOperatorIndexConst gdextension_interface_packed_color_array_operator_index_const; -extern "C" GDExtensionInterfacePackedFloat32ArrayOperatorIndex gdextension_interface_packed_float32_array_operator_index; -extern "C" GDExtensionInterfacePackedFloat32ArrayOperatorIndexConst gdextension_interface_packed_float32_array_operator_index_const; -extern "C" GDExtensionInterfacePackedFloat64ArrayOperatorIndex gdextension_interface_packed_float64_array_operator_index; -extern "C" GDExtensionInterfacePackedFloat64ArrayOperatorIndexConst gdextension_interface_packed_float64_array_operator_index_const; -extern "C" GDExtensionInterfacePackedInt32ArrayOperatorIndex gdextension_interface_packed_int32_array_operator_index; -extern "C" GDExtensionInterfacePackedInt32ArrayOperatorIndexConst gdextension_interface_packed_int32_array_operator_index_const; -extern "C" GDExtensionInterfacePackedInt64ArrayOperatorIndex gdextension_interface_packed_int64_array_operator_index; -extern "C" GDExtensionInterfacePackedInt64ArrayOperatorIndexConst gdextension_interface_packed_int64_array_operator_index_const; -extern "C" GDExtensionInterfacePackedStringArrayOperatorIndex gdextension_interface_packed_string_array_operator_index; -extern "C" GDExtensionInterfacePackedStringArrayOperatorIndexConst gdextension_interface_packed_string_array_operator_index_const; -extern "C" GDExtensionInterfacePackedVector2ArrayOperatorIndex gdextension_interface_packed_vector2_array_operator_index; -extern "C" GDExtensionInterfacePackedVector2ArrayOperatorIndexConst gdextension_interface_packed_vector2_array_operator_index_const; -extern "C" GDExtensionInterfacePackedVector3ArrayOperatorIndex gdextension_interface_packed_vector3_array_operator_index; -extern "C" GDExtensionInterfacePackedVector3ArrayOperatorIndexConst gdextension_interface_packed_vector3_array_operator_index_const; -extern "C" GDExtensionInterfaceArrayOperatorIndex gdextension_interface_array_operator_index; -extern "C" GDExtensionInterfaceArrayOperatorIndexConst gdextension_interface_array_operator_index_const; -extern "C" GDExtensionInterfaceArrayRef gdextension_interface_array_ref; -extern "C" GDExtensionInterfaceArraySetTyped gdextension_interface_array_set_typed; -extern "C" GDExtensionInterfaceDictionaryOperatorIndex gdextension_interface_dictionary_operator_index; -extern "C" GDExtensionInterfaceDictionaryOperatorIndexConst gdextension_interface_dictionary_operator_index_const; -extern "C" GDExtensionInterfaceObjectMethodBindCall gdextension_interface_object_method_bind_call; -extern "C" GDExtensionInterfaceObjectMethodBindPtrcall gdextension_interface_object_method_bind_ptrcall; -extern "C" GDExtensionInterfaceObjectDestroy gdextension_interface_object_destroy; -extern "C" GDExtensionInterfaceGlobalGetSingleton gdextension_interface_global_get_singleton; -extern "C" GDExtensionInterfaceObjectGetInstanceBinding gdextension_interface_object_get_instance_binding; -extern "C" GDExtensionInterfaceObjectSetInstanceBinding gdextension_interface_object_set_instance_binding; -extern "C" GDExtensionInterfaceObjectSetInstance gdextension_interface_object_set_instance; -extern "C" GDExtensionInterfaceObjectGetClassName gdextension_interface_object_get_class_name; -extern "C" GDExtensionInterfaceObjectCastTo gdextension_interface_object_cast_to; -extern "C" GDExtensionInterfaceObjectGetInstanceFromId gdextension_interface_object_get_instance_from_id; -extern "C" GDExtensionInterfaceObjectGetInstanceId gdextension_interface_object_get_instance_id; -extern "C" GDExtensionInterfaceObjectHasScriptMethod gdextension_interface_object_has_script_method; -extern "C" GDExtensionInterfaceObjectCallScriptMethod gdextension_interface_object_call_script_method; -extern "C" GDExtensionInterfaceCallableCustomCreate2 gdextension_interface_callable_custom_create2; -extern "C" GDExtensionInterfaceCallableCustomGetUserData gdextension_interface_callable_custom_get_userdata; -extern "C" GDExtensionInterfaceRefGetObject gdextension_interface_ref_get_object; -extern "C" GDExtensionInterfaceRefSetObject gdextension_interface_ref_set_object; -extern "C" GDExtensionInterfaceScriptInstanceCreate3 gdextension_interface_script_instance_create3; -extern "C" GDExtensionInterfacePlaceHolderScriptInstanceCreate gdextension_interface_placeholder_script_instance_create; -extern "C" GDExtensionInterfacePlaceHolderScriptInstanceUpdate gdextension_interface_placeholder_script_instance_update; -extern "C" GDExtensionInterfaceClassdbConstructObject gdextension_interface_classdb_construct_object; -extern "C" GDExtensionInterfaceClassdbGetMethodBind gdextension_interface_classdb_get_method_bind; -extern "C" GDExtensionInterfaceClassdbGetClassTag gdextension_interface_classdb_get_class_tag; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClass3 gdextension_interface_classdb_register_extension_class3; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassMethod gdextension_interface_classdb_register_extension_class_method; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassVirtualMethod gdextension_interface_classdb_register_extension_class_virtual_method; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassIntegerConstant gdextension_interface_classdb_register_extension_class_integer_constant; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassProperty gdextension_interface_classdb_register_extension_class_property; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassPropertyIndexed gdextension_interface_classdb_register_extension_class_property_indexed; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassPropertyGroup gdextension_interface_classdb_register_extension_class_property_group; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassPropertySubgroup gdextension_interface_classdb_register_extension_class_property_subgroup; -extern "C" GDExtensionInterfaceClassdbRegisterExtensionClassSignal gdextension_interface_classdb_register_extension_class_signal; -extern "C" GDExtensionInterfaceClassdbUnregisterExtensionClass gdextension_interface_classdb_unregister_extension_class; -extern "C" GDExtensionInterfaceGetLibraryPath gdextension_interface_get_library_path; -extern "C" GDExtensionInterfaceEditorAddPlugin gdextension_interface_editor_add_plugin; -extern "C" GDExtensionInterfaceEditorRemovePlugin gdextension_interface_editor_remove_plugin; - -} // namespace internal - -enum ModuleInitializationLevel { - MODULE_INITIALIZATION_LEVEL_CORE = GDEXTENSION_INITIALIZATION_CORE, - MODULE_INITIALIZATION_LEVEL_SERVERS = GDEXTENSION_INITIALIZATION_SERVERS, - MODULE_INITIALIZATION_LEVEL_SCENE = GDEXTENSION_INITIALIZATION_SCENE, - MODULE_INITIALIZATION_LEVEL_EDITOR = GDEXTENSION_INITIALIZATION_EDITOR, - MODULE_INITIALIZATION_LEVEL_MAX -}; - -class GDExtensionBinding { -public: - using Callback = void (*)(ModuleInitializationLevel p_level); - - struct InitData { - GDExtensionInitializationLevel minimum_initialization_level = GDEXTENSION_INITIALIZATION_CORE; - Callback init_callback = nullptr; - Callback terminate_callback = nullptr; - }; - - class InitDataList { - int data_count = 0; - int data_capacity = 0; - InitData **data = nullptr; - - public: - void add(InitData *p_cb); - ~InitDataList(); - }; - - static bool api_initialized; - static int level_initialized[MODULE_INITIALIZATION_LEVEL_MAX]; - static InitDataList initdata; - static GDExtensionBool init(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, InitData *p_init_data, GDExtensionInitialization *r_initialization); - -public: - static void initialize_level(void *p_userdata, GDExtensionInitializationLevel p_level); - static void deinitialize_level(void *p_userdata, GDExtensionInitializationLevel p_level); - - class InitObject { - GDExtensionInterfaceGetProcAddress get_proc_address; - GDExtensionClassLibraryPtr library; - GDExtensionInitialization *initialization; - mutable InitData *init_data = nullptr; - - public: - InitObject(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization); - - void register_initializer(Callback p_init) const; - void register_terminator(Callback p_init) const; - void set_minimum_library_initialization_level(ModuleInitializationLevel p_level) const; - - GDExtensionBool init() const; - }; -}; - -} // namespace godot - -#endif // GODOT_GODOT_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/cowdata.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/cowdata.hpp deleted file mode 100644 index dcb74ec..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/cowdata.hpp +++ /dev/null @@ -1,492 +0,0 @@ -/**************************************************************************/ -/* cowdata.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_COWDATA_HPP -#define GODOT_COWDATA_HPP - -#include -#include -#include -#include -#include - -#include -#include -#include - -namespace godot { - -template -class Vector; - -template -class VMap; - -template -class CharStringT; - -static_assert(std::is_trivially_destructible_v>); - -// Silence a false positive warning (see GH-52119). -#if defined(__GNUC__) && !defined(__clang__) -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wplacement-new" -#endif - -template -class CowData { - template - friend class Vector; - - template - friend class VMap; - - template - friend class CharStringT; - -public: - typedef int64_t Size; - typedef uint64_t USize; - static constexpr USize MAX_INT = INT64_MAX; - -private: - // Function to find the next power of 2 to an integer. - static _FORCE_INLINE_ USize next_po2(USize x) { - if (x == 0) { - return 0; - } - - --x; - x |= x >> 1; - x |= x >> 2; - x |= x >> 4; - x |= x >> 8; - x |= x >> 16; - if (sizeof(USize) == 8) { - x |= x >> 32; - } - - return ++x; - } - - // Alignment: ↓ max_align_t ↓ USize ↓ max_align_t - // ┌────────────────────┬──┬─────────────┬──┬───────────... - // │ SafeNumeric │░░│ USize │░░│ T[] - // │ ref. count │░░│ data size │░░│ data - // └────────────────────┴──┴─────────────┴──┴───────────... - // Offset: ↑ REF_COUNT_OFFSET ↑ SIZE_OFFSET ↑ DATA_OFFSET - - static constexpr size_t REF_COUNT_OFFSET = 0; - static constexpr size_t SIZE_OFFSET = ((REF_COUNT_OFFSET + sizeof(SafeNumeric)) % alignof(USize) == 0) ? (REF_COUNT_OFFSET + sizeof(SafeNumeric)) : ((REF_COUNT_OFFSET + sizeof(SafeNumeric)) + alignof(USize) - ((REF_COUNT_OFFSET + sizeof(SafeNumeric)) % alignof(USize))); - static constexpr size_t DATA_OFFSET = ((SIZE_OFFSET + sizeof(USize)) % alignof(max_align_t) == 0) ? (SIZE_OFFSET + sizeof(USize)) : ((SIZE_OFFSET + sizeof(USize)) + alignof(max_align_t) - ((SIZE_OFFSET + sizeof(USize)) % alignof(max_align_t))); - - mutable T *_ptr = nullptr; - - // internal helpers - - static _FORCE_INLINE_ SafeNumeric *_get_refcount_ptr(uint8_t *p_ptr) { - return (SafeNumeric *)(p_ptr + REF_COUNT_OFFSET); - } - - static _FORCE_INLINE_ USize *_get_size_ptr(uint8_t *p_ptr) { - return (USize *)(p_ptr + SIZE_OFFSET); - } - - static _FORCE_INLINE_ T *_get_data_ptr(uint8_t *p_ptr) { - return (T *)(p_ptr + DATA_OFFSET); - } - - _FORCE_INLINE_ SafeNumeric *_get_refcount() const { - if (!_ptr) { - return nullptr; - } - - return (SafeNumeric *)((uint8_t *)_ptr - DATA_OFFSET + REF_COUNT_OFFSET); - } - - _FORCE_INLINE_ USize *_get_size() const { - if (!_ptr) { - return nullptr; - } - - return (USize *)((uint8_t *)_ptr - DATA_OFFSET + SIZE_OFFSET); - } - - _FORCE_INLINE_ USize _get_alloc_size(USize p_elements) const { - return next_po2(p_elements * sizeof(T)); - } - - _FORCE_INLINE_ bool _get_alloc_size_checked(USize p_elements, USize *out) const { - if (unlikely(p_elements == 0)) { - *out = 0; - return true; - } -#if defined(__GNUC__) && defined(IS_32_BIT) - USize o; - USize p; - if (__builtin_mul_overflow(p_elements, sizeof(T), &o)) { - *out = 0; - return false; - } - *out = next_po2(o); - if (__builtin_add_overflow(o, static_cast(32), &p)) { - return false; // No longer allocated here. - } -#else - // Speed is more important than correctness here, do the operations unchecked - // and hope for the best. - *out = _get_alloc_size(p_elements); -#endif - return *out; - } - - void _unref(void *p_data); - void _ref(const CowData *p_from); - void _ref(const CowData &p_from); - USize _copy_on_write(); - -public: - void operator=(const CowData &p_from) { _ref(p_from); } - - _FORCE_INLINE_ T *ptrw() { - _copy_on_write(); - return _ptr; - } - - _FORCE_INLINE_ const T *ptr() const { - return _ptr; - } - - _FORCE_INLINE_ Size size() const { - USize *size = (USize *)_get_size(); - if (size) { - return *size; - } else { - return 0; - } - } - - _FORCE_INLINE_ void clear() { resize(0); } - _FORCE_INLINE_ bool is_empty() const { return _ptr == nullptr; } - - _FORCE_INLINE_ void set(Size p_index, const T &p_elem) { - ERR_FAIL_INDEX(p_index, size()); - _copy_on_write(); - _ptr[p_index] = p_elem; - } - - _FORCE_INLINE_ T &get_m(Size p_index) { - CRASH_BAD_INDEX(p_index, size()); - _copy_on_write(); - return _ptr[p_index]; - } - - _FORCE_INLINE_ const T &get(Size p_index) const { - CRASH_BAD_INDEX(p_index, size()); - - return _ptr[p_index]; - } - - template - Error resize(Size p_size); - - _FORCE_INLINE_ void remove_at(Size p_index) { - ERR_FAIL_INDEX(p_index, size()); - T *p = ptrw(); - Size len = size(); - for (Size i = p_index; i < len - 1; i++) { - p[i] = p[i + 1]; - } - - resize(len - 1); - } - - Error insert(Size p_pos, const T &p_val) { - ERR_FAIL_INDEX_V(p_pos, size() + 1, ERR_INVALID_PARAMETER); - resize(size() + 1); - for (Size i = (size() - 1); i > p_pos; i--) { - set(i, get(i - 1)); - } - set(p_pos, p_val); - - return OK; - } - - Size find(const T &p_val, Size p_from = 0) const; - Size rfind(const T &p_val, Size p_from = -1) const; - Size count(const T &p_val) const; - - _FORCE_INLINE_ CowData() {} - _FORCE_INLINE_ ~CowData(); - _FORCE_INLINE_ CowData(CowData &p_from) { _ref(p_from); }; -}; - -template -void CowData::_unref(void *p_data) { - if (!p_data) { - return; - } - - SafeNumeric *refc = _get_refcount(); - - if (refc->decrement() > 0) { - return; // still in use - } - // clean up - - if constexpr (!std::is_trivially_destructible_v) { - USize *count = _get_size(); - T *data = (T *)(count + 1); - - for (USize i = 0; i < *count; ++i) { - // call destructors - data[i].~T(); - } - } - - // free mem - Memory::free_static(((uint8_t *)p_data) - DATA_OFFSET, false); -} - -template -typename CowData::USize CowData::_copy_on_write() { - if (!_ptr) { - return 0; - } - - SafeNumeric *refc = _get_refcount(); - - USize rc = refc->get(); - if (unlikely(rc > 1)) { - /* in use by more than me */ - USize current_size = *_get_size(); - - uint8_t *mem_new = (uint8_t *)Memory::alloc_static(_get_alloc_size(current_size) + DATA_OFFSET, false); - ERR_FAIL_NULL_V(mem_new, 0); - - SafeNumeric *_refc_ptr = _get_refcount_ptr(mem_new); - USize *_size_ptr = _get_size_ptr(mem_new); - T *_data_ptr = _get_data_ptr(mem_new); - - new (_refc_ptr) SafeNumeric(1); //refcount - *(_size_ptr) = current_size; //size - - // initialize new elements - if constexpr (std::is_trivially_copyable_v) { - memcpy((uint8_t *)_data_ptr, _ptr, current_size * sizeof(T)); - } else { - for (USize i = 0; i < current_size; i++) { - memnew_placement(&_data_ptr[i], T(_ptr[i])); - } - } - - _unref(_ptr); - _ptr = _data_ptr; - - rc = 1; - } - return rc; -} - -template -template -Error CowData::resize(Size p_size) { - ERR_FAIL_COND_V(p_size < 0, ERR_INVALID_PARAMETER); - - Size current_size = size(); - - if (p_size == current_size) { - return OK; - } - - if (p_size == 0) { - // wants to clean up - _unref(_ptr); - _ptr = nullptr; - return OK; - } - - // possibly changing size, copy on write - USize rc = _copy_on_write(); - - USize current_alloc_size = _get_alloc_size(current_size); - USize alloc_size; - ERR_FAIL_COND_V(!_get_alloc_size_checked(p_size, &alloc_size), ERR_OUT_OF_MEMORY); - - if (p_size > current_size) { - if (alloc_size != current_alloc_size) { - if (current_size == 0) { - // alloc from scratch - uint8_t *mem_new = (uint8_t *)Memory::alloc_static(alloc_size + DATA_OFFSET, false); - ERR_FAIL_NULL_V(mem_new, ERR_OUT_OF_MEMORY); - - SafeNumeric *_refc_ptr = _get_refcount_ptr(mem_new); - USize *_size_ptr = _get_size_ptr(mem_new); - T *_data_ptr = _get_data_ptr(mem_new); - - new (_refc_ptr) SafeNumeric(1); //refcount - *(_size_ptr) = 0; //size, currently none - - _ptr = _data_ptr; - } else { - uint8_t *mem_new = (uint8_t *)Memory::realloc_static(((uint8_t *)_ptr) - DATA_OFFSET, alloc_size + DATA_OFFSET, false); - ERR_FAIL_NULL_V(mem_new, ERR_OUT_OF_MEMORY); - - SafeNumeric *_refc_ptr = _get_refcount_ptr(mem_new); - T *_data_ptr = _get_data_ptr(mem_new); - - new (_refc_ptr) SafeNumeric(rc); //refcount - - _ptr = _data_ptr; - } - } - - // construct the newly created elements - - if constexpr (!std::is_trivially_constructible_v) { - for (Size i = *_get_size(); i < p_size; i++) { - memnew_placement(&_ptr[i], T); - } - } else if (p_ensure_zero) { - memset((void *)(_ptr + current_size), 0, (p_size - current_size) * sizeof(T)); - } - - *_get_size() = p_size; - - } else if (p_size < current_size) { - if constexpr (!std::is_trivially_destructible_v) { - // deinitialize no longer needed elements - for (USize i = p_size; i < *_get_size(); i++) { - T *t = &_ptr[i]; - t->~T(); - } - } - - if (alloc_size != current_alloc_size) { - uint8_t *mem_new = (uint8_t *)Memory::realloc_static(((uint8_t *)_ptr) - DATA_OFFSET, alloc_size + DATA_OFFSET, false); - ERR_FAIL_NULL_V(mem_new, ERR_OUT_OF_MEMORY); - - SafeNumeric *_refc_ptr = _get_refcount_ptr(mem_new); - T *_data_ptr = _get_data_ptr(mem_new); - - new (_refc_ptr) SafeNumeric(rc); //refcount - - _ptr = _data_ptr; - } - - *_get_size() = p_size; - } - - return OK; -} - -template -typename CowData::Size CowData::find(const T &p_val, Size p_from) const { - Size ret = -1; - - if (p_from < 0 || size() == 0) { - return ret; - } - - for (Size i = p_from; i < size(); i++) { - if (get(i) == p_val) { - ret = i; - break; - } - } - - return ret; -} - -template -typename CowData::Size CowData::rfind(const T &p_val, Size p_from) const { - const Size s = size(); - - if (p_from < 0) { - p_from = s + p_from; - } - if (p_from < 0 || p_from >= s) { - p_from = s - 1; - } - - for (Size i = p_from; i >= 0; i--) { - if (get(i) == p_val) { - return i; - } - } - return -1; -} - -template -typename CowData::Size CowData::count(const T &p_val) const { - Size amount = 0; - for (Size i = 0; i < size(); i++) { - if (get(i) == p_val) { - amount++; - } - } - return amount; -} - -template -void CowData::_ref(const CowData *p_from) { - _ref(*p_from); -} - -template -void CowData::_ref(const CowData &p_from) { - if (_ptr == p_from._ptr) { - return; // self assign, do nothing. - } - - _unref(_ptr); - _ptr = nullptr; - - if (!p_from._ptr) { - return; // nothing to do - } - - if (p_from._get_refcount()->conditional_increment() > 0) { // could reference - _ptr = p_from._ptr; - } -} - -template -CowData::~CowData() { - _unref(_ptr); -} - -#if defined(__GNUC__) && !defined(__clang__) -#pragma GCC diagnostic pop -#endif - -} // namespace godot - -#endif // GODOT_COWDATA_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/hash_map.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/hash_map.hpp deleted file mode 100644 index 59cd8e0..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/hash_map.hpp +++ /dev/null @@ -1,591 +0,0 @@ -/**************************************************************************/ -/* hash_map.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_HASH_MAP_HPP -#define GODOT_HASH_MAP_HPP - -#include -#include -#include -#include - -namespace godot { - -/** - * A HashMap implementation that uses open addressing with Robin Hood hashing. - * Robin Hood hashing swaps out entries that have a smaller probing distance - * than the to-be-inserted entry, that evens out the average probing distance - * and enables faster lookups. Backward shift deletion is employed to further - * improve the performance and to avoid infinite loops in rare cases. - * - * Keys and values are stored in a double linked list by insertion order. This - * has a slight performance overhead on lookup, which can be mostly compensated - * using a paged allocator if required. - * - * The assignment operator copy the pairs from one map to the other. - */ - -template -struct HashMapElement { - HashMapElement *next = nullptr; - HashMapElement *prev = nullptr; - KeyValue data; - HashMapElement() {} - HashMapElement(const TKey &p_key, const TValue &p_value) : - data(p_key, p_value) {} -}; - -template , - typename Allocator = DefaultTypedAllocator>> -class HashMap { -public: - const uint32_t MIN_CAPACITY_INDEX = 2; // Use a prime. - const float MAX_OCCUPANCY = 0.75; - const uint32_t EMPTY_HASH = 0; - -private: - Allocator element_alloc; - HashMapElement **elements = nullptr; - uint32_t *hashes = nullptr; - HashMapElement *head_element = nullptr; - HashMapElement *tail_element = nullptr; - - uint32_t capacity_index = 0; - uint32_t num_elements = 0; - - _FORCE_INLINE_ uint32_t _hash(const TKey &p_key) const { - uint32_t hash = Hasher::hash(p_key); - - if (unlikely(hash == EMPTY_HASH)) { - hash = EMPTY_HASH + 1; - } - - return hash; - } - - _FORCE_INLINE_ uint32_t _get_probe_length(uint32_t p_pos, uint32_t p_hash, uint32_t p_capacity) const { - uint32_t original_pos = p_hash % p_capacity; - return (p_pos - original_pos + p_capacity) % p_capacity; - } - - bool _lookup_pos(const TKey &p_key, uint32_t &r_pos) const { - if (elements == nullptr) { - return false; // Failed lookups, no elements - } - - uint32_t capacity = hash_table_size_primes[capacity_index]; - uint32_t hash = _hash(p_key); - uint32_t pos = hash % capacity; - uint32_t distance = 0; - - while (true) { - if (hashes[pos] == EMPTY_HASH) { - return false; - } - - if (distance > _get_probe_length(pos, hashes[pos], capacity)) { - return false; - } - - if (hashes[pos] == hash && Comparator::compare(elements[pos]->data.key, p_key)) { - r_pos = pos; - return true; - } - - pos = (pos + 1) % capacity; - distance++; - } - } - - void _insert_with_hash(uint32_t p_hash, HashMapElement *p_value) { - uint32_t capacity = hash_table_size_primes[capacity_index]; - uint32_t hash = p_hash; - HashMapElement *value = p_value; - uint32_t distance = 0; - uint32_t pos = hash % capacity; - - while (true) { - if (hashes[pos] == EMPTY_HASH) { - elements[pos] = value; - hashes[pos] = hash; - - num_elements++; - - return; - } - - // Not an empty slot, let's check the probing length of the existing one. - uint32_t existing_probe_len = _get_probe_length(pos, hashes[pos], capacity); - if (existing_probe_len < distance) { - SWAP(hash, hashes[pos]); - SWAP(value, elements[pos]); - distance = existing_probe_len; - } - - pos = (pos + 1) % capacity; - distance++; - } - } - - void _resize_and_rehash(uint32_t p_new_capacity_index) { - uint32_t old_capacity = hash_table_size_primes[capacity_index]; - - // Capacity can't be 0. - capacity_index = MAX((uint32_t)MIN_CAPACITY_INDEX, p_new_capacity_index); - - uint32_t capacity = hash_table_size_primes[capacity_index]; - - HashMapElement **old_elements = elements; - uint32_t *old_hashes = hashes; - - num_elements = 0; - hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - elements = reinterpret_cast **>(Memory::alloc_static(sizeof(HashMapElement *) * capacity)); - - for (uint32_t i = 0; i < capacity; i++) { - hashes[i] = 0; - elements[i] = nullptr; - } - - if (old_capacity == 0) { - // Nothing to do. - return; - } - - for (uint32_t i = 0; i < old_capacity; i++) { - if (old_hashes[i] == EMPTY_HASH) { - continue; - } - - _insert_with_hash(old_hashes[i], old_elements[i]); - } - - Memory::free_static(old_elements); - Memory::free_static(old_hashes); - } - - _FORCE_INLINE_ HashMapElement *_insert(const TKey &p_key, const TValue &p_value, bool p_front_insert = false) { - uint32_t capacity = hash_table_size_primes[capacity_index]; - if (unlikely(elements == nullptr)) { - // Allocate on demand to save memory. - - hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - elements = reinterpret_cast **>(Memory::alloc_static(sizeof(HashMapElement *) * capacity)); - - for (uint32_t i = 0; i < capacity; i++) { - hashes[i] = EMPTY_HASH; - elements[i] = nullptr; - } - } - - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - - if (exists) { - elements[pos]->data.value = p_value; - return elements[pos]; - } else { - if (num_elements + 1 > MAX_OCCUPANCY * capacity) { - ERR_FAIL_COND_V_MSG(capacity_index + 1 == HASH_TABLE_SIZE_MAX, nullptr, "Hash table maximum capacity reached, aborting insertion."); - _resize_and_rehash(capacity_index + 1); - } - - HashMapElement *elem = element_alloc.new_allocation(HashMapElement(p_key, p_value)); - - if (tail_element == nullptr) { - head_element = elem; - tail_element = elem; - } else if (p_front_insert) { - head_element->prev = elem; - elem->next = head_element; - head_element = elem; - } else { - tail_element->next = elem; - elem->prev = tail_element; - tail_element = elem; - } - - uint32_t hash = _hash(p_key); - _insert_with_hash(hash, elem); - return elem; - } - } - -public: - _FORCE_INLINE_ uint32_t get_capacity() const { return hash_table_size_primes[capacity_index]; } - _FORCE_INLINE_ uint32_t size() const { return num_elements; } - - /* Standard Godot Container API */ - - bool is_empty() const { - return num_elements == 0; - } - - void clear() { - if (elements == nullptr) { - return; - } - uint32_t capacity = hash_table_size_primes[capacity_index]; - for (uint32_t i = 0; i < capacity; i++) { - if (hashes[i] == EMPTY_HASH) { - continue; - } - - hashes[i] = EMPTY_HASH; - element_alloc.delete_allocation(elements[i]); - elements[i] = nullptr; - } - - tail_element = nullptr; - head_element = nullptr; - num_elements = 0; - } - - TValue &get(const TKey &p_key) { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - CRASH_COND_MSG(!exists, "HashMap key not found."); - return elements[pos]->data.value; - } - - const TValue &get(const TKey &p_key) const { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - CRASH_COND_MSG(!exists, "HashMap key not found."); - return elements[pos]->data.value; - } - - const TValue *getptr(const TKey &p_key) const { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - - if (exists) { - return &elements[pos]->data.value; - } - return nullptr; - } - - TValue *getptr(const TKey &p_key) { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - - if (exists) { - return &elements[pos]->data.value; - } - return nullptr; - } - - _FORCE_INLINE_ bool has(const TKey &p_key) const { - uint32_t _pos = 0; - return _lookup_pos(p_key, _pos); - } - - bool erase(const TKey &p_key) { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - - if (!exists) { - return false; - } - - uint32_t capacity = hash_table_size_primes[capacity_index]; - uint32_t next_pos = (pos + 1) % capacity; - while (hashes[next_pos] != EMPTY_HASH && _get_probe_length(next_pos, hashes[next_pos], capacity) != 0) { - SWAP(hashes[next_pos], hashes[pos]); - SWAP(elements[next_pos], elements[pos]); - pos = next_pos; - next_pos = (pos + 1) % capacity; - } - - hashes[pos] = EMPTY_HASH; - - if (head_element == elements[pos]) { - head_element = elements[pos]->next; - } - - if (tail_element == elements[pos]) { - tail_element = elements[pos]->prev; - } - - if (elements[pos]->prev) { - elements[pos]->prev->next = elements[pos]->next; - } - - if (elements[pos]->next) { - elements[pos]->next->prev = elements[pos]->prev; - } - - element_alloc.delete_allocation(elements[pos]); - elements[pos] = nullptr; - - num_elements--; - return true; - } - - // Reserves space for a number of elements, useful to avoid many resizes and rehashes. - // If adding a known (possibly large) number of elements at once, must be larger than old capacity. - void reserve(uint32_t p_new_capacity) { - uint32_t new_index = capacity_index; - - while (hash_table_size_primes[new_index] < p_new_capacity) { - ERR_FAIL_COND_MSG(new_index + 1 == (uint32_t)HASH_TABLE_SIZE_MAX, nullptr); - new_index++; - } - - if (new_index == capacity_index) { - return; - } - - if (elements == nullptr) { - capacity_index = new_index; - return; // Unallocated yet. - } - _resize_and_rehash(new_index); - } - - /** Iterator API **/ - - struct ConstIterator { - _FORCE_INLINE_ const KeyValue &operator*() const { - return E->data; - } - _FORCE_INLINE_ const KeyValue *operator->() const { return &E->data; } - _FORCE_INLINE_ ConstIterator &operator++() { - if (E) { - E = E->next; - } - return *this; - } - _FORCE_INLINE_ ConstIterator &operator--() { - if (E) { - E = E->prev; - } - return *this; - } - - _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return E == b.E; } - _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return E != b.E; } - - _FORCE_INLINE_ explicit operator bool() const { - return E != nullptr; - } - - _FORCE_INLINE_ ConstIterator(const HashMapElement *p_E) { E = p_E; } - _FORCE_INLINE_ ConstIterator() {} - _FORCE_INLINE_ ConstIterator(const ConstIterator &p_it) { E = p_it.E; } - _FORCE_INLINE_ void operator=(const ConstIterator &p_it) { - E = p_it.E; - } - - private: - const HashMapElement *E = nullptr; - }; - - struct Iterator { - _FORCE_INLINE_ KeyValue &operator*() const { - return E->data; - } - _FORCE_INLINE_ KeyValue *operator->() const { return &E->data; } - _FORCE_INLINE_ Iterator &operator++() { - if (E) { - E = E->next; - } - return *this; - } - _FORCE_INLINE_ Iterator &operator--() { - if (E) { - E = E->prev; - } - return *this; - } - - _FORCE_INLINE_ bool operator==(const Iterator &b) const { return E == b.E; } - _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return E != b.E; } - - _FORCE_INLINE_ explicit operator bool() const { - return E != nullptr; - } - - _FORCE_INLINE_ Iterator(HashMapElement *p_E) { E = p_E; } - _FORCE_INLINE_ Iterator() {} - _FORCE_INLINE_ Iterator(const Iterator &p_it) { E = p_it.E; } - _FORCE_INLINE_ void operator=(const Iterator &p_it) { - E = p_it.E; - } - - operator ConstIterator() const { - return ConstIterator(E); - } - - private: - HashMapElement *E = nullptr; - }; - - _FORCE_INLINE_ Iterator begin() { - return Iterator(head_element); - } - _FORCE_INLINE_ Iterator end() { - return Iterator(nullptr); - } - _FORCE_INLINE_ Iterator last() { - return Iterator(tail_element); - } - - _FORCE_INLINE_ Iterator find(const TKey &p_key) { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - if (!exists) { - return end(); - } - return Iterator(elements[pos]); - } - - _FORCE_INLINE_ void remove(const Iterator &p_iter) { - if (p_iter) { - erase(p_iter->key); - } - } - - _FORCE_INLINE_ ConstIterator begin() const { - return ConstIterator(head_element); - } - _FORCE_INLINE_ ConstIterator end() const { - return ConstIterator(nullptr); - } - _FORCE_INLINE_ ConstIterator last() const { - return ConstIterator(tail_element); - } - - _FORCE_INLINE_ ConstIterator find(const TKey &p_key) const { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - if (!exists) { - return end(); - } - return ConstIterator(elements[pos]); - } - - /* Indexing */ - - const TValue &operator[](const TKey &p_key) const { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - CRASH_COND(!exists); - return elements[pos]->data.value; - } - - TValue &operator[](const TKey &p_key) { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - if (!exists) { - return _insert(p_key, TValue())->data.value; - } else { - return elements[pos]->data.value; - } - } - - /* Insert */ - - Iterator insert(const TKey &p_key, const TValue &p_value, bool p_front_insert = false) { - return Iterator(_insert(p_key, p_value, p_front_insert)); - } - - /* Constructors */ - - HashMap(const HashMap &p_other) { - reserve(hash_table_size_primes[p_other.capacity_index]); - - if (p_other.num_elements == 0) { - return; - } - - for (const KeyValue &E : p_other) { - insert(E.key, E.value); - } - } - - void operator=(const HashMap &p_other) { - if (this == &p_other) { - return; // Ignore self assignment. - } - if (num_elements != 0) { - clear(); - } - - reserve(hash_table_size_primes[p_other.capacity_index]); - - if (p_other.elements == nullptr) { - return; // Nothing to copy. - } - - for (const KeyValue &E : p_other) { - insert(E.key, E.value); - } - } - - HashMap(uint32_t p_initial_capacity) { - // Capacity can't be 0. - capacity_index = 0; - reserve(p_initial_capacity); - } - HashMap() { - capacity_index = MIN_CAPACITY_INDEX; - } - - uint32_t debug_get_hash(uint32_t p_index) { - if (num_elements == 0) { - return 0; - } - ERR_FAIL_INDEX_V(p_index, get_capacity(), 0); - return hashes[p_index]; - } - Iterator debug_get_element(uint32_t p_index) { - if (num_elements == 0) { - return Iterator(); - } - ERR_FAIL_INDEX_V(p_index, get_capacity(), Iterator()); - return Iterator(elements[p_index]); - } - - ~HashMap() { - clear(); - - if (elements != nullptr) { - Memory::free_static(elements); - Memory::free_static(hashes); - } - } -}; - -} // namespace godot - -#endif // GODOT_HASH_MAP_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/hash_set.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/hash_set.hpp deleted file mode 100644 index 1845a1b..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/hash_set.hpp +++ /dev/null @@ -1,477 +0,0 @@ -/**************************************************************************/ -/* hash_set.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_HASH_SET_HPP -#define GODOT_HASH_SET_HPP - -#include -#include -#include -#include -#include - -namespace godot { - -/** - * Implementation of Set using a bidi indexed hash map. - * Use RBSet instead of this only if the following conditions are met: - * - * - You need to keep an iterator or const pointer to Key and you intend to add/remove elements in the meantime. - * - Iteration order does matter (via operator<) - * - */ - -template > -class HashSet { -public: - static constexpr uint32_t MIN_CAPACITY_INDEX = 2; // Use a prime. - static constexpr float MAX_OCCUPANCY = 0.75; - static constexpr uint32_t EMPTY_HASH = 0; - -private: - TKey *keys = nullptr; - uint32_t *hash_to_key = nullptr; - uint32_t *key_to_hash = nullptr; - uint32_t *hashes = nullptr; - - uint32_t capacity_index = 0; - uint32_t num_elements = 0; - - _FORCE_INLINE_ uint32_t _hash(const TKey &p_key) const { - uint32_t hash = Hasher::hash(p_key); - - if (unlikely(hash == EMPTY_HASH)) { - hash = EMPTY_HASH + 1; - } - - return hash; - } - - _FORCE_INLINE_ uint32_t _get_probe_length(uint32_t p_pos, uint32_t p_hash, uint32_t p_capacity) const { - uint32_t original_pos = p_hash % p_capacity; - return (p_pos - original_pos + p_capacity) % p_capacity; - } - - bool _lookup_pos(const TKey &p_key, uint32_t &r_pos) const { - if (keys == nullptr) { - return false; // Failed lookups, no elements - } - - uint32_t capacity = hash_table_size_primes[capacity_index]; - uint32_t hash = _hash(p_key); - uint32_t pos = hash % capacity; - uint32_t distance = 0; - - while (true) { - if (hashes[pos] == EMPTY_HASH) { - return false; - } - - if (distance > _get_probe_length(pos, hashes[pos], capacity)) { - return false; - } - - if (hashes[pos] == hash && Comparator::compare(keys[hash_to_key[pos]], p_key)) { - r_pos = hash_to_key[pos]; - return true; - } - - pos = (pos + 1) % capacity; - distance++; - } - } - - uint32_t _insert_with_hash(uint32_t p_hash, uint32_t p_index) { - uint32_t capacity = hash_table_size_primes[capacity_index]; - uint32_t hash = p_hash; - uint32_t index = p_index; - uint32_t distance = 0; - uint32_t pos = hash % capacity; - - while (true) { - if (hashes[pos] == EMPTY_HASH) { - hashes[pos] = hash; - key_to_hash[index] = pos; - hash_to_key[pos] = index; - return pos; - } - - // Not an empty slot, let's check the probing length of the existing one. - uint32_t existing_probe_len = _get_probe_length(pos, hashes[pos], capacity); - if (existing_probe_len < distance) { - key_to_hash[index] = pos; - SWAP(hash, hashes[pos]); - SWAP(index, hash_to_key[pos]); - distance = existing_probe_len; - } - - pos = (pos + 1) % capacity; - distance++; - } - } - - void _resize_and_rehash(uint32_t p_new_capacity_index) { - // Capacity can't be 0. - capacity_index = MAX((uint32_t)MIN_CAPACITY_INDEX, p_new_capacity_index); - - uint32_t capacity = hash_table_size_primes[capacity_index]; - - uint32_t *old_hashes = hashes; - uint32_t *old_key_to_hash = key_to_hash; - - hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - keys = reinterpret_cast(Memory::realloc_static(keys, sizeof(TKey) * capacity)); - key_to_hash = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - hash_to_key = reinterpret_cast(Memory::realloc_static(hash_to_key, sizeof(uint32_t) * capacity)); - - for (uint32_t i = 0; i < capacity; i++) { - hashes[i] = EMPTY_HASH; - } - - for (uint32_t i = 0; i < num_elements; i++) { - uint32_t h = old_hashes[old_key_to_hash[i]]; - _insert_with_hash(h, i); - } - - Memory::free_static(old_hashes); - Memory::free_static(old_key_to_hash); - } - - _FORCE_INLINE_ int32_t _insert(const TKey &p_key) { - uint32_t capacity = hash_table_size_primes[capacity_index]; - if (unlikely(keys == nullptr)) { - // Allocate on demand to save memory. - - hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - keys = reinterpret_cast(Memory::alloc_static(sizeof(TKey) * capacity)); - key_to_hash = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - hash_to_key = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - - for (uint32_t i = 0; i < capacity; i++) { - hashes[i] = EMPTY_HASH; - } - } - - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - - if (exists) { - return pos; - } else { - if (num_elements + 1 > MAX_OCCUPANCY * capacity) { - ERR_FAIL_COND_V_MSG(capacity_index + 1 == HASH_TABLE_SIZE_MAX, -1, "Hash table maximum capacity reached, aborting insertion."); - _resize_and_rehash(capacity_index + 1); - } - - uint32_t hash = _hash(p_key); - memnew_placement(&keys[num_elements], TKey(p_key)); - _insert_with_hash(hash, num_elements); - num_elements++; - return num_elements - 1; - } - } - - void _init_from(const HashSet &p_other) { - capacity_index = p_other.capacity_index; - num_elements = p_other.num_elements; - - if (p_other.num_elements == 0) { - return; - } - - uint32_t capacity = hash_table_size_primes[capacity_index]; - - hashes = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - keys = reinterpret_cast(Memory::alloc_static(sizeof(TKey) * capacity)); - key_to_hash = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - hash_to_key = reinterpret_cast(Memory::alloc_static(sizeof(uint32_t) * capacity)); - - for (uint32_t i = 0; i < num_elements; i++) { - memnew_placement(&keys[i], TKey(p_other.keys[i])); - key_to_hash[i] = p_other.key_to_hash[i]; - } - - for (uint32_t i = 0; i < capacity; i++) { - hashes[i] = p_other.hashes[i]; - hash_to_key[i] = p_other.hash_to_key[i]; - } - } - -public: - _FORCE_INLINE_ uint32_t get_capacity() const { return hash_table_size_primes[capacity_index]; } - _FORCE_INLINE_ uint32_t size() const { return num_elements; } - - /* Standard Godot Container API */ - - bool is_empty() const { - return num_elements == 0; - } - - void clear() { - if (keys == nullptr) { - return; - } - uint32_t capacity = hash_table_size_primes[capacity_index]; - for (uint32_t i = 0; i < capacity; i++) { - hashes[i] = EMPTY_HASH; - } - for (uint32_t i = 0; i < num_elements; i++) { - keys[i].~TKey(); - } - - num_elements = 0; - } - - _FORCE_INLINE_ bool has(const TKey &p_key) const { - uint32_t _pos = 0; - return _lookup_pos(p_key, _pos); - } - - bool erase(const TKey &p_key) { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - - if (!exists) { - return false; - } - - uint32_t key_pos = pos; - pos = key_to_hash[pos]; // make hash pos - - uint32_t capacity = hash_table_size_primes[capacity_index]; - uint32_t next_pos = (pos + 1) % capacity; - while (hashes[next_pos] != EMPTY_HASH && _get_probe_length(next_pos, hashes[next_pos], capacity) != 0) { - uint32_t kpos = hash_to_key[pos]; - uint32_t kpos_next = hash_to_key[next_pos]; - SWAP(key_to_hash[kpos], key_to_hash[kpos_next]); - SWAP(hashes[next_pos], hashes[pos]); - SWAP(hash_to_key[next_pos], hash_to_key[pos]); - - pos = next_pos; - next_pos = (pos + 1) % capacity; - } - - hashes[pos] = EMPTY_HASH; - keys[key_pos].~TKey(); - num_elements--; - if (key_pos < num_elements) { - // Not the last key, move the last one here to keep keys lineal - memnew_placement(&keys[key_pos], TKey(keys[num_elements])); - keys[num_elements].~TKey(); - key_to_hash[key_pos] = key_to_hash[num_elements]; - hash_to_key[key_to_hash[num_elements]] = key_pos; - } - - return true; - } - - // Reserves space for a number of elements, useful to avoid many resizes and rehashes. - // If adding a known (possibly large) number of elements at once, must be larger than old capacity. - void reserve(uint32_t p_new_capacity) { - uint32_t new_index = capacity_index; - - while (hash_table_size_primes[new_index] < p_new_capacity) { - ERR_FAIL_COND_MSG(new_index + 1 == (uint32_t)HASH_TABLE_SIZE_MAX, nullptr); - new_index++; - } - - if (new_index == capacity_index) { - return; - } - - if (keys == nullptr) { - capacity_index = new_index; - return; // Unallocated yet. - } - _resize_and_rehash(new_index); - } - - /** Iterator API **/ - - struct Iterator { - _FORCE_INLINE_ const TKey &operator*() const { - return keys[index]; - } - _FORCE_INLINE_ const TKey *operator->() const { - return &keys[index]; - } - _FORCE_INLINE_ Iterator &operator++() { - index++; - if (index >= (int32_t)num_keys) { - index = -1; - keys = nullptr; - num_keys = 0; - } - return *this; - } - _FORCE_INLINE_ Iterator &operator--() { - index--; - if (index < 0) { - index = -1; - keys = nullptr; - num_keys = 0; - } - return *this; - } - - _FORCE_INLINE_ bool operator==(const Iterator &b) const { return keys == b.keys && index == b.index; } - _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return keys != b.keys || index != b.index; } - - _FORCE_INLINE_ explicit operator bool() const { - return keys != nullptr; - } - - _FORCE_INLINE_ Iterator(const TKey *p_keys, uint32_t p_num_keys, int32_t p_index = -1) { - keys = p_keys; - num_keys = p_num_keys; - index = p_index; - } - _FORCE_INLINE_ Iterator() {} - _FORCE_INLINE_ Iterator(const Iterator &p_it) { - keys = p_it.keys; - num_keys = p_it.num_keys; - index = p_it.index; - } - _FORCE_INLINE_ void operator=(const Iterator &p_it) { - keys = p_it.keys; - num_keys = p_it.num_keys; - index = p_it.index; - } - - private: - const TKey *keys = nullptr; - uint32_t num_keys = 0; - int32_t index = -1; - }; - - _FORCE_INLINE_ Iterator begin() const { - return num_elements ? Iterator(keys, num_elements, 0) : Iterator(); - } - _FORCE_INLINE_ Iterator end() const { - return Iterator(); - } - _FORCE_INLINE_ Iterator last() const { - if (num_elements == 0) { - return Iterator(); - } - return Iterator(keys, num_elements, num_elements - 1); - } - - _FORCE_INLINE_ Iterator find(const TKey &p_key) const { - uint32_t pos = 0; - bool exists = _lookup_pos(p_key, pos); - if (!exists) { - return end(); - } - return Iterator(keys, num_elements, pos); - } - - _FORCE_INLINE_ void remove(const Iterator &p_iter) { - if (p_iter) { - erase(*p_iter); - } - } - - /* Insert */ - - Iterator insert(const TKey &p_key) { - uint32_t pos = _insert(p_key); - return Iterator(keys, num_elements, pos); - } - - /* Constructors */ - - HashSet(const HashSet &p_other) { - _init_from(p_other); - } - - void operator=(const HashSet &p_other) { - if (this == &p_other) { - return; // Ignore self assignment. - } - - clear(); - - if (keys != nullptr) { - Memory::free_static(keys); - Memory::free_static(key_to_hash); - Memory::free_static(hash_to_key); - Memory::free_static(hashes); - keys = nullptr; - hashes = nullptr; - hash_to_key = nullptr; - key_to_hash = nullptr; - } - - _init_from(p_other); - } - - HashSet(uint32_t p_initial_capacity) { - // Capacity can't be 0. - capacity_index = 0; - reserve(p_initial_capacity); - } - HashSet() { - capacity_index = MIN_CAPACITY_INDEX; - } - - void reset() { - clear(); - - if (keys != nullptr) { - Memory::free_static(keys); - Memory::free_static(key_to_hash); - Memory::free_static(hash_to_key); - Memory::free_static(hashes); - keys = nullptr; - hashes = nullptr; - hash_to_key = nullptr; - key_to_hash = nullptr; - } - capacity_index = MIN_CAPACITY_INDEX; - } - - ~HashSet() { - clear(); - - if (keys != nullptr) { - Memory::free_static(keys); - Memory::free_static(key_to_hash); - Memory::free_static(hash_to_key); - Memory::free_static(hashes); - } - } -}; - -} // namespace godot - -#endif // GODOT_HASH_SET_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/hashfuncs.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/hashfuncs.hpp deleted file mode 100644 index 40b10a9..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/hashfuncs.hpp +++ /dev/null @@ -1,526 +0,0 @@ -/**************************************************************************/ -/* hashfuncs.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_HASHFUNCS_HPP -#define GODOT_HASHFUNCS_HPP - -// Needed for fastmod. -#if defined(_MSC_VER) -#include -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/** - * Hashing functions - */ - -namespace godot { - -/** - * DJB2 Hash function - * @param C String - * @return 32-bits hashcode - */ -static _FORCE_INLINE_ uint32_t hash_djb2(const char *p_cstr) { - const unsigned char *chr = (const unsigned char *)p_cstr; - uint32_t hash = 5381; - uint32_t c; - - while ((c = *chr++)) { - hash = ((hash << 5) + hash) ^ c; /* hash * 33 ^ c */ - } - - return hash; -} - -static _FORCE_INLINE_ uint32_t hash_djb2_buffer(const uint8_t *p_buff, int p_len, uint32_t p_prev = 5381) { - uint32_t hash = p_prev; - - for (int i = 0; i < p_len; i++) { - hash = ((hash << 5) + hash) ^ p_buff[i]; /* hash * 33 + c */ - } - - return hash; -} - -static _FORCE_INLINE_ uint32_t hash_djb2_one_32(uint32_t p_in, uint32_t p_prev = 5381) { - return ((p_prev << 5) + p_prev) ^ p_in; -} - -/** - * Thomas Wang's 64-bit to 32-bit Hash function: - * https://web.archive.org/web/20071223173210/https:/www.concentric.net/~Ttwang/tech/inthash.htm - * - * @param p_int - 64-bit unsigned integer key to be hashed - * @return unsigned 32-bit value representing hashcode - */ -static _FORCE_INLINE_ uint32_t hash_one_uint64(const uint64_t p_int) { - uint64_t v = p_int; - v = (~v) + (v << 18); // v = (v << 18) - v - 1; - v = v ^ (v >> 31); - v = v * 21; // v = (v + (v << 2)) + (v << 4); - v = v ^ (v >> 11); - v = v + (v << 6); - v = v ^ (v >> 22); - return uint32_t(v); -} - -#define HASH_MURMUR3_SEED 0x7F07C65 -// Murmurhash3 32-bit version. -// All MurmurHash versions are public domain software, and the author disclaims all copyright to their code. - -static _FORCE_INLINE_ uint32_t hash_murmur3_one_32(uint32_t p_in, uint32_t p_seed = HASH_MURMUR3_SEED) { - p_in *= 0xcc9e2d51; - p_in = (p_in << 15) | (p_in >> 17); - p_in *= 0x1b873593; - - p_seed ^= p_in; - p_seed = (p_seed << 13) | (p_seed >> 19); - p_seed = p_seed * 5 + 0xe6546b64; - - return p_seed; -} - -static _FORCE_INLINE_ uint32_t hash_murmur3_one_float(float p_in, uint32_t p_seed = HASH_MURMUR3_SEED) { - union { - float f; - uint32_t i; - } u; - - // Normalize +/- 0.0 and NaN values so they hash the same. - if (p_in == 0.0f) { - u.f = 0.0; - } else if (Math::is_nan(p_in)) { - u.f = NAN; - } else { - u.f = p_in; - } - - return hash_murmur3_one_32(u.i, p_seed); -} - -static _FORCE_INLINE_ uint32_t hash_murmur3_one_64(uint64_t p_in, uint32_t p_seed = HASH_MURMUR3_SEED) { - p_seed = hash_murmur3_one_32(p_in & 0xFFFFFFFF, p_seed); - return hash_murmur3_one_32(p_in >> 32, p_seed); -} - -static _FORCE_INLINE_ uint32_t hash_murmur3_one_double(double p_in, uint32_t p_seed = HASH_MURMUR3_SEED) { - union { - double d; - uint64_t i; - } u; - - // Normalize +/- 0.0 and NaN values so they hash the same. - if (p_in == 0.0f) { - u.d = 0.0; - } else if (Math::is_nan(p_in)) { - u.d = NAN; - } else { - u.d = p_in; - } - - return hash_murmur3_one_64(u.i, p_seed); -} - -static _FORCE_INLINE_ uint32_t hash_murmur3_one_real(real_t p_in, uint32_t p_seed = HASH_MURMUR3_SEED) { -#ifdef REAL_T_IS_DOUBLE - return hash_murmur3_one_double(p_in, p_seed); -#else - return hash_murmur3_one_float(p_in, p_seed); -#endif -} - -static _FORCE_INLINE_ uint32_t hash_rotl32(uint32_t x, int8_t r) { - return (x << r) | (x >> (32 - r)); -} - -static _FORCE_INLINE_ uint32_t hash_fmix32(uint32_t h) { - h ^= h >> 16; - h *= 0x85ebca6b; - h ^= h >> 13; - h *= 0xc2b2ae35; - h ^= h >> 16; - - return h; -} - -static _FORCE_INLINE_ uint32_t hash_murmur3_buffer(const void *key, int length, const uint32_t seed = HASH_MURMUR3_SEED) { - // Although not required, this is a random prime number. - const uint8_t *data = (const uint8_t *)key; - const int nblocks = length / 4; - - uint32_t h1 = seed; - - const uint32_t c1 = 0xcc9e2d51; - const uint32_t c2 = 0x1b873593; - - const uint32_t *blocks = (const uint32_t *)(data + nblocks * 4); - - for (int i = -nblocks; i; i++) { - uint32_t k1 = blocks[i]; - - k1 *= c1; - k1 = hash_rotl32(k1, 15); - k1 *= c2; - - h1 ^= k1; - h1 = hash_rotl32(h1, 13); - h1 = h1 * 5 + 0xe6546b64; - } - - const uint8_t *tail = (const uint8_t *)(data + nblocks * 4); - - uint32_t k1 = 0; - - switch (length & 3) { - case 3: - k1 ^= tail[2] << 16; - [[fallthrough]]; - case 2: - k1 ^= tail[1] << 8; - [[fallthrough]]; - case 1: - k1 ^= tail[0]; - k1 *= c1; - k1 = hash_rotl32(k1, 15); - k1 *= c2; - h1 ^= k1; - } - - // Finalize with additional bit mixing. - h1 ^= length; - return hash_fmix32(h1); -} - -static _FORCE_INLINE_ uint32_t hash_djb2_one_float(double p_in, uint32_t p_prev = 5381) { - union { - double d; - uint64_t i; - } u; - - // Normalize +/- 0.0 and NaN values so they hash the same. - if (p_in == 0.0f) { - u.d = 0.0; - } else if (Math::is_nan(p_in)) { - u.d = NAN; - } else { - u.d = p_in; - } - - return ((p_prev << 5) + p_prev) + hash_one_uint64(u.i); -} - -template -static _FORCE_INLINE_ uint32_t hash_make_uint32_t(T p_in) { - union { - T t; - uint32_t _u32; - } _u; - _u._u32 = 0; - _u.t = p_in; - return _u._u32; -} - -static _FORCE_INLINE_ uint64_t hash_djb2_one_float_64(double p_in, uint64_t p_prev = 5381) { - union { - double d; - uint64_t i; - } u; - - // Normalize +/- 0.0 and NaN values so they hash the same. - if (p_in == 0.0f) { - u.d = 0.0; - } else if (Math::is_nan(p_in)) { - u.d = NAN; - } else { - u.d = p_in; - } - - return ((p_prev << 5) + p_prev) + u.i; -} - -static _FORCE_INLINE_ uint64_t hash_djb2_one_64(uint64_t p_in, uint64_t p_prev = 5381) { - return ((p_prev << 5) + p_prev) ^ p_in; -} - -template -static _FORCE_INLINE_ uint64_t hash_make_uint64_t(T p_in) { - union { - T t; - uint64_t _u64; - } _u; - _u._u64 = 0; // in case p_in is smaller - - _u.t = p_in; - return _u._u64; -} - -template -class Ref; - -struct HashMapHasherDefault { - // Generic hash function for any type. - template - static _FORCE_INLINE_ uint32_t hash(const T *p_pointer) { return hash_one_uint64((uint64_t)p_pointer); } - - template - static _FORCE_INLINE_ uint32_t hash(const Ref &p_ref) { return hash_one_uint64((uint64_t)p_ref.operator->()); } - - static _FORCE_INLINE_ uint32_t hash(const String &p_string) { return p_string.hash(); } - static _FORCE_INLINE_ uint32_t hash(const char *p_cstr) { return hash_djb2(p_cstr); } - static _FORCE_INLINE_ uint32_t hash(const wchar_t p_wchar) { return hash_fmix32(p_wchar); } - static _FORCE_INLINE_ uint32_t hash(const char16_t p_uchar) { return hash_fmix32(p_uchar); } - static _FORCE_INLINE_ uint32_t hash(const char32_t p_uchar) { return hash_fmix32(p_uchar); } - static _FORCE_INLINE_ uint32_t hash(const RID &p_rid) { return hash_one_uint64(p_rid.get_id()); } - static _FORCE_INLINE_ uint32_t hash(const StringName &p_string_name) { return p_string_name.hash(); } - static _FORCE_INLINE_ uint32_t hash(const NodePath &p_path) { return p_path.hash(); } - static _FORCE_INLINE_ uint32_t hash(const ObjectID &p_id) { return hash_one_uint64(p_id); } - - static _FORCE_INLINE_ uint32_t hash(const uint64_t p_int) { return hash_one_uint64(p_int); } - static _FORCE_INLINE_ uint32_t hash(const int64_t p_int) { return hash_one_uint64(p_int); } - static _FORCE_INLINE_ uint32_t hash(const float p_float) { return hash_murmur3_one_float(p_float); } - static _FORCE_INLINE_ uint32_t hash(const double p_double) { return hash_murmur3_one_double(p_double); } - static _FORCE_INLINE_ uint32_t hash(const uint32_t p_int) { return hash_fmix32(p_int); } - static _FORCE_INLINE_ uint32_t hash(const int32_t p_int) { return hash_fmix32(p_int); } - static _FORCE_INLINE_ uint32_t hash(const uint16_t p_int) { return hash_fmix32(p_int); } - static _FORCE_INLINE_ uint32_t hash(const int16_t p_int) { return hash_fmix32(p_int); } - static _FORCE_INLINE_ uint32_t hash(const uint8_t p_int) { return hash_fmix32(p_int); } - static _FORCE_INLINE_ uint32_t hash(const int8_t p_int) { return hash_fmix32(p_int); } - static _FORCE_INLINE_ uint32_t hash(const Vector2i &p_vec) { - uint32_t h = hash_murmur3_one_32(p_vec.x); - h = hash_murmur3_one_32(p_vec.y, h); - return hash_fmix32(h); - } - static _FORCE_INLINE_ uint32_t hash(const Vector3i &p_vec) { - uint32_t h = hash_murmur3_one_32(p_vec.x); - h = hash_murmur3_one_32(p_vec.y, h); - h = hash_murmur3_one_32(p_vec.z, h); - return hash_fmix32(h); - } - static _FORCE_INLINE_ uint32_t hash(const Vector4i &p_vec) { - uint32_t h = hash_murmur3_one_32(p_vec.x); - h = hash_murmur3_one_32(p_vec.y, h); - h = hash_murmur3_one_32(p_vec.z, h); - h = hash_murmur3_one_32(p_vec.w, h); - return hash_fmix32(h); - } - static _FORCE_INLINE_ uint32_t hash(const Vector2 &p_vec) { - uint32_t h = hash_murmur3_one_real(p_vec.x); - h = hash_murmur3_one_real(p_vec.y, h); - return hash_fmix32(h); - } - static _FORCE_INLINE_ uint32_t hash(const Vector3 &p_vec) { - uint32_t h = hash_murmur3_one_real(p_vec.x); - h = hash_murmur3_one_real(p_vec.y, h); - h = hash_murmur3_one_real(p_vec.z, h); - return hash_fmix32(h); - } - static _FORCE_INLINE_ uint32_t hash(const Vector4 &p_vec) { - uint32_t h = hash_murmur3_one_real(p_vec.x); - h = hash_murmur3_one_real(p_vec.y, h); - h = hash_murmur3_one_real(p_vec.z, h); - h = hash_murmur3_one_real(p_vec.w, h); - return hash_fmix32(h); - } - static _FORCE_INLINE_ uint32_t hash(const Rect2i &p_rect) { - uint32_t h = hash_murmur3_one_32(p_rect.position.x); - h = hash_murmur3_one_32(p_rect.position.y, h); - h = hash_murmur3_one_32(p_rect.size.x, h); - h = hash_murmur3_one_32(p_rect.size.y, h); - return hash_fmix32(h); - } - static _FORCE_INLINE_ uint32_t hash(const Rect2 &p_rect) { - uint32_t h = hash_murmur3_one_real(p_rect.position.x); - h = hash_murmur3_one_real(p_rect.position.y, h); - h = hash_murmur3_one_real(p_rect.size.x, h); - h = hash_murmur3_one_real(p_rect.size.y, h); - return hash_fmix32(h); - } - static _FORCE_INLINE_ uint32_t hash(const AABB &p_aabb) { - uint32_t h = hash_murmur3_one_real(p_aabb.position.x); - h = hash_murmur3_one_real(p_aabb.position.y, h); - h = hash_murmur3_one_real(p_aabb.position.z, h); - h = hash_murmur3_one_real(p_aabb.size.x, h); - h = hash_murmur3_one_real(p_aabb.size.y, h); - h = hash_murmur3_one_real(p_aabb.size.z, h); - return hash_fmix32(h); - } -}; - -template -struct HashMapComparatorDefault { - static bool compare(const T &p_lhs, const T &p_rhs) { - return p_lhs == p_rhs; - } -}; - -template <> -struct HashMapComparatorDefault { - static bool compare(const float &p_lhs, const float &p_rhs) { - return (p_lhs == p_rhs) || (Math::is_nan(p_lhs) && Math::is_nan(p_rhs)); - } -}; - -template <> -struct HashMapComparatorDefault { - static bool compare(const double &p_lhs, const double &p_rhs) { - return (p_lhs == p_rhs) || (Math::is_nan(p_lhs) && Math::is_nan(p_rhs)); - } -}; - -template <> -struct HashMapComparatorDefault { - static bool compare(const Vector2 &p_lhs, const Vector2 &p_rhs) { - return ((p_lhs.x == p_rhs.x) || (Math::is_nan(p_lhs.x) && Math::is_nan(p_rhs.x))) && ((p_lhs.y == p_rhs.y) || (Math::is_nan(p_lhs.y) && Math::is_nan(p_rhs.y))); - } -}; - -template <> -struct HashMapComparatorDefault { - static bool compare(const Vector3 &p_lhs, const Vector3 &p_rhs) { - return ((p_lhs.x == p_rhs.x) || (Math::is_nan(p_lhs.x) && Math::is_nan(p_rhs.x))) && ((p_lhs.y == p_rhs.y) || (Math::is_nan(p_lhs.y) && Math::is_nan(p_rhs.y))) && ((p_lhs.z == p_rhs.z) || (Math::is_nan(p_lhs.z) && Math::is_nan(p_rhs.z))); - } -}; - -constexpr uint32_t HASH_TABLE_SIZE_MAX = 29; - -const uint32_t hash_table_size_primes[HASH_TABLE_SIZE_MAX] = { - 5, - 13, - 23, - 47, - 97, - 193, - 389, - 769, - 1543, - 3079, - 6151, - 12289, - 24593, - 49157, - 98317, - 196613, - 393241, - 786433, - 1572869, - 3145739, - 6291469, - 12582917, - 25165843, - 50331653, - 100663319, - 201326611, - 402653189, - 805306457, - 1610612741, -}; - -// Computed with elem_i = UINT64_C (0 x FFFFFFFF FFFFFFFF ) / d_i + 1, where d_i is the i-th element of the above array. -const uint64_t hash_table_size_primes_inv[HASH_TABLE_SIZE_MAX] = { - 3689348814741910324, - 1418980313362273202, - 802032351030850071, - 392483916461905354, - 190172619316593316, - 95578984837873325, - 47420935922132524, - 23987963684927896, - 11955116055547344, - 5991147799191151, - 2998982941588287, - 1501077717772769, - 750081082979285, - 375261795343686, - 187625172388393, - 93822606204624, - 46909513691883, - 23456218233098, - 11728086747027, - 5864041509391, - 2932024948977, - 1466014921160, - 733007198436, - 366503839517, - 183251896093, - 91625960335, - 45812983922, - 22906489714, - 11453246088 -}; - -/** - * Fastmod computes ( n mod d ) given the precomputed c much faster than n % d. - * The implementation of fastmod is based on the following paper by Daniel Lemire et al. - * Faster Remainder by Direct Computation: Applications to Compilers and Software Libraries - * https://arxiv.org/abs/1902.01961 - */ -static _FORCE_INLINE_ uint32_t fastmod(const uint32_t n, const uint64_t c, const uint32_t d) { -#if defined(_MSC_VER) - // Returns the upper 64 bits of the product of two 64-bit unsigned integers. - // This intrinsic function is required since MSVC does not support unsigned 128-bit integers. -#if defined(_M_X64) || defined(_M_ARM64) - return __umulh(c * n, d); -#else - // Fallback to the slower method for 32-bit platforms. - return n % d; -#endif // _M_X64 || _M_ARM64 -#else -#ifdef __SIZEOF_INT128__ - // Prevent compiler warning, because we know what we are doing. - uint64_t lowbits = c * n; - __extension__ typedef unsigned __int128 uint128; - return static_cast(((uint128)lowbits * d) >> 64); -#else - // Fallback to the slower method if no 128-bit unsigned integer type is available. - return n % d; -#endif // __SIZEOF_INT128__ -#endif // _MSC_VER -} - -} // namespace godot - -#endif // GODOT_HASHFUNCS_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/list.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/list.hpp deleted file mode 100644 index 376e3ea..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/list.hpp +++ /dev/null @@ -1,769 +0,0 @@ -/**************************************************************************/ -/* list.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_LIST_HPP -#define GODOT_LIST_HPP - -#include -#include -#include - -/** - * Generic Templatized Linked List Implementation. - * The implementation differs from the STL one because - * a compatible preallocated linked list can be written - * using the same API, or features such as erasing an element - * from the iterator. - */ - -namespace godot { - -template -class List { - struct _Data; - -public: - class Element { - private: - friend class List; - - T value; - Element *next_ptr = nullptr; - Element *prev_ptr = nullptr; - _Data *data = nullptr; - - public: - /** - * Get NEXT Element iterator, for constant lists. - */ - _FORCE_INLINE_ const Element *next() const { - return next_ptr; - } - /** - * Get NEXT Element iterator, - */ - _FORCE_INLINE_ Element *next() { - return next_ptr; - } - - /** - * Get PREV Element iterator, for constant lists. - */ - _FORCE_INLINE_ const Element *prev() const { - return prev_ptr; - } - /** - * Get PREV Element iterator, - */ - _FORCE_INLINE_ Element *prev() { - return prev_ptr; - } - - /** - * * operator, for using as *iterator, when iterators are defined on stack. - */ - _FORCE_INLINE_ const T &operator*() const { - return value; - } - /** - * operator->, for using as iterator->, when iterators are defined on stack, for constant lists. - */ - _FORCE_INLINE_ const T *operator->() const { - return &value; - } - /** - * * operator, for using as *iterator, when iterators are defined on stack, - */ - _FORCE_INLINE_ T &operator*() { - return value; - } - /** - * operator->, for using as iterator->, when iterators are defined on stack, for constant lists. - */ - _FORCE_INLINE_ T *operator->() { - return &value; - } - - /** - * get the value stored in this element. - */ - _FORCE_INLINE_ T &get() { - return value; - } - /** - * get the value stored in this element, for constant lists - */ - _FORCE_INLINE_ const T &get() const { - return value; - } - /** - * set the value stored in this element. - */ - _FORCE_INLINE_ void set(const T &p_value) { - value = (T &)p_value; - } - - void erase() { - data->erase(this); - } - - _FORCE_INLINE_ Element() {} - }; - - typedef T ValueType; - - struct Iterator { - _FORCE_INLINE_ T &operator*() const { - return E->get(); - } - _FORCE_INLINE_ T *operator->() const { return &E->get(); } - _FORCE_INLINE_ Iterator &operator++() { - E = E->next(); - return *this; - } - _FORCE_INLINE_ Iterator &operator--() { - E = E->prev(); - return *this; - } - - _FORCE_INLINE_ bool operator==(const Iterator &b) const { return E == b.E; } - _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return E != b.E; } - - Iterator(Element *p_E) { E = p_E; } - Iterator() {} - Iterator(const Iterator &p_it) { E = p_it.E; } - - private: - Element *E = nullptr; - }; - - struct ConstIterator { - _FORCE_INLINE_ const T &operator*() const { - return E->get(); - } - _FORCE_INLINE_ const T *operator->() const { return &E->get(); } - _FORCE_INLINE_ ConstIterator &operator++() { - E = E->next(); - return *this; - } - _FORCE_INLINE_ ConstIterator &operator--() { - E = E->prev(); - return *this; - } - - _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return E == b.E; } - _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return E != b.E; } - - _FORCE_INLINE_ ConstIterator(const Element *p_E) { E = p_E; } - _FORCE_INLINE_ ConstIterator() {} - _FORCE_INLINE_ ConstIterator(const ConstIterator &p_it) { E = p_it.E; } - - private: - const Element *E = nullptr; - }; - - _FORCE_INLINE_ Iterator begin() { - return Iterator(front()); - } - _FORCE_INLINE_ Iterator end() { - return Iterator(nullptr); - } - -#if 0 - //to use when replacing find() - _FORCE_INLINE_ Iterator find(const K &p_key) { - return Iterator(find(p_key)); - } -#endif - _FORCE_INLINE_ ConstIterator begin() const { - return ConstIterator(front()); - } - _FORCE_INLINE_ ConstIterator end() const { - return ConstIterator(nullptr); - } -#if 0 - //to use when replacing find() - _FORCE_INLINE_ ConstIterator find(const K &p_key) const { - return ConstIterator(find(p_key)); - } -#endif -private: - struct _Data { - Element *first = nullptr; - Element *last = nullptr; - int size_cache = 0; - - bool erase(const Element *p_I) { - ERR_FAIL_NULL_V(p_I, false); - ERR_FAIL_COND_V(p_I->data != this, false); - - if (first == p_I) { - first = p_I->next_ptr; - } - - if (last == p_I) { - last = p_I->prev_ptr; - } - - if (p_I->prev_ptr) { - p_I->prev_ptr->next_ptr = p_I->next_ptr; - } - - if (p_I->next_ptr) { - p_I->next_ptr->prev_ptr = p_I->prev_ptr; - } - - memdelete_allocator(const_cast(p_I)); - size_cache--; - - return true; - } - }; - - _Data *_data = nullptr; - -public: - /** - * return a const iterator to the beginning of the list. - */ - _FORCE_INLINE_ const Element *front() const { - return _data ? _data->first : nullptr; - } - - /** - * return an iterator to the beginning of the list. - */ - _FORCE_INLINE_ Element *front() { - return _data ? _data->first : nullptr; - } - - /** - * return a const iterator to the last member of the list. - */ - _FORCE_INLINE_ const Element *back() const { - return _data ? _data->last : nullptr; - } - - /** - * return an iterator to the last member of the list. - */ - _FORCE_INLINE_ Element *back() { - return _data ? _data->last : nullptr; - } - - /** - * store a new element at the end of the list - */ - Element *push_back(const T &value) { - if (!_data) { - _data = memnew_allocator(_Data, A); - _data->first = nullptr; - _data->last = nullptr; - _data->size_cache = 0; - } - - Element *n = memnew_allocator(Element, A); - n->value = (T &)value; - - n->prev_ptr = _data->last; - n->next_ptr = nullptr; - n->data = _data; - - if (_data->last) { - _data->last->next_ptr = n; - } - - _data->last = n; - - if (!_data->first) { - _data->first = n; - } - - _data->size_cache++; - - return n; - } - - void pop_back() { - if (_data && _data->last) { - erase(_data->last); - } - } - - /** - * store a new element at the beginning of the list - */ - Element *push_front(const T &value) { - if (!_data) { - _data = memnew_allocator(_Data, A); - _data->first = nullptr; - _data->last = nullptr; - _data->size_cache = 0; - } - - Element *n = memnew_allocator(Element, A); - n->value = (T &)value; - n->prev_ptr = nullptr; - n->next_ptr = _data->first; - n->data = _data; - - if (_data->first) { - _data->first->prev_ptr = n; - } - - _data->first = n; - - if (!_data->last) { - _data->last = n; - } - - _data->size_cache++; - - return n; - } - - void pop_front() { - if (_data && _data->first) { - erase(_data->first); - } - } - - Element *insert_after(Element *p_element, const T &p_value) { - CRASH_COND(p_element && (!_data || p_element->data != _data)); - - if (!p_element) { - return push_back(p_value); - } - - Element *n = memnew_allocator(Element, A); - n->value = (T &)p_value; - n->prev_ptr = p_element; - n->next_ptr = p_element->next_ptr; - n->data = _data; - - if (!p_element->next_ptr) { - _data->last = n; - } else { - p_element->next_ptr->prev_ptr = n; - } - - p_element->next_ptr = n; - - _data->size_cache++; - - return n; - } - - Element *insert_before(Element *p_element, const T &p_value) { - CRASH_COND(p_element && (!_data || p_element->data != _data)); - - if (!p_element) { - return push_back(p_value); - } - - Element *n = memnew_allocator(Element, A); - n->value = (T &)p_value; - n->prev_ptr = p_element->prev_ptr; - n->next_ptr = p_element; - n->data = _data; - - if (!p_element->prev_ptr) { - _data->first = n; - } else { - p_element->prev_ptr->next_ptr = n; - } - - p_element->prev_ptr = n; - - _data->size_cache++; - - return n; - } - - /** - * find an element in the list, - */ - template - Element *find(const T_v &p_val) { - Element *it = front(); - while (it) { - if (it->value == p_val) { - return it; - } - it = it->next(); - } - - return nullptr; - } - - /** - * erase an element in the list, by iterator pointing to it. Return true if it was found/erased. - */ - bool erase(const Element *p_I) { - if (_data && p_I) { - bool ret = _data->erase(p_I); - - if (_data->size_cache == 0) { - memdelete_allocator<_Data, A>(_data); - _data = nullptr; - } - - return ret; - } - - return false; - } - - /** - * erase the first element in the list, that contains value - */ - bool erase(const T &value) { - Element *I = find(value); - return erase(I); - } - - /** - * return whether the list is empty - */ - _FORCE_INLINE_ bool is_empty() const { - return (!_data || !_data->size_cache); - } - - /** - * clear the list - */ - void clear() { - while (front()) { - erase(front()); - } - } - - _FORCE_INLINE_ int size() const { - return _data ? _data->size_cache : 0; - } - - void swap(Element *p_A, Element *p_B) { - ERR_FAIL_COND(!p_A || !p_B); - ERR_FAIL_COND(p_A->data != _data); - ERR_FAIL_COND(p_B->data != _data); - - if (p_A == p_B) { - return; - } - Element *A_prev = p_A->prev_ptr; - Element *A_next = p_A->next_ptr; - Element *B_prev = p_B->prev_ptr; - Element *B_next = p_B->next_ptr; - - if (A_prev) { - A_prev->next_ptr = p_B; - } else { - _data->first = p_B; - } - if (B_prev) { - B_prev->next_ptr = p_A; - } else { - _data->first = p_A; - } - if (A_next) { - A_next->prev_ptr = p_B; - } else { - _data->last = p_B; - } - if (B_next) { - B_next->prev_ptr = p_A; - } else { - _data->last = p_A; - } - p_A->prev_ptr = A_next == p_B ? p_B : B_prev; - p_A->next_ptr = B_next == p_A ? p_B : B_next; - p_B->prev_ptr = B_next == p_A ? p_A : A_prev; - p_B->next_ptr = A_next == p_B ? p_A : A_next; - } - /** - * copy the list - */ - void operator=(const List &p_list) { - clear(); - const Element *it = p_list.front(); - while (it) { - push_back(it->get()); - it = it->next(); - } - } - - T &operator[](int p_index) { - CRASH_BAD_INDEX(p_index, size()); - - Element *I = front(); - int c = 0; - while (c < p_index) { - I = I->next(); - c++; - } - - return I->get(); - } - - const T &operator[](int p_index) const { - CRASH_BAD_INDEX(p_index, size()); - - const Element *I = front(); - int c = 0; - while (c < p_index) { - I = I->next(); - c++; - } - - return I->get(); - } - - void move_to_back(Element *p_I) { - ERR_FAIL_COND(p_I->data != _data); - if (!p_I->next_ptr) { - return; - } - - if (_data->first == p_I) { - _data->first = p_I->next_ptr; - } - - if (_data->last == p_I) { - _data->last = p_I->prev_ptr; - } - - if (p_I->prev_ptr) { - p_I->prev_ptr->next_ptr = p_I->next_ptr; - } - - p_I->next_ptr->prev_ptr = p_I->prev_ptr; - - _data->last->next_ptr = p_I; - p_I->prev_ptr = _data->last; - p_I->next_ptr = nullptr; - _data->last = p_I; - } - - void reverse() { - int s = size() / 2; - Element *F = front(); - Element *B = back(); - for (int i = 0; i < s; i++) { - SWAP(F->value, B->value); - F = F->next(); - B = B->prev(); - } - } - - void move_to_front(Element *p_I) { - ERR_FAIL_COND(p_I->data != _data); - if (!p_I->prev_ptr) { - return; - } - - if (_data->first == p_I) { - _data->first = p_I->next_ptr; - } - - if (_data->last == p_I) { - _data->last = p_I->prev_ptr; - } - - p_I->prev_ptr->next_ptr = p_I->next_ptr; - - if (p_I->next_ptr) { - p_I->next_ptr->prev_ptr = p_I->prev_ptr; - } - - _data->first->prev_ptr = p_I; - p_I->next_ptr = _data->first; - p_I->prev_ptr = nullptr; - _data->first = p_I; - } - - void move_before(Element *value, Element *where) { - if (value->prev_ptr) { - value->prev_ptr->next_ptr = value->next_ptr; - } else { - _data->first = value->next_ptr; - } - if (value->next_ptr) { - value->next_ptr->prev_ptr = value->prev_ptr; - } else { - _data->last = value->prev_ptr; - } - - value->next_ptr = where; - if (!where) { - value->prev_ptr = _data->last; - _data->last = value; - return; - } - - value->prev_ptr = where->prev_ptr; - - if (where->prev_ptr) { - where->prev_ptr->next_ptr = value; - } else { - _data->first = value; - } - - where->prev_ptr = value; - } - - /** - * simple insertion sort - */ - - void sort() { - sort_custom>(); - } - - template - void sort_custom_inplace() { - if (size() < 2) { - return; - } - - Element *from = front(); - Element *current = from; - Element *to = from; - - while (current) { - Element *next = current->next_ptr; - - if (from != current) { - current->prev_ptr = nullptr; - current->next_ptr = from; - - Element *find = from; - C less; - while (find && less(find->value, current->value)) { - current->prev_ptr = find; - current->next_ptr = find->next_ptr; - find = find->next_ptr; - } - - if (current->prev_ptr) { - current->prev_ptr->next_ptr = current; - } else { - from = current; - } - - if (current->next_ptr) { - current->next_ptr->prev_ptr = current; - } else { - to = current; - } - } else { - current->prev_ptr = nullptr; - current->next_ptr = nullptr; - } - - current = next; - } - _data->first = from; - _data->last = to; - } - - template - struct AuxiliaryComparator { - C compare; - _FORCE_INLINE_ bool operator()(const Element *a, const Element *b) const { - return compare(a->value, b->value); - } - }; - - template - void sort_custom() { - // this version uses auxiliary memory for speed. - // if you don't want to use auxiliary memory, use the in_place version - - int s = size(); - if (s < 2) { - return; - } - - Element **aux_buffer = memnew_arr(Element *, s); - - int idx = 0; - for (Element *E = front(); E; E = E->next_ptr) { - aux_buffer[idx] = E; - idx++; - } - - SortArray> sort; - sort.sort(aux_buffer, s); - - _data->first = aux_buffer[0]; - aux_buffer[0]->prev_ptr = nullptr; - aux_buffer[0]->next_ptr = aux_buffer[1]; - - _data->last = aux_buffer[s - 1]; - aux_buffer[s - 1]->prev_ptr = aux_buffer[s - 2]; - aux_buffer[s - 1]->next_ptr = nullptr; - - for (int i = 1; i < s - 1; i++) { - aux_buffer[i]->prev_ptr = aux_buffer[i - 1]; - aux_buffer[i]->next_ptr = aux_buffer[i + 1]; - } - - memdelete_arr(aux_buffer); - } - - const void *id() const { - return (void *)_data; - } - - /** - * copy constructor for the list - */ - List(const List &p_list) { - const Element *it = p_list.front(); - while (it) { - push_back(it->get()); - it = it->next(); - } - } - - List() {} - - ~List() { - clear(); - if (_data) { - ERR_FAIL_COND(_data->size_cache); - memdelete_allocator<_Data, A>(_data); - } - } -}; - -} // namespace godot - -#endif // GODOT_LIST_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/local_vector.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/local_vector.hpp deleted file mode 100644 index 5dad32e..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/local_vector.hpp +++ /dev/null @@ -1,339 +0,0 @@ -/**************************************************************************/ -/* local_vector.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_LOCAL_VECTOR_HPP -#define GODOT_LOCAL_VECTOR_HPP - -#include "godot_cpp/core/error_macros.hpp" -#include "godot_cpp/core/memory.hpp" -#include "godot_cpp/templates/sort_array.hpp" -#include "godot_cpp/templates/vector.hpp" - -#include -#include - -namespace godot { - -// If tight, it grows strictly as much as needed. -// Otherwise, it grows exponentially (the default and what you want in most cases). -template -class LocalVector { -private: - U count = 0; - U capacity = 0; - T *data = nullptr; - -public: - T *ptr() { - return data; - } - - const T *ptr() const { - return data; - } - - _FORCE_INLINE_ void push_back(T p_elem) { - if (unlikely(count == capacity)) { - if (capacity == 0) { - capacity = 1; - } else { - capacity <<= 1; - } - data = (T *)memrealloc(data, capacity * sizeof(T)); - CRASH_COND_MSG(!data, "Out of memory"); - } - - if constexpr (!std::is_trivially_constructible::value && !force_trivial) { - memnew_placement(&data[count++], T(p_elem)); - } else { - data[count++] = p_elem; - } - } - - void remove_at(U p_index) { - ERR_FAIL_UNSIGNED_INDEX(p_index, count); - count--; - for (U i = p_index; i < count; i++) { - data[i] = data[i + 1]; - } - if constexpr (!std::is_trivially_destructible::value && !force_trivial) { - data[count].~T(); - } - } - - /// Removes the item copying the last value into the position of the one to - /// remove. It's generally faster than `remove`. - void remove_at_unordered(U p_index) { - ERR_FAIL_INDEX(p_index, count); - count--; - if (count > p_index) { - data[p_index] = data[count]; - } - if constexpr (!std::is_trivially_destructible::value && !force_trivial) { - data[count].~T(); - } - } - - void erase(const T &p_val) { - int64_t idx = find(p_val); - if (idx >= 0) { - remove_at(idx); - } - } - - void invert() { - for (U i = 0; i < count / 2; i++) { - SWAP(data[i], data[count - i - 1]); - } - } - - _FORCE_INLINE_ void clear() { resize(0); } - _FORCE_INLINE_ void reset() { - clear(); - if (data) { - memfree(data); - data = nullptr; - capacity = 0; - } - } - _FORCE_INLINE_ bool is_empty() const { return count == 0; } - _FORCE_INLINE_ U get_capacity() const { return capacity; } - _FORCE_INLINE_ void reserve(U p_size) { - p_size = tight ? p_size : nearest_power_of_2_templated(p_size); - if (p_size > capacity) { - capacity = p_size; - data = (T *)memrealloc(data, capacity * sizeof(T)); - CRASH_COND_MSG(!data, "Out of memory"); - } - } - - _FORCE_INLINE_ U size() const { return count; } - void resize(U p_size) { - if (p_size < count) { - if constexpr (!std::is_trivially_destructible::value && !force_trivial) { - for (U i = p_size; i < count; i++) { - data[i].~T(); - } - } - count = p_size; - } else if (p_size > count) { - if (unlikely(p_size > capacity)) { - if (capacity == 0) { - capacity = 1; - } - while (capacity < p_size) { - capacity <<= 1; - } - data = (T *)memrealloc(data, capacity * sizeof(T)); - CRASH_COND_MSG(!data, "Out of memory"); - } - if constexpr (!std::is_trivially_constructible::value && !force_trivial) { - for (U i = count; i < p_size; i++) { - memnew_placement(&data[i], T); - } - } - count = p_size; - } - } - _FORCE_INLINE_ const T &operator[](U p_index) const { - CRASH_BAD_UNSIGNED_INDEX(p_index, count); - return data[p_index]; - } - _FORCE_INLINE_ T &operator[](U p_index) { - CRASH_BAD_UNSIGNED_INDEX(p_index, count); - return data[p_index]; - } - - struct Iterator { - _FORCE_INLINE_ T &operator*() const { - return *elem_ptr; - } - _FORCE_INLINE_ T *operator->() const { return elem_ptr; } - _FORCE_INLINE_ Iterator &operator++() { - elem_ptr++; - return *this; - } - _FORCE_INLINE_ Iterator &operator--() { - elem_ptr--; - return *this; - } - - _FORCE_INLINE_ bool operator==(const Iterator &b) const { return elem_ptr == b.elem_ptr; } - _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return elem_ptr != b.elem_ptr; } - - Iterator(T *p_ptr) { elem_ptr = p_ptr; } - Iterator() {} - Iterator(const Iterator &p_it) { elem_ptr = p_it.elem_ptr; } - - private: - T *elem_ptr = nullptr; - }; - - struct ConstIterator { - _FORCE_INLINE_ const T &operator*() const { - return *elem_ptr; - } - _FORCE_INLINE_ const T *operator->() const { return elem_ptr; } - _FORCE_INLINE_ ConstIterator &operator++() { - elem_ptr++; - return *this; - } - _FORCE_INLINE_ ConstIterator &operator--() { - elem_ptr--; - return *this; - } - - _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return elem_ptr == b.elem_ptr; } - _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return elem_ptr != b.elem_ptr; } - - ConstIterator(const T *p_ptr) { elem_ptr = p_ptr; } - ConstIterator() {} - ConstIterator(const ConstIterator &p_it) { elem_ptr = p_it.elem_ptr; } - - private: - const T *elem_ptr = nullptr; - }; - - _FORCE_INLINE_ Iterator begin() { - return Iterator(data); - } - _FORCE_INLINE_ Iterator end() { - return Iterator(data + size()); - } - - _FORCE_INLINE_ ConstIterator begin() const { - return ConstIterator(ptr()); - } - _FORCE_INLINE_ ConstIterator end() const { - return ConstIterator(ptr() + size()); - } - - void insert(U p_pos, T p_val) { - ERR_FAIL_UNSIGNED_INDEX(p_pos, count + 1); - if (p_pos == count) { - push_back(p_val); - } else { - resize(count + 1); - for (U i = count - 1; i > p_pos; i--) { - data[i] = data[i - 1]; - } - data[p_pos] = p_val; - } - } - - int64_t find(const T &p_val, U p_from = 0) const { - for (U i = p_from; i < count; i++) { - if (data[i] == p_val) { - return int64_t(i); - } - } - return -1; - } - - template - void sort_custom() { - U len = count; - if (len == 0) { - return; - } - - SortArray sorter; - sorter.sort(data, len); - } - - void sort() { - sort_custom<_DefaultComparator>(); - } - - void ordered_insert(T p_val) { - U i; - for (i = 0; i < count; i++) { - if (p_val < data[i]) { - break; - } - } - insert(i, p_val); - } - - operator Vector() const { - Vector ret; - ret.resize(size()); - T *w = ret.ptrw(); - memcpy(w, data, sizeof(T) * count); - return ret; - } - - Vector to_byte_array() const { //useful to pass stuff to gpu or variant - Vector ret; - ret.resize(count * sizeof(T)); - uint8_t *w = ret.ptrw(); - memcpy(w, data, sizeof(T) * count); - return ret; - } - - _FORCE_INLINE_ LocalVector() {} - _FORCE_INLINE_ LocalVector(std::initializer_list p_init) { - reserve(p_init.size()); - for (const T &element : p_init) { - push_back(element); - } - } - _FORCE_INLINE_ LocalVector(const LocalVector &p_from) { - resize(p_from.size()); - for (U i = 0; i < p_from.count; i++) { - data[i] = p_from.data[i]; - } - } - inline void operator=(const LocalVector &p_from) { - resize(p_from.size()); - for (U i = 0; i < p_from.count; i++) { - data[i] = p_from.data[i]; - } - } - inline void operator=(const Vector &p_from) { - resize(p_from.size()); - for (U i = 0; i < count; i++) { - data[i] = p_from[i]; - } - } - - _FORCE_INLINE_ ~LocalVector() { - if (data) { - reset(); - } - } -}; - -template -using TightLocalVector = LocalVector; - -} // namespace godot - -#endif // GODOT_LOCAL_VECTOR_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/pair.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/pair.hpp deleted file mode 100644 index f875413..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/pair.hpp +++ /dev/null @@ -1,107 +0,0 @@ -/**************************************************************************/ -/* pair.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_PAIR_HPP -#define GODOT_PAIR_HPP - -namespace godot { - -template -struct Pair { - F first; - S second; - - Pair() : - first(), - second() { - } - - Pair(F p_first, const S &p_second) : - first(p_first), - second(p_second) { - } -}; - -template -bool operator==(const Pair &pair, const Pair &other) { - return (pair.first == other.first) && (pair.second == other.second); -} - -template -bool operator!=(const Pair &pair, const Pair &other) { - return (pair.first != other.first) || (pair.second != other.second); -} - -template -struct PairSort { - bool operator()(const Pair &A, const Pair &B) const { - if (A.first != B.first) { - return A.first < B.first; - } - return A.second < B.second; - } -}; - -template -struct KeyValue { - const K key; - V value; - - void operator=(const KeyValue &p_kv) = delete; - _FORCE_INLINE_ KeyValue(const KeyValue &p_kv) : - key(p_kv.key), - value(p_kv.value) { - } - _FORCE_INLINE_ KeyValue(const K &p_key, const V &p_value) : - key(p_key), - value(p_value) { - } -}; - -template -bool operator==(const KeyValue &pair, const KeyValue &other) { - return (pair.key == other.key) && (pair.value == other.value); -} - -template -bool operator!=(const KeyValue &pair, const KeyValue &other) { - return (pair.key != other.key) || (pair.value != other.value); -} - -template -struct KeyValueSort { - bool operator()(const KeyValue &A, const KeyValue &B) const { - return A.key < B.key; - } -}; - -} // namespace godot - -#endif // GODOT_PAIR_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/rb_map.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/rb_map.hpp deleted file mode 100644 index 6ab71fd..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/rb_map.hpp +++ /dev/null @@ -1,765 +0,0 @@ -/**************************************************************************/ -/* rb_map.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_RB_MAP_HPP -#define GODOT_RB_MAP_HPP - -#include -#include -#include - -namespace godot { - -// based on the very nice implementation of rb-trees by: -// https://web.archive.org/web/20120507164830/https://web.mit.edu/~emin/www/source_code/red_black_tree/index.html - -template , typename A = DefaultAllocator> -class RBMap { - enum Color { - RED, - BLACK - }; - struct _Data; - -public: - class Element { - private: - friend class RBMap; - int color = RED; - Element *right = nullptr; - Element *left = nullptr; - Element *parent = nullptr; - Element *_next = nullptr; - Element *_prev = nullptr; - KeyValue _data; - - public: - KeyValue &key_value() { return _data; } - const KeyValue &key_value() const { return _data; } - - const Element *next() const { - return _next; - } - Element *next() { - return _next; - } - const Element *prev() const { - return _prev; - } - Element *prev() { - return _prev; - } - const K &key() const { - return _data.key; - } - V &value() { - return _data.value; - } - const V &value() const { - return _data.value; - } - V &get() { - return _data.value; - } - const V &get() const { - return _data.value; - } - Element(const KeyValue &p_data) : - _data(p_data) {} - }; - - typedef KeyValue ValueType; - - struct Iterator { - _FORCE_INLINE_ KeyValue &operator*() const { - return E->key_value(); - } - _FORCE_INLINE_ KeyValue *operator->() const { return &E->key_value(); } - _FORCE_INLINE_ Iterator &operator++() { - E = E->next(); - return *this; - } - _FORCE_INLINE_ Iterator &operator--() { - E = E->prev(); - return *this; - } - - _FORCE_INLINE_ bool operator==(const Iterator &b) const { return E == b.E; } - _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return E != b.E; } - explicit operator bool() const { - return E != nullptr; - } - Iterator(Element *p_E) { E = p_E; } - Iterator() {} - Iterator(const Iterator &p_it) { E = p_it.E; } - - private: - Element *E = nullptr; - }; - - struct ConstIterator { - _FORCE_INLINE_ const KeyValue &operator*() const { - return E->key_value(); - } - _FORCE_INLINE_ const KeyValue *operator->() const { return &E->key_value(); } - _FORCE_INLINE_ ConstIterator &operator++() { - E = E->next(); - return *this; - } - _FORCE_INLINE_ ConstIterator &operator--() { - E = E->prev(); - return *this; - } - - _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return E == b.E; } - _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return E != b.E; } - explicit operator bool() const { - return E != nullptr; - } - ConstIterator(const Element *p_E) { E = p_E; } - ConstIterator() {} - ConstIterator(const ConstIterator &p_it) { E = p_it.E; } - - private: - const Element *E = nullptr; - }; - - _FORCE_INLINE_ Iterator begin() { - return Iterator(front()); - } - _FORCE_INLINE_ Iterator end() { - return Iterator(nullptr); - } - -#if 0 - //to use when replacing find() - _FORCE_INLINE_ Iterator find(const K &p_key) { - return Iterator(find(p_key)); - } -#endif - _FORCE_INLINE_ void remove(const Iterator &p_iter) { - return erase(p_iter.E); - } - - _FORCE_INLINE_ ConstIterator begin() const { - return ConstIterator(front()); - } - _FORCE_INLINE_ ConstIterator end() const { - return ConstIterator(nullptr); - } - -#if 0 - //to use when replacing find() - _FORCE_INLINE_ ConstIterator find(const K &p_key) const { - return ConstIterator(find(p_key)); - } -#endif -private: - struct _Data { - Element *_root = nullptr; - Element *_nil = nullptr; - int size_cache = 0; - - _FORCE_INLINE_ _Data() { -#ifdef GLOBALNIL_DISABLED - _nil = memnew_allocator(Element, A); - _nil->parent = _nil->left = _nil->right = _nil; - _nil->color = BLACK; -#else - _nil = (Element *)&_GlobalNilClass::_nil; -#endif - } - - void _create_root() { - _root = memnew_allocator(Element(KeyValue(K(), V())), A); - _root->parent = _root->left = _root->right = _nil; - _root->color = BLACK; - } - - void _free_root() { - if (_root) { - memdelete_allocator(_root); - _root = nullptr; - } - } - - ~_Data() { - _free_root(); - -#ifdef GLOBALNIL_DISABLED - memdelete_allocator(_nil); -#endif - } - }; - - _Data _data; - - inline void _set_color(Element *p_node, int p_color) { - ERR_FAIL_COND(p_node == _data._nil && p_color == RED); - p_node->color = p_color; - } - - inline void _rotate_left(Element *p_node) { - Element *r = p_node->right; - p_node->right = r->left; - if (r->left != _data._nil) { - r->left->parent = p_node; - } - r->parent = p_node->parent; - if (p_node == p_node->parent->left) { - p_node->parent->left = r; - } else { - p_node->parent->right = r; - } - - r->left = p_node; - p_node->parent = r; - } - - inline void _rotate_right(Element *p_node) { - Element *l = p_node->left; - p_node->left = l->right; - if (l->right != _data._nil) { - l->right->parent = p_node; - } - l->parent = p_node->parent; - if (p_node == p_node->parent->right) { - p_node->parent->right = l; - } else { - p_node->parent->left = l; - } - - l->right = p_node; - p_node->parent = l; - } - - inline Element *_successor(Element *p_node) const { - Element *node = p_node; - - if (node->right != _data._nil) { - node = node->right; - while (node->left != _data._nil) { /* returns the minimum of the right subtree of node */ - node = node->left; - } - return node; - } else { - while (node == node->parent->right) { - node = node->parent; - } - - if (node->parent == _data._root) { - return nullptr; // No successor, as p_node = last node - } - return node->parent; - } - } - - inline Element *_predecessor(Element *p_node) const { - Element *node = p_node; - - if (node->left != _data._nil) { - node = node->left; - while (node->right != _data._nil) { /* returns the minimum of the left subtree of node */ - node = node->right; - } - return node; - } else { - while (node == node->parent->left) { - node = node->parent; - } - - if (node == _data._root) { - return nullptr; // No predecessor, as p_node = first node - } - return node->parent; - } - } - - Element *_find(const K &p_key) const { - Element *node = _data._root->left; - C less; - - while (node != _data._nil) { - if (less(p_key, node->_data.key)) { - node = node->left; - } else if (less(node->_data.key, p_key)) { - node = node->right; - } else { - return node; // found - } - } - - return nullptr; - } - - Element *_find_closest(const K &p_key) const { - Element *node = _data._root->left; - Element *prev = nullptr; - C less; - - while (node != _data._nil) { - prev = node; - - if (less(p_key, node->_data.key)) { - node = node->left; - } else if (less(node->_data.key, p_key)) { - node = node->right; - } else { - return node; // found - } - } - - if (prev == nullptr) { - return nullptr; // tree empty - } - - if (less(p_key, prev->_data.key)) { - prev = prev->_prev; - } - - return prev; - } - - void _insert_rb_fix(Element *p_new_node) { - Element *node = p_new_node; - Element *nparent = node->parent; - Element *ngrand_parent = nullptr; - - while (nparent->color == RED) { - ngrand_parent = nparent->parent; - - if (nparent == ngrand_parent->left) { - if (ngrand_parent->right->color == RED) { - _set_color(nparent, BLACK); - _set_color(ngrand_parent->right, BLACK); - _set_color(ngrand_parent, RED); - node = ngrand_parent; - nparent = node->parent; - } else { - if (node == nparent->right) { - _rotate_left(nparent); - node = nparent; - nparent = node->parent; - } - _set_color(nparent, BLACK); - _set_color(ngrand_parent, RED); - _rotate_right(ngrand_parent); - } - } else { - if (ngrand_parent->left->color == RED) { - _set_color(nparent, BLACK); - _set_color(ngrand_parent->left, BLACK); - _set_color(ngrand_parent, RED); - node = ngrand_parent; - nparent = node->parent; - } else { - if (node == nparent->left) { - _rotate_right(nparent); - node = nparent; - nparent = node->parent; - } - _set_color(nparent, BLACK); - _set_color(ngrand_parent, RED); - _rotate_left(ngrand_parent); - } - } - } - - _set_color(_data._root->left, BLACK); - } - - Element *_insert(const K &p_key, const V &p_value) { - Element *new_parent = _data._root; - Element *node = _data._root->left; - C less; - - while (node != _data._nil) { - new_parent = node; - - if (less(p_key, node->_data.key)) { - node = node->left; - } else if (less(node->_data.key, p_key)) { - node = node->right; - } else { - node->_data.value = p_value; - return node; // Return existing node with new value - } - } - - typedef KeyValue KV; - Element *new_node = memnew_allocator(Element(KV(p_key, p_value)), A); - new_node->parent = new_parent; - new_node->right = _data._nil; - new_node->left = _data._nil; - - // new_node->data=_data; - - if (new_parent == _data._root || less(p_key, new_parent->_data.key)) { - new_parent->left = new_node; - } else { - new_parent->right = new_node; - } - - new_node->_next = _successor(new_node); - new_node->_prev = _predecessor(new_node); - if (new_node->_next) { - new_node->_next->_prev = new_node; - } - if (new_node->_prev) { - new_node->_prev->_next = new_node; - } - - _data.size_cache++; - _insert_rb_fix(new_node); - return new_node; - } - - void _erase_fix_rb(Element *p_node) { - Element *root = _data._root->left; - Element *node = _data._nil; - Element *sibling = p_node; - Element *parent = sibling->parent; - - while (node != root) { // If red node found, will exit at a break - if (sibling->color == RED) { - _set_color(sibling, BLACK); - _set_color(parent, RED); - if (sibling == parent->right) { - sibling = sibling->left; - _rotate_left(parent); - } else { - sibling = sibling->right; - _rotate_right(parent); - } - } - if ((sibling->left->color == BLACK) && (sibling->right->color == BLACK)) { - _set_color(sibling, RED); - if (parent->color == RED) { - _set_color(parent, BLACK); - break; - } else { // loop: haven't found any red nodes yet - node = parent; - parent = node->parent; - sibling = (node == parent->left) ? parent->right : parent->left; - } - } else { - if (sibling == parent->right) { - if (sibling->right->color == BLACK) { - _set_color(sibling->left, BLACK); - _set_color(sibling, RED); - _rotate_right(sibling); - sibling = sibling->parent; - } - _set_color(sibling, parent->color); - _set_color(parent, BLACK); - _set_color(sibling->right, BLACK); - _rotate_left(parent); - break; - } else { - if (sibling->left->color == BLACK) { - _set_color(sibling->right, BLACK); - _set_color(sibling, RED); - _rotate_left(sibling); - sibling = sibling->parent; - } - - _set_color(sibling, parent->color); - _set_color(parent, BLACK); - _set_color(sibling->left, BLACK); - _rotate_right(parent); - break; - } - } - } - - ERR_FAIL_COND(_data._nil->color != BLACK); - } - - void _erase(Element *p_node) { - Element *rp = ((p_node->left == _data._nil) || (p_node->right == _data._nil)) ? p_node : p_node->_next; - Element *node = (rp->left == _data._nil) ? rp->right : rp->left; - - Element *sibling = nullptr; - if (rp == rp->parent->left) { - rp->parent->left = node; - sibling = rp->parent->right; - } else { - rp->parent->right = node; - sibling = rp->parent->left; - } - - if (node->color == RED) { - node->parent = rp->parent; - _set_color(node, BLACK); - } else if (rp->color == BLACK && rp->parent != _data._root) { - _erase_fix_rb(sibling); - } - - if (rp != p_node) { - ERR_FAIL_COND(rp == _data._nil); - - rp->left = p_node->left; - rp->right = p_node->right; - rp->parent = p_node->parent; - rp->color = p_node->color; - if (p_node->left != _data._nil) { - p_node->left->parent = rp; - } - if (p_node->right != _data._nil) { - p_node->right->parent = rp; - } - - if (p_node == p_node->parent->left) { - p_node->parent->left = rp; - } else { - p_node->parent->right = rp; - } - } - - if (p_node->_next) { - p_node->_next->_prev = p_node->_prev; - } - if (p_node->_prev) { - p_node->_prev->_next = p_node->_next; - } - - memdelete_allocator(p_node); - _data.size_cache--; - ERR_FAIL_COND(_data._nil->color == RED); - } - - void _calculate_depth(Element *p_element, int &max_d, int d) const { - if (p_element == _data._nil) { - return; - } - - _calculate_depth(p_element->left, max_d, d + 1); - _calculate_depth(p_element->right, max_d, d + 1); - - if (d > max_d) { - max_d = d; - } - } - - void _cleanup_tree(Element *p_element) { - if (p_element == _data._nil) { - return; - } - - _cleanup_tree(p_element->left); - _cleanup_tree(p_element->right); - memdelete_allocator(p_element); - } - - void _copy_from(const RBMap &p_map) { - clear(); - // not the fastest way, but safeset to write. - for (Element *I = p_map.front(); I; I = I->next()) { - insert(I->key(), I->value()); - } - } - -public: - const Element *find(const K &p_key) const { - if (!_data._root) { - return nullptr; - } - - const Element *res = _find(p_key); - return res; - } - - Element *find(const K &p_key) { - if (!_data._root) { - return nullptr; - } - - Element *res = _find(p_key); - return res; - } - - const Element *find_closest(const K &p_key) const { - if (!_data._root) { - return nullptr; - } - - const Element *res = _find_closest(p_key); - return res; - } - - Element *find_closest(const K &p_key) { - if (!_data._root) { - return nullptr; - } - - Element *res = _find_closest(p_key); - return res; - } - - bool has(const K &p_key) const { - return find(p_key) != nullptr; - } - - Element *insert(const K &p_key, const V &p_value) { - if (!_data._root) { - _data._create_root(); - } - return _insert(p_key, p_value); - } - - void erase(Element *p_element) { - if (!_data._root || !p_element) { - return; - } - - _erase(p_element); - if (_data.size_cache == 0 && _data._root) { - _data._free_root(); - } - } - - bool erase(const K &p_key) { - if (!_data._root) { - return false; - } - - Element *e = find(p_key); - if (!e) { - return false; - } - - _erase(e); - if (_data.size_cache == 0 && _data._root) { - _data._free_root(); - } - return true; - } - - const V &operator[](const K &p_key) const { - CRASH_COND(!_data._root); - const Element *e = find(p_key); - CRASH_COND(!e); - return e->_data.value; - } - - V &operator[](const K &p_key) { - if (!_data._root) { - _data._create_root(); - } - - Element *e = find(p_key); - if (!e) { - e = insert(p_key, V()); - } - - return e->_data.value; - } - - Element *front() const { - if (!_data._root) { - return nullptr; - } - - Element *e = _data._root->left; - if (e == _data._nil) { - return nullptr; - } - - while (e->left != _data._nil) { - e = e->left; - } - - return e; - } - - Element *back() const { - if (!_data._root) { - return nullptr; - } - - Element *e = _data._root->left; - if (e == _data._nil) { - return nullptr; - } - - while (e->right != _data._nil) { - e = e->right; - } - - return e; - } - - inline bool is_empty() const { - return _data.size_cache == 0; - } - inline int size() const { - return _data.size_cache; - } - - int calculate_depth() const { - // used for debug mostly - if (!_data._root) { - return 0; - } - - int max_d = 0; - _calculate_depth(_data._root->left, max_d, 0); - return max_d; - } - - void clear() { - if (!_data._root) { - return; - } - - _cleanup_tree(_data._root->left); - _data._root->left = _data._nil; - _data.size_cache = 0; - _data._free_root(); - } - - void operator=(const RBMap &p_map) { - _copy_from(p_map); - } - - RBMap(const RBMap &p_map) { - _copy_from(p_map); - } - - _FORCE_INLINE_ RBMap() {} - - ~RBMap() { - clear(); - } -}; - -} // namespace godot - -#endif // GODOT_RB_MAP_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/rb_set.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/rb_set.hpp deleted file mode 100644 index 69aa8d7..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/rb_set.hpp +++ /dev/null @@ -1,714 +0,0 @@ -/**************************************************************************/ -/* rb_set.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_RB_SET_HPP -#define GODOT_RB_SET_HPP - -#include - -// based on the very nice implementation of rb-trees by: -// https://web.archive.org/web/20120507164830/https://web.mit.edu/~emin/www/source_code/red_black_tree/index.html - -namespace godot { - -template , typename A = DefaultAllocator> -class RBSet { - enum Color { - RED, - BLACK - }; - struct _Data; - -public: - class Element { - private: - friend class RBSet; - int color = RED; - Element *right = nullptr; - Element *left = nullptr; - Element *parent = nullptr; - Element *_next = nullptr; - Element *_prev = nullptr; - T value; - //_Data *data; - - public: - const Element *next() const { - return _next; - } - Element *next() { - return _next; - } - const Element *prev() const { - return _prev; - } - Element *prev() { - return _prev; - } - T &get() { - return value; - } - const T &get() const { - return value; - } - Element() {} - }; - - typedef T ValueType; - - struct Iterator { - _FORCE_INLINE_ T &operator*() const { - return E->get(); - } - _FORCE_INLINE_ T *operator->() const { return &E->get(); } - _FORCE_INLINE_ Iterator &operator++() { - E = E->next(); - return *this; - } - _FORCE_INLINE_ Iterator &operator--() { - E = E->prev(); - return *this; - } - - _FORCE_INLINE_ bool operator==(const Iterator &b) const { return E == b.E; } - _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return E != b.E; } - - explicit operator bool() const { return E != nullptr; } - Iterator(Element *p_E) { E = p_E; } - Iterator() {} - Iterator(const Iterator &p_it) { E = p_it.E; } - - private: - Element *E = nullptr; - }; - - struct ConstIterator { - _FORCE_INLINE_ const T &operator*() const { - return E->get(); - } - _FORCE_INLINE_ const T *operator->() const { return &E->get(); } - _FORCE_INLINE_ ConstIterator &operator++() { - E = E->next(); - return *this; - } - _FORCE_INLINE_ ConstIterator &operator--() { - E = E->prev(); - return *this; - } - - _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return E == b.E; } - _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return E != b.E; } - - _FORCE_INLINE_ ConstIterator(const Element *p_E) { E = p_E; } - _FORCE_INLINE_ ConstIterator() {} - _FORCE_INLINE_ ConstIterator(const ConstIterator &p_it) { E = p_it.E; } - - explicit operator bool() const { return E != nullptr; } - - private: - const Element *E = nullptr; - }; - - _FORCE_INLINE_ Iterator begin() { - return Iterator(front()); - } - _FORCE_INLINE_ Iterator end() { - return Iterator(nullptr); - } - -#if 0 - //to use when replacing find() - _FORCE_INLINE_ Iterator find(const K &p_key) { - return Iterator(find(p_key)); - } -#endif - - _FORCE_INLINE_ ConstIterator begin() const { - return ConstIterator(front()); - } - _FORCE_INLINE_ ConstIterator end() const { - return ConstIterator(nullptr); - } - -#if 0 - //to use when replacing find() - _FORCE_INLINE_ ConstIterator find(const K &p_key) const { - return ConstIterator(find(p_key)); - } -#endif -private: - struct _Data { - Element *_root = nullptr; - Element *_nil = nullptr; - int size_cache = 0; - - _FORCE_INLINE_ _Data() { -#ifdef GLOBALNIL_DISABLED - _nil = memnew_allocator(Element, A); - _nil->parent = _nil->left = _nil->right = _nil; - _nil->color = BLACK; -#else - _nil = (Element *)&_GlobalNilClass::_nil; -#endif - } - - void _create_root() { - _root = memnew_allocator(Element, A); - _root->parent = _root->left = _root->right = _nil; - _root->color = BLACK; - } - - void _free_root() { - if (_root) { - memdelete_allocator(_root); - _root = nullptr; - } - } - - ~_Data() { - _free_root(); - -#ifdef GLOBALNIL_DISABLED - memdelete_allocator(_nil); -#endif - } - }; - - _Data _data; - - inline void _set_color(Element *p_node, int p_color) { - ERR_FAIL_COND(p_node == _data._nil && p_color == RED); - p_node->color = p_color; - } - - inline void _rotate_left(Element *p_node) { - Element *r = p_node->right; - p_node->right = r->left; - if (r->left != _data._nil) { - r->left->parent = p_node; - } - r->parent = p_node->parent; - if (p_node == p_node->parent->left) { - p_node->parent->left = r; - } else { - p_node->parent->right = r; - } - - r->left = p_node; - p_node->parent = r; - } - - inline void _rotate_right(Element *p_node) { - Element *l = p_node->left; - p_node->left = l->right; - if (l->right != _data._nil) { - l->right->parent = p_node; - } - l->parent = p_node->parent; - if (p_node == p_node->parent->right) { - p_node->parent->right = l; - } else { - p_node->parent->left = l; - } - - l->right = p_node; - p_node->parent = l; - } - - inline Element *_successor(Element *p_node) const { - Element *node = p_node; - - if (node->right != _data._nil) { - node = node->right; - while (node->left != _data._nil) { /* returns the minimum of the right subtree of node */ - node = node->left; - } - return node; - } else { - while (node == node->parent->right) { - node = node->parent; - } - - if (node->parent == _data._root) { - return nullptr; // No successor, as p_node = last node - } - return node->parent; - } - } - - inline Element *_predecessor(Element *p_node) const { - Element *node = p_node; - - if (node->left != _data._nil) { - node = node->left; - while (node->right != _data._nil) { /* returns the minimum of the left subtree of node */ - node = node->right; - } - return node; - } else { - while (node == node->parent->left) { - node = node->parent; - } - - if (node == _data._root) { - return nullptr; // No predecessor, as p_node = first node. - } - return node->parent; - } - } - - Element *_find(const T &p_value) const { - Element *node = _data._root->left; - C less; - - while (node != _data._nil) { - if (less(p_value, node->value)) { - node = node->left; - } else if (less(node->value, p_value)) { - node = node->right; - } else { - return node; // found - } - } - - return nullptr; - } - - Element *_lower_bound(const T &p_value) const { - Element *node = _data._root->left; - Element *prev = nullptr; - C less; - - while (node != _data._nil) { - prev = node; - - if (less(p_value, node->value)) { - node = node->left; - } else if (less(node->value, p_value)) { - node = node->right; - } else { - return node; // found - } - } - - if (prev == nullptr) { - return nullptr; // tree empty - } - - if (less(prev->value, p_value)) { - prev = prev->_next; - } - - return prev; - } - - void _insert_rb_fix(Element *p_new_node) { - Element *node = p_new_node; - Element *nparent = node->parent; - Element *ngrand_parent = nullptr; - - while (nparent->color == RED) { - ngrand_parent = nparent->parent; - - if (nparent == ngrand_parent->left) { - if (ngrand_parent->right->color == RED) { - _set_color(nparent, BLACK); - _set_color(ngrand_parent->right, BLACK); - _set_color(ngrand_parent, RED); - node = ngrand_parent; - nparent = node->parent; - } else { - if (node == nparent->right) { - _rotate_left(nparent); - node = nparent; - nparent = node->parent; - } - _set_color(nparent, BLACK); - _set_color(ngrand_parent, RED); - _rotate_right(ngrand_parent); - } - } else { - if (ngrand_parent->left->color == RED) { - _set_color(nparent, BLACK); - _set_color(ngrand_parent->left, BLACK); - _set_color(ngrand_parent, RED); - node = ngrand_parent; - nparent = node->parent; - } else { - if (node == nparent->left) { - _rotate_right(nparent); - node = nparent; - nparent = node->parent; - } - _set_color(nparent, BLACK); - _set_color(ngrand_parent, RED); - _rotate_left(ngrand_parent); - } - } - } - - _set_color(_data._root->left, BLACK); - } - - Element *_insert(const T &p_value) { - Element *new_parent = _data._root; - Element *node = _data._root->left; - C less; - - while (node != _data._nil) { - new_parent = node; - - if (less(p_value, node->value)) { - node = node->left; - } else if (less(node->value, p_value)) { - node = node->right; - } else { - return node; // Return existing node - } - } - - Element *new_node = memnew_allocator(Element, A); - new_node->parent = new_parent; - new_node->right = _data._nil; - new_node->left = _data._nil; - new_node->value = p_value; - // new_node->data=_data; - - if (new_parent == _data._root || less(p_value, new_parent->value)) { - new_parent->left = new_node; - } else { - new_parent->right = new_node; - } - - new_node->_next = _successor(new_node); - new_node->_prev = _predecessor(new_node); - if (new_node->_next) { - new_node->_next->_prev = new_node; - } - if (new_node->_prev) { - new_node->_prev->_next = new_node; - } - - _data.size_cache++; - _insert_rb_fix(new_node); - return new_node; - } - - void _erase_fix_rb(Element *p_node) { - Element *root = _data._root->left; - Element *node = _data._nil; - Element *sibling = p_node; - Element *parent = sibling->parent; - - while (node != root) { // If red node found, will exit at a break - if (sibling->color == RED) { - _set_color(sibling, BLACK); - _set_color(parent, RED); - if (sibling == parent->right) { - sibling = sibling->left; - _rotate_left(parent); - } else { - sibling = sibling->right; - _rotate_right(parent); - } - } - if ((sibling->left->color == BLACK) && (sibling->right->color == BLACK)) { - _set_color(sibling, RED); - if (parent->color == RED) { - _set_color(parent, BLACK); - break; - } else { // loop: haven't found any red nodes yet - node = parent; - parent = node->parent; - sibling = (node == parent->left) ? parent->right : parent->left; - } - } else { - if (sibling == parent->right) { - if (sibling->right->color == BLACK) { - _set_color(sibling->left, BLACK); - _set_color(sibling, RED); - _rotate_right(sibling); - sibling = sibling->parent; - } - _set_color(sibling, parent->color); - _set_color(parent, BLACK); - _set_color(sibling->right, BLACK); - _rotate_left(parent); - break; - } else { - if (sibling->left->color == BLACK) { - _set_color(sibling->right, BLACK); - _set_color(sibling, RED); - _rotate_left(sibling); - sibling = sibling->parent; - } - - _set_color(sibling, parent->color); - _set_color(parent, BLACK); - _set_color(sibling->left, BLACK); - _rotate_right(parent); - break; - } - } - } - - ERR_FAIL_COND(_data._nil->color != BLACK); - } - - void _erase(Element *p_node) { - Element *rp = ((p_node->left == _data._nil) || (p_node->right == _data._nil)) ? p_node : p_node->_next; - Element *node = (rp->left == _data._nil) ? rp->right : rp->left; - - Element *sibling = nullptr; - if (rp == rp->parent->left) { - rp->parent->left = node; - sibling = rp->parent->right; - } else { - rp->parent->right = node; - sibling = rp->parent->left; - } - - if (node->color == RED) { - node->parent = rp->parent; - _set_color(node, BLACK); - } else if (rp->color == BLACK && rp->parent != _data._root) { - _erase_fix_rb(sibling); - } - - if (rp != p_node) { - ERR_FAIL_COND(rp == _data._nil); - - rp->left = p_node->left; - rp->right = p_node->right; - rp->parent = p_node->parent; - rp->color = p_node->color; - if (p_node->left != _data._nil) { - p_node->left->parent = rp; - } - if (p_node->right != _data._nil) { - p_node->right->parent = rp; - } - - if (p_node == p_node->parent->left) { - p_node->parent->left = rp; - } else { - p_node->parent->right = rp; - } - } - - if (p_node->_next) { - p_node->_next->_prev = p_node->_prev; - } - if (p_node->_prev) { - p_node->_prev->_next = p_node->_next; - } - - memdelete_allocator(p_node); - _data.size_cache--; - ERR_FAIL_COND(_data._nil->color == RED); - } - - void _calculate_depth(Element *p_element, int &max_d, int d) const { - if (p_element == _data._nil) { - return; - } - - _calculate_depth(p_element->left, max_d, d + 1); - _calculate_depth(p_element->right, max_d, d + 1); - - if (d > max_d) { - max_d = d; - } - } - - void _cleanup_tree(Element *p_element) { - if (p_element == _data._nil) { - return; - } - - _cleanup_tree(p_element->left); - _cleanup_tree(p_element->right); - memdelete_allocator(p_element); - } - - void _copy_from(const RBSet &p_set) { - clear(); - // not the fastest way, but safeset to write. - for (Element *I = p_set.front(); I; I = I->next()) { - insert(I->get()); - } - } - -public: - const Element *find(const T &p_value) const { - if (!_data._root) { - return nullptr; - } - - const Element *res = _find(p_value); - return res; - } - - Element *find(const T &p_value) { - if (!_data._root) { - return nullptr; - } - - Element *res = _find(p_value); - return res; - } - - Element *lower_bound(const T &p_value) const { - if (!_data._root) { - return nullptr; - } - return _lower_bound(p_value); - } - - bool has(const T &p_value) const { - return find(p_value) != nullptr; - } - - Element *insert(const T &p_value) { - if (!_data._root) { - _data._create_root(); - } - return _insert(p_value); - } - - void erase(Element *p_element) { - if (!_data._root || !p_element) { - return; - } - - _erase(p_element); - if (_data.size_cache == 0 && _data._root) { - _data._free_root(); - } - } - - bool erase(const T &p_value) { - if (!_data._root) { - return false; - } - - Element *e = find(p_value); - if (!e) { - return false; - } - - _erase(e); - if (_data.size_cache == 0 && _data._root) { - _data._free_root(); - } - return true; - } - - Element *front() const { - if (!_data._root) { - return nullptr; - } - - Element *e = _data._root->left; - if (e == _data._nil) { - return nullptr; - } - - while (e->left != _data._nil) { - e = e->left; - } - - return e; - } - - Element *back() const { - if (!_data._root) { - return nullptr; - } - - Element *e = _data._root->left; - if (e == _data._nil) { - return nullptr; - } - - while (e->right != _data._nil) { - e = e->right; - } - - return e; - } - - inline bool is_empty() const { - return _data.size_cache == 0; - } - inline int size() const { - return _data.size_cache; - } - - int calculate_depth() const { - // used for debug mostly - if (!_data._root) { - return 0; - } - - int max_d = 0; - _calculate_depth(_data._root->left, max_d, 0); - return max_d; - } - - void clear() { - if (!_data._root) { - return; - } - - _cleanup_tree(_data._root->left); - _data._root->left = _data._nil; - _data.size_cache = 0; - _data._free_root(); - } - - void operator=(const RBSet &p_set) { - _copy_from(p_set); - } - - RBSet(const RBSet &p_set) { - _copy_from(p_set); - } - - _FORCE_INLINE_ RBSet() {} - - ~RBSet() { - clear(); - } -}; - -} // namespace godot - -#endif // GODOT_RB_SET_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/rid_owner.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/rid_owner.hpp deleted file mode 100644 index 1dd4a39..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/rid_owner.hpp +++ /dev/null @@ -1,465 +0,0 @@ -/**************************************************************************/ -/* rid_owner.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_RID_OWNER_HPP -#define GODOT_RID_OWNER_HPP - -#include -#include -#include -#include -#include - -#include -#include - -namespace godot { - -template -class RID_Alloc { - T **chunks = nullptr; - uint32_t **free_list_chunks = nullptr; - uint32_t **validator_chunks = nullptr; - - uint32_t elements_in_chunk; - uint32_t max_alloc = 0; - uint32_t alloc_count = 0; - - const char *description = nullptr; - - SpinLock spin_lock; - - _FORCE_INLINE_ RID _allocate_rid() { - if (THREAD_SAFE) { - spin_lock.lock(); - } - - if (alloc_count == max_alloc) { - // allocate a new chunk - uint32_t chunk_count = alloc_count == 0 ? 0 : (max_alloc / elements_in_chunk); - - // grow chunks - chunks = (T **)memrealloc(chunks, sizeof(T *) * (chunk_count + 1)); - chunks[chunk_count] = (T *)memalloc(sizeof(T) * elements_in_chunk); // but don't initialize - - // grow validators - validator_chunks = (uint32_t **)memrealloc(validator_chunks, sizeof(uint32_t *) * (chunk_count + 1)); - validator_chunks[chunk_count] = (uint32_t *)memalloc(sizeof(uint32_t) * elements_in_chunk); - // grow free lists - free_list_chunks = (uint32_t **)memrealloc(free_list_chunks, sizeof(uint32_t *) * (chunk_count + 1)); - free_list_chunks[chunk_count] = (uint32_t *)memalloc(sizeof(uint32_t) * elements_in_chunk); - - // initialize - for (uint32_t i = 0; i < elements_in_chunk; i++) { - // Don't initialize chunk. - validator_chunks[chunk_count][i] = 0xFFFFFFFF; - free_list_chunks[chunk_count][i] = alloc_count + i; - } - - max_alloc += elements_in_chunk; - } - - uint32_t free_index = free_list_chunks[alloc_count / elements_in_chunk][alloc_count % elements_in_chunk]; - - uint32_t free_chunk = free_index / elements_in_chunk; - uint32_t free_element = free_index % elements_in_chunk; - - uint32_t validator = (uint32_t)(UtilityFunctions::rid_allocate_id() & 0x7FFFFFFF); - uint64_t id = validator; - id <<= 32; - id |= free_index; - - validator_chunks[free_chunk][free_element] = validator; - - validator_chunks[free_chunk][free_element] |= 0x80000000; // mark uninitialized bit - - alloc_count++; - - if (THREAD_SAFE) { - spin_lock.unlock(); - } - - return UtilityFunctions::rid_from_int64(id); - } - -public: - RID make_rid() { - RID rid = _allocate_rid(); - initialize_rid(rid); - return rid; - } - RID make_rid(const T &p_value) { - RID rid = _allocate_rid(); - initialize_rid(rid, p_value); - return rid; - } - - // allocate but don't initialize, use initialize_rid afterwards - RID allocate_rid() { - return _allocate_rid(); - } - - _FORCE_INLINE_ T *get_or_null(const RID &p_rid, bool p_initialize = false) { - if (p_rid == RID()) { - return nullptr; - } - if (THREAD_SAFE) { - spin_lock.lock(); - } - - uint64_t id = p_rid.get_id(); - uint32_t idx = uint32_t(id & 0xFFFFFFFF); - if (unlikely(idx >= max_alloc)) { - if (THREAD_SAFE) { - spin_lock.unlock(); - } - return nullptr; - } - - uint32_t idx_chunk = idx / elements_in_chunk; - uint32_t idx_element = idx % elements_in_chunk; - - uint32_t validator = uint32_t(id >> 32); - - if (unlikely(p_initialize)) { - if (unlikely(!(validator_chunks[idx_chunk][idx_element] & 0x80000000))) { - if (THREAD_SAFE) { - spin_lock.unlock(); - } - ERR_FAIL_V_MSG(nullptr, "Initializing already initialized RID"); - } - - if (unlikely((validator_chunks[idx_chunk][idx_element] & 0x7FFFFFFF) != validator)) { - if (THREAD_SAFE) { - spin_lock.unlock(); - } - ERR_FAIL_V_MSG(nullptr, "Attempting to initialize the wrong RID"); - return nullptr; - } - - validator_chunks[idx_chunk][idx_element] &= 0x7FFFFFFF; // initialized - - } else if (unlikely(validator_chunks[idx_chunk][idx_element] != validator)) { - if (THREAD_SAFE) { - spin_lock.unlock(); - } - if ((validator_chunks[idx_chunk][idx_element] & 0x80000000) && validator_chunks[idx_chunk][idx_element] != 0xFFFFFFFF) { - ERR_FAIL_V_MSG(nullptr, "Attempting to use an uninitialized RID"); - } - return nullptr; - } - - T *ptr = &chunks[idx_chunk][idx_element]; - - if (THREAD_SAFE) { - spin_lock.unlock(); - } - - return ptr; - } - void initialize_rid(RID p_rid) { - T *mem = get_or_null(p_rid, true); - ERR_FAIL_NULL(mem); - memnew_placement(mem, T); - } - void initialize_rid(RID p_rid, const T &p_value) { - T *mem = get_or_null(p_rid, true); - ERR_FAIL_NULL(mem); - memnew_placement(mem, T(p_value)); - } - - _FORCE_INLINE_ bool owns(const RID &p_rid) { - if (THREAD_SAFE) { - spin_lock.lock(); - } - - uint64_t id = p_rid.get_id(); - uint32_t idx = uint32_t(id & 0xFFFFFFFF); - if (unlikely(idx >= max_alloc)) { - if (THREAD_SAFE) { - spin_lock.unlock(); - } - return false; - } - - uint32_t idx_chunk = idx / elements_in_chunk; - uint32_t idx_element = idx % elements_in_chunk; - - uint32_t validator = uint32_t(id >> 32); - - bool owned = (validator_chunks[idx_chunk][idx_element] & 0x7FFFFFFF) == validator; - - if (THREAD_SAFE) { - spin_lock.unlock(); - } - - return owned; - } - - _FORCE_INLINE_ void free(const RID &p_rid) { - if (THREAD_SAFE) { - spin_lock.lock(); - } - - uint64_t id = p_rid.get_id(); - uint32_t idx = uint32_t(id & 0xFFFFFFFF); - if (unlikely(idx >= max_alloc)) { - if (THREAD_SAFE) { - spin_lock.unlock(); - } - ERR_FAIL(); - } - - uint32_t idx_chunk = idx / elements_in_chunk; - uint32_t idx_element = idx % elements_in_chunk; - - uint32_t validator = uint32_t(id >> 32); - if (unlikely(validator_chunks[idx_chunk][idx_element] & 0x80000000)) { - if (THREAD_SAFE) { - spin_lock.unlock(); - } - ERR_FAIL_MSG("Attempted to free an uninitialized or invalid RID"); - } else if (unlikely(validator_chunks[idx_chunk][idx_element] != validator)) { - if (THREAD_SAFE) { - spin_lock.unlock(); - } - ERR_FAIL(); - } - - chunks[idx_chunk][idx_element].~T(); - validator_chunks[idx_chunk][idx_element] = 0xFFFFFFFF; // go invalid - - alloc_count--; - free_list_chunks[alloc_count / elements_in_chunk][alloc_count % elements_in_chunk] = idx; - - if (THREAD_SAFE) { - spin_lock.unlock(); - } - } - - _FORCE_INLINE_ uint32_t get_rid_count() const { - return alloc_count; - } - - void get_owned_list(List *p_owned) { - if (THREAD_SAFE) { - spin_lock.lock(); - } - for (size_t i = 0; i < max_alloc; i++) { - uint64_t validator = validator_chunks[i / elements_in_chunk][i % elements_in_chunk]; - if (validator != 0xFFFFFFFF) { - p_owned->push_back(UtilityFunctions::rid_from_int64((validator << 32) | i)); - } - } - if (THREAD_SAFE) { - spin_lock.unlock(); - } - } - - // used for fast iteration in the elements or RIDs - void fill_owned_buffer(RID *p_rid_buffer) { - if (THREAD_SAFE) { - spin_lock.lock(); - } - uint32_t idx = 0; - for (size_t i = 0; i < max_alloc; i++) { - uint64_t validator = validator_chunks[i / elements_in_chunk][i % elements_in_chunk]; - if (validator != 0xFFFFFFFF) { - p_rid_buffer[idx] = UtilityFunctions::rid_from_int64((validator << 32) | i); - idx++; - } - } - if (THREAD_SAFE) { - spin_lock.unlock(); - } - } - - void set_description(const char *p_descrption) { - description = p_descrption; - } - - RID_Alloc(uint32_t p_target_chunk_byte_size = 65536) { - elements_in_chunk = sizeof(T) > p_target_chunk_byte_size ? 1 : (p_target_chunk_byte_size / sizeof(T)); - } - - ~RID_Alloc() { - if (alloc_count) { - if (description) { - printf("ERROR: %d RID allocations of type '%s' were leaked at exit.", alloc_count, description); - } else { -#ifdef NO_SAFE_CAST - printf("ERROR: %d RID allocations of type 'unknown' were leaked at exit.", alloc_count); -#else - printf("ERROR: %d RID allocations of type '%s' were leaked at exit.", alloc_count, typeid(T).name()); -#endif - } - - for (size_t i = 0; i < max_alloc; i++) { - uint64_t validator = validator_chunks[i / elements_in_chunk][i % elements_in_chunk]; - if (validator & 0x80000000) { - continue; // uninitialized - } - if (validator != 0xFFFFFFFF) { - chunks[i / elements_in_chunk][i % elements_in_chunk].~T(); - } - } - } - - uint32_t chunk_count = max_alloc / elements_in_chunk; - for (uint32_t i = 0; i < chunk_count; i++) { - memfree(chunks[i]); - memfree(validator_chunks[i]); - memfree(free_list_chunks[i]); - } - - if (chunks) { - memfree(chunks); - memfree(free_list_chunks); - memfree(validator_chunks); - } - } -}; - -template -class RID_PtrOwner { - RID_Alloc alloc; - -public: - _FORCE_INLINE_ RID make_rid(T *p_ptr) { - return alloc.make_rid(p_ptr); - } - - _FORCE_INLINE_ RID allocate_rid() { - return alloc.allocate_rid(); - } - - _FORCE_INLINE_ void initialize_rid(RID p_rid, T *p_ptr) { - alloc.initialize_rid(p_rid, p_ptr); - } - - _FORCE_INLINE_ T *get_or_null(const RID &p_rid) { - T **ptr = alloc.get_or_null(p_rid); - if (unlikely(!ptr)) { - return nullptr; - } - return *ptr; - } - - _FORCE_INLINE_ void replace(const RID &p_rid, T *p_new_ptr) { - T **ptr = alloc.get_or_null(p_rid); - ERR_FAIL_NULL(ptr); - *ptr = p_new_ptr; - } - - _FORCE_INLINE_ bool owns(const RID &p_rid) { - return alloc.owns(p_rid); - } - - _FORCE_INLINE_ void free(const RID &p_rid) { - alloc.free(p_rid); - } - - _FORCE_INLINE_ uint32_t get_rid_count() const { - return alloc.get_rid_count(); - } - - _FORCE_INLINE_ void get_owned_list(List *p_owned) { - return alloc.get_owned_list(p_owned); - } - - void fill_owned_buffer(RID *p_rid_buffer) { - alloc.fill_owned_buffer(p_rid_buffer); - } - - void set_description(const char *p_descrption) { - alloc.set_description(p_descrption); - } - - RID_PtrOwner(uint32_t p_target_chunk_byte_size = 65536) : - alloc(p_target_chunk_byte_size) {} -}; - -template -class RID_Owner { - RID_Alloc alloc; - -public: - _FORCE_INLINE_ RID make_rid() { - return alloc.make_rid(); - } - _FORCE_INLINE_ RID make_rid(const T &p_ptr) { - return alloc.make_rid(p_ptr); - } - - _FORCE_INLINE_ RID allocate_rid() { - return alloc.allocate_rid(); - } - - _FORCE_INLINE_ void initialize_rid(RID p_rid) { - alloc.initialize_rid(p_rid); - } - - _FORCE_INLINE_ void initialize_rid(RID p_rid, const T &p_ptr) { - alloc.initialize_rid(p_rid, p_ptr); - } - - _FORCE_INLINE_ T *get_or_null(const RID &p_rid) { - return alloc.get_or_null(p_rid); - } - - _FORCE_INLINE_ bool owns(const RID &p_rid) { - return alloc.owns(p_rid); - } - - _FORCE_INLINE_ void free(const RID &p_rid) { - alloc.free(p_rid); - } - - _FORCE_INLINE_ uint32_t get_rid_count() const { - return alloc.get_rid_count(); - } - - _FORCE_INLINE_ void get_owned_list(List *p_owned) { - return alloc.get_owned_list(p_owned); - } - void fill_owned_buffer(RID *p_rid_buffer) { - alloc.fill_owned_buffer(p_rid_buffer); - } - - void set_description(const char *p_descrption) { - alloc.set_description(p_descrption); - } - RID_Owner(uint32_t p_target_chunk_byte_size = 65536) : - alloc(p_target_chunk_byte_size) {} -}; - -} // namespace godot - -#endif // GODOT_RID_OWNER_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/safe_refcount.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/safe_refcount.hpp deleted file mode 100644 index 12e6840..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/safe_refcount.hpp +++ /dev/null @@ -1,335 +0,0 @@ -/**************************************************************************/ -/* safe_refcount.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_SAFE_REFCOUNT_HPP -#define GODOT_SAFE_REFCOUNT_HPP - -#if !defined(NO_THREADS) - -#include -#include - -namespace godot { - -// Design goals for these classes: -// - No automatic conversions or arithmetic operators, -// to keep explicit the use of atomics everywhere. -// - Using acquire-release semantics, even to set the first value. -// The first value may be set relaxedly in many cases, but adding the distinction -// between relaxed and unrelaxed operation to the interface would make it needlessly -// flexible. There's negligible waste in having release semantics for the initial -// value and, as an important benefit, you can be sure the value is properly synchronized -// even with threads that are already running. - -// These are used in very specific areas of the engine where it's critical that these guarantees are held -#define SAFE_NUMERIC_TYPE_PUN_GUARANTEES(m_type) \ - static_assert(sizeof(SafeNumeric) == sizeof(m_type)); \ - static_assert(alignof(SafeNumeric) == alignof(m_type)); \ - static_assert(std::is_trivially_destructible>::value); -#define SAFE_FLAG_TYPE_PUN_GUARANTEES \ - static_assert(sizeof(SafeFlag) == sizeof(bool)); \ - static_assert(alignof(SafeFlag) == alignof(bool)); - -template -class SafeNumeric { - std::atomic value; - - static_assert(std::atomic::is_always_lock_free); - -public: - _ALWAYS_INLINE_ void set(T p_value) { - value.store(p_value, std::memory_order_release); - } - - _ALWAYS_INLINE_ T get() const { - return value.load(std::memory_order_acquire); - } - - _ALWAYS_INLINE_ T increment() { - return value.fetch_add(1, std::memory_order_acq_rel) + 1; - } - - // Returns the original value instead of the new one - _ALWAYS_INLINE_ T postincrement() { - return value.fetch_add(1, std::memory_order_acq_rel); - } - - _ALWAYS_INLINE_ T decrement() { - return value.fetch_sub(1, std::memory_order_acq_rel) - 1; - } - - // Returns the original value instead of the new one - _ALWAYS_INLINE_ T postdecrement() { - return value.fetch_sub(1, std::memory_order_acq_rel); - } - - _ALWAYS_INLINE_ T add(T p_value) { - return value.fetch_add(p_value, std::memory_order_acq_rel) + p_value; - } - - // Returns the original value instead of the new one - _ALWAYS_INLINE_ T postadd(T p_value) { - return value.fetch_add(p_value, std::memory_order_acq_rel); - } - - _ALWAYS_INLINE_ T sub(T p_value) { - return value.fetch_sub(p_value, std::memory_order_acq_rel) - p_value; - } - - // Returns the original value instead of the new one - _ALWAYS_INLINE_ T postsub(T p_value) { - return value.fetch_sub(p_value, std::memory_order_acq_rel); - } - - _ALWAYS_INLINE_ T exchange_if_greater(T p_value) { - while (true) { - T tmp = value.load(std::memory_order_acquire); - if (tmp >= p_value) { - return tmp; // already greater, or equal - } - if (value.compare_exchange_weak(tmp, p_value, std::memory_order_release)) { - return p_value; - } - } - } - - _ALWAYS_INLINE_ T conditional_increment() { - while (true) { - T c = value.load(std::memory_order_acquire); - if (c == 0) { - return 0; - } - if (value.compare_exchange_weak(c, c + 1, std::memory_order_release)) { - return c + 1; - } - } - } - - _ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast(0)) { - set(p_value); - } -}; - -class SafeFlag { - std::atomic_bool flag; - - static_assert(std::atomic_bool::is_always_lock_free); - -public: - _ALWAYS_INLINE_ bool is_set() const { - return flag.load(std::memory_order_acquire); - } - - _ALWAYS_INLINE_ void set() { - flag.store(true, std::memory_order_release); - } - - _ALWAYS_INLINE_ void clear() { - flag.store(false, std::memory_order_release); - } - - _ALWAYS_INLINE_ void set_to(bool p_value) { - flag.store(p_value, std::memory_order_release); - } - - _ALWAYS_INLINE_ explicit SafeFlag(bool p_value = false) { - set_to(p_value); - } -}; - -class SafeRefCount { - SafeNumeric count; - -public: - _ALWAYS_INLINE_ bool ref() { // true on success - return count.conditional_increment() != 0; - } - - _ALWAYS_INLINE_ uint32_t refval() { // none-zero on success - return count.conditional_increment(); - } - - _ALWAYS_INLINE_ bool unref() { // true if must be disposed of - return count.decrement() == 0; - } - - _ALWAYS_INLINE_ uint32_t unrefval() { // 0 if must be disposed of - return count.decrement(); - } - - _ALWAYS_INLINE_ uint32_t get() const { - return count.get(); - } - - _ALWAYS_INLINE_ void init(uint32_t p_value = 1) { - count.set(p_value); - } -}; - -#else - -template -class SafeNumeric { -protected: - T value; - -public: - _ALWAYS_INLINE_ void set(T p_value) { - value = p_value; - } - - _ALWAYS_INLINE_ T get() const { - return value; - } - - _ALWAYS_INLINE_ T increment() { - return ++value; - } - - _ALWAYS_INLINE_ T postincrement() { - return value++; - } - - _ALWAYS_INLINE_ T decrement() { - return --value; - } - - _ALWAYS_INLINE_ T postdecrement() { - return value--; - } - - _ALWAYS_INLINE_ T add(T p_value) { - return value += p_value; - } - - _ALWAYS_INLINE_ T postadd(T p_value) { - T old = value; - value += p_value; - return old; - } - - _ALWAYS_INLINE_ T sub(T p_value) { - return value -= p_value; - } - - _ALWAYS_INLINE_ T postsub(T p_value) { - T old = value; - value -= p_value; - return old; - } - - _ALWAYS_INLINE_ T exchange_if_greater(T p_value) { - if (value < p_value) { - value = p_value; - } - return value; - } - - _ALWAYS_INLINE_ T conditional_increment() { - if (value == 0) { - return 0; - } else { - return ++value; - } - } - - _ALWAYS_INLINE_ explicit SafeNumeric(T p_value = static_cast(0)) : - value(p_value) { - } -}; - -class SafeFlag { -protected: - bool flag; - -public: - _ALWAYS_INLINE_ bool is_set() const { - return flag; - } - - _ALWAYS_INLINE_ void set() { - flag = true; - } - - _ALWAYS_INLINE_ void clear() { - flag = false; - } - - _ALWAYS_INLINE_ void set_to(bool p_value) { - flag = p_value; - } - - _ALWAYS_INLINE_ explicit SafeFlag(bool p_value = false) : - flag(p_value) {} -}; - -class SafeRefCount { - uint32_t count = 0; - -public: - _ALWAYS_INLINE_ bool ref() { // true on success - if (count != 0) { - ++count; - return true; - } else { - return false; - } - } - - _ALWAYS_INLINE_ uint32_t refval() { // none-zero on success - if (count != 0) { - return ++count; - } else { - return 0; - } - } - - _ALWAYS_INLINE_ bool unref() { // true if must be disposed of - return --count == 0; - } - - _ALWAYS_INLINE_ uint32_t unrefval() { // 0 if must be disposed of - return --count; - } - - _ALWAYS_INLINE_ uint32_t get() const { - return count; - } - - _ALWAYS_INLINE_ void init(uint32_t p_value = 1) { - count = p_value; - } -}; - -#endif - -} // namespace godot - -#endif // GODOT_SAFE_REFCOUNT_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/search_array.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/search_array.hpp deleted file mode 100644 index 11a9db5..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/search_array.hpp +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************/ -/* search_array.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_SEARCH_ARRAY_HPP -#define GODOT_SEARCH_ARRAY_HPP - -#include - -namespace godot { - -template > -class SearchArray { -public: - Comparator compare; - - inline int bisect(const T *p_array, int p_len, const T &p_value, bool p_before) const { - int lo = 0; - int hi = p_len; - if (p_before) { - while (lo < hi) { - const int mid = (lo + hi) / 2; - if (compare(p_array[mid], p_value)) { - lo = mid + 1; - } else { - hi = mid; - } - } - } else { - while (lo < hi) { - const int mid = (lo + hi) / 2; - if (compare(p_value, p_array[mid])) { - hi = mid; - } else { - lo = mid + 1; - } - } - } - return lo; - } -}; - -} // namespace godot - -#endif // GODOT_SEARCH_ARRAY_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/self_list.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/self_list.hpp deleted file mode 100644 index f7a65f6..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/self_list.hpp +++ /dev/null @@ -1,143 +0,0 @@ -/**************************************************************************/ -/* self_list.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_SELF_LIST_HPP -#define GODOT_SELF_LIST_HPP - -#include -#include - -namespace godot { - -template -class SelfList { -public: - class List { - SelfList *_first = nullptr; - SelfList *_last = nullptr; - - public: - void add(SelfList *p_elem) { - ERR_FAIL_COND(p_elem->_root); - - p_elem->_root = this; - p_elem->_next = _first; - p_elem->_prev = nullptr; - - if (_first) { - _first->_prev = p_elem; - - } else { - _last = p_elem; - } - - _first = p_elem; - } - - void add_last(SelfList *p_elem) { - ERR_FAIL_COND(p_elem->_root); - - p_elem->_root = this; - p_elem->_next = nullptr; - p_elem->_prev = _last; - - if (_last) { - _last->_next = p_elem; - - } else { - _first = p_elem; - } - - _last = p_elem; - } - - void remove(SelfList *p_elem) { - ERR_FAIL_COND(p_elem->_root != this); - if (p_elem->_next) { - p_elem->_next->_prev = p_elem->_prev; - } - - if (p_elem->_prev) { - p_elem->_prev->_next = p_elem->_next; - } - - if (_first == p_elem) { - _first = p_elem->_next; - } - - if (_last == p_elem) { - _last = p_elem->_prev; - } - - p_elem->_next = nullptr; - p_elem->_prev = nullptr; - p_elem->_root = nullptr; - } - - _FORCE_INLINE_ SelfList *first() { return _first; } - _FORCE_INLINE_ const SelfList *first() const { return _first; } - - _FORCE_INLINE_ List() {} - _FORCE_INLINE_ ~List() { ERR_FAIL_COND(_first != nullptr); } - }; - -private: - List *_root = nullptr; - T *_self = nullptr; - SelfList *_next = nullptr; - SelfList *_prev = nullptr; - -public: - _FORCE_INLINE_ bool in_list() const { return _root; } - _FORCE_INLINE_ void remove_from_list() { - if (_root) { - _root->remove(this); - } - } - _FORCE_INLINE_ SelfList *next() { return _next; } - _FORCE_INLINE_ SelfList *prev() { return _prev; } - _FORCE_INLINE_ const SelfList *next() const { return _next; } - _FORCE_INLINE_ const SelfList *prev() const { return _prev; } - _FORCE_INLINE_ T *self() const { return _self; } - - _FORCE_INLINE_ SelfList(T *p_self) { - _self = p_self; - } - - _FORCE_INLINE_ ~SelfList() { - if (_root) { - _root->remove(this); - } - } -}; - -} // namespace godot - -#endif // GODOT_SELF_LIST_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/sort_array.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/sort_array.hpp deleted file mode 100644 index 7ce5c78..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/sort_array.hpp +++ /dev/null @@ -1,323 +0,0 @@ -/**************************************************************************/ -/* sort_array.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_SORT_ARRAY_HPP -#define GODOT_SORT_ARRAY_HPP - -#include - -namespace godot { - -#define ERR_BAD_COMPARE(cond) \ - if (unlikely(cond)) { \ - ERR_PRINT("bad comparison function; sorting will be broken"); \ - break; \ - } - -template -struct _DefaultComparator { - _FORCE_INLINE_ bool operator()(const T &a, const T &b) const { return (a < b); } -}; - -#ifdef DEBUG_ENABLED -#define SORT_ARRAY_VALIDATE_ENABLED true -#else -#define SORT_ARRAY_VALIDATE_ENABLED false -#endif - -template , bool Validate = SORT_ARRAY_VALIDATE_ENABLED> -class SortArray { - enum { - INTROSORT_THRESHOLD = 16 - }; - -public: - Comparator compare; - - inline const T &median_of_3(const T &a, const T &b, const T &c) const { - if (compare(a, b)) { - if (compare(b, c)) { - return b; - } else if (compare(a, c)) { - return c; - } else { - return a; - } - } else if (compare(a, c)) { - return a; - } else if (compare(b, c)) { - return c; - } else { - return b; - } - } - - inline int bitlog(int n) const { - int k; - for (k = 0; n != 1; n >>= 1) { - ++k; - } - return k; - } - - /* Heap / Heapsort functions */ - - inline void push_heap(int p_first, int p_hole_idx, int p_top_index, T p_value, T *p_array) const { - int parent = (p_hole_idx - 1) / 2; - while (p_hole_idx > p_top_index && compare(p_array[p_first + parent], p_value)) { - p_array[p_first + p_hole_idx] = p_array[p_first + parent]; - p_hole_idx = parent; - parent = (p_hole_idx - 1) / 2; - } - p_array[p_first + p_hole_idx] = p_value; - } - - inline void pop_heap(int p_first, int p_last, int p_result, T p_value, T *p_array) const { - p_array[p_result] = p_array[p_first]; - adjust_heap(p_first, 0, p_last - p_first, p_value, p_array); - } - inline void pop_heap(int p_first, int p_last, T *p_array) const { - pop_heap(p_first, p_last - 1, p_last - 1, p_array[p_last - 1], p_array); - } - - inline void adjust_heap(int p_first, int p_hole_idx, int p_len, T p_value, T *p_array) const { - int top_index = p_hole_idx; - int second_child = 2 * p_hole_idx + 2; - - while (second_child < p_len) { - if (compare(p_array[p_first + second_child], p_array[p_first + (second_child - 1)])) { - second_child--; - } - - p_array[p_first + p_hole_idx] = p_array[p_first + second_child]; - p_hole_idx = second_child; - second_child = 2 * (second_child + 1); - } - - if (second_child == p_len) { - p_array[p_first + p_hole_idx] = p_array[p_first + (second_child - 1)]; - p_hole_idx = second_child - 1; - } - push_heap(p_first, p_hole_idx, top_index, p_value, p_array); - } - - inline void sort_heap(int p_first, int p_last, T *p_array) const { - while (p_last - p_first > 1) { - pop_heap(p_first, p_last--, p_array); - } - } - - inline void make_heap(int p_first, int p_last, T *p_array) const { - if (p_last - p_first < 2) { - return; - } - int len = p_last - p_first; - int parent = (len - 2) / 2; - - while (true) { - adjust_heap(p_first, parent, len, p_array[p_first + parent], p_array); - if (parent == 0) { - return; - } - parent--; - } - } - - inline void partial_sort(int p_first, int p_last, int p_middle, T *p_array) const { - make_heap(p_first, p_middle, p_array); - for (int i = p_middle; i < p_last; i++) { - if (compare(p_array[i], p_array[p_first])) { - pop_heap(p_first, p_middle, i, p_array[i], p_array); - } - } - sort_heap(p_first, p_middle, p_array); - } - - inline void partial_select(int p_first, int p_last, int p_middle, T *p_array) const { - make_heap(p_first, p_middle, p_array); - for (int i = p_middle; i < p_last; i++) { - if (compare(p_array[i], p_array[p_first])) { - pop_heap(p_first, p_middle, i, p_array[i], p_array); - } - } - } - - inline int partitioner(int p_first, int p_last, T p_pivot, T *p_array) const { - const int unmodified_first = p_first; - const int unmodified_last = p_last; - - while (true) { - while (compare(p_array[p_first], p_pivot)) { - if (Validate) { - ERR_BAD_COMPARE(p_first == unmodified_last - 1); - } - p_first++; - } - p_last--; - while (compare(p_pivot, p_array[p_last])) { - if (Validate) { - ERR_BAD_COMPARE(p_last == unmodified_first); - } - p_last--; - } - - if (!(p_first < p_last)) { - return p_first; - } - - SWAP(p_array[p_first], p_array[p_last]); - p_first++; - } - } - - inline void introsort(int p_first, int p_last, T *p_array, int p_max_depth) const { - while (p_last - p_first > INTROSORT_THRESHOLD) { - if (p_max_depth == 0) { - partial_sort(p_first, p_last, p_last, p_array); - return; - } - - p_max_depth--; - - int cut = partitioner( - p_first, - p_last, - median_of_3( - p_array[p_first], - p_array[p_first + (p_last - p_first) / 2], - p_array[p_last - 1]), - p_array); - - introsort(cut, p_last, p_array, p_max_depth); - p_last = cut; - } - } - - inline void introselect(int p_first, int p_nth, int p_last, T *p_array, int p_max_depth) const { - while (p_last - p_first > 3) { - if (p_max_depth == 0) { - partial_select(p_first, p_nth + 1, p_last, p_array); - SWAP(p_first, p_nth); - return; - } - - p_max_depth--; - - int cut = partitioner( - p_first, - p_last, - median_of_3( - p_array[p_first], - p_array[p_first + (p_last - p_first) / 2], - p_array[p_last - 1]), - p_array); - - if (cut <= p_nth) { - p_first = cut; - } else { - p_last = cut; - } - } - - insertion_sort(p_first, p_last, p_array); - } - - inline void unguarded_linear_insert(int p_last, T p_value, T *p_array) const { - int next = p_last - 1; - while (compare(p_value, p_array[next])) { - if (Validate) { - ERR_BAD_COMPARE(next == 0); - } - p_array[p_last] = p_array[next]; - p_last = next; - next--; - } - p_array[p_last] = p_value; - } - - inline void linear_insert(int p_first, int p_last, T *p_array) const { - T val = p_array[p_last]; - if (compare(val, p_array[p_first])) { - for (int i = p_last; i > p_first; i--) { - p_array[i] = p_array[i - 1]; - } - - p_array[p_first] = val; - } else { - unguarded_linear_insert(p_last, val, p_array); - } - } - - inline void insertion_sort(int p_first, int p_last, T *p_array) const { - if (p_first == p_last) { - return; - } - for (int i = p_first + 1; i != p_last; i++) { - linear_insert(p_first, i, p_array); - } - } - - inline void unguarded_insertion_sort(int p_first, int p_last, T *p_array) const { - for (int i = p_first; i != p_last; i++) { - unguarded_linear_insert(i, p_array[i], p_array); - } - } - - inline void final_insertion_sort(int p_first, int p_last, T *p_array) const { - if (p_last - p_first > INTROSORT_THRESHOLD) { - insertion_sort(p_first, p_first + INTROSORT_THRESHOLD, p_array); - unguarded_insertion_sort(p_first + INTROSORT_THRESHOLD, p_last, p_array); - } else { - insertion_sort(p_first, p_last, p_array); - } - } - - inline void sort_range(int p_first, int p_last, T *p_array) const { - if (p_first != p_last) { - introsort(p_first, p_last, p_array, bitlog(p_last - p_first) * 2); - final_insertion_sort(p_first, p_last, p_array); - } - } - - inline void sort(T *p_array, int p_len) const { - sort_range(0, p_len, p_array); - } - - inline void nth_element(int p_first, int p_last, int p_nth, T *p_array) const { - if (p_first == p_last || p_nth == p_last) { - return; - } - introselect(p_first, p_nth, p_last, p_array, bitlog(p_last - p_first) * 2); - } -}; - -} // namespace godot - -#endif // GODOT_SORT_ARRAY_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/spin_lock.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/spin_lock.hpp deleted file mode 100644 index 530d545..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/spin_lock.hpp +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************/ -/* spin_lock.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_SPIN_LOCK_HPP -#define GODOT_SPIN_LOCK_HPP - -#include - -namespace godot { - -class SpinLock { - std::atomic_flag locked = ATOMIC_FLAG_INIT; - -public: - _ALWAYS_INLINE_ void lock() { - while (locked.test_and_set(std::memory_order_acquire)) { - ; - } - } - _ALWAYS_INLINE_ void unlock() { - locked.clear(std::memory_order_release); - } -}; - -} // namespace godot - -#endif // GODOT_SPIN_LOCK_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/thread_work_pool.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/thread_work_pool.hpp deleted file mode 100644 index cb20c6e..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/thread_work_pool.hpp +++ /dev/null @@ -1,205 +0,0 @@ -/**************************************************************************/ -/* thread_work_pool.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_THREAD_WORK_POOL_HPP -#define GODOT_THREAD_WORK_POOL_HPP - -#include -#include -#include -#include - -#include - -#include - -namespace godot { - -class ThreadWorkPool { - std::atomic index; - - struct BaseWork { - std::atomic *index = nullptr; - uint32_t max_elements = 0; - virtual void work() = 0; - virtual ~BaseWork() = default; - }; - - template - struct Work : public BaseWork { - C *instance; - M method; - U userdata; - virtual void work() { - while (true) { - uint32_t work_index = index->fetch_add(1, std::memory_order_relaxed); - if (work_index >= max_elements) { - break; - } - (instance->*method)(work_index, userdata); - } - } - }; - - struct ThreadData { - std::thread thread; - Semaphore start; - Semaphore completed; - std::atomic exit; - BaseWork *work; - }; - - ThreadData *threads = nullptr; - uint32_t thread_count = 0; - uint32_t threads_working = 0; - BaseWork *current_work = nullptr; - - static void _thread_function(void *p_user) { - ThreadData *thread = static_cast(p_user); - while (true) { - thread->start.wait(); - if (thread->exit.load()) { - break; - } - thread->work->work(); - thread->completed.post(); - } - } - -public: - template - void begin_work(uint32_t p_elements, C *p_instance, M p_method, U p_userdata) { - ERR_FAIL_NULL(threads); // Never initialized. - ERR_FAIL_COND(current_work != nullptr); - - index.store(0, std::memory_order_release); - - Work *w = new (Work); - w->instance = p_instance; - w->userdata = p_userdata; - w->method = p_method; - w->index = &index; - w->max_elements = p_elements; - - current_work = w; - - threads_working = Math::min(p_elements, thread_count); - - for (uint32_t i = 0; i < threads_working; i++) { - threads[i].work = w; - threads[i].start.post(); - } - } - - bool is_working() const { - return current_work != nullptr; - } - - bool is_done_dispatching() const { - ERR_FAIL_NULL_V(current_work, true); - return index.load(std::memory_order_acquire) >= current_work->max_elements; - } - - uint32_t get_work_index() const { - ERR_FAIL_NULL_V(current_work, 0); - uint32_t idx = index.load(std::memory_order_acquire); - return Math::min(idx, current_work->max_elements); - } - - void end_work() { - ERR_FAIL_NULL(current_work); - for (uint32_t i = 0; i < threads_working; i++) { - threads[i].completed.wait(); - threads[i].work = nullptr; - } - - threads_working = 0; - delete current_work; - current_work = nullptr; - } - - template - void do_work(uint32_t p_elements, C *p_instance, M p_method, U p_userdata) { - switch (p_elements) { - case 0: - // Nothing to do, so do nothing. - break; - case 1: - // No value in pushing the work to another thread if it's a single job - // and we're going to wait for it to finish. Just run it right here. - (p_instance->*p_method)(0, p_userdata); - break; - default: - // Multiple jobs to do; commence threaded business. - begin_work(p_elements, p_instance, p_method, p_userdata); - end_work(); - } - } - - _FORCE_INLINE_ int get_thread_count() const { return thread_count; } - void init(int p_thread_count = -1) { - ERR_FAIL_COND(threads != nullptr); - if (p_thread_count < 0) { - p_thread_count = OS::get_singleton()->get_processor_count(); - } - - thread_count = p_thread_count; - threads = new ThreadData[thread_count]; - - for (uint32_t i = 0; i < thread_count; i++) { - threads[i].exit.store(false); - threads[i].thread = std::thread(&ThreadWorkPool::_thread_function, &threads[i]); - } - } - - void finish() { - if (threads == nullptr) { - return; - } - - for (uint32_t i = 0; i < thread_count; i++) { - threads[i].exit.store(true); - threads[i].start.post(); - } - for (uint32_t i = 0; i < thread_count; i++) { - threads[i].thread.join(); - } - - delete[] (threads); - threads = nullptr; - } - ~ThreadWorkPool() { - finish(); - } -}; - -} // namespace godot - -#endif // GODOT_THREAD_WORK_POOL_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/vector.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/vector.hpp deleted file mode 100644 index aaa84f3..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/vector.hpp +++ /dev/null @@ -1,336 +0,0 @@ -/**************************************************************************/ -/* vector.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VECTOR_HPP -#define GODOT_VECTOR_HPP - -/** - * @class Vector - * Vector container. Regular Vector Container. Use with care and for smaller arrays when possible. Use Vector for large arrays. - */ - -#include -#include -#include -#include -#include - -#include -#include - -namespace godot { - -template -class VectorWriteProxy { -public: - _FORCE_INLINE_ T &operator[](typename CowData::Size p_index) { - CRASH_BAD_INDEX(p_index, ((Vector *)(this))->_cowdata.size()); - - return ((Vector *)(this))->_cowdata.ptrw()[p_index]; - } -}; - -template -class Vector { - friend class VectorWriteProxy; - -public: - VectorWriteProxy write; - typedef typename CowData::Size Size; - -private: - CowData _cowdata; - -public: - bool push_back(T p_elem); - _FORCE_INLINE_ bool append(const T &p_elem) { return push_back(p_elem); } //alias - void fill(T p_elem); - - void remove_at(Size p_index) { _cowdata.remove_at(p_index); } - _FORCE_INLINE_ bool erase(const T &p_val) { - Size idx = find(p_val); - if (idx >= 0) { - remove_at(idx); - return true; - } - return false; - } - - void reverse(); - - _FORCE_INLINE_ T *ptrw() { return _cowdata.ptrw(); } - _FORCE_INLINE_ const T *ptr() const { return _cowdata.ptr(); } - _FORCE_INLINE_ void clear() { resize(0); } - _FORCE_INLINE_ bool is_empty() const { return _cowdata.is_empty(); } - - _FORCE_INLINE_ T get(Size p_index) { return _cowdata.get(p_index); } - _FORCE_INLINE_ const T &get(Size p_index) const { return _cowdata.get(p_index); } - _FORCE_INLINE_ void set(Size p_index, const T &p_elem) { _cowdata.set(p_index, p_elem); } - _FORCE_INLINE_ Size size() const { return _cowdata.size(); } - Error resize(Size p_size) { return _cowdata.resize(p_size); } - Error resize_zeroed(Size p_size) { return _cowdata.template resize(p_size); } - _FORCE_INLINE_ const T &operator[](Size p_index) const { return _cowdata.get(p_index); } - Error insert(Size p_pos, T p_val) { return _cowdata.insert(p_pos, p_val); } - Size find(const T &p_val, Size p_from = 0) const { return _cowdata.find(p_val, p_from); } - Size rfind(const T &p_val, Size p_from = -1) const { return _cowdata.rfind(p_val, p_from); } - Size count(const T &p_val) const { return _cowdata.count(p_val); } - - void append_array(Vector p_other); - - _FORCE_INLINE_ bool has(const T &p_val) const { return find(p_val) != -1; } - - void sort() { - sort_custom<_DefaultComparator>(); - } - - template - void sort_custom(Args &&...args) { - Size len = _cowdata.size(); - if (len == 0) { - return; - } - - T *data = ptrw(); - SortArray sorter{ args... }; - sorter.sort(data, len); - } - - Size bsearch(const T &p_value, bool p_before) { - return bsearch_custom<_DefaultComparator>(p_value, p_before); - } - - template - Size bsearch_custom(const Value &p_value, bool p_before, Args &&...args) { - SearchArray search{ args... }; - return search.bisect(ptrw(), size(), p_value, p_before); - } - - Vector duplicate() { - return *this; - } - - void ordered_insert(const T &p_val) { - Size i; - for (i = 0; i < _cowdata.size(); i++) { - if (p_val < operator[](i)) { - break; - } - } - insert(i, p_val); - } - - inline void operator=(const Vector &p_from) { - _cowdata._ref(p_from._cowdata); - } - - Vector to_byte_array() const { - Vector ret; - if (is_empty()) { - return ret; - } - ret.resize(size() * sizeof(T)); - memcpy(ret.ptrw(), ptr(), sizeof(T) * size()); - return ret; - } - - Vector slice(Size p_begin, Size p_end = CowData::MAX_INT) const { - Vector result; - - const Size s = size(); - - Size begin = CLAMP(p_begin, -s, s); - if (begin < 0) { - begin += s; - } - Size end = CLAMP(p_end, -s, s); - if (end < 0) { - end += s; - } - - ERR_FAIL_COND_V(begin > end, result); - - Size result_size = end - begin; - result.resize(result_size); - - const T *const r = ptr(); - T *const w = result.ptrw(); - for (Size i = 0; i < result_size; ++i) { - w[i] = r[begin + i]; - } - - return result; - } - - bool operator==(const Vector &p_arr) const { - Size s = size(); - if (s != p_arr.size()) { - return false; - } - for (Size i = 0; i < s; i++) { - if (operator[](i) != p_arr[i]) { - return false; - } - } - return true; - } - - bool operator!=(const Vector &p_arr) const { - Size s = size(); - if (s != p_arr.size()) { - return true; - } - for (Size i = 0; i < s; i++) { - if (operator[](i) != p_arr[i]) { - return true; - } - } - return false; - } - - struct Iterator { - _FORCE_INLINE_ T &operator*() const { - return *elem_ptr; - } - _FORCE_INLINE_ T *operator->() const { return elem_ptr; } - _FORCE_INLINE_ Iterator &operator++() { - elem_ptr++; - return *this; - } - _FORCE_INLINE_ Iterator &operator--() { - elem_ptr--; - return *this; - } - - _FORCE_INLINE_ bool operator==(const Iterator &b) const { return elem_ptr == b.elem_ptr; } - _FORCE_INLINE_ bool operator!=(const Iterator &b) const { return elem_ptr != b.elem_ptr; } - - Iterator(T *p_ptr) { elem_ptr = p_ptr; } - Iterator() {} - Iterator(const Iterator &p_it) { elem_ptr = p_it.elem_ptr; } - - private: - T *elem_ptr = nullptr; - }; - - struct ConstIterator { - _FORCE_INLINE_ const T &operator*() const { - return *elem_ptr; - } - _FORCE_INLINE_ const T *operator->() const { return elem_ptr; } - _FORCE_INLINE_ ConstIterator &operator++() { - elem_ptr++; - return *this; - } - _FORCE_INLINE_ ConstIterator &operator--() { - elem_ptr--; - return *this; - } - - _FORCE_INLINE_ bool operator==(const ConstIterator &b) const { return elem_ptr == b.elem_ptr; } - _FORCE_INLINE_ bool operator!=(const ConstIterator &b) const { return elem_ptr != b.elem_ptr; } - - ConstIterator(const T *p_ptr) { elem_ptr = p_ptr; } - ConstIterator() {} - ConstIterator(const ConstIterator &p_it) { elem_ptr = p_it.elem_ptr; } - - private: - const T *elem_ptr = nullptr; - }; - - _FORCE_INLINE_ Iterator begin() { - return Iterator(ptrw()); - } - _FORCE_INLINE_ Iterator end() { - return Iterator(ptrw() + size()); - } - - _FORCE_INLINE_ ConstIterator begin() const { - return ConstIterator(ptr()); - } - _FORCE_INLINE_ ConstIterator end() const { - return ConstIterator(ptr() + size()); - } - - _FORCE_INLINE_ Vector() {} - _FORCE_INLINE_ Vector(std::initializer_list p_init) { - Error err = _cowdata.resize(p_init.size()); - ERR_FAIL_COND(err); - - Size i = 0; - for (const T &element : p_init) { - _cowdata.set(i++, element); - } - } - _FORCE_INLINE_ Vector(const Vector &p_from) { _cowdata._ref(p_from._cowdata); } - - _FORCE_INLINE_ ~Vector() {} -}; - -template -void Vector::reverse() { - for (Size i = 0; i < size() / 2; i++) { - T *p = ptrw(); - SWAP(p[i], p[size() - i - 1]); - } -} - -template -void Vector::append_array(Vector p_other) { - const Size ds = p_other.size(); - if (ds == 0) { - return; - } - const Size bs = size(); - resize(bs + ds); - for (Size i = 0; i < ds; ++i) { - ptrw()[bs + i] = p_other[i]; - } -} - -template -bool Vector::push_back(T p_elem) { - Error err = resize(size() + 1); - ERR_FAIL_COND_V(err, true); - set(size() - 1, p_elem); - - return false; -} - -template -void Vector::fill(T p_elem) { - T *p = ptrw(); - for (Size i = 0; i < size(); i++) { - p[i] = p_elem; - } -} - -} // namespace godot - -#endif // GODOT_VECTOR_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/vmap.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/vmap.hpp deleted file mode 100644 index 926ccd3..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/vmap.hpp +++ /dev/null @@ -1,204 +0,0 @@ -/**************************************************************************/ -/* vmap.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VMAP_HPP -#define GODOT_VMAP_HPP - -#include - -namespace godot { - -template -class VMap { -public: - struct Pair { - T key; - V value; - - _FORCE_INLINE_ Pair() {} - - _FORCE_INLINE_ Pair(const T &p_key, const V &p_value) { - key = p_key; - value = p_value; - } - }; - -private: - CowData _cowdata; - - _FORCE_INLINE_ int _find(const T &p_val, bool &r_exact) const { - r_exact = false; - if (_cowdata.is_empty()) { - return 0; - } - - int low = 0; - int high = _cowdata.size() - 1; - const Pair *a = _cowdata.ptr(); - int middle = 0; - -#ifdef DEBUG_ENABLED - if (low > high) { - ERR_PRINT("low > high, this may be a bug"); - } -#endif - while (low <= high) { - middle = (low + high) / 2; - - if (p_val < a[middle].key) { - high = middle - 1; // search low end of array - } else if (a[middle].key < p_val) { - low = middle + 1; // search high end of array - } else { - r_exact = true; - return middle; - } - } - - // return the position where this would be inserted - if (a[middle].key < p_val) { - middle++; - } - return middle; - } - - _FORCE_INLINE_ int _find_exact(const T &p_val) const { - if (_cowdata.is_empty()) { - return -1; - } - - int low = 0; - int high = _cowdata.size() - 1; - int middle; - const Pair *a = _cowdata.ptr(); - - while (low <= high) { - middle = (low + high) / 2; - - if (p_val < a[middle].key) { - high = middle - 1; // search low end of array - } else if (a[middle].key < p_val) { - low = middle + 1; // search high end of array - } else { - return middle; - } - } - - return -1; - } - -public: - int insert(const T &p_key, const V &p_val) { - bool exact; - int pos = _find(p_key, exact); - if (exact) { - _cowdata.get_m(pos).value = p_val; - return pos; - } - _cowdata.insert(pos, Pair(p_key, p_val)); - return pos; - } - - bool has(const T &p_val) const { - return _find_exact(p_val) != -1; - } - - void erase(const T &p_val) { - int pos = _find_exact(p_val); - if (pos < 0) { - return; - } - _cowdata.remove_at(pos); - } - - int find(const T &p_val) const { - return _find_exact(p_val); - } - - int find_nearest(const T &p_val) const { - bool exact; - return _find(p_val, exact); - } - - _FORCE_INLINE_ int size() const { return _cowdata.size(); } - _FORCE_INLINE_ bool is_empty() const { return _cowdata.is_empty(); } - - const Pair *get_array() const { - return _cowdata.ptr(); - } - - Pair *get_array() { - return _cowdata.ptrw(); - } - - const V &getv(int p_index) const { - return _cowdata.get(p_index).value; - } - - V &getv(int p_index) { - return _cowdata.get_m(p_index).value; - } - - const T &getk(int p_index) const { - return _cowdata.get(p_index).key; - } - - T &getk(int p_index) { - return _cowdata.get_m(p_index).key; - } - - inline const V &operator[](const T &p_key) const { - int pos = _find_exact(p_key); - - CRASH_COND(pos < 0); - - return _cowdata.get(pos).value; - } - - inline V &operator[](const T &p_key) { - int pos = _find_exact(p_key); - if (pos < 0) { - pos = insert(p_key, V()); - } - - return _cowdata.get_m(pos).value; - } - - _FORCE_INLINE_ VMap() {} - _FORCE_INLINE_ VMap(const VMap &p_from) { _cowdata._ref(p_from._cowdata); } - - inline void operator=(const VMap &p_from) { - _cowdata._ref(p_from._cowdata); - } -}; - -} // namespace godot - -#endif // GODOT_VMAP_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/templates/vset.hpp b/thirdparty/godot-cpp/include/godot_cpp/templates/vset.hpp deleted file mode 100644 index ce21ba8..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/templates/vset.hpp +++ /dev/null @@ -1,145 +0,0 @@ -/**************************************************************************/ -/* vset.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VSET_HPP -#define GODOT_VSET_HPP - -#include - -namespace godot { - -template -class VSet { - Vector _data; - - _FORCE_INLINE_ int _find(const T &p_val, bool &r_exact) const { - r_exact = false; - if (_data.is_empty()) { - return 0; - } - - int low = 0; - int high = _data.size() - 1; - const T *a = &_data[0]; - int middle = 0; - -#ifdef DEBUG_ENABLED - if (low > high) { - ERR_PRINT("low > high, this may be a bug"); - } -#endif - - while (low <= high) { - middle = (low + high) / 2; - - if (p_val < a[middle]) { - high = middle - 1; // search low end of array - } else if (a[middle] < p_val) { - low = middle + 1; // search high end of array - } else { - r_exact = true; - return middle; - } - } - - // return the position where this would be inserted - if (a[middle] < p_val) { - middle++; - } - return middle; - } - - _FORCE_INLINE_ int _find_exact(const T &p_val) const { - if (_data.is_empty()) { - return -1; - } - - int low = 0; - int high = _data.size() - 1; - int middle; - const T *a = &_data[0]; - - while (low <= high) { - middle = (low + high) / 2; - - if (p_val < a[middle]) { - high = middle - 1; // search low end of array - } else if (a[middle] < p_val) { - low = middle + 1; // search high end of array - } else { - return middle; - } - } - - return -1; - } - -public: - void insert(const T &p_val) { - bool exact; - int pos = _find(p_val, exact); - if (exact) { - return; - } - _data.insert(pos, p_val); - } - - bool has(const T &p_val) const { - return _find_exact(p_val) != -1; - } - - void erase(const T &p_val) { - int pos = _find_exact(p_val); - if (pos < 0) { - return; - } - _data.remove_at(pos); - } - - int find(const T &p_val) const { - return _find_exact(p_val); - } - - _FORCE_INLINE_ bool is_empty() const { return _data.is_empty(); } - - _FORCE_INLINE_ int size() const { return _data.size(); } - - inline T &operator[](int p_index) { - return _data.write[p_index]; - } - - inline const T &operator[](int p_index) const { - return _data[p_index]; - } -}; - -} // namespace godot - -#endif // GODOT_VSET_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/aabb.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/aabb.hpp deleted file mode 100644 index 7706d51..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/aabb.hpp +++ /dev/null @@ -1,494 +0,0 @@ -/**************************************************************************/ -/* aabb.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_AABB_HPP -#define GODOT_AABB_HPP - -#include -#include - -/** - * AABB (Axis Aligned Bounding Box) - * This is implemented by a point (position) and the box size. - */ - -namespace godot { - -class Variant; - -struct _NO_DISCARD_ AABB { - Vector3 position; - Vector3 size; - - real_t get_volume() const; - _FORCE_INLINE_ bool has_volume() const { - return size.x > 0.0f && size.y > 0.0f && size.z > 0.0f; - } - - _FORCE_INLINE_ bool has_surface() const { - return size.x > 0.0f || size.y > 0.0f || size.z > 0.0f; - } - - const Vector3 &get_position() const { return position; } - void set_position(const Vector3 &p_pos) { position = p_pos; } - const Vector3 &get_size() const { return size; } - 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 is_equal_approx(const AABB &p_aabb) const; - _FORCE_INLINE_ bool intersects(const AABB &p_aabb) const; /// Both AABBs overlap - _FORCE_INLINE_ bool intersects_inclusive(const AABB &p_aabb) const; /// Both AABBs (or their faces) overlap - _FORCE_INLINE_ 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; - _FORCE_INLINE_ bool smits_intersect_ray(const Vector3 &p_from, const Vector3 &p_dir, real_t t0, real_t t1) const; - - _FORCE_INLINE_ bool intersects_convex_shape(const Plane *p_planes, int p_plane_count, const Vector3 *p_points, int p_point_count) const; - _FORCE_INLINE_ bool inside_convex_shape(const Plane *p_planes, int p_plane_count) const; - bool intersects_plane(const Plane &p_plane) const; - - _FORCE_INLINE_ bool has_point(const Vector3 &p_point) const; - _FORCE_INLINE_ Vector3 get_support(const Vector3 &p_normal) const; - - Vector3 get_longest_axis() const; - int get_longest_axis_index() const; - _FORCE_INLINE_ real_t get_longest_axis_size() const; - - Vector3 get_shortest_axis() const; - int get_shortest_axis_index() const; - _FORCE_INLINE_ real_t get_shortest_axis_size() const; - - AABB grow(real_t p_by) const; - _FORCE_INLINE_ void grow_by(real_t p_amount); - - void get_edge(int p_edge, Vector3 &r_from, Vector3 &r_to) const; - _FORCE_INLINE_ Vector3 get_endpoint(int p_point) const; - - AABB expand(const Vector3 &p_vector) const; - _FORCE_INLINE_ void project_range_in_plane(const Plane &p_plane, real_t &r_min, real_t &r_max) const; - _FORCE_INLINE_ void expand_to(const Vector3 &p_vector); /** expand to contain a point if necessary */ - - _FORCE_INLINE_ AABB abs() const { - return AABB(Vector3(position.x + MIN(size.x, (real_t)0), position.y + MIN(size.y, (real_t)0), position.z + MIN(size.z, (real_t)0)), size.abs()); - } - - Variant intersects_segment_bind(const Vector3 &p_from, const Vector3 &p_to) const; - Variant intersects_ray_bind(const Vector3 &p_from, const Vector3 &p_dir) const; - - _FORCE_INLINE_ void quantize(real_t p_unit); - _FORCE_INLINE_ AABB quantized(real_t p_unit) const; - - _FORCE_INLINE_ void set_end(const Vector3 &p_end) { - size = p_end - position; - } - - _FORCE_INLINE_ Vector3 get_end() const { - return position + size; - } - - _FORCE_INLINE_ Vector3 get_center() const { - return position + (size * 0.5f); - } - - operator String() const; - - _FORCE_INLINE_ AABB() {} - inline AABB(const Vector3 &p_pos, const Vector3 &p_size) : - position(p_pos), - size(p_size) { - } -}; - -inline bool AABB::intersects(const AABB &p_aabb) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0 || p_aabb.size.x < 0 || p_aabb.size.y < 0 || p_aabb.size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - 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; -} - -inline bool AABB::intersects_inclusive(const AABB &p_aabb) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0 || p_aabb.size.x < 0 || p_aabb.size.y < 0 || p_aabb.size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - 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; -} - -inline bool AABB::encloses(const AABB &p_aabb) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0 || p_aabb.size.x < 0 || p_aabb.size.y < 0 || p_aabb.size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - 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.5f; - 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 *p_points, int p_point_count) const { - Vector3 half_extents = size * 0.5f; - 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; - } - } - - // Make sure all points in the shape aren't fully separated from the AABB on - // each axis. - int bad_point_counts_positive[3] = { 0 }; - int bad_point_counts_negative[3] = { 0 }; - - for (int k = 0; k < 3; k++) { - for (int i = 0; i < p_point_count; i++) { - if (p_points[i].coord[k] > ofs.coord[k] + half_extents.coord[k]) { - bad_point_counts_positive[k]++; - } - if (p_points[i].coord[k] < ofs.coord[k] - half_extents.coord[k]) { - bad_point_counts_negative[k]++; - } - } - - if (bad_point_counts_negative[k] == p_point_count) { - return false; - } - if (bad_point_counts_positive[k] == p_point_count) { - return false; - } - } - - return true; -} - -bool AABB::inside_convex_shape(const Plane *p_planes, int p_plane_count) const { - Vector3 half_extents = size * 0.5f; - 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 { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - 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; -} - -inline void AABB::expand_to(const Vector3 &p_vector) { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - 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.5f, size.y * 0.5f, size.z * 0.5f); - 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; -} - -inline 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; -} - -inline 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 &p_from, const Vector3 &p_dir, real_t t0, real_t t1) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - real_t divx = 1.0f / p_dir.x; - real_t divy = 1.0f / p_dir.y; - real_t divz = 1.0f / p_dir.z; - - Vector3 upbound = position + size; - real_t tmin, tmax, tymin, tymax, tzmin, tzmax; - if (p_dir.x >= 0) { - tmin = (position.x - p_from.x) * divx; - tmax = (upbound.x - p_from.x) * divx; - } else { - tmin = (upbound.x - p_from.x) * divx; - tmax = (position.x - p_from.x) * divx; - } - if (p_dir.y >= 0) { - tymin = (position.y - p_from.y) * divy; - tymax = (upbound.y - p_from.y) * divy; - } else { - tymin = (upbound.y - p_from.y) * divy; - tymax = (position.y - p_from.y) * divy; - } - if ((tmin > tymax) || (tymin > tmax)) { - return false; - } - if (tymin > tmin) { - tmin = tymin; - } - if (tymax < tmax) { - tmax = tymax; - } - if (p_dir.z >= 0) { - tzmin = (position.z - p_from.z) * divz; - tzmax = (upbound.z - p_from.z) * divz; - } else { - tzmin = (upbound.z - p_from.z) * divz; - tzmax = (position.z - p_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.0f * p_amount; - size.y += 2.0f * p_amount; - size.z += 2.0f * p_amount; -} - -void AABB::quantize(real_t p_unit) { - size += position; - - position.x -= Math::fposmodp(position.x, p_unit); - position.y -= Math::fposmodp(position.y, p_unit); - position.z -= Math::fposmodp(position.z, p_unit); - - size.x -= Math::fposmodp(size.x, p_unit); - size.y -= Math::fposmodp(size.y, p_unit); - size.z -= Math::fposmodp(size.z, p_unit); - - size.x += p_unit; - size.y += p_unit; - size.z += p_unit; - - size -= position; -} - -AABB AABB::quantized(real_t p_unit) const { - AABB ret = *this; - ret.quantize(p_unit); - return ret; -} - -} // namespace godot - -#endif // GODOT_AABB_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/array_helpers.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/array_helpers.hpp deleted file mode 100644 index d6d4368..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/array_helpers.hpp +++ /dev/null @@ -1,50 +0,0 @@ -/**************************************************************************/ -/* array_helpers.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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. */ -/**************************************************************************/ - -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; -} -} // namespace helpers -} // namespace godot diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/basis.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/basis.hpp deleted file mode 100644 index a365b02..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/basis.hpp +++ /dev/null @@ -1,318 +0,0 @@ -/**************************************************************************/ -/* basis.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_BASIS_HPP -#define GODOT_BASIS_HPP - -#include -#include -#include - -namespace godot { - -struct _NO_DISCARD_ Basis { - Vector3 rows[3] = { - Vector3(1, 0, 0), - Vector3(0, 1, 0), - Vector3(0, 0, 1) - }; - - _FORCE_INLINE_ const Vector3 &operator[](int axis) const { - return rows[axis]; - } - _FORCE_INLINE_ Vector3 &operator[](int axis) { - return rows[axis]; - } - - void invert(); - void transpose(); - - Basis inverse() const; - Basis transposed() const; - - _FORCE_INLINE_ real_t determinant() const; - - void from_z(const Vector3 &p_z); - - void rotate(const Vector3 &p_axis, real_t p_angle); - Basis rotated(const Vector3 &p_axis, real_t p_angle) const; - - void rotate_local(const Vector3 &p_axis, real_t p_angle); - Basis rotated_local(const Vector3 &p_axis, real_t p_angle) const; - - void rotate(const Vector3 &p_euler, EulerOrder p_order = EULER_ORDER_YXZ); - Basis rotated(const Vector3 &p_euler, EulerOrder p_order = EULER_ORDER_YXZ) const; - - void rotate(const Quaternion &p_quaternion); - Basis rotated(const Quaternion &p_quaternion) const; - - Vector3 get_euler_normalized(EulerOrder p_order = EULER_ORDER_YXZ) const; - void get_rotation_axis_angle(Vector3 &p_axis, real_t &p_angle) const; - void get_rotation_axis_angle_local(Vector3 &p_axis, real_t &p_angle) const; - Quaternion get_rotation_quaternion() const; - - void rotate_to_align(Vector3 p_start_direction, Vector3 p_end_direction); - - Vector3 rotref_posscale_decomposition(Basis &rotref) const; - - Vector3 get_euler(EulerOrder p_order = EULER_ORDER_YXZ) const; - void set_euler(const Vector3 &p_euler, EulerOrder p_order = EULER_ORDER_YXZ); - static Basis from_euler(const Vector3 &p_euler, EulerOrder p_order = EULER_ORDER_YXZ) { - Basis b; - b.set_euler(p_euler, p_order); - return b; - } - - Quaternion get_quaternion() const; - void set_quaternion(const Quaternion &p_quaternion); - - void get_axis_angle(Vector3 &r_axis, real_t &r_angle) const; - void set_axis_angle(const Vector3 &p_axis, real_t p_angle); - - void scale(const Vector3 &p_scale); - Basis scaled(const Vector3 &p_scale) const; - - void scale_local(const Vector3 &p_scale); - Basis scaled_local(const Vector3 &p_scale) const; - - void scale_orthogonal(const Vector3 &p_scale); - Basis scaled_orthogonal(const Vector3 &p_scale) const; - - void make_scale_uniform(); - float get_uniform_scale() const; - - Vector3 get_scale() const; - Vector3 get_scale_abs() const; - Vector3 get_scale_local() const; - - void set_axis_angle_scale(const Vector3 &p_axis, real_t p_angle, const Vector3 &p_scale); - void set_euler_scale(const Vector3 &p_euler, const Vector3 &p_scale, EulerOrder p_order = EULER_ORDER_YXZ); - void set_quaternion_scale(const Quaternion &p_quaternion, const Vector3 &p_scale); - - // transposed dot products - _FORCE_INLINE_ real_t tdotx(const Vector3 &v) const { - return rows[0][0] * v[0] + rows[1][0] * v[1] + rows[2][0] * v[2]; - } - _FORCE_INLINE_ real_t tdoty(const Vector3 &v) const { - return rows[0][1] * v[0] + rows[1][1] * v[1] + rows[2][1] * v[2]; - } - _FORCE_INLINE_ real_t tdotz(const Vector3 &v) const { - return rows[0][2] * v[0] + rows[1][2] * v[1] + rows[2][2] * v[2]; - } - - bool is_equal_approx(const Basis &p_basis) const; - - bool operator==(const Basis &p_matrix) const; - bool operator!=(const Basis &p_matrix) const; - - _FORCE_INLINE_ Vector3 xform(const Vector3 &p_vector) const; - _FORCE_INLINE_ Vector3 xform_inv(const Vector3 &p_vector) const; - _FORCE_INLINE_ void operator*=(const Basis &p_matrix); - _FORCE_INLINE_ Basis operator*(const Basis &p_matrix) const; - _FORCE_INLINE_ void operator+=(const Basis &p_matrix); - _FORCE_INLINE_ Basis operator+(const Basis &p_matrix) const; - _FORCE_INLINE_ void operator-=(const Basis &p_matrix); - _FORCE_INLINE_ Basis operator-(const Basis &p_matrix) const; - _FORCE_INLINE_ void operator*=(const real_t p_val); - _FORCE_INLINE_ Basis operator*(const real_t p_val) const; - - bool is_orthogonal() const; - bool is_diagonal() const; - bool is_rotation() const; - - Basis lerp(const Basis &p_to, const real_t &p_weight) const; - Basis slerp(const Basis &p_to, const real_t &p_weight) const; - void rotate_sh(real_t *p_values); - - operator String() const; - - /* create / set */ - - _FORCE_INLINE_ 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) { - rows[0][0] = xx; - rows[0][1] = xy; - rows[0][2] = xz; - rows[1][0] = yx; - rows[1][1] = yy; - rows[1][2] = yz; - rows[2][0] = zx; - rows[2][1] = zy; - rows[2][2] = zz; - } - _FORCE_INLINE_ void set_columns(const Vector3 &p_x, const Vector3 &p_y, const Vector3 &p_z) { - set_column(0, p_x); - set_column(1, p_y); - set_column(2, p_z); - } - - _FORCE_INLINE_ Vector3 get_column(int p_index) const { - // Get actual basis axis column (we store transposed as rows for performance). - return Vector3(rows[0][p_index], rows[1][p_index], rows[2][p_index]); - } - - _FORCE_INLINE_ void set_column(int p_index, const Vector3 &p_value) { - // Set actual basis axis column (we store transposed as rows for performance). - rows[0][p_index] = p_value.x; - rows[1][p_index] = p_value.y; - rows[2][p_index] = p_value.z; - } - - _FORCE_INLINE_ Vector3 get_main_diagonal() const { - return Vector3(rows[0][0], rows[1][1], rows[2][2]); - } - - _FORCE_INLINE_ void set_zero() { - rows[0].zero(); - rows[1].zero(); - rows[2].zero(); - } - - _FORCE_INLINE_ Basis transpose_xform(const Basis &m) const { - return Basis( - rows[0].x * m[0].x + rows[1].x * m[1].x + rows[2].x * m[2].x, - rows[0].x * m[0].y + rows[1].x * m[1].y + rows[2].x * m[2].y, - rows[0].x * m[0].z + rows[1].x * m[1].z + rows[2].x * m[2].z, - rows[0].y * m[0].x + rows[1].y * m[1].x + rows[2].y * m[2].x, - rows[0].y * m[0].y + rows[1].y * m[1].y + rows[2].y * m[2].y, - rows[0].y * m[0].z + rows[1].y * m[1].z + rows[2].y * m[2].z, - rows[0].z * m[0].x + rows[1].z * m[1].x + rows[2].z * m[2].x, - rows[0].z * m[0].y + rows[1].z * m[1].y + rows[2].z * m[2].y, - rows[0].z * m[0].z + rows[1].z * m[1].z + rows[2].z * m[2].z); - } - 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); - } - - void orthonormalize(); - Basis orthonormalized() const; - - void orthogonalize(); - Basis orthogonalized() const; - -#ifdef MATH_CHECKS - bool is_symmetric() const; -#endif - Basis diagonalize(); - - operator Quaternion() const { return get_quaternion(); } - - static Basis looking_at(const Vector3 &p_target, const Vector3 &p_up = Vector3(0, 1, 0)); - - Basis(const Quaternion &p_quaternion) { set_quaternion(p_quaternion); } - Basis(const Quaternion &p_quaternion, const Vector3 &p_scale) { set_quaternion_scale(p_quaternion, p_scale); } - - Basis(const Vector3 &p_axis, real_t p_angle) { set_axis_angle(p_axis, p_angle); } - Basis(const Vector3 &p_axis, real_t p_angle, const Vector3 &p_scale) { set_axis_angle_scale(p_axis, p_angle, p_scale); } - static Basis from_scale(const Vector3 &p_scale); - - _FORCE_INLINE_ Basis(const Vector3 &p_x_axis, const Vector3 &p_y_axis, const Vector3 &p_z_axis) { - set_columns(p_x_axis, p_y_axis, p_z_axis); - } - - _FORCE_INLINE_ Basis() {} - -private: - // Helper method. - void _set_diagonal(const Vector3 &p_diag); -}; - -_FORCE_INLINE_ void Basis::operator*=(const Basis &p_matrix) { - set( - p_matrix.tdotx(rows[0]), p_matrix.tdoty(rows[0]), p_matrix.tdotz(rows[0]), - p_matrix.tdotx(rows[1]), p_matrix.tdoty(rows[1]), p_matrix.tdotz(rows[1]), - p_matrix.tdotx(rows[2]), p_matrix.tdoty(rows[2]), p_matrix.tdotz(rows[2])); -} - -_FORCE_INLINE_ Basis Basis::operator*(const Basis &p_matrix) const { - return Basis( - p_matrix.tdotx(rows[0]), p_matrix.tdoty(rows[0]), p_matrix.tdotz(rows[0]), - p_matrix.tdotx(rows[1]), p_matrix.tdoty(rows[1]), p_matrix.tdotz(rows[1]), - p_matrix.tdotx(rows[2]), p_matrix.tdoty(rows[2]), p_matrix.tdotz(rows[2])); -} - -_FORCE_INLINE_ void Basis::operator+=(const Basis &p_matrix) { - rows[0] += p_matrix.rows[0]; - rows[1] += p_matrix.rows[1]; - rows[2] += p_matrix.rows[2]; -} - -_FORCE_INLINE_ Basis Basis::operator+(const Basis &p_matrix) const { - Basis ret(*this); - ret += p_matrix; - return ret; -} - -_FORCE_INLINE_ void Basis::operator-=(const Basis &p_matrix) { - rows[0] -= p_matrix.rows[0]; - rows[1] -= p_matrix.rows[1]; - rows[2] -= p_matrix.rows[2]; -} - -_FORCE_INLINE_ Basis Basis::operator-(const Basis &p_matrix) const { - Basis ret(*this); - ret -= p_matrix; - return ret; -} - -_FORCE_INLINE_ void Basis::operator*=(const real_t p_val) { - rows[0] *= p_val; - rows[1] *= p_val; - rows[2] *= p_val; -} - -_FORCE_INLINE_ Basis Basis::operator*(const real_t p_val) const { - Basis ret(*this); - ret *= p_val; - return ret; -} - -Vector3 Basis::xform(const Vector3 &p_vector) const { - return Vector3( - rows[0].dot(p_vector), - rows[1].dot(p_vector), - rows[2].dot(p_vector)); -} - -Vector3 Basis::xform_inv(const Vector3 &p_vector) const { - return Vector3( - (rows[0][0] * p_vector.x) + (rows[1][0] * p_vector.y) + (rows[2][0] * p_vector.z), - (rows[0][1] * p_vector.x) + (rows[1][1] * p_vector.y) + (rows[2][1] * p_vector.z), - (rows[0][2] * p_vector.x) + (rows[1][2] * p_vector.y) + (rows[2][2] * p_vector.z)); -} - -real_t Basis::determinant() const { - return rows[0][0] * (rows[1][1] * rows[2][2] - rows[2][1] * rows[1][2]) - - rows[1][0] * (rows[0][1] * rows[2][2] - rows[2][1] * rows[0][2]) + - rows[2][0] * (rows[0][1] * rows[1][2] - rows[1][1] * rows[0][2]); -} - -} // namespace godot - -#endif // GODOT_BASIS_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/callable_custom.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/callable_custom.hpp deleted file mode 100644 index 48a8142..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/callable_custom.hpp +++ /dev/null @@ -1,65 +0,0 @@ -/**************************************************************************/ -/* callable_custom.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_CALLABLE_CUSTOM_HPP -#define GODOT_CALLABLE_CUSTOM_HPP - -#include -#include - -namespace godot { - -class Object; - -class CallableCustomBase { -public: - virtual ObjectID get_object() const = 0; - virtual int get_argument_count(bool &r_is_valid) const; - virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const = 0; - virtual ~CallableCustomBase() {} -}; - -class CallableCustom : public CallableCustomBase { -public: - typedef bool (*CompareEqualFunc)(const CallableCustom *p_a, const CallableCustom *p_b); - typedef bool (*CompareLessFunc)(const CallableCustom *p_a, const CallableCustom *p_b); - - virtual uint32_t hash() const = 0; - virtual String get_as_text() const = 0; - virtual CompareEqualFunc get_compare_equal_func() const = 0; - virtual CompareLessFunc get_compare_less_func() const = 0; - virtual bool is_valid() const; - virtual ObjectID get_object() const = 0; - virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const = 0; -}; - -} // namespace godot - -#endif // GODOT_CALLABLE_CUSTOM_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/callable_method_pointer.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/callable_method_pointer.hpp deleted file mode 100644 index f3d688b..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/callable_method_pointer.hpp +++ /dev/null @@ -1,273 +0,0 @@ -/**************************************************************************/ -/* callable_method_pointer.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_CALLABLE_METHOD_POINTER_HPP -#define GODOT_CALLABLE_METHOD_POINTER_HPP - -#include -#include - -namespace godot { - -class CallableCustomMethodPointerBase : public CallableCustomBase { - uint32_t *comp_ptr = nullptr; - uint32_t comp_size; - uint32_t h; - -protected: - void _setup(uint32_t *p_base_ptr, uint32_t p_ptr_size); - -public: - _FORCE_INLINE_ const uint32_t *get_comp_ptr() const { return comp_ptr; } - _FORCE_INLINE_ uint32_t get_comp_size() const { return comp_size; } - _FORCE_INLINE_ uint32_t get_hash() const { return h; } -}; - -namespace internal { - -Callable create_callable_from_ccmp(CallableCustomMethodPointerBase *p_callable_method_pointer); - -} // namespace internal - -// -// No return value. -// - -template -class CallableCustomMethodPointer : public CallableCustomMethodPointerBase { - struct Data { - T *instance; - void (T::*method)(P...); - } data; - static_assert(sizeof(Data) % 4 == 0); - -public: - virtual ObjectID get_object() const override { - return ObjectID(data.instance->get_instance_id()); - } - - virtual int get_argument_count(bool &r_is_valid) const override { - r_is_valid = true; - return sizeof...(P); - } - - virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const override { - call_with_variant_args(data.instance, data.method, p_arguments, p_argcount, r_call_error); - } - - CallableCustomMethodPointer(T *p_instance, void (T::*p_method)(P...)) { - memset(&data, 0, sizeof(Data)); - data.instance = p_instance; - data.method = p_method; - _setup((uint32_t *)&data, sizeof(Data)); - } -}; - -template -Callable create_custom_callable_function_pointer(T *p_instance, void (T::*p_method)(P...)) { - typedef CallableCustomMethodPointer CCMP; - CCMP *ccmp = memnew(CCMP(p_instance, p_method)); - return ::godot::internal::create_callable_from_ccmp(ccmp); -} - -// -// With return value. -// - -template -class CallableCustomMethodPointerRet : public CallableCustomMethodPointerBase { - struct Data { - T *instance; - R(T::*method) - (P...); - } data; - static_assert(sizeof(Data) % 4 == 0); - -public: - virtual ObjectID get_object() const override { - return ObjectID(data.instance->get_instance_id()); - } - - virtual int get_argument_count(bool &r_is_valid) const override { - r_is_valid = true; - return sizeof...(P); - } - - virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const override { - call_with_variant_args_ret(data.instance, data.method, p_arguments, p_argcount, r_return_value, r_call_error); - } - - CallableCustomMethodPointerRet(T *p_instance, R (T::*p_method)(P...)) { - memset(&data, 0, sizeof(Data)); - data.instance = p_instance; - data.method = p_method; - _setup((uint32_t *)&data, sizeof(Data)); - } -}; - -template -Callable create_custom_callable_function_pointer(T *p_instance, R (T::*p_method)(P...)) { - typedef CallableCustomMethodPointerRet CCMP; // Messes with memnew otherwise. - CCMP *ccmp = memnew(CCMP(p_instance, p_method)); - return ::godot::internal::create_callable_from_ccmp(ccmp); -} - -// -// Const with return value. -// - -template -class CallableCustomMethodPointerRetC : public CallableCustomMethodPointerBase { - struct Data { - T *instance; - R(T::*method) - (P...) const; - } data; - static_assert(sizeof(Data) % 4 == 0); - -public: - virtual ObjectID get_object() const override { - return ObjectID(data.instance->get_instance_id()); - } - - virtual int get_argument_count(bool &r_is_valid) const override { - r_is_valid = true; - return sizeof...(P); - } - - virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const override { - call_with_variant_args_retc(data.instance, data.method, p_arguments, p_argcount, r_return_value, r_call_error); - } - - CallableCustomMethodPointerRetC(const T *p_instance, R (T::*p_method)(P...) const) { - memset(&data, 0, sizeof(Data)); - data.instance = const_cast(p_instance); - data.method = p_method; - _setup((uint32_t *)&data, sizeof(Data)); - } -}; - -template -Callable create_custom_callable_function_pointer(const T *p_instance, R (T::*p_method)(P...) const) { - typedef CallableCustomMethodPointerRetC CCMP; // Messes with memnew otherwise. - CCMP *ccmp = memnew(CCMP(p_instance, p_method)); - return ::godot::internal::create_callable_from_ccmp(ccmp); -} - -// -// Static method with no return value. -// - -template -class CallableCustomStaticMethodPointer : public CallableCustomMethodPointerBase { - struct Data { - void (*method)(P...); - } data; - static_assert(sizeof(Data) % 4 == 0); - -public: - virtual ObjectID get_object() const override { - return ObjectID(); - } - - virtual int get_argument_count(bool &r_is_valid) const override { - r_is_valid = true; - return sizeof...(P); - } - - virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const override { - call_with_variant_args_static_ret(data.method, p_arguments, p_argcount, r_return_value, r_call_error); - r_return_value = Variant(); - } - - CallableCustomStaticMethodPointer(void (*p_method)(P...)) { - memset(&data, 0, sizeof(Data)); - data.method = p_method; - _setup((uint32_t *)&data, sizeof(Data)); - } -}; - -template -Callable create_custom_callable_static_function_pointer(void (*p_method)(P...)) { - typedef CallableCustomStaticMethodPointer CCMP; - CCMP *ccmp = memnew(CCMP(p_method)); - return ::godot::internal::create_callable_from_ccmp(ccmp); -} - -// -// Static method with return value. -// - -template -class CallableCustomStaticMethodPointerRet : public CallableCustomMethodPointerBase { - struct Data { - R(*method) - (P...); - } data; - static_assert(sizeof(Data) % 4 == 0); - -public: - virtual ObjectID get_object() const override { - return ObjectID(); - } - - virtual int get_argument_count(bool &r_is_valid) const override { - r_is_valid = true; - return sizeof...(P); - } - - virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const override { - call_with_variant_args_static_ret(data.method, p_arguments, p_argcount, r_return_value, r_call_error); - } - - CallableCustomStaticMethodPointerRet(R (*p_method)(P...)) { - memset(&data, 0, sizeof(Data)); - data.method = p_method; - _setup((uint32_t *)&data, sizeof(Data)); - } -}; - -template -Callable create_custom_callable_static_function_pointer(R (*p_method)(P...)) { - typedef CallableCustomStaticMethodPointerRet CCMP; - CCMP *ccmp = memnew(CCMP(p_method)); - return ::godot::internal::create_callable_from_ccmp(ccmp); -} - -// -// The API: -// - -#define callable_mp(I, M) ::godot::create_custom_callable_function_pointer(I, M) -#define callable_mp_static(M) ::godot::create_custom_callable_static_function_pointer(M) - -} // namespace godot - -#endif // GODOT_CALLABLE_METHOD_POINTER_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/char_string.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/char_string.hpp deleted file mode 100644 index 991c039..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/char_string.hpp +++ /dev/null @@ -1,142 +0,0 @@ -/**************************************************************************/ -/* char_string.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_CHAR_STRING_HPP -#define GODOT_CHAR_STRING_HPP - -#include - -#include -#include - -namespace godot { - -template -class CharStringT; - -template -class CharProxy { - template - friend class CharStringT; - - const int64_t _index; - CowData &_cowdata; - static inline const T _null = 0; - - _FORCE_INLINE_ CharProxy(const int64_t &p_index, CowData &p_cowdata) : - _index(p_index), - _cowdata(p_cowdata) {} - -public: - _FORCE_INLINE_ CharProxy(const CharProxy &p_other) : - _index(p_other._index), - _cowdata(p_other._cowdata) {} - - _FORCE_INLINE_ operator T() const { - if (unlikely(_index == _cowdata.size())) { - return _null; - } - - return _cowdata.get(_index); - } - - _FORCE_INLINE_ const T *operator&() const { - return _cowdata.ptr() + _index; - } - - _FORCE_INLINE_ void operator=(const T &p_other) const { - _cowdata.set(_index, p_other); - } - - _FORCE_INLINE_ void operator=(const CharProxy &p_other) const { - _cowdata.set(_index, p_other.operator T()); - } -}; - -template -class CharStringT { - friend class String; - - CowData _cowdata; - static inline const T _null = 0; - -public: - _FORCE_INLINE_ T *ptrw() { return _cowdata.ptrw(); } - _FORCE_INLINE_ const T *ptr() const { return _cowdata.ptr(); } - _FORCE_INLINE_ int64_t size() const { return _cowdata.size(); } - Error resize(int64_t p_size) { return _cowdata.resize(p_size); } - - _FORCE_INLINE_ T get(int64_t p_index) const { return _cowdata.get(p_index); } - _FORCE_INLINE_ void set(int64_t p_index, const T &p_elem) { _cowdata.set(p_index, p_elem); } - _FORCE_INLINE_ const T &operator[](int64_t p_index) const { - if (unlikely(p_index == _cowdata.size())) { - return _null; - } - - return _cowdata.get(p_index); - } - _FORCE_INLINE_ CharProxy operator[](int64_t p_index) { return CharProxy(p_index, _cowdata); } - - _FORCE_INLINE_ CharStringT() {} - _FORCE_INLINE_ CharStringT(const CharStringT &p_str) { _cowdata._ref(p_str._cowdata); } - _FORCE_INLINE_ void operator=(const CharStringT &p_str) { _cowdata._ref(p_str._cowdata); } - _FORCE_INLINE_ CharStringT(const T *p_cstr) { copy_from(p_cstr); } - - void operator=(const T *p_cstr); - bool operator<(const CharStringT &p_right) const; - CharStringT &operator+=(T p_char); - int64_t length() const { return size() ? size() - 1 : 0; } - const T *get_data() const; - operator const T *() const { return get_data(); }; - -protected: - void copy_from(const T *p_cstr); -}; - -template <> -const char *CharStringT::get_data() const; - -template <> -const char16_t *CharStringT::get_data() const; - -template <> -const char32_t *CharStringT::get_data() const; - -template <> -const wchar_t *CharStringT::get_data() const; - -typedef CharStringT CharString; -typedef CharStringT Char16String; -typedef CharStringT Char32String; -typedef CharStringT CharWideString; - -} // namespace godot - -#endif // GODOT_CHAR_STRING_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/char_utils.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/char_utils.hpp deleted file mode 100644 index 066f794..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/char_utils.hpp +++ /dev/null @@ -1,90 +0,0 @@ -/**************************************************************************/ -/* char_utils.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_CHAR_UTILS_HPP -#define GODOT_CHAR_UTILS_HPP - -static _FORCE_INLINE_ bool is_ascii_upper_case(char32_t c) { - return (c >= 'A' && c <= 'Z'); -} - -static _FORCE_INLINE_ bool is_ascii_lower_case(char32_t c) { - return (c >= 'a' && c <= 'z'); -} - -static _FORCE_INLINE_ bool is_digit(char32_t c) { - return (c >= '0' && c <= '9'); -} - -static _FORCE_INLINE_ bool is_hex_digit(char32_t c) { - return (is_digit(c) || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F')); -} - -static _FORCE_INLINE_ bool is_binary_digit(char32_t c) { - return (c == '0' || c == '1'); -} - -static _FORCE_INLINE_ bool is_ascii_char(char32_t c) { - return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'); -} - -static _FORCE_INLINE_ bool is_ascii_alphanumeric_char(char32_t c) { - return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9'); -} - -static _FORCE_INLINE_ bool is_ascii_identifier_char(char32_t c) { - return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') || c == '_'; -} - -static _FORCE_INLINE_ bool is_symbol(char32_t c) { - return c != '_' && ((c >= '!' && c <= '/') || (c >= ':' && c <= '@') || (c >= '[' && c <= '`') || (c >= '{' && c <= '~') || c == '\t' || c == ' '); -} - -static _FORCE_INLINE_ bool is_control(char32_t p_char) { - return (p_char <= 0x001f) || (p_char >= 0x007f && p_char <= 0x009f); -} - -static _FORCE_INLINE_ bool is_whitespace(char32_t p_char) { - return (p_char == ' ') || (p_char == 0x00a0) || (p_char == 0x1680) || (p_char >= 0x2000 && p_char <= 0x200a) || (p_char == 0x202f) || (p_char == 0x205f) || (p_char == 0x3000) || (p_char == 0x2028) || (p_char == 0x2029) || (p_char >= 0x0009 && p_char <= 0x000d) || (p_char == 0x0085); -} - -static _FORCE_INLINE_ bool is_linebreak(char32_t p_char) { - return (p_char >= 0x000a && p_char <= 0x000d) || (p_char == 0x0085) || (p_char == 0x2028) || (p_char == 0x2029); -} - -static _FORCE_INLINE_ bool is_punct(char32_t p_char) { - return (p_char >= ' ' && p_char <= '/') || (p_char >= ':' && p_char <= '@') || (p_char >= '[' && p_char <= '^') || (p_char == '`') || (p_char >= '{' && p_char <= '~') || (p_char >= 0x2000 && p_char <= 0x206f) || (p_char >= 0x3000 && p_char <= 0x303f); -} - -static _FORCE_INLINE_ bool is_underscore(char32_t p_char) { - return (p_char == '_'); -} - -#endif // GODOT_CHAR_UTILS_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/color.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/color.hpp deleted file mode 100644 index 0e837bc..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/color.hpp +++ /dev/null @@ -1,289 +0,0 @@ -/**************************************************************************/ -/* color.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_COLOR_HPP -#define GODOT_COLOR_HPP - -#include - -namespace godot { - -class String; - -struct _NO_DISCARD_ Color { - union { - struct { - float r; - float g; - float b; - float a; - }; - float components[4] = { 0, 0, 0, 1.0 }; - }; - - uint32_t to_rgba32() const; - uint32_t to_argb32() const; - uint32_t to_abgr32() const; - uint64_t to_rgba64() const; - uint64_t to_argb64() const; - uint64_t to_abgr64() const; - String to_html(bool p_alpha = true) 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.0f); - - _FORCE_INLINE_ float &operator[](int p_idx) { - return components[p_idx]; - } - _FORCE_INLINE_ const float &operator[](int p_idx) const { - return components[p_idx]; - } - - bool operator==(const Color &p_color) const { - return (r == p_color.r && g == p_color.g && b == p_color.b && a == p_color.a); - } - bool operator!=(const Color &p_color) const { - return (r != p_color.r || g != p_color.g || b != p_color.b || a != p_color.a); - } - - 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*(float p_scalar) const; - void operator*=(const Color &p_color); - void operator*=(float p_scalar); - - Color operator/(const Color &p_color) const; - Color operator/(float p_scalar) const; - void operator/=(const Color &p_color); - void operator/=(float p_scalar); - - bool is_equal_approx(const Color &p_color) const; - - Color clamp(const Color &p_min = Color(0, 0, 0, 0), const Color &p_max = Color(1, 1, 1, 1)) const; - void invert(); - Color inverted() const; - - _FORCE_INLINE_ float get_luminance() const { - return 0.2126f * r + 0.7152f * g + 0.0722f * b; - } - - _FORCE_INLINE_ Color lerp(const Color &p_to, float p_weight) const { - Color res = *this; - - res.r += (p_weight * (p_to.r - r)); - res.g += (p_weight * (p_to.g - g)); - res.b += (p_weight * (p_to.b - b)); - res.a += (p_weight * (p_to.a - a)); - - return res; - } - - _FORCE_INLINE_ Color darkened(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; - } - - _FORCE_INLINE_ Color lightened(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; - } - - _FORCE_INLINE_ uint32_t to_rgbe9995() const { - const float pow2to9 = 512.0f; - const float B = 15.0f; - const float N = 9.0f; - - float sharedexp = 65408.000f; // Result of: ((pow2to9 - 1.0f) / pow2to9) * powf(2.0f, 31.0f - 15.0f) - - float cRed = MAX(0.0f, MIN(sharedexp, r)); - float cGreen = MAX(0.0f, MIN(sharedexp, g)); - float cBlue = MAX(0.0f, MIN(sharedexp, b)); - - float cMax = MAX(cRed, MAX(cGreen, cBlue)); - - float expp = MAX(-B - 1.0f, floor(Math::log(cMax) / (real_t)Math_LN2)) + 1.0f + B; - - float sMax = (float)floor((cMax / Math::pow(2.0f, expp - B - N)) + 0.5f); - - float exps = expp + 1.0f; - - if (0.0f <= sMax && sMax < pow2to9) { - exps = expp; - } - - float sRed = Math::floor((cRed / pow(2.0f, exps - B - N)) + 0.5f); - float sGreen = Math::floor((cGreen / pow(2.0f, exps - B - N)) + 0.5f); - float sBlue = Math::floor((cBlue / pow(2.0f, exps - B - N)) + 0.5f); - - return (uint32_t(Math::fast_ftoi(sRed)) & 0x1FF) | ((uint32_t(Math::fast_ftoi(sGreen)) & 0x1FF) << 9) | ((uint32_t(Math::fast_ftoi(sBlue)) & 0x1FF) << 18) | ((uint32_t(Math::fast_ftoi(exps)) & 0x1F) << 27); - } - - _FORCE_INLINE_ Color blend(const Color &p_over) const { - Color res; - float sa = 1.0f - 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; - } - - _FORCE_INLINE_ Color srgb_to_linear() const { - return Color( - r < 0.04045f ? r * (1.0f / 12.92f) : Math::pow((r + 0.055f) * (float)(1.0 / (1.0 + 0.055)), 2.4f), - g < 0.04045f ? g * (1.0f / 12.92f) : Math::pow((g + 0.055f) * (float)(1.0 / (1.0 + 0.055)), 2.4f), - b < 0.04045f ? b * (1.0f / 12.92f) : Math::pow((b + 0.055f) * (float)(1.0 / (1.0 + 0.055)), 2.4f), - a); - } - _FORCE_INLINE_ Color linear_to_srgb() const { - return Color( - r < 0.0031308f ? 12.92f * r : (1.0f + 0.055f) * Math::pow(r, 1.0f / 2.4f) - 0.055f, - g < 0.0031308f ? 12.92f * g : (1.0f + 0.055f) * Math::pow(g, 1.0f / 2.4f) - 0.055f, - b < 0.0031308f ? 12.92f * b : (1.0f + 0.055f) * Math::pow(b, 1.0f / 2.4f) - 0.055f, a); - } - - static Color hex(uint32_t p_hex); - static Color hex64(uint64_t p_hex); - static Color html(const String &p_rgba); - static bool html_is_valid(const String &p_color); - static Color named(const String &p_name); - static Color named(const String &p_name, const Color &p_default); - static int find_named_color(const String &p_name); - static int get_named_color_count(); - static String get_named_color_name(int p_idx); - static Color get_named_color(int p_idx); - static Color from_string(const String &p_string, const Color &p_default); - static Color from_hsv(float p_h, float p_s, float p_v, float p_alpha = 1.0f); - static Color from_rgbe9995(uint32_t p_rgbe); - - _FORCE_INLINE_ bool operator<(const Color &p_color) const; // Used in set keys. - operator String() const; - - // For the binder. - _FORCE_INLINE_ void set_r8(int32_t r8) { r = (CLAMP(r8, 0, 255) / 255.0f); } - _FORCE_INLINE_ int32_t get_r8() const { return int32_t(CLAMP(Math::round(r * 255.0f), 0.0f, 255.0f)); } - _FORCE_INLINE_ void set_g8(int32_t g8) { g = (CLAMP(g8, 0, 255) / 255.0f); } - _FORCE_INLINE_ int32_t get_g8() const { return int32_t(CLAMP(Math::round(g * 255.0f), 0.0f, 255.0f)); } - _FORCE_INLINE_ void set_b8(int32_t b8) { b = (CLAMP(b8, 0, 255) / 255.0f); } - _FORCE_INLINE_ int32_t get_b8() const { return int32_t(CLAMP(Math::round(b * 255.0f), 0.0f, 255.0f)); } - _FORCE_INLINE_ void set_a8(int32_t a8) { a = (CLAMP(a8, 0, 255) / 255.0f); } - _FORCE_INLINE_ int32_t get_a8() const { return int32_t(CLAMP(Math::round(a * 255.0f), 0.0f, 255.0f)); } - - _FORCE_INLINE_ void set_h(float p_h) { set_hsv(p_h, get_s(), get_v(), a); } - _FORCE_INLINE_ void set_s(float p_s) { set_hsv(get_h(), p_s, get_v(), a); } - _FORCE_INLINE_ void set_v(float p_v) { set_hsv(get_h(), get_s(), p_v, a); } - - _FORCE_INLINE_ Color() {} - - /** - * RGBA construct parameters. - * Alpha is not optional as otherwise we can't bind the RGB version for scripting. - */ - _FORCE_INLINE_ Color(float p_r, float p_g, float p_b, float p_a) { - r = p_r; - g = p_g; - b = p_b; - a = p_a; - } - - /** - * RGB construct parameters. - */ - _FORCE_INLINE_ Color(float p_r, float p_g, float p_b) { - r = p_r; - g = p_g; - b = p_b; - a = 1.0f; - } - - /** - * Construct a Color from another Color, but with the specified alpha value. - */ - _FORCE_INLINE_ Color(const Color &p_c, float p_a) { - r = p_c.r; - g = p_c.g; - b = p_c.b; - a = p_a; - } - - Color(const String &p_code) { - if (html_is_valid(p_code)) { - *this = html(p_code); - } else { - *this = named(p_code); - } - } - - Color(const String &p_code, float p_a) { - *this = Color(p_code); - a = p_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; - } -} - -_FORCE_INLINE_ Color operator*(float p_scalar, const Color &p_color) { - return p_color * p_scalar; -} - -} // namespace godot - -#endif // GODOT_COLOR_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/color_names.inc.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/color_names.inc.hpp deleted file mode 100644 index c6671fd..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/color_names.inc.hpp +++ /dev/null @@ -1,191 +0,0 @@ -/**************************************************************************/ -/* color_names.inc.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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. */ -/**************************************************************************/ - -namespace godot { - -// Names from https://en.wikipedia.org/wiki/X11_color_names -// Keep these in sync with the engine (both in core and in C#) - -struct NamedColor { - const char *name; - Color color; -}; - -static NamedColor named_colors[] = { - { "ALICE_BLUE", Color::hex(0xF0F8FFFF) }, - { "ANTIQUE_WHITE", Color::hex(0xFAEBD7FF) }, - { "AQUA", Color::hex(0x00FFFFFF) }, - { "AQUAMARINE", Color::hex(0x7FFFD4FF) }, - { "AZURE", Color::hex(0xF0FFFFFF) }, - { "BEIGE", Color::hex(0xF5F5DCFF) }, - { "BISQUE", Color::hex(0xFFE4C4FF) }, - { "BLACK", Color::hex(0x000000FF) }, - { "BLANCHED_ALMOND", Color::hex(0xFFEBCDFF) }, - { "BLUE", Color::hex(0x0000FFFF) }, - { "BLUE_VIOLET", Color::hex(0x8A2BE2FF) }, - { "BROWN", Color::hex(0xA52A2AFF) }, - { "BURLYWOOD", Color::hex(0xDEB887FF) }, - { "CADET_BLUE", Color::hex(0x5F9EA0FF) }, - { "CHARTREUSE", Color::hex(0x7FFF00FF) }, - { "CHOCOLATE", Color::hex(0xD2691EFF) }, - { "CORAL", Color::hex(0xFF7F50FF) }, - { "CORNFLOWER_BLUE", Color::hex(0x6495EDFF) }, - { "CORNSILK", Color::hex(0xFFF8DCFF) }, - { "CRIMSON", Color::hex(0xDC143CFF) }, - { "CYAN", Color::hex(0x00FFFFFF) }, - { "DARK_BLUE", Color::hex(0x00008BFF) }, - { "DARK_CYAN", Color::hex(0x008B8BFF) }, - { "DARK_GOLDENROD", Color::hex(0xB8860BFF) }, - { "DARK_GRAY", Color::hex(0xA9A9A9FF) }, - { "DARK_GREEN", Color::hex(0x006400FF) }, - { "DARK_KHAKI", Color::hex(0xBDB76BFF) }, - { "DARK_MAGENTA", Color::hex(0x8B008BFF) }, - { "DARK_OLIVE_GREEN", Color::hex(0x556B2FFF) }, - { "DARK_ORANGE", Color::hex(0xFF8C00FF) }, - { "DARK_ORCHID", Color::hex(0x9932CCFF) }, - { "DARK_RED", Color::hex(0x8B0000FF) }, - { "DARK_SALMON", Color::hex(0xE9967AFF) }, - { "DARK_SEA_GREEN", Color::hex(0x8FBC8FFF) }, - { "DARK_SLATE_BLUE", Color::hex(0x483D8BFF) }, - { "DARK_SLATE_GRAY", Color::hex(0x2F4F4FFF) }, - { "DARK_TURQUOISE", Color::hex(0x00CED1FF) }, - { "DARK_VIOLET", Color::hex(0x9400D3FF) }, - { "DEEP_PINK", Color::hex(0xFF1493FF) }, - { "DEEP_SKY_BLUE", Color::hex(0x00BFFFFF) }, - { "DIM_GRAY", Color::hex(0x696969FF) }, - { "DODGER_BLUE", Color::hex(0x1E90FFFF) }, - { "FIREBRICK", Color::hex(0xB22222FF) }, - { "FLORAL_WHITE", Color::hex(0xFFFAF0FF) }, - { "FOREST_GREEN", Color::hex(0x228B22FF) }, - { "FUCHSIA", Color::hex(0xFF00FFFF) }, - { "GAINSBORO", Color::hex(0xDCDCDCFF) }, - { "GHOST_WHITE", Color::hex(0xF8F8FFFF) }, - { "GOLD", Color::hex(0xFFD700FF) }, - { "GOLDENROD", Color::hex(0xDAA520FF) }, - { "GRAY", Color::hex(0xBEBEBEFF) }, - { "GREEN", Color::hex(0x00FF00FF) }, - { "GREEN_YELLOW", Color::hex(0xADFF2FFF) }, - { "HONEYDEW", Color::hex(0xF0FFF0FF) }, - { "HOT_PINK", Color::hex(0xFF69B4FF) }, - { "INDIAN_RED", Color::hex(0xCD5C5CFF) }, - { "INDIGO", Color::hex(0x4B0082FF) }, - { "IVORY", Color::hex(0xFFFFF0FF) }, - { "KHAKI", Color::hex(0xF0E68CFF) }, - { "LAVENDER", Color::hex(0xE6E6FAFF) }, - { "LAVENDER_BLUSH", Color::hex(0xFFF0F5FF) }, - { "LAWN_GREEN", Color::hex(0x7CFC00FF) }, - { "LEMON_CHIFFON", Color::hex(0xFFFACDFF) }, - { "LIGHT_BLUE", Color::hex(0xADD8E6FF) }, - { "LIGHT_CORAL", Color::hex(0xF08080FF) }, - { "LIGHT_CYAN", Color::hex(0xE0FFFFFF) }, - { "LIGHT_GOLDENROD", Color::hex(0xFAFAD2FF) }, - { "LIGHT_GRAY", Color::hex(0xD3D3D3FF) }, - { "LIGHT_GREEN", Color::hex(0x90EE90FF) }, - { "LIGHT_PINK", Color::hex(0xFFB6C1FF) }, - { "LIGHT_SALMON", Color::hex(0xFFA07AFF) }, - { "LIGHT_SEA_GREEN", Color::hex(0x20B2AAFF) }, - { "LIGHT_SKY_BLUE", Color::hex(0x87CEFAFF) }, - { "LIGHT_SLATE_GRAY", Color::hex(0x778899FF) }, - { "LIGHT_STEEL_BLUE", Color::hex(0xB0C4DEFF) }, - { "LIGHT_YELLOW", Color::hex(0xFFFFE0FF) }, - { "LIME", Color::hex(0x00FF00FF) }, - { "LIME_GREEN", Color::hex(0x32CD32FF) }, - { "LINEN", Color::hex(0xFAF0E6FF) }, - { "MAGENTA", Color::hex(0xFF00FFFF) }, - { "MAROON", Color::hex(0xB03060FF) }, - { "MEDIUM_AQUAMARINE", Color::hex(0x66CDAAFF) }, - { "MEDIUM_BLUE", Color::hex(0x0000CDFF) }, - { "MEDIUM_ORCHID", Color::hex(0xBA55D3FF) }, - { "MEDIUM_PURPLE", Color::hex(0x9370DBFF) }, - { "MEDIUM_SEA_GREEN", Color::hex(0x3CB371FF) }, - { "MEDIUM_SLATE_BLUE", Color::hex(0x7B68EEFF) }, - { "MEDIUM_SPRING_GREEN", Color::hex(0x00FA9AFF) }, - { "MEDIUM_TURQUOISE", Color::hex(0x48D1CCFF) }, - { "MEDIUM_VIOLET_RED", Color::hex(0xC71585FF) }, - { "MIDNIGHT_BLUE", Color::hex(0x191970FF) }, - { "MINT_CREAM", Color::hex(0xF5FFFAFF) }, - { "MISTY_ROSE", Color::hex(0xFFE4E1FF) }, - { "MOCCASIN", Color::hex(0xFFE4B5FF) }, - { "NAVAJO_WHITE", Color::hex(0xFFDEADFF) }, - { "NAVY_BLUE", Color::hex(0x000080FF) }, - { "OLD_LACE", Color::hex(0xFDF5E6FF) }, - { "OLIVE", Color::hex(0x808000FF) }, - { "OLIVE_DRAB", Color::hex(0x6B8E23FF) }, - { "ORANGE", Color::hex(0xFFA500FF) }, - { "ORANGE_RED", Color::hex(0xFF4500FF) }, - { "ORCHID", Color::hex(0xDA70D6FF) }, - { "PALE_GOLDENROD", Color::hex(0xEEE8AAFF) }, - { "PALE_GREEN", Color::hex(0x98FB98FF) }, - { "PALE_TURQUOISE", Color::hex(0xAFEEEEFF) }, - { "PALE_VIOLET_RED", Color::hex(0xDB7093FF) }, - { "PAPAYA_WHIP", Color::hex(0xFFEFD5FF) }, - { "PEACH_PUFF", Color::hex(0xFFDAB9FF) }, - { "PERU", Color::hex(0xCD853FFF) }, - { "PINK", Color::hex(0xFFC0CBFF) }, - { "PLUM", Color::hex(0xDDA0DDFF) }, - { "POWDER_BLUE", Color::hex(0xB0E0E6FF) }, - { "PURPLE", Color::hex(0xA020F0FF) }, - { "REBECCA_PURPLE", Color::hex(0x663399FF) }, - { "RED", Color::hex(0xFF0000FF) }, - { "ROSY_BROWN", Color::hex(0xBC8F8FFF) }, - { "ROYAL_BLUE", Color::hex(0x4169E1FF) }, - { "SADDLE_BROWN", Color::hex(0x8B4513FF) }, - { "SALMON", Color::hex(0xFA8072FF) }, - { "SANDY_BROWN", Color::hex(0xF4A460FF) }, - { "SEA_GREEN", Color::hex(0x2E8B57FF) }, - { "SEASHELL", Color::hex(0xFFF5EEFF) }, - { "SIENNA", Color::hex(0xA0522DFF) }, - { "SILVER", Color::hex(0xC0C0C0FF) }, - { "SKY_BLUE", Color::hex(0x87CEEBFF) }, - { "SLATE_BLUE", Color::hex(0x6A5ACDFF) }, - { "SLATE_GRAY", Color::hex(0x708090FF) }, - { "SNOW", Color::hex(0xFFFAFAFF) }, - { "SPRING_GREEN", Color::hex(0x00FF7FFF) }, - { "STEEL_BLUE", Color::hex(0x4682B4FF) }, - { "TAN", Color::hex(0xD2B48CFF) }, - { "TEAL", Color::hex(0x008080FF) }, - { "THISTLE", Color::hex(0xD8BFD8FF) }, - { "TOMATO", Color::hex(0xFF6347FF) }, - { "TRANSPARENT", Color::hex(0xFFFFFF00) }, - { "TURQUOISE", Color::hex(0x40E0D0FF) }, - { "VIOLET", Color::hex(0xEE82EEFF) }, - { "WEB_GRAY", Color::hex(0x808080FF) }, - { "WEB_GREEN", Color::hex(0x008000FF) }, - { "WEB_MAROON", Color::hex(0x800000FF) }, - { "WEB_PURPLE", Color::hex(0x800080FF) }, - { "WHEAT", Color::hex(0xF5DEB3FF) }, - { "WHITE", Color::hex(0xFFFFFFFF) }, - { "WHITE_SMOKE", Color::hex(0xF5F5F5FF) }, - { "YELLOW", Color::hex(0xFFFF00FF) }, - { "YELLOW_GREEN", Color::hex(0x9ACD32FF) }, - { nullptr, Color() }, -}; - -} // namespace godot diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/plane.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/plane.hpp deleted file mode 100644 index 727f4f5..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/plane.hpp +++ /dev/null @@ -1,140 +0,0 @@ -/**************************************************************************/ -/* plane.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_PLANE_HPP -#define GODOT_PLANE_HPP - -#include -#include - -namespace godot { - -class Variant; - -struct _NO_DISCARD_ Plane { - Vector3 normal; - real_t d = 0; - - void set_normal(const Vector3 &p_normal); - _FORCE_INLINE_ Vector3 get_normal() const { return normal; } - - void normalize(); - Plane normalized() const; - - /* Plane-Point operations */ - - _FORCE_INLINE_ Vector3 center() const { return normal * d; } - Vector3 get_any_perpendicular_normal() const; - - _FORCE_INLINE_ bool is_point_over(const Vector3 &p_point) const; ///< Point is over plane - _FORCE_INLINE_ real_t distance_to(const Vector3 &p_point) const; - _FORCE_INLINE_ bool has_point(const Vector3 &p_point, real_t p_tolerance = CMP_EPSILON) const; - - /* intersections */ - - bool intersect_3(const Plane &p_plane1, const Plane &p_plane2, Vector3 *r_result = nullptr) const; - bool intersects_ray(const Vector3 &p_from, const Vector3 &p_dir, Vector3 *p_intersection) const; - bool intersects_segment(const Vector3 &p_begin, const Vector3 &p_end, Vector3 *p_intersection) const; - - // For Variant bindings. - Variant intersect_3_bind(const Plane &p_plane1, const Plane &p_plane2) const; - Variant intersects_ray_bind(const Vector3 &p_from, const Vector3 &p_dir) const; - Variant intersects_segment_bind(const Vector3 &p_begin, const Vector3 &p_end) const; - - _FORCE_INLINE_ Vector3 project(const Vector3 &p_point) const { - return p_point - normal * distance_to(p_point); - } - - /* misc */ - - Plane operator-() const { return Plane(-normal, -d); } - bool is_equal_approx(const Plane &p_plane) const; - bool is_equal_approx_any_side(const Plane &p_plane) const; - - _FORCE_INLINE_ bool operator==(const Plane &p_plane) const; - _FORCE_INLINE_ bool operator!=(const Plane &p_plane) const; - operator String() const; - - _FORCE_INLINE_ Plane() {} - _FORCE_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) {} - - _FORCE_INLINE_ Plane(const Vector3 &p_normal, real_t p_d = 0.0); - _FORCE_INLINE_ Plane(const Vector3 &p_normal, const Vector3 &p_point); - _FORCE_INLINE_ Plane(const Vector3 &p_point1, const Vector3 &p_point2, const Vector3 &p_point3, ClockDirection p_dir = CLOCKWISE); -}; - -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 p_tolerance) const { - real_t dist = normal.dot(p_point) - d; - dist = Math::abs(dist); - return (dist <= p_tolerance); -} - -Plane::Plane(const Vector3 &p_normal, real_t p_d) : - normal(p_normal), - d(p_d) { -} - -Plane::Plane(const Vector3 &p_normal, const Vector3 &p_point) : - 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 - -#endif // GODOT_PLANE_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/projection.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/projection.hpp deleted file mode 100644 index 1de6c02..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/projection.hpp +++ /dev/null @@ -1,171 +0,0 @@ -/**************************************************************************/ -/* projection.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_PROJECTION_HPP -#define GODOT_PROJECTION_HPP - -#include -#include -#include - -namespace godot { - -class Array; -struct AABB; -struct Plane; -struct Rect2; -struct Transform3D; -struct Vector2; - -struct _NO_DISCARD_ Projection { - enum Planes { - PLANE_NEAR, - PLANE_FAR, - PLANE_LEFT, - PLANE_TOP, - PLANE_RIGHT, - PLANE_BOTTOM - }; - - Vector4 columns[4]; - - _FORCE_INLINE_ const Vector4 &operator[](const int p_axis) const { - DEV_ASSERT((unsigned int)p_axis < 4); - return columns[p_axis]; - } - - _FORCE_INLINE_ Vector4 &operator[](const int p_axis) { - DEV_ASSERT((unsigned int)p_axis < 4); - return columns[p_axis]; - } - - float determinant() const; - void set_identity(); - void set_zero(); - void set_light_bias(); - void set_depth_correction(bool p_flip_y = true); - - 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); - void adjust_perspective_znear(real_t p_new_znear); - - static Projection create_depth_correction(bool p_flip_y); - static Projection create_light_atlas_rect(const Rect2 &p_rect); - static Projection create_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); - static Projection create_perspective_hmd(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); - static Projection create_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); - static Projection create_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); - static Projection create_orthogonal_aspect(real_t p_size, real_t p_aspect, real_t p_znear, real_t p_zfar, bool p_flip_fov = false); - static Projection create_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); - static Projection create_frustum_aspect(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 Projection create_fit_aabb(const AABB &p_aabb); - Projection perspective_znear_adjusted(real_t p_new_znear) const; - Plane get_projection_plane(Planes p_plane) const; - Projection flipped_y() const; - Projection jitter_offseted(const Vector2 &p_offset) const; - - static real_t get_fovy(real_t p_fovx, real_t p_aspect) { - return Math::rad_to_deg(Math::atan(p_aspect * Math::tan(Math::deg_to_rad(p_fovx) * 0.5)) * 2.0); - } - - 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; - - Array get_projection_planes(const Transform3D &p_transform) const; - - bool get_endpoints(const Transform3D &p_transform, Vector3 *p_8points) const; - Vector2 get_viewport_half_extents() const; - Vector2 get_far_plane_half_extents() const; - - void invert(); - Projection inverse() const; - - Projection operator*(const Projection &p_matrix) const; - - Plane xform4(const Plane &p_vec4) const; - _FORCE_INLINE_ Vector3 xform(const Vector3 &p_vec3) const; - - Vector4 xform(const Vector4 &p_vec4) const; - Vector4 xform_inv(const Vector4 &p_vec4) const; - - operator String() const; - - void scale_translate_to_fit(const AABB &p_aabb); - void add_jitter_offset(const Vector2 &p_offset); - void make_scale(const Vector3 &p_scale); - int get_pixels_per_meter(int p_for_pixel_width) const; - operator Transform3D() const; - - void flip_y(); - - bool operator==(const Projection &p_cam) const { - for (uint32_t i = 0; i < 4; i++) { - for (uint32_t j = 0; j < 4; j++) { - if (columns[i][j] != p_cam.columns[i][j]) { - return false; - } - } - } - return true; - } - - bool operator!=(const Projection &p_cam) const { - return !(*this == p_cam); - } - - float get_lod_multiplier() const; - - Projection(); - Projection(const Vector4 &p_x, const Vector4 &p_y, const Vector4 &p_z, const Vector4 &p_w); - Projection(const Transform3D &p_transform); - ~Projection(); -}; - -Vector3 Projection::xform(const Vector3 &p_vec3) const { - Vector3 ret; - ret.x = columns[0][0] * p_vec3.x + columns[1][0] * p_vec3.y + columns[2][0] * p_vec3.z + columns[3][0]; - ret.y = columns[0][1] * p_vec3.x + columns[1][1] * p_vec3.y + columns[2][1] * p_vec3.z + columns[3][1]; - ret.z = columns[0][2] * p_vec3.x + columns[1][2] * p_vec3.y + columns[2][2] * p_vec3.z + columns[3][2]; - real_t w = columns[0][3] * p_vec3.x + columns[1][3] * p_vec3.y + columns[2][3] * p_vec3.z + columns[3][3]; - return ret / w; -} - -} // namespace godot - -#endif // GODOT_PROJECTION_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/quaternion.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/quaternion.hpp deleted file mode 100644 index 3816b66..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/quaternion.hpp +++ /dev/null @@ -1,237 +0,0 @@ -/**************************************************************************/ -/* quaternion.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_QUATERNION_HPP -#define GODOT_QUATERNION_HPP - -#include -#include - -namespace godot { - -struct _NO_DISCARD_ Quaternion { - union { - struct { - real_t x; - real_t y; - real_t z; - real_t w; - }; - real_t components[4] = { 0, 0, 0, 1.0 }; - }; - - _FORCE_INLINE_ real_t &operator[](int idx) { - return components[idx]; - } - _FORCE_INLINE_ const real_t &operator[](int idx) const { - return components[idx]; - } - _FORCE_INLINE_ real_t length_squared() const; - bool is_equal_approx(const Quaternion &p_quaternion) const; - real_t length() const; - void normalize(); - Quaternion normalized() const; - bool is_normalized() const; - Quaternion inverse() const; - Quaternion log() const; - Quaternion exp() const; - _FORCE_INLINE_ real_t dot(const Quaternion &p_q) const; - real_t angle_to(const Quaternion &p_to) const; - - Vector3 get_euler_xyz() const; - Vector3 get_euler_yxz() const; - Vector3 get_euler() const { return get_euler_yxz(); } - - Quaternion slerp(const Quaternion &p_to, const real_t &p_weight) const; - Quaternion slerpni(const Quaternion &p_to, const real_t &p_weight) const; - Quaternion spherical_cubic_interpolate(const Quaternion &p_b, const Quaternion &p_pre_a, const Quaternion &p_post_b, const real_t &p_weight) const; - Quaternion spherical_cubic_interpolate_in_time(const Quaternion &p_b, const Quaternion &p_pre_a, const Quaternion &p_post_b, const real_t &p_weight, const real_t &p_b_t, const real_t &p_pre_a_t, const real_t &p_post_b_t) const; - - Vector3 get_axis() const; - real_t get_angle() const; - - _FORCE_INLINE_ void get_axis_angle(Vector3 &r_axis, real_t &r_angle) const { - r_angle = 2 * Math::acos(w); - real_t r = ((real_t)1) / Math::sqrt(1 - w * w); - r_axis.x = x * r; - r_axis.y = y * r; - r_axis.z = z * r; - } - - void operator*=(const Quaternion &p_q); - Quaternion operator*(const Quaternion &p_q) const; - - _FORCE_INLINE_ Vector3 xform(const Vector3 &v) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!is_normalized(), v, "The quaternion must be normalized."); -#endif - Vector3 u(x, y, z); - Vector3 uv = u.cross(v); - return v + ((uv * w) + u.cross(uv)) * ((real_t)2); - } - - _FORCE_INLINE_ Vector3 xform_inv(const Vector3 &v) const { - return inverse().xform(v); - } - - _FORCE_INLINE_ void operator+=(const Quaternion &p_q); - _FORCE_INLINE_ void operator-=(const Quaternion &p_q); - _FORCE_INLINE_ void operator*=(const real_t &s); - _FORCE_INLINE_ void operator/=(const real_t &s); - _FORCE_INLINE_ Quaternion operator+(const Quaternion &q2) const; - _FORCE_INLINE_ Quaternion operator-(const Quaternion &q2) const; - _FORCE_INLINE_ Quaternion operator-() const; - _FORCE_INLINE_ Quaternion operator*(const real_t &s) const; - _FORCE_INLINE_ Quaternion operator/(const real_t &s) const; - - _FORCE_INLINE_ bool operator==(const Quaternion &p_quaternion) const; - _FORCE_INLINE_ bool operator!=(const Quaternion &p_quaternion) const; - - operator String() const; - - _FORCE_INLINE_ Quaternion() {} - - _FORCE_INLINE_ Quaternion(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) { - } - - Quaternion(const Vector3 &p_axis, real_t p_angle); - - Quaternion(const Vector3 &p_euler); - - Quaternion(const Quaternion &p_q) : - x(p_q.x), - y(p_q.y), - z(p_q.z), - w(p_q.w) { - } - - void operator=(const Quaternion &p_q) { - x = p_q.x; - y = p_q.y; - z = p_q.z; - w = p_q.w; - } - - Quaternion(const Vector3 &v0, const Vector3 &v1) { // Shortest arc. - Vector3 c = v0.cross(v1); - real_t d = v0.dot(v1); - - if (d < -1.0f + (real_t)CMP_EPSILON) { - x = 0; - y = 1; - z = 0; - w = 0; - } else { - real_t s = Math::sqrt((1.0f + d) * 2.0f); - real_t rs = 1.0f / s; - - x = c.x * rs; - y = c.y * rs; - z = c.z * rs; - w = s * 0.5f; - } - } -}; - -real_t Quaternion::dot(const Quaternion &p_q) const { - return x * p_q.x + y * p_q.y + z * p_q.z + w * p_q.w; -} - -real_t Quaternion::length_squared() const { - return dot(*this); -} - -void Quaternion::operator+=(const Quaternion &p_q) { - x += p_q.x; - y += p_q.y; - z += p_q.z; - w += p_q.w; -} - -void Quaternion::operator-=(const Quaternion &p_q) { - x -= p_q.x; - y -= p_q.y; - z -= p_q.z; - w -= p_q.w; -} - -void Quaternion::operator*=(const real_t &s) { - x *= s; - y *= s; - z *= s; - w *= s; -} - -void Quaternion::operator/=(const real_t &s) { - *this *= 1.0f / s; -} - -Quaternion Quaternion::operator+(const Quaternion &q2) const { - const Quaternion &q1 = *this; - return Quaternion(q1.x + q2.x, q1.y + q2.y, q1.z + q2.z, q1.w + q2.w); -} - -Quaternion Quaternion::operator-(const Quaternion &q2) const { - const Quaternion &q1 = *this; - return Quaternion(q1.x - q2.x, q1.y - q2.y, q1.z - q2.z, q1.w - q2.w); -} - -Quaternion Quaternion::operator-() const { - const Quaternion &q2 = *this; - return Quaternion(-q2.x, -q2.y, -q2.z, -q2.w); -} - -Quaternion Quaternion::operator*(const real_t &s) const { - return Quaternion(x * s, y * s, z * s, w * s); -} - -Quaternion Quaternion::operator/(const real_t &s) const { - return *this * (1.0f / s); -} - -bool Quaternion::operator==(const Quaternion &p_quaternion) const { - return x == p_quaternion.x && y == p_quaternion.y && z == p_quaternion.z && w == p_quaternion.w; -} - -bool Quaternion::operator!=(const Quaternion &p_quaternion) const { - return x != p_quaternion.x || y != p_quaternion.y || z != p_quaternion.z || w != p_quaternion.w; -} - -_FORCE_INLINE_ Quaternion operator*(const real_t &p_real, const Quaternion &p_quaternion) { - return p_quaternion * p_real; -} - -} // namespace godot - -#endif // GODOT_QUATERNION_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/rect2.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/rect2.hpp deleted file mode 100644 index cfd24b2..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/rect2.hpp +++ /dev/null @@ -1,376 +0,0 @@ -/**************************************************************************/ -/* rect2.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_RECT2_HPP -#define GODOT_RECT2_HPP - -#include -#include - -namespace godot { - -class String; -struct Rect2i; -struct Transform2D; - -struct _NO_DISCARD_ Rect2 { - Point2 position; - Size2 size; - - const Vector2 &get_position() const { return position; } - void set_position(const Vector2 &p_pos) { position = p_pos; } - const Vector2 &get_size() const { return size; } - void set_size(const Vector2 &p_size) { size = p_size; } - - real_t get_area() const { return size.width * size.height; } - - _FORCE_INLINE_ Vector2 get_center() const { return position + (size * 0.5f); } - - inline bool intersects(const Rect2 &p_rect, const bool p_include_borders = false) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || p_rect.size.x < 0 || p_rect.size.y < 0)) { - ERR_PRINT("Rect2 size is negative, this is not supported. Use Rect2.abs() to get a Rect2 with a positive size."); - } -#endif - if (p_include_borders) { - 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; - } - } else { - 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; - } - - inline real_t distance_to(const Vector2 &p_point) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0)) { - ERR_PRINT("Rect2 size is negative, this is not supported. Use Rect2.abs() to get a Rect2 with a positive size."); - } -#endif - real_t dist = 0.0; - bool inside = true; - - if (p_point.x < position.x) { - real_t d = position.x - p_point.x; - dist = d; - inside = false; - } - if (p_point.y < position.y) { - real_t d = position.y - p_point.y; - dist = inside ? d : Math::min(dist, d); - inside = false; - } - if (p_point.x >= (position.x + size.x)) { - real_t d = p_point.x - (position.x + size.x); - dist = inside ? d : Math::min(dist, d); - inside = false; - } - if (p_point.y >= (position.y + size.y)) { - real_t d = p_point.y - (position.y + size.y); - dist = inside ? d : Math::min(dist, d); - inside = false; - } - - if (inside) { - return 0; - } else { - return dist; - } - } - - 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_pos = nullptr, Point2 *r_normal = nullptr) const; - - inline bool encloses(const Rect2 &p_rect) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || p_rect.size.x < 0 || p_rect.size.y < 0)) { - ERR_PRINT("Rect2 size is negative, this is not supported. Use Rect2.abs() to get a Rect2 with a positive size."); - } -#endif - 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)); - } - - _FORCE_INLINE_ bool has_area() const { - return size.x > 0.0f && size.y > 0.0f; - } - - // Returns the instersection between two Rect2s or an empty Rect2 if there is no intersection - inline Rect2 intersection(const Rect2 &p_rect) const { - Rect2 new_rect = p_rect; - - if (!intersects(new_rect)) { - return Rect2(); - } - - new_rect.position.x = Math::max(p_rect.position.x, position.x); - new_rect.position.y = Math::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 = Math::min(p_rect_end.x, end.x) - new_rect.position.x; - new_rect.size.y = Math::min(p_rect_end.y, end.y) - new_rect.position.y; - - return new_rect; - } - - inline Rect2 merge(const Rect2 &p_rect) const { ///< return a merged rect -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || p_rect.size.x < 0 || p_rect.size.y < 0)) { - ERR_PRINT("Rect2 size is negative, this is not supported. Use Rect2.abs() to get a Rect2 with a positive size."); - } -#endif - Rect2 new_rect; - - new_rect.position.x = Math::min(p_rect.position.x, position.x); - new_rect.position.y = Math::min(p_rect.position.y, position.y); - - new_rect.size.x = Math::max(p_rect.position.x + p_rect.size.x, position.x + size.x); - new_rect.size.y = Math::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; - } - - inline bool has_point(const Point2 &p_point) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0)) { - ERR_PRINT("Rect2 size is negative, this is not supported. Use Rect2.abs() to get a Rect2 with a positive size."); - } -#endif - 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; - } - - bool is_equal_approx(const Rect2 &p_rect) const; - - bool operator==(const Rect2 &p_rect) const { return position == p_rect.position && size == p_rect.size; } - bool operator!=(const Rect2 &p_rect) const { return position != p_rect.position || size != p_rect.size; } - - inline Rect2 grow(real_t p_amount) const { - Rect2 g = *this; - g.grow_by(p_amount); - return g; - } - - inline void grow_by(real_t p_amount) { - position.x -= p_amount; - position.y -= p_amount; - size.width += p_amount * 2; - size.height += p_amount * 2; - } - - inline Rect2 grow_side(Side p_side, real_t p_amount) const { - Rect2 g = *this; - g = g.grow_individual((SIDE_LEFT == p_side) ? p_amount : 0, - (SIDE_TOP == p_side) ? p_amount : 0, - (SIDE_RIGHT == p_side) ? p_amount : 0, - (SIDE_BOTTOM == p_side) ? p_amount : 0); - return g; - } - - inline Rect2 grow_side_bind(uint32_t p_side, real_t p_amount) const { - return grow_side(Side(p_side), p_amount); - } - - inline Rect2 grow_individual(real_t p_left, real_t p_top, real_t p_right, real_t p_bottom) const { - Rect2 g = *this; - g.position.x -= p_left; - g.position.y -= p_top; - g.size.width += p_left + p_right; - g.size.height += p_top + p_bottom; - - return g; - } - - _FORCE_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. -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0)) { - ERR_PRINT("Rect2 size is negative, this is not supported. Use Rect2.abs() to get a Rect2 with a positive size."); - } -#endif - 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; - } - - _FORCE_INLINE_ Rect2 abs() const { - return Rect2(Point2(position.x + Math::min(size.x, (real_t)0), position.y + Math::min(size.y, (real_t)0)), size.abs()); - } - - Vector2 get_support(const Vector2 &p_normal) const { - Vector2 half_extents = size * 0.5f; - Vector2 ofs = position + half_extents; - return Vector2( - (p_normal.x > 0) ? -half_extents.x : half_extents.x, - (p_normal.y > 0) ? -half_extents.y : half_extents.y) + - ofs; - } - - _FORCE_INLINE_ bool intersects_filled_polygon(const Vector2 *p_points, int p_point_count) const { - Vector2 center = get_center(); - int side_plus = 0; - int side_minus = 0; - Vector2 end = position + size; - - int i_f = p_point_count - 1; - for (int i = 0; i < p_point_count; i++) { - const Vector2 &a = p_points[i_f]; - const Vector2 &b = p_points[i]; - i_f = i; - - Vector2 r = (b - a); - float l = r.length(); - if (l == 0.0f) { - continue; - } - - // Check inside. - Vector2 tg = r.orthogonal(); - float s = tg.dot(center) - tg.dot(a); - if (s < 0.0f) { - side_plus++; - } else { - side_minus++; - } - - // Check ray box. - r /= l; - Vector2 ir(1.0f / r.x, 1.0f / r.y); - - // lb is the corner of AABB with minimal coordinates - left bottom, rt is maximal corner - // r.org is origin of ray - Vector2 t13 = (position - a) * ir; - Vector2 t24 = (end - a) * ir; - - float tmin = Math::max(Math::min(t13.x, t24.x), Math::min(t13.y, t24.y)); - float tmax = Math::min(Math::max(t13.x, t24.x), Math::max(t13.y, t24.y)); - - // if tmax < 0, ray (line) is intersecting AABB, but the whole AABB is behind us - if (tmax < 0 || tmin > tmax || tmin >= l) { - continue; - } - - return true; - } - - if (side_plus * side_minus == 0) { - return true; // All inside. - } else { - return false; - } - } - - _FORCE_INLINE_ void set_end(const Vector2 &p_end) { - size = p_end - position; - } - - _FORCE_INLINE_ Vector2 get_end() const { - return position + size; - } - - operator String() const; - operator Rect2i() const; - - Rect2() {} - 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)) { - } - Rect2(const Point2 &p_pos, const Size2 &p_size) : - position(p_pos), - size(p_size) { - } -}; - -} // namespace godot - -#endif // GODOT_RECT2_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/rect2i.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/rect2i.hpp deleted file mode 100644 index c2a15ac..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/rect2i.hpp +++ /dev/null @@ -1,249 +0,0 @@ -/**************************************************************************/ -/* rect2i.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_RECT2I_HPP -#define GODOT_RECT2I_HPP - -#include -#include - -namespace godot { - -class String; -struct Rect2; - -struct _NO_DISCARD_ Rect2i { - Point2i position; - Size2i size; - - const Point2i &get_position() const { return position; } - void set_position(const Point2i &p_position) { position = p_position; } - const Size2i &get_size() const { return size; } - void set_size(const Size2i &p_size) { size = p_size; } - - int get_area() const { return size.width * size.height; } - - _FORCE_INLINE_ Vector2i get_center() const { return position + (size / 2); } - - inline bool intersects(const Rect2i &p_rect) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || p_rect.size.x < 0 || p_rect.size.y < 0)) { - ERR_PRINT("Rect2i size is negative, this is not supported. Use Rect2i.abs() to get a Rect2i with a positive size."); - } -#endif - 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; - } - - inline bool encloses(const Rect2i &p_rect) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || p_rect.size.x < 0 || p_rect.size.y < 0)) { - ERR_PRINT("Rect2i size is negative, this is not supported. Use Rect2i.abs() to get a Rect2i with a positive size."); - } -#endif - 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)); - } - - _FORCE_INLINE_ bool has_area() const { - return size.x > 0 && size.y > 0; - } - - // Returns the instersection between two Rect2is or an empty Rect2i if there is no intersection - inline Rect2i intersection(const Rect2i &p_rect) const { - Rect2i new_rect = p_rect; - - if (!intersects(new_rect)) { - return Rect2i(); - } - - new_rect.position.x = Math::max(p_rect.position.x, position.x); - new_rect.position.y = Math::max(p_rect.position.y, position.y); - - Point2i p_rect_end = p_rect.position + p_rect.size; - Point2i end = position + size; - - new_rect.size.x = Math::min(p_rect_end.x, end.x) - new_rect.position.x; - new_rect.size.y = Math::min(p_rect_end.y, end.y) - new_rect.position.y; - - return new_rect; - } - - inline Rect2i merge(const Rect2i &p_rect) const { ///< return a merged rect -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || p_rect.size.x < 0 || p_rect.size.y < 0)) { - ERR_PRINT("Rect2i size is negative, this is not supported. Use Rect2i.abs() to get a Rect2i with a positive size."); - } -#endif - Rect2i new_rect; - - new_rect.position.x = Math::min(p_rect.position.x, position.x); - new_rect.position.y = Math::min(p_rect.position.y, position.y); - - new_rect.size.x = Math::max(p_rect.position.x + p_rect.size.x, position.x + size.x); - new_rect.size.y = Math::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; - } - bool has_point(const Point2i &p_point) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0)) { - ERR_PRINT("Rect2i size is negative, this is not supported. Use Rect2i.abs() to get a Rect2i with a positive size."); - } -#endif - 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; - } - - bool operator==(const Rect2i &p_rect) const { return position == p_rect.position && size == p_rect.size; } - bool operator!=(const Rect2i &p_rect) const { return position != p_rect.position || size != p_rect.size; } - - Rect2i grow(int p_amount) const { - Rect2i g = *this; - g.position.x -= p_amount; - g.position.y -= p_amount; - g.size.width += p_amount * 2; - g.size.height += p_amount * 2; - return g; - } - - inline Rect2i grow_side(Side p_side, int p_amount) const { - Rect2i g = *this; - g = g.grow_individual((SIDE_LEFT == p_side) ? p_amount : 0, - (SIDE_TOP == p_side) ? p_amount : 0, - (SIDE_RIGHT == p_side) ? p_amount : 0, - (SIDE_BOTTOM == p_side) ? p_amount : 0); - return g; - } - - inline Rect2i grow_side_bind(uint32_t p_side, int p_amount) const { - return grow_side(Side(p_side), p_amount); - } - - inline Rect2i grow_individual(int p_left, int p_top, int p_right, int p_bottom) const { - Rect2i g = *this; - g.position.x -= p_left; - g.position.y -= p_top; - g.size.width += p_left + p_right; - g.size.height += p_top + p_bottom; - - return g; - } - - _FORCE_INLINE_ Rect2i expand(const Vector2i &p_vector) const { - Rect2i r = *this; - r.expand_to(p_vector); - return r; - } - - inline void expand_to(const Point2i &p_vector) { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0)) { - ERR_PRINT("Rect2i size is negative, this is not supported. Use Rect2i.abs() to get a Rect2i with a positive size."); - } -#endif - Point2i begin = position; - Point2i 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; - } - - _FORCE_INLINE_ Rect2i abs() const { - return Rect2i(Point2i(position.x + Math::min(size.x, 0), position.y + Math::min(size.y, 0)), size.abs()); - } - - _FORCE_INLINE_ void set_end(const Vector2i &p_end) { - size = p_end - position; - } - - _FORCE_INLINE_ Vector2i get_end() const { - return position + size; - } - - operator String() const; - operator Rect2() const; - - Rect2i() {} - Rect2i(int p_x, int p_y, int p_width, int p_height) : - position(Point2i(p_x, p_y)), - size(Size2i(p_width, p_height)) { - } - Rect2i(const Point2i &p_pos, const Size2i &p_size) : - position(p_pos), - size(p_size) { - } -}; - -} // namespace godot - -#endif // GODOT_RECT2I_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/transform2d.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/transform2d.hpp deleted file mode 100644 index 5a48398..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/transform2d.hpp +++ /dev/null @@ -1,250 +0,0 @@ -/**************************************************************************/ -/* transform2d.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_TRANSFORM2D_HPP -#define GODOT_TRANSFORM2D_HPP - -#include -#include -#include - -namespace godot { - -class String; - -struct _NO_DISCARD_ Transform2D { - // Warning #1: basis of Transform2D is stored differently from Basis. In terms of columns array, the basis matrix looks like "on paper": - // M = (columns[0][0] columns[1][0]) - // (columns[0][1] columns[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 columns[i]. - // Note that this is the opposite of the indices in mathematical texts, meaning: $M_{12}$ in a math book corresponds to columns[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 columns[3]; - - _FORCE_INLINE_ real_t tdotx(const Vector2 &v) const { return columns[0][0] * v.x + columns[1][0] * v.y; } - _FORCE_INLINE_ real_t tdoty(const Vector2 &v) const { return columns[0][1] * v.x + columns[1][1] * v.y; } - - const Vector2 &operator[](int p_idx) const { return columns[p_idx]; } - Vector2 &operator[](int p_idx) { return columns[p_idx]; } - - void invert(); - Transform2D inverse() const; - - void affine_invert(); - Transform2D affine_inverse() const; - - void set_rotation(const real_t p_rot); - real_t get_rotation() const; - real_t get_skew() const; - void set_skew(const real_t p_angle); - _FORCE_INLINE_ void set_rotation_and_scale(const real_t p_rot, const Size2 &p_scale); - _FORCE_INLINE_ void set_rotation_scale_and_skew(const real_t p_rot, const Size2 &p_scale, const real_t p_skew); - void rotate(const real_t p_angle); - - void scale(const Size2 &p_scale); - void scale_basis(const Size2 &p_scale); - void translate_local(const real_t p_tx, const real_t p_ty); - void translate_local(const Vector2 &p_translation); - - real_t basis_determinant() const; - - Size2 get_scale() const; - void set_scale(const Size2 &p_scale); - - _FORCE_INLINE_ const Vector2 &get_origin() const { return columns[2]; } - _FORCE_INLINE_ void set_origin(const Vector2 &p_origin) { columns[2] = p_origin; } - - Transform2D basis_scaled(const Size2 &p_scale) const; - Transform2D scaled(const Size2 &p_scale) const; - Transform2D scaled_local(const Size2 &p_scale) const; - Transform2D translated(const Vector2 &p_offset) const; - Transform2D translated_local(const Vector2 &p_offset) const; - Transform2D rotated(const real_t p_angle) const; - Transform2D rotated_local(const real_t p_angle) const; - - Transform2D untranslated() const; - - void orthonormalize(); - Transform2D orthonormalized() const; - bool is_equal_approx(const Transform2D &p_transform) const; - - Transform2D looking_at(const Vector2 &p_target) 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; - void operator*=(const real_t p_val); - Transform2D operator*(const real_t p_val) const; - - Transform2D interpolate_with(const Transform2D &p_transform, const real_t p_c) const; - - _FORCE_INLINE_ Vector2 basis_xform(const Vector2 &p_vec) const; - _FORCE_INLINE_ Vector2 basis_xform_inv(const Vector2 &p_vec) const; - _FORCE_INLINE_ Vector2 xform(const Vector2 &p_vec) const; - _FORCE_INLINE_ Vector2 xform_inv(const Vector2 &p_vec) const; - _FORCE_INLINE_ Rect2 xform(const Rect2 &p_rect) const; - _FORCE_INLINE_ Rect2 xform_inv(const Rect2 &p_rect) const; - _FORCE_INLINE_ PackedVector2Array xform(const PackedVector2Array &p_array) const; - _FORCE_INLINE_ PackedVector2Array xform_inv(const PackedVector2Array &p_array) const; - - operator String() const; - - Transform2D(const real_t xx, const real_t xy, const real_t yx, const real_t yy, const real_t ox, const real_t oy) { - columns[0][0] = xx; - columns[0][1] = xy; - columns[1][0] = yx; - columns[1][1] = yy; - columns[2][0] = ox; - columns[2][1] = oy; - } - - Transform2D(const Vector2 &p_x, const Vector2 &p_y, const Vector2 &p_origin) { - columns[0] = p_x; - columns[1] = p_y; - columns[2] = p_origin; - } - - Transform2D(const real_t p_rot, const Vector2 &p_pos); - - Transform2D(const real_t p_rot, const Size2 &p_scale, const real_t p_skew, const Vector2 &p_pos); - - Transform2D() { - columns[0][0] = 1.0; - columns[1][1] = 1.0; - } -}; - -Vector2 Transform2D::basis_xform(const Vector2 &p_vec) const { - return Vector2( - tdotx(p_vec), - tdoty(p_vec)); -} - -Vector2 Transform2D::basis_xform_inv(const Vector2 &p_vec) const { - return Vector2( - columns[0].dot(p_vec), - columns[1].dot(p_vec)); -} - -Vector2 Transform2D::xform(const Vector2 &p_vec) const { - return Vector2( - tdotx(p_vec), - tdoty(p_vec)) + - columns[2]; -} - -Vector2 Transform2D::xform_inv(const Vector2 &p_vec) const { - Vector2 v = p_vec - columns[2]; - - return Vector2( - columns[0].dot(v), - columns[1].dot(v)); -} - -Rect2 Transform2D::xform(const Rect2 &p_rect) const { - Vector2 x = columns[0] * p_rect.size.x; - Vector2 y = columns[1] * p_rect.size.y; - Vector2 pos = xform(p_rect.position); - - Rect2 new_rect; - new_rect.position = pos; - new_rect.expand_to(pos + x); - new_rect.expand_to(pos + y); - new_rect.expand_to(pos + x + y); - return new_rect; -} - -void Transform2D::set_rotation_and_scale(const real_t p_rot, const Size2 &p_scale) { - columns[0][0] = Math::cos(p_rot) * p_scale.x; - columns[1][1] = Math::cos(p_rot) * p_scale.y; - columns[1][0] = -Math::sin(p_rot) * p_scale.y; - columns[0][1] = Math::sin(p_rot) * p_scale.x; -} - -void Transform2D::set_rotation_scale_and_skew(const real_t p_rot, const Size2 &p_scale, const real_t p_skew) { - columns[0][0] = Math::cos(p_rot) * p_scale.x; - columns[1][1] = Math::cos(p_rot + p_skew) * p_scale.y; - columns[1][0] = -Math::sin(p_rot + p_skew) * p_scale.y; - columns[0][1] = Math::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; -} - -PackedVector2Array Transform2D::xform(const PackedVector2Array &p_array) const { - PackedVector2Array array; - array.resize(p_array.size()); - - const Vector2 *r = p_array.ptr(); - Vector2 *w = array.ptrw(); - - for (int i = 0; i < p_array.size(); ++i) { - w[i] = xform(r[i]); - } - return array; -} - -PackedVector2Array Transform2D::xform_inv(const PackedVector2Array &p_array) const { - PackedVector2Array array; - array.resize(p_array.size()); - - const Vector2 *r = p_array.ptr(); - Vector2 *w = array.ptrw(); - - for (int i = 0; i < p_array.size(); ++i) { - w[i] = xform_inv(r[i]); - } - return array; -} - -} // namespace godot - -#endif // GODOT_TRANSFORM2D_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/transform3d.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/transform3d.hpp deleted file mode 100644 index 3a54c0b..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/transform3d.hpp +++ /dev/null @@ -1,275 +0,0 @@ -/**************************************************************************/ -/* transform3d.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_TRANSFORM3D_HPP -#define GODOT_TRANSFORM3D_HPP - -#include -#include -#include -#include -#include - -namespace godot { - -struct _NO_DISCARD_ Transform3D { - Basis basis; - Vector3 origin; - - void invert(); - Transform3D inverse() const; - - void affine_invert(); - Transform3D affine_inverse() const; - - Transform3D rotated(const Vector3 &p_axis, real_t p_angle) const; - Transform3D rotated_local(const Vector3 &p_axis, real_t p_angle) const; - - void rotate(const Vector3 &p_axis, real_t p_angle); - void rotate_basis(const Vector3 &p_axis, real_t p_angle); - - void set_look_at(const Vector3 &p_eye, const Vector3 &p_target, const Vector3 &p_up = Vector3(0, 1, 0)); - Transform3D looking_at(const Vector3 &p_target, const Vector3 &p_up = Vector3(0, 1, 0)) const; - - void scale(const Vector3 &p_scale); - Transform3D scaled(const Vector3 &p_scale) const; - Transform3D scaled_local(const Vector3 &p_scale) const; - void scale_basis(const Vector3 &p_scale); - void translate_local(real_t p_tx, real_t p_ty, real_t p_tz); - void translate_local(const Vector3 &p_translation); - Transform3D translated(const Vector3 &p_translation) const; - Transform3D translated_local(const Vector3 &p_translation) const; - - const Basis &get_basis() const { return basis; } - void set_basis(const Basis &p_basis) { basis = p_basis; } - - const Vector3 &get_origin() const { return origin; } - void set_origin(const Vector3 &p_origin) { origin = p_origin; } - - void orthonormalize(); - Transform3D orthonormalized() const; - void orthogonalize(); - Transform3D orthogonalized() const; - bool is_equal_approx(const Transform3D &p_transform) const; - - bool operator==(const Transform3D &p_transform) const; - bool operator!=(const Transform3D &p_transform) const; - - _FORCE_INLINE_ Vector3 xform(const Vector3 &p_vector) const; - _FORCE_INLINE_ AABB xform(const AABB &p_aabb) const; - _FORCE_INLINE_ PackedVector3Array xform(const PackedVector3Array &p_array) const; - - // NOTE: These are UNSAFE with non-uniform scaling, and will produce incorrect results. - // They use the transpose. - // For safe inverse transforms, xform by the affine_inverse. - _FORCE_INLINE_ Vector3 xform_inv(const Vector3 &p_vector) const; - _FORCE_INLINE_ AABB xform_inv(const AABB &p_aabb) const; - _FORCE_INLINE_ PackedVector3Array xform_inv(const PackedVector3Array &p_array) const; - - // Safe with non-uniform scaling (uses affine_inverse). - _FORCE_INLINE_ Plane xform(const Plane &p_plane) const; - _FORCE_INLINE_ Plane xform_inv(const Plane &p_plane) const; - - // These fast versions use precomputed affine inverse, and should be used in bottleneck areas where - // multiple planes are to be transformed. - _FORCE_INLINE_ Plane xform_fast(const Plane &p_plane, const Basis &p_basis_inverse_transpose) const; - static _FORCE_INLINE_ Plane xform_inv_fast(const Plane &p_plane, const Transform3D &p_inverse, const Basis &p_basis_transpose); - - void operator*=(const Transform3D &p_transform); - Transform3D operator*(const Transform3D &p_transform) const; - void operator*=(const real_t p_val); - Transform3D operator*(const real_t p_val) const; - - Transform3D interpolate_with(const Transform3D &p_transform, real_t p_c) const; - - _FORCE_INLINE_ Transform3D inverse_xform(const Transform3D &t) const { - Vector3 v = t.origin - origin; - return Transform3D(basis.transpose_xform(t.basis), - basis.xform(v)); - } - - 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) { - basis.set(xx, xy, xz, yx, yy, yz, zx, zy, zz); - origin.x = tx; - origin.y = ty; - origin.z = tz; - } - - operator String() const; - - Transform3D() {} - Transform3D(const Basis &p_basis, const Vector3 &p_origin = Vector3()); - Transform3D(const Vector3 &p_x, const Vector3 &p_y, const Vector3 &p_z, const Vector3 &p_origin); - Transform3D(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 ox, real_t oy, real_t oz); -}; - -_FORCE_INLINE_ Vector3 Transform3D::xform(const Vector3 &p_vector) const { - return Vector3( - basis[0].dot(p_vector) + origin.x, - basis[1].dot(p_vector) + origin.y, - basis[2].dot(p_vector) + origin.z); -} - -_FORCE_INLINE_ Vector3 Transform3D::xform_inv(const Vector3 &p_vector) const { - Vector3 v = p_vector - origin; - - return Vector3( - (basis.rows[0][0] * v.x) + (basis.rows[1][0] * v.y) + (basis.rows[2][0] * v.z), - (basis.rows[0][1] * v.x) + (basis.rows[1][1] * v.y) + (basis.rows[2][1] * v.z), - (basis.rows[0][2] * v.x) + (basis.rows[1][2] * v.y) + (basis.rows[2][2] * v.z)); -} - -// Neither the plane regular xform or xform_inv are particularly efficient, -// as they do a basis inverse. For xforming a large number -// of planes it is better to pre-calculate the inverse transpose basis once -// and reuse it for each plane, by using the 'fast' version of the functions. -_FORCE_INLINE_ Plane Transform3D::xform(const Plane &p_plane) const { - Basis b = basis.inverse(); - b.transpose(); - return xform_fast(p_plane, b); -} - -_FORCE_INLINE_ Plane Transform3D::xform_inv(const Plane &p_plane) const { - Transform3D inv = affine_inverse(); - Basis basis_transpose = basis.transposed(); - return xform_inv_fast(p_plane, inv, basis_transpose); -} - -_FORCE_INLINE_ AABB Transform3D::xform(const AABB &p_aabb) const { - /* https://dev.theomader.com/transform-bounding-boxes/ */ - Vector3 min = p_aabb.position; - Vector3 max = p_aabb.position + p_aabb.size; - Vector3 tmin, tmax; - for (int i = 0; i < 3; i++) { - tmin[i] = tmax[i] = origin[i]; - for (int j = 0; j < 3; j++) { - real_t e = basis[i][j] * min[j]; - real_t f = basis[i][j] * max[j]; - if (e < f) { - tmin[i] += e; - tmax[i] += f; - } else { - tmin[i] += f; - tmax[i] += e; - } - } - } - AABB r_aabb; - r_aabb.position = tmin; - r_aabb.size = tmax - tmin; - return r_aabb; -} - -_FORCE_INLINE_ AABB Transform3D::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; -} - -PackedVector3Array Transform3D::xform(const PackedVector3Array &p_array) const { - PackedVector3Array array; - array.resize(p_array.size()); - - const Vector3 *r = p_array.ptr(); - Vector3 *w = array.ptrw(); - - for (int i = 0; i < p_array.size(); ++i) { - w[i] = xform(r[i]); - } - return array; -} - -PackedVector3Array Transform3D::xform_inv(const PackedVector3Array &p_array) const { - PackedVector3Array array; - array.resize(p_array.size()); - - const Vector3 *r = p_array.ptr(); - Vector3 *w = array.ptrw(); - - for (int i = 0; i < p_array.size(); ++i) { - w[i] = xform_inv(r[i]); - } - return array; -} - -_FORCE_INLINE_ Plane Transform3D::xform_fast(const Plane &p_plane, const Basis &p_basis_inverse_transpose) const { - // Transform a single point on the plane. - Vector3 point = p_plane.normal * p_plane.d; - point = xform(point); - - // Use inverse transpose for correct normals with non-uniform scaling. - Vector3 normal = p_basis_inverse_transpose.xform(p_plane.normal); - normal.normalize(); - - real_t d = normal.dot(point); - return Plane(normal, d); -} - -_FORCE_INLINE_ Plane Transform3D::xform_inv_fast(const Plane &p_plane, const Transform3D &p_inverse, const Basis &p_basis_transpose) { - // Transform a single point on the plane. - Vector3 point = p_plane.normal * p_plane.d; - point = p_inverse.xform(point); - - // Note that instead of precalculating the transpose, an alternative - // would be to use the transpose for the basis transform. - // However that would be less SIMD friendly (requiring a swizzle). - // So the cost is one extra precalced value in the calling code. - // This is probably worth it, as this could be used in bottleneck areas. And - // where it is not a bottleneck, the non-fast method is fine. - - // Use transpose for correct normals with non-uniform scaling. - Vector3 normal = p_basis_transpose.xform(p_plane.normal); - normal.normalize(); - - real_t d = normal.dot(point); - return Plane(normal, d); -} - -} // namespace godot - -#endif // GODOT_TRANSFORM3D_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/typed_array.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/typed_array.hpp deleted file mode 100644 index 47b7410..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/typed_array.hpp +++ /dev/null @@ -1,131 +0,0 @@ -/**************************************************************************/ -/* typed_array.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_TYPED_ARRAY_HPP -#define GODOT_TYPED_ARRAY_HPP - -#include -#include - -namespace godot { - -template -class TypedArray : public Array { -public: - _FORCE_INLINE_ void operator=(const Array &p_array) { - ERR_FAIL_COND_MSG(!is_same_typed(p_array), "Cannot assign an array with a different element type."); - _ref(p_array); - } - _FORCE_INLINE_ TypedArray(const Variant &p_variant) : - Array(p_variant.operator Array(), Variant::OBJECT, T::get_class_static(), Variant()) { - } - _FORCE_INLINE_ TypedArray(const Array &p_array) : - Array(p_array, Variant::OBJECT, T::get_class_static(), Variant()) { - } - _FORCE_INLINE_ TypedArray() { - set_typed(Variant::OBJECT, T::get_class_static(), Variant()); - } -}; - -// specialization for the rest of variant types - -#define MAKE_TYPED_ARRAY(m_type, m_variant_type) \ - template <> \ - class TypedArray : public Array { \ - public: \ - _FORCE_INLINE_ void operator=(const Array &p_array) { \ - ERR_FAIL_COND_MSG(!is_same_typed(p_array), "Cannot assign an array with a different element type."); \ - _ref(p_array); \ - } \ - _FORCE_INLINE_ TypedArray(const Variant &p_variant) : \ - Array(p_variant.operator Array(), m_variant_type, StringName(), Variant()) { \ - } \ - _FORCE_INLINE_ TypedArray(const Array &p_array) : \ - Array(p_array, m_variant_type, StringName(), Variant()) { \ - } \ - _FORCE_INLINE_ TypedArray() { \ - set_typed(m_variant_type, StringName(), Variant()); \ - } \ - }; - -// All Variant::OBJECT types are intentionally omitted from this list because they are handled by -// the unspecialized TypedArray definition. -MAKE_TYPED_ARRAY(bool, Variant::BOOL) -MAKE_TYPED_ARRAY(uint8_t, Variant::INT) -MAKE_TYPED_ARRAY(int8_t, Variant::INT) -MAKE_TYPED_ARRAY(uint16_t, Variant::INT) -MAKE_TYPED_ARRAY(int16_t, Variant::INT) -MAKE_TYPED_ARRAY(uint32_t, Variant::INT) -MAKE_TYPED_ARRAY(int32_t, Variant::INT) -MAKE_TYPED_ARRAY(uint64_t, Variant::INT) -MAKE_TYPED_ARRAY(int64_t, Variant::INT) -MAKE_TYPED_ARRAY(float, Variant::FLOAT) -MAKE_TYPED_ARRAY(double, Variant::FLOAT) -MAKE_TYPED_ARRAY(String, Variant::STRING) -MAKE_TYPED_ARRAY(Vector2, Variant::VECTOR2) -MAKE_TYPED_ARRAY(Vector2i, Variant::VECTOR2I) -MAKE_TYPED_ARRAY(Rect2, Variant::RECT2) -MAKE_TYPED_ARRAY(Rect2i, Variant::RECT2I) -MAKE_TYPED_ARRAY(Vector3, Variant::VECTOR3) -MAKE_TYPED_ARRAY(Vector3i, Variant::VECTOR3I) -MAKE_TYPED_ARRAY(Transform2D, Variant::TRANSFORM2D) -MAKE_TYPED_ARRAY(Vector4, Variant::VECTOR4) -MAKE_TYPED_ARRAY(Vector4i, Variant::VECTOR4I) -MAKE_TYPED_ARRAY(Plane, Variant::PLANE) -MAKE_TYPED_ARRAY(Quaternion, Variant::QUATERNION) -MAKE_TYPED_ARRAY(AABB, Variant::AABB) -MAKE_TYPED_ARRAY(Basis, Variant::BASIS) -MAKE_TYPED_ARRAY(Transform3D, Variant::TRANSFORM3D) -MAKE_TYPED_ARRAY(Projection, Variant::PROJECTION) -MAKE_TYPED_ARRAY(Color, Variant::COLOR) -MAKE_TYPED_ARRAY(StringName, Variant::STRING_NAME) -MAKE_TYPED_ARRAY(NodePath, Variant::NODE_PATH) -MAKE_TYPED_ARRAY(RID, Variant::RID) -MAKE_TYPED_ARRAY(Callable, Variant::CALLABLE) -MAKE_TYPED_ARRAY(Signal, Variant::SIGNAL) -MAKE_TYPED_ARRAY(Dictionary, Variant::DICTIONARY) -MAKE_TYPED_ARRAY(Array, Variant::ARRAY) -MAKE_TYPED_ARRAY(PackedByteArray, Variant::PACKED_BYTE_ARRAY) -MAKE_TYPED_ARRAY(PackedInt32Array, Variant::PACKED_INT32_ARRAY) -MAKE_TYPED_ARRAY(PackedInt64Array, Variant::PACKED_INT64_ARRAY) -MAKE_TYPED_ARRAY(PackedFloat32Array, Variant::PACKED_FLOAT32_ARRAY) -MAKE_TYPED_ARRAY(PackedFloat64Array, Variant::PACKED_FLOAT64_ARRAY) -MAKE_TYPED_ARRAY(PackedStringArray, Variant::PACKED_STRING_ARRAY) -MAKE_TYPED_ARRAY(PackedVector2Array, Variant::PACKED_VECTOR2_ARRAY) -MAKE_TYPED_ARRAY(PackedVector3Array, Variant::PACKED_VECTOR3_ARRAY) -MAKE_TYPED_ARRAY(PackedColorArray, Variant::PACKED_COLOR_ARRAY) -// If the IPAddress struct is added to godot-cpp, the following could also be added: -//MAKE_TYPED_ARRAY(IPAddress, Variant::STRING) - -#undef MAKE_TYPED_ARRAY - -} // namespace godot - -#endif // GODOT_TYPED_ARRAY_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/variant.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/variant.hpp deleted file mode 100644 index 5b09a15..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/variant.hpp +++ /dev/null @@ -1,367 +0,0 @@ -/**************************************************************************/ -/* variant.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VARIANT_HPP -#define GODOT_VARIANT_HPP - -#include - -#include -#include - -#include - -#include - -namespace godot { - -class ObjectID; - -class Variant { - uint8_t opaque[GODOT_CPP_VARIANT_SIZE]{ 0 }; - - 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, - VECTOR4, - VECTOR4I, - PLANE, - QUATERNION, - AABB, - BASIS, - TRANSFORM3D, - PROJECTION, - - // 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, - OP_POWER, - // 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 GDExtensionVariantFromTypeConstructorFunc from_type_constructor[VARIANT_MAX]; - static GDExtensionTypeFromVariantConstructorFunc to_type_constructor[VARIANT_MAX]; - -public: - _FORCE_INLINE_ GDExtensionVariantPtr _native_ptr() const { return const_cast(&opaque); } - Variant(); - Variant(std::nullptr_t n) : - Variant() {} - explicit Variant(GDExtensionConstVariantPtr 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(int16_t v) : - Variant(static_cast(v)) {} - Variant(int8_t v) : - Variant(static_cast(v)) {} - Variant(uint64_t v) : - Variant(static_cast(v)) {} - Variant(uint32_t v) : - Variant(static_cast(v)) {} - Variant(uint16_t v) : - Variant(static_cast(v)) {} - Variant(uint8_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 Vector4 &v); - Variant(const Vector4i &v); - Variant(const Plane &v); - Variant(const Quaternion &v); - Variant(const godot::AABB &v); - Variant(const Basis &v); - Variant(const Transform3D &v); - Variant(const Projection &v); - Variant(const Color &v); - Variant(const StringName &v); - Variant(const NodePath &v); - Variant(const godot::RID &v); - Variant(const ObjectID &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 int16_t() const; - operator int8_t() const; - operator uint64_t() const; - operator uint32_t() const; - operator uint16_t() const; - operator uint8_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 Vector4() const; - operator Vector4i() const; - operator Plane() const; - operator Quaternion() const; - operator godot::AABB() const; - operator Basis() const; - operator Transform3D() const; - operator Projection() const; - operator Color() const; - operator StringName() const; - operator NodePath() const; - operator godot::RID() const; - operator ObjectID() 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; - - 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 callp(const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDExtensionCallError &r_error); - - template - Variant call(const StringName &method, Args... args) { - std::array vargs = { args... }; - std::array argptrs; - for (size_t i = 0; i < vargs.size(); i++) { - argptrs[i] = &vargs[i]; - } - Variant result; - GDExtensionCallError error; - callp(method, argptrs.data(), argptrs.size(), result, error); - return result; - } - - static void callp_static(Variant::Type type, const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDExtensionCallError &r_error); - - template - static Variant call_static(Variant::Type type, const StringName &method, Args... args) { - std::array vargs = { args... }; - std::array argptrs; - for (size_t i = 0; i < vargs.size(); i++) { - argptrs[i] = &vargs[i]; - } - Variant result; - GDExtensionCallError error; - callp_static(type, method, argptrs.data(), argptrs.size(), sizeof...(args), 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); - - uint32_t hash() const; - uint32_t recursive_hash(int recursion_count) const; - 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(); -}; - -struct VariantHasher { - static _FORCE_INLINE_ uint32_t hash(const Variant &p_variant) { return p_variant.hash(); } -}; - -struct VariantComparator { - static _FORCE_INLINE_ bool compare(const Variant &p_lhs, const Variant &p_rhs) { return p_lhs.hash_compare(p_rhs); } -}; - -template -String vformat(const String &p_text, const VarArgs... p_args) { - Variant args[sizeof...(p_args) + 1] = { p_args..., Variant() }; // +1 makes sure zero sized arrays are also supported. - Array args_array; - args_array.resize(sizeof...(p_args)); - for (uint32_t i = 0; i < sizeof...(p_args); i++) { - args_array[i] = args[i]; - } - - return p_text % args_array; -} - -#include - -#ifdef REAL_T_IS_DOUBLE -using PackedRealArray = PackedFloat64Array; -#else -using PackedRealArray = PackedFloat32Array; -#endif // REAL_T_IS_DOUBLE - -} // namespace godot - -#endif // GODOT_VARIANT_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/vector2.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/vector2.hpp deleted file mode 100644 index 13c0da6..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/vector2.hpp +++ /dev/null @@ -1,323 +0,0 @@ -/**************************************************************************/ -/* vector2.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VECTOR2_HPP -#define GODOT_VECTOR2_HPP - -#include -#include - -namespace godot { - -class String; -struct Vector2i; - -struct _NO_DISCARD_ Vector2 { - static const int AXIS_COUNT = 2; - - enum Axis { - AXIS_X, - AXIS_Y, - }; - - union { - struct { - union { - real_t x; - real_t width; - }; - union { - real_t y; - real_t height; - }; - }; - - real_t coord[2] = { 0 }; - }; - - _FORCE_INLINE_ real_t &operator[](int p_idx) { - DEV_ASSERT((unsigned int)p_idx < 2); - return coord[p_idx]; - } - _FORCE_INLINE_ const real_t &operator[](int p_idx) const { - DEV_ASSERT((unsigned int)p_idx < 2); - return coord[p_idx]; - } - - _FORCE_INLINE_ Vector2::Axis min_axis_index() const { - return x < y ? Vector2::AXIS_X : Vector2::AXIS_Y; - } - - _FORCE_INLINE_ Vector2::Axis max_axis_index() const { - return x < y ? Vector2::AXIS_Y : Vector2::AXIS_X; - } - - void normalize(); - Vector2 normalized() const; - bool is_normalized() const; - - real_t length() const; - real_t length_squared() const; - Vector2 limit_length(const real_t p_len = 1.0) const; - - Vector2 min(const Vector2 &p_vector2) const { - return Vector2(MIN(x, p_vector2.x), MIN(y, p_vector2.y)); - } - - Vector2 max(const Vector2 &p_vector2) const { - return Vector2(MAX(x, p_vector2.x), MAX(y, p_vector2.y)); - } - - real_t distance_to(const Vector2 &p_vector2) const; - real_t distance_squared_to(const Vector2 &p_vector2) const; - real_t angle_to(const Vector2 &p_vector2) const; - real_t angle_to_point(const Vector2 &p_vector2) const; - _FORCE_INLINE_ Vector2 direction_to(const Vector2 &p_to) const; - - real_t dot(const Vector2 &p_other) const; - real_t cross(const Vector2 &p_other) const; - Vector2 posmod(const real_t p_mod) const; - Vector2 posmodv(const Vector2 &p_modv) const; - Vector2 project(const Vector2 &p_to) const; - - Vector2 plane_project(const real_t p_d, const Vector2 &p_vec) const; - - _FORCE_INLINE_ Vector2 lerp(const Vector2 &p_to, const real_t p_weight) const; - _FORCE_INLINE_ Vector2 slerp(const Vector2 &p_to, const real_t p_weight) const; - _FORCE_INLINE_ Vector2 cubic_interpolate(const Vector2 &p_b, const Vector2 &p_pre_a, const Vector2 &p_post_b, const real_t p_weight) const; - _FORCE_INLINE_ Vector2 cubic_interpolate_in_time(const Vector2 &p_b, const Vector2 &p_pre_a, const Vector2 &p_post_b, const real_t p_weight, const real_t &p_b_t, const real_t &p_pre_a_t, const real_t &p_post_b_t) const; - _FORCE_INLINE_ Vector2 bezier_interpolate(const Vector2 &p_control_1, const Vector2 &p_control_2, const Vector2 &p_end, const real_t p_t) const; - - Vector2 move_toward(const Vector2 &p_to, const real_t p_delta) const; - - Vector2 slide(const Vector2 &p_normal) const; - Vector2 bounce(const Vector2 &p_normal) const; - Vector2 reflect(const Vector2 &p_normal) const; - - bool is_equal_approx(const Vector2 &p_v) const; - bool is_zero_approx() const; - - Vector2 operator+(const Vector2 &p_v) const; - void operator+=(const Vector2 &p_v); - Vector2 operator-(const Vector2 &p_v) const; - void operator-=(const Vector2 &p_v); - Vector2 operator*(const Vector2 &p_v1) const; - - Vector2 operator*(const real_t &rvalue) const; - void operator*=(const real_t &rvalue); - void operator*=(const Vector2 &rvalue) { *this = *this * rvalue; } - - Vector2 operator/(const Vector2 &p_v1) const; - - Vector2 operator/(const real_t &rvalue) const; - - void operator/=(const real_t &rvalue); - void operator/=(const Vector2 &rvalue) { *this = *this / rvalue; } - - Vector2 operator-() const; - - bool operator==(const Vector2 &p_vec2) const; - bool operator!=(const Vector2 &p_vec2) const; - - bool operator<(const Vector2 &p_vec2) const { return x == p_vec2.x ? (y < p_vec2.y) : (x < p_vec2.x); } - bool operator>(const Vector2 &p_vec2) const { return x == p_vec2.x ? (y > p_vec2.y) : (x > p_vec2.x); } - bool operator<=(const Vector2 &p_vec2) const { return x == p_vec2.x ? (y <= p_vec2.y) : (x < p_vec2.x); } - bool operator>=(const Vector2 &p_vec2) const { return x == p_vec2.x ? (y >= p_vec2.y) : (x > p_vec2.x); } - - real_t angle() const; - static Vector2 from_angle(const real_t p_angle); - - _FORCE_INLINE_ Vector2 abs() const { - return Vector2(Math::abs(x), Math::abs(y)); - } - - Vector2 rotated(const real_t p_by) const; - Vector2 orthogonal() const { - return Vector2(y, -x); - } - - Vector2 sign() const; - Vector2 floor() const; - Vector2 ceil() const; - Vector2 round() const; - Vector2 snapped(const Vector2 &p_by) const; - Vector2 clamp(const Vector2 &p_min, const Vector2 &p_max) const; - real_t aspect() const { return width / height; } - - operator String() const; - operator Vector2i() const; - - _FORCE_INLINE_ Vector2() {} - _FORCE_INLINE_ Vector2(const real_t p_x, const real_t p_y) { - x = p_x; - y = p_y; - } -}; - -_FORCE_INLINE_ Vector2 Vector2::plane_project(const real_t p_d, const Vector2 &p_vec) const { - return p_vec - *this * (dot(p_vec) - p_d); -} - -_FORCE_INLINE_ Vector2 Vector2::operator+(const Vector2 &p_v) const { - return Vector2(x + p_v.x, y + p_v.y); -} - -_FORCE_INLINE_ void Vector2::operator+=(const Vector2 &p_v) { - x += p_v.x; - y += p_v.y; -} - -_FORCE_INLINE_ Vector2 Vector2::operator-(const Vector2 &p_v) const { - return Vector2(x - p_v.x, y - p_v.y); -} - -_FORCE_INLINE_ void Vector2::operator-=(const Vector2 &p_v) { - x -= p_v.x; - y -= p_v.y; -} - -_FORCE_INLINE_ Vector2 Vector2::operator*(const Vector2 &p_v1) const { - return Vector2(x * p_v1.x, y * p_v1.y); -} - -_FORCE_INLINE_ Vector2 Vector2::operator*(const real_t &rvalue) const { - return Vector2(x * rvalue, y * rvalue); -} - -_FORCE_INLINE_ void Vector2::operator*=(const real_t &rvalue) { - x *= rvalue; - y *= rvalue; -} - -_FORCE_INLINE_ Vector2 Vector2::operator/(const Vector2 &p_v1) const { - return Vector2(x / p_v1.x, y / p_v1.y); -} - -_FORCE_INLINE_ Vector2 Vector2::operator/(const real_t &rvalue) const { - return Vector2(x / rvalue, y / rvalue); -} - -_FORCE_INLINE_ void Vector2::operator/=(const real_t &rvalue) { - x /= rvalue; - y /= rvalue; -} - -_FORCE_INLINE_ Vector2 Vector2::operator-() const { - return Vector2(-x, -y); -} - -_FORCE_INLINE_ bool Vector2::operator==(const Vector2 &p_vec2) const { - return x == p_vec2.x && y == p_vec2.y; -} - -_FORCE_INLINE_ bool Vector2::operator!=(const Vector2 &p_vec2) const { - return x != p_vec2.x || y != p_vec2.y; -} - -Vector2 Vector2::lerp(const Vector2 &p_to, const real_t p_weight) const { - Vector2 res = *this; - - res.x += (p_weight * (p_to.x - x)); - res.y += (p_weight * (p_to.y - y)); - - return res; -} - -Vector2 Vector2::slerp(const Vector2 &p_to, const real_t p_weight) const { - real_t start_length_sq = length_squared(); - real_t end_length_sq = p_to.length_squared(); - if (unlikely(start_length_sq == 0.0f || end_length_sq == 0.0f)) { - // Zero length vectors have no angle, so the best we can do is either lerp or throw an error. - return lerp(p_to, p_weight); - } - real_t start_length = Math::sqrt(start_length_sq); - real_t result_length = Math::lerp(start_length, Math::sqrt(end_length_sq), p_weight); - real_t angle = angle_to(p_to); - return rotated(angle * p_weight) * (result_length / start_length); -} - -Vector2 Vector2::cubic_interpolate(const Vector2 &p_b, const Vector2 &p_pre_a, const Vector2 &p_post_b, const real_t p_weight) const { - Vector2 res = *this; - res.x = Math::cubic_interpolate(res.x, p_b.x, p_pre_a.x, p_post_b.x, p_weight); - res.y = Math::cubic_interpolate(res.y, p_b.y, p_pre_a.y, p_post_b.y, p_weight); - return res; -} - -Vector2 Vector2::cubic_interpolate_in_time(const Vector2 &p_b, const Vector2 &p_pre_a, const Vector2 &p_post_b, const real_t p_weight, const real_t &p_b_t, const real_t &p_pre_a_t, const real_t &p_post_b_t) const { - Vector2 res = *this; - res.x = Math::cubic_interpolate_in_time(res.x, p_b.x, p_pre_a.x, p_post_b.x, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - res.y = Math::cubic_interpolate_in_time(res.y, p_b.y, p_pre_a.y, p_post_b.y, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - return res; -} - -Vector2 Vector2::bezier_interpolate(const Vector2 &p_control_1, const Vector2 &p_control_2, const Vector2 &p_end, const real_t p_t) const { - Vector2 res = *this; - - /* Formula from Wikipedia article on Bezier curves. */ - real_t omt = (1.0 - p_t); - real_t omt2 = omt * omt; - real_t omt3 = omt2 * omt; - real_t t2 = p_t * p_t; - real_t t3 = t2 * p_t; - - return res * omt3 + p_control_1 * omt2 * p_t * 3.0 + p_control_2 * omt * t2 * 3.0 + p_end * t3; -} - -Vector2 Vector2::direction_to(const Vector2 &p_to) const { - Vector2 ret(p_to.x - x, p_to.y - y); - ret.normalize(); - return ret; -} - -// Multiplication operators required to workaround issues with LLVM using implicit conversion -// to Vector2i instead for integers where it should not. - -_FORCE_INLINE_ Vector2 operator*(const float p_scalar, const Vector2 &p_vec) { - return p_vec * p_scalar; -} - -_FORCE_INLINE_ Vector2 operator*(const double p_scalar, const Vector2 &p_vec) { - return p_vec * p_scalar; -} - -_FORCE_INLINE_ Vector2 operator*(const int32_t p_scalar, const Vector2 &p_vec) { - return p_vec * p_scalar; -} - -_FORCE_INLINE_ Vector2 operator*(const int64_t p_scalar, const Vector2 &p_vec) { - return p_vec * p_scalar; -} - -typedef Vector2 Size2; -typedef Vector2 Point2; - -} // namespace godot - -#endif // GODOT_VECTOR2_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/vector2i.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/vector2i.hpp deleted file mode 100644 index afeaeea..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/vector2i.hpp +++ /dev/null @@ -1,161 +0,0 @@ -/**************************************************************************/ -/* vector2i.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VECTOR2I_HPP -#define GODOT_VECTOR2I_HPP - -#include -#include - -namespace godot { - -class String; -struct Vector2; - -struct _NO_DISCARD_ Vector2i { - static const int AXIS_COUNT = 2; - - enum Axis { - AXIS_X, - AXIS_Y, - }; - - union { - struct { - union { - int32_t x; - int32_t width; - }; - union { - int32_t y; - int32_t height; - }; - }; - - int32_t coord[2] = { 0 }; - }; - - _FORCE_INLINE_ int32_t &operator[](int p_idx) { - DEV_ASSERT((unsigned int)p_idx < 2); - return coord[p_idx]; - } - _FORCE_INLINE_ const int32_t &operator[](int p_idx) const { - DEV_ASSERT((unsigned int)p_idx < 2); - return coord[p_idx]; - } - - _FORCE_INLINE_ Vector2i::Axis min_axis_index() const { - return x < y ? Vector2i::AXIS_X : Vector2i::AXIS_Y; - } - - _FORCE_INLINE_ Vector2i::Axis max_axis_index() const { - return x < y ? Vector2i::AXIS_Y : Vector2i::AXIS_X; - } - - Vector2i min(const Vector2i &p_vector2i) const { - return Vector2i(MIN(x, p_vector2i.x), MIN(y, p_vector2i.y)); - } - - Vector2i max(const Vector2i &p_vector2i) const { - return Vector2i(MAX(x, p_vector2i.x), MAX(y, p_vector2i.y)); - } - - Vector2i operator+(const Vector2i &p_v) const; - void operator+=(const Vector2i &p_v); - Vector2i operator-(const Vector2i &p_v) const; - void operator-=(const Vector2i &p_v); - Vector2i operator*(const Vector2i &p_v1) const; - - Vector2i operator*(const int32_t &rvalue) const; - void operator*=(const int32_t &rvalue); - - Vector2i operator/(const Vector2i &p_v1) const; - Vector2i operator/(const int32_t &rvalue) const; - void operator/=(const int32_t &rvalue); - - Vector2i operator%(const Vector2i &p_v1) const; - Vector2i operator%(const int32_t &rvalue) const; - void operator%=(const int32_t &rvalue); - - Vector2i operator-() const; - bool operator<(const Vector2i &p_vec2) const { return (x == p_vec2.x) ? (y < p_vec2.y) : (x < p_vec2.x); } - bool operator>(const Vector2i &p_vec2) const { return (x == p_vec2.x) ? (y > p_vec2.y) : (x > p_vec2.x); } - - bool operator<=(const Vector2i &p_vec2) const { return x == p_vec2.x ? (y <= p_vec2.y) : (x < p_vec2.x); } - bool operator>=(const Vector2i &p_vec2) const { return x == p_vec2.x ? (y >= p_vec2.y) : (x > p_vec2.x); } - - bool operator==(const Vector2i &p_vec2) const; - bool operator!=(const Vector2i &p_vec2) const; - - int64_t length_squared() const; - double length() const; - - int64_t distance_squared_to(const Vector2i &p_to) const; - double distance_to(const Vector2i &p_to) const; - - real_t aspect() const { return width / (real_t)height; } - Vector2i sign() const { return Vector2i(SIGN(x), SIGN(y)); } - Vector2i abs() const { return Vector2i(Math::abs(x), Math::abs(y)); } - Vector2i clamp(const Vector2i &p_min, const Vector2i &p_max) const; - - operator String() const; - operator Vector2() const; - - inline Vector2i() {} - inline Vector2i(const int32_t p_x, const int32_t p_y) { - x = p_x; - y = p_y; - } -}; - -// Multiplication operators required to workaround issues with LLVM using implicit conversion. - -_FORCE_INLINE_ Vector2i operator*(const int32_t p_scalar, const Vector2i &p_vector) { - return p_vector * p_scalar; -} - -_FORCE_INLINE_ Vector2i operator*(const int64_t p_scalar, const Vector2i &p_vector) { - return p_vector * p_scalar; -} - -_FORCE_INLINE_ Vector2i operator*(const float p_scalar, const Vector2i &p_vector) { - return p_vector * p_scalar; -} - -_FORCE_INLINE_ Vector2i operator*(const double p_scalar, const Vector2i &p_vector) { - return p_vector * p_scalar; -} - -typedef Vector2i Size2i; -typedef Vector2i Point2i; - -} // namespace godot - -#endif // GODOT_VECTOR2I_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/vector3.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/vector3.hpp deleted file mode 100644 index a8d96ed..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/vector3.hpp +++ /dev/null @@ -1,529 +0,0 @@ -/**************************************************************************/ -/* vector3.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VECTOR3_HPP -#define GODOT_VECTOR3_HPP - -#include -#include - -namespace godot { - -class String; -struct Basis; -struct Vector2; -struct Vector3i; - -struct _NO_DISCARD_ Vector3 { - static const int AXIS_COUNT = 3; - - enum Axis { - AXIS_X, - AXIS_Y, - AXIS_Z, - }; - - union { - struct { - real_t x; - real_t y; - real_t z; - }; - - real_t coord[3] = { 0 }; - }; - - _FORCE_INLINE_ const real_t &operator[](const int p_axis) const { - DEV_ASSERT((unsigned int)p_axis < 3); - return coord[p_axis]; - } - - _FORCE_INLINE_ real_t &operator[](const int p_axis) { - DEV_ASSERT((unsigned int)p_axis < 3); - return coord[p_axis]; - } - - _FORCE_INLINE_ Vector3::Axis min_axis_index() const { - return x < y ? (x < z ? Vector3::AXIS_X : Vector3::AXIS_Z) : (y < z ? Vector3::AXIS_Y : Vector3::AXIS_Z); - } - - _FORCE_INLINE_ Vector3::Axis max_axis_index() const { - return x < y ? (y < z ? Vector3::AXIS_Z : Vector3::AXIS_Y) : (x < z ? Vector3::AXIS_Z : Vector3::AXIS_X); - } - - Vector3 min(const Vector3 &p_vector3) const { - return Vector3(MIN(x, p_vector3.x), MIN(y, p_vector3.y), MIN(z, p_vector3.z)); - } - - Vector3 max(const Vector3 &p_vector3) const { - return Vector3(MAX(x, p_vector3.x), MAX(y, p_vector3.y), MAX(z, p_vector3.z)); - } - - _FORCE_INLINE_ real_t length() const; - _FORCE_INLINE_ real_t length_squared() const; - - _FORCE_INLINE_ void normalize(); - _FORCE_INLINE_ Vector3 normalized() const; - _FORCE_INLINE_ bool is_normalized() const; - _FORCE_INLINE_ Vector3 inverse() const; - Vector3 limit_length(const real_t p_len = 1.0) const; - - _FORCE_INLINE_ void zero(); - - void snap(const Vector3 p_val); - Vector3 snapped(const Vector3 p_val) const; - - void rotate(const Vector3 &p_axis, const real_t p_angle); - Vector3 rotated(const Vector3 &p_axis, const real_t p_angle) const; - - /* Static Methods between 2 vector3s */ - - _FORCE_INLINE_ Vector3 lerp(const Vector3 &p_to, const real_t p_weight) const; - _FORCE_INLINE_ Vector3 slerp(const Vector3 &p_to, const real_t p_weight) const; - _FORCE_INLINE_ Vector3 cubic_interpolate(const Vector3 &p_b, const Vector3 &p_pre_a, const Vector3 &p_post_b, const real_t p_weight) const; - _FORCE_INLINE_ Vector3 cubic_interpolate_in_time(const Vector3 &p_b, const Vector3 &p_pre_a, const Vector3 &p_post_b, const real_t p_weight, const real_t &p_b_t, const real_t &p_pre_a_t, const real_t &p_post_b_t) const; - _FORCE_INLINE_ Vector3 bezier_interpolate(const Vector3 &p_control_1, const Vector3 &p_control_2, const Vector3 &p_end, const real_t p_t) const; - - Vector3 move_toward(const Vector3 &p_to, const real_t p_delta) const; - - Vector2 octahedron_encode() const; - static Vector3 octahedron_decode(const Vector2 &p_oct); - Vector2 octahedron_tangent_encode(const float sign) const; - static Vector3 octahedron_tangent_decode(const Vector2 &p_oct, float *sign); - - _FORCE_INLINE_ Vector3 cross(const Vector3 &p_with) const; - _FORCE_INLINE_ real_t dot(const Vector3 &p_with) const; - Basis outer(const Vector3 &p_with) const; - - _FORCE_INLINE_ Vector3 abs() const; - _FORCE_INLINE_ Vector3 floor() const; - _FORCE_INLINE_ Vector3 sign() const; - _FORCE_INLINE_ Vector3 ceil() const; - _FORCE_INLINE_ Vector3 round() const; - Vector3 clamp(const Vector3 &p_min, const Vector3 &p_max) const; - - _FORCE_INLINE_ real_t distance_to(const Vector3 &p_to) const; - _FORCE_INLINE_ real_t distance_squared_to(const Vector3 &p_to) const; - - _FORCE_INLINE_ Vector3 posmod(const real_t p_mod) const; - _FORCE_INLINE_ Vector3 posmodv(const Vector3 &p_modv) const; - _FORCE_INLINE_ Vector3 project(const Vector3 &p_to) const; - - _FORCE_INLINE_ real_t angle_to(const Vector3 &p_to) const; - _FORCE_INLINE_ real_t signed_angle_to(const Vector3 &p_to, const Vector3 &p_axis) const; - _FORCE_INLINE_ Vector3 direction_to(const Vector3 &p_to) const; - - _FORCE_INLINE_ Vector3 slide(const Vector3 &p_normal) const; - _FORCE_INLINE_ Vector3 bounce(const Vector3 &p_normal) const; - _FORCE_INLINE_ Vector3 reflect(const Vector3 &p_normal) const; - - bool is_equal_approx(const Vector3 &p_v) const; - bool is_zero_approx() const; - - /* Operators */ - - _FORCE_INLINE_ Vector3 &operator+=(const Vector3 &p_v); - _FORCE_INLINE_ Vector3 operator+(const Vector3 &p_v) const; - _FORCE_INLINE_ Vector3 &operator-=(const Vector3 &p_v); - _FORCE_INLINE_ Vector3 operator-(const Vector3 &p_v) const; - _FORCE_INLINE_ Vector3 &operator*=(const Vector3 &p_v); - _FORCE_INLINE_ Vector3 operator*(const Vector3 &p_v) const; - _FORCE_INLINE_ Vector3 &operator/=(const Vector3 &p_v); - _FORCE_INLINE_ Vector3 operator/(const Vector3 &p_v) const; - - _FORCE_INLINE_ Vector3 &operator*=(const real_t p_scalar); - _FORCE_INLINE_ Vector3 operator*(const real_t p_scalar) const; - _FORCE_INLINE_ Vector3 &operator/=(const real_t p_scalar); - _FORCE_INLINE_ Vector3 operator/(const real_t p_scalar) const; - - _FORCE_INLINE_ Vector3 operator-() const; - - _FORCE_INLINE_ bool operator==(const Vector3 &p_v) const; - _FORCE_INLINE_ bool operator!=(const Vector3 &p_v) const; - _FORCE_INLINE_ bool operator<(const Vector3 &p_v) const; - _FORCE_INLINE_ bool operator<=(const Vector3 &p_v) const; - _FORCE_INLINE_ bool operator>(const Vector3 &p_v) const; - _FORCE_INLINE_ bool operator>=(const Vector3 &p_v) const; - - operator String() const; - operator Vector3i() const; - - _FORCE_INLINE_ Vector3() {} - _FORCE_INLINE_ Vector3(const real_t p_x, const real_t p_y, const real_t p_z) { - x = p_x; - y = p_y; - z = p_z; - } -}; - -Vector3 Vector3::cross(const Vector3 &p_with) const { - Vector3 ret( - (y * p_with.z) - (z * p_with.y), - (z * p_with.x) - (x * p_with.z), - (x * p_with.y) - (y * p_with.x)); - - return ret; -} - -real_t Vector3::dot(const Vector3 &p_with) const { - return x * p_with.x + y * p_with.y + z * p_with.z; -} - -Vector3 Vector3::abs() const { - return Vector3(Math::abs(x), Math::abs(y), Math::abs(z)); -} - -Vector3 Vector3::sign() const { - return Vector3(SIGN(x), SIGN(y), SIGN(z)); -} - -Vector3 Vector3::floor() const { - return Vector3(Math::floor(x), Math::floor(y), Math::floor(z)); -} - -Vector3 Vector3::ceil() const { - return Vector3(Math::ceil(x), Math::ceil(y), Math::ceil(z)); -} - -Vector3 Vector3::round() const { - return Vector3(Math::round(x), Math::round(y), Math::round(z)); -} - -Vector3 Vector3::lerp(const Vector3 &p_to, const real_t p_weight) const { - return Vector3( - x + (p_weight * (p_to.x - x)), - y + (p_weight * (p_to.y - y)), - z + (p_weight * (p_to.z - z))); -} - -Vector3 Vector3::slerp(const Vector3 &p_to, const real_t p_weight) const { - // This method seems more complicated than it really is, since we write out - // the internals of some methods for efficiency (mainly, checking length). - real_t start_length_sq = length_squared(); - real_t end_length_sq = p_to.length_squared(); - if (unlikely(start_length_sq == 0.0f || end_length_sq == 0.0f)) { - // Zero length vectors have no angle, so the best we can do is either lerp or throw an error. - return lerp(p_to, p_weight); - } - Vector3 axis = cross(p_to); - real_t axis_length_sq = axis.length_squared(); - if (unlikely(axis_length_sq == 0.0f)) { - // Colinear vectors have no rotation axis or angle between them, so the best we can do is lerp. - return lerp(p_to, p_weight); - } - axis /= Math::sqrt(axis_length_sq); - real_t start_length = Math::sqrt(start_length_sq); - real_t result_length = Math::lerp(start_length, Math::sqrt(end_length_sq), p_weight); - real_t angle = angle_to(p_to); - return rotated(axis, angle * p_weight) * (result_length / start_length); -} - -Vector3 Vector3::cubic_interpolate(const Vector3 &p_b, const Vector3 &p_pre_a, const Vector3 &p_post_b, const real_t p_weight) const { - Vector3 res = *this; - res.x = Math::cubic_interpolate(res.x, p_b.x, p_pre_a.x, p_post_b.x, p_weight); - res.y = Math::cubic_interpolate(res.y, p_b.y, p_pre_a.y, p_post_b.y, p_weight); - res.z = Math::cubic_interpolate(res.z, p_b.z, p_pre_a.z, p_post_b.z, p_weight); - return res; -} - -Vector3 Vector3::cubic_interpolate_in_time(const Vector3 &p_b, const Vector3 &p_pre_a, const Vector3 &p_post_b, const real_t p_weight, const real_t &p_b_t, const real_t &p_pre_a_t, const real_t &p_post_b_t) const { - Vector3 res = *this; - res.x = Math::cubic_interpolate_in_time(res.x, p_b.x, p_pre_a.x, p_post_b.x, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - res.y = Math::cubic_interpolate_in_time(res.y, p_b.y, p_pre_a.y, p_post_b.y, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - res.z = Math::cubic_interpolate_in_time(res.z, p_b.z, p_pre_a.z, p_post_b.z, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - return res; -} - -Vector3 Vector3::bezier_interpolate(const Vector3 &p_control_1, const Vector3 &p_control_2, const Vector3 &p_end, const real_t p_t) const { - Vector3 res = *this; - - /* Formula from Wikipedia article on Bezier curves. */ - real_t omt = (1.0 - p_t); - real_t omt2 = omt * omt; - real_t omt3 = omt2 * omt; - real_t t2 = p_t * p_t; - real_t t3 = t2 * p_t; - - return res * omt3 + p_control_1 * omt2 * p_t * 3.0 + p_control_2 * omt * t2 * 3.0 + p_end * t3; -} - -real_t Vector3::distance_to(const Vector3 &p_to) const { - return (p_to - *this).length(); -} - -real_t Vector3::distance_squared_to(const Vector3 &p_to) const { - return (p_to - *this).length_squared(); -} - -Vector3 Vector3::posmod(const real_t p_mod) const { - return Vector3(Math::fposmod(x, p_mod), Math::fposmod(y, p_mod), Math::fposmod(z, p_mod)); -} - -Vector3 Vector3::posmodv(const Vector3 &p_modv) const { - return Vector3(Math::fposmod(x, p_modv.x), Math::fposmod(y, p_modv.y), Math::fposmod(z, p_modv.z)); -} - -Vector3 Vector3::project(const Vector3 &p_to) const { - return p_to * (dot(p_to) / p_to.length_squared()); -} - -real_t Vector3::angle_to(const Vector3 &p_to) const { - return Math::atan2(cross(p_to).length(), dot(p_to)); -} - -real_t Vector3::signed_angle_to(const Vector3 &p_to, const Vector3 &p_axis) const { - Vector3 cross_to = cross(p_to); - real_t unsigned_angle = Math::atan2(cross_to.length(), dot(p_to)); - real_t sign = cross_to.dot(p_axis); - return (sign < 0) ? -unsigned_angle : unsigned_angle; -} - -Vector3 Vector3::direction_to(const Vector3 &p_to) const { - Vector3 ret(p_to.x - x, p_to.y - y, p_to.z - z); - ret.normalize(); - return ret; -} - -/* Operators */ - -Vector3 &Vector3::operator+=(const Vector3 &p_v) { - x += p_v.x; - y += p_v.y; - z += p_v.z; - return *this; -} - -Vector3 Vector3::operator+(const Vector3 &p_v) const { - return Vector3(x + p_v.x, y + p_v.y, z + p_v.z); -} - -Vector3 &Vector3::operator-=(const Vector3 &p_v) { - x -= p_v.x; - y -= p_v.y; - z -= p_v.z; - return *this; -} - -Vector3 Vector3::operator-(const Vector3 &p_v) const { - return Vector3(x - p_v.x, y - p_v.y, z - p_v.z); -} - -Vector3 &Vector3::operator*=(const Vector3 &p_v) { - x *= p_v.x; - y *= p_v.y; - z *= p_v.z; - return *this; -} - -Vector3 Vector3::operator*(const Vector3 &p_v) const { - return Vector3(x * p_v.x, y * p_v.y, z * p_v.z); -} - -Vector3 &Vector3::operator/=(const Vector3 &p_v) { - x /= p_v.x; - y /= p_v.y; - z /= p_v.z; - return *this; -} - -Vector3 Vector3::operator/(const Vector3 &p_v) const { - return Vector3(x / p_v.x, y / p_v.y, z / p_v.z); -} - -Vector3 &Vector3::operator*=(const real_t p_scalar) { - x *= p_scalar; - y *= p_scalar; - z *= p_scalar; - return *this; -} - -// Multiplication operators required to workaround issues with LLVM using implicit conversion -// to Vector3i instead for integers where it should not. - -_FORCE_INLINE_ Vector3 operator*(const float p_scalar, const Vector3 &p_vec) { - return p_vec * p_scalar; -} - -_FORCE_INLINE_ Vector3 operator*(const double p_scalar, const Vector3 &p_vec) { - return p_vec * p_scalar; -} - -_FORCE_INLINE_ Vector3 operator*(const int32_t p_scalar, const Vector3 &p_vec) { - return p_vec * p_scalar; -} - -_FORCE_INLINE_ Vector3 operator*(const int64_t p_scalar, const Vector3 &p_vec) { - return p_vec * p_scalar; -} - -Vector3 Vector3::operator*(const real_t p_scalar) const { - return Vector3(x * p_scalar, y * p_scalar, z * p_scalar); -} - -Vector3 &Vector3::operator/=(const real_t p_scalar) { - x /= p_scalar; - y /= p_scalar; - z /= p_scalar; - return *this; -} - -Vector3 Vector3::operator/(const real_t p_scalar) const { - return Vector3(x / p_scalar, y / p_scalar, z / p_scalar); -} - -Vector3 Vector3::operator-() const { - return Vector3(-x, -y, -z); -} - -bool Vector3::operator==(const Vector3 &p_v) const { - return x == p_v.x && y == p_v.y && z == p_v.z; -} - -bool Vector3::operator!=(const Vector3 &p_v) const { - return x != p_v.x || y != p_v.y || z != p_v.z; -} - -bool Vector3::operator<(const Vector3 &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) { - return z < p_v.z; - } - return y < p_v.y; - } - 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; - } - return y > p_v.y; - } - 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; - } - return y < p_v.y; - } - 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; - } - return y > p_v.y; - } - return x > p_v.x; -} - -_FORCE_INLINE_ Vector3 vec3_cross(const Vector3 &p_a, const Vector3 &p_b) { - return p_a.cross(p_b); -} - -_FORCE_INLINE_ real_t vec3_dot(const Vector3 &p_a, const Vector3 &p_b) { - return p_a.dot(p_b); -} - -real_t Vector3::length() const { - real_t x2 = x * x; - real_t y2 = y * y; - real_t z2 = z * z; - - return Math::sqrt(x2 + y2 + z2); -} - -real_t Vector3::length_squared() const { - real_t x2 = x * x; - real_t y2 = y * y; - real_t z2 = z * z; - - return x2 + y2 + z2; -} - -void Vector3::normalize() { - real_t lengthsq = length_squared(); - if (lengthsq == 0) { - x = y = z = 0; - } else { - real_t length = Math::sqrt(lengthsq); - x /= length; - y /= length; - z /= length; - } -} - -Vector3 Vector3::normalized() const { - Vector3 v = *this; - v.normalize(); - return v; -} - -bool Vector3::is_normalized() const { - // use length_squared() instead of length() to avoid sqrt(), makes it more stringent. - return Math::is_equal_approx(length_squared(), 1, (real_t)UNIT_EPSILON); -} - -Vector3 Vector3::inverse() const { - return Vector3(1.0f / x, 1.0f / y, 1.0f / z); -} - -void Vector3::zero() { - x = y = z = 0; -} - -// slide returns the component of the vector along the given plane, specified by its normal vector. -Vector3 Vector3::slide(const Vector3 &p_normal) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!p_normal.is_normalized(), Vector3(), "The normal Vector3 must be normalized."); -#endif - return *this - p_normal * this->dot(p_normal); -} - -Vector3 Vector3::bounce(const Vector3 &p_normal) const { - return -reflect(p_normal); -} - -Vector3 Vector3::reflect(const Vector3 &p_normal) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!p_normal.is_normalized(), Vector3(), "The normal Vector3 must be normalized."); -#endif - return 2.0f * p_normal * this->dot(p_normal) - *this; -} - -} // namespace godot - -#endif // GODOT_VECTOR3_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/vector3i.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/vector3i.hpp deleted file mode 100644 index ae5148f..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/vector3i.hpp +++ /dev/null @@ -1,332 +0,0 @@ -/**************************************************************************/ -/* vector3i.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VECTOR3I_HPP -#define GODOT_VECTOR3I_HPP - -#include -#include - -namespace godot { - -class String; -struct Vector3; - -struct _NO_DISCARD_ Vector3i { - static const int AXIS_COUNT = 3; - - enum Axis { - AXIS_X, - AXIS_Y, - AXIS_Z, - }; - - union { - struct { - int32_t x; - int32_t y; - int32_t z; - }; - - int32_t coord[3] = { 0 }; - }; - - _FORCE_INLINE_ const int32_t &operator[](const int p_axis) const { - DEV_ASSERT((unsigned int)p_axis < 3); - return coord[p_axis]; - } - - _FORCE_INLINE_ int32_t &operator[](const int p_axis) { - DEV_ASSERT((unsigned int)p_axis < 3); - return coord[p_axis]; - } - - Vector3i::Axis min_axis_index() const; - Vector3i::Axis max_axis_index() const; - - Vector3i min(const Vector3i &p_vector3i) const { - return Vector3i(MIN(x, p_vector3i.x), MIN(y, p_vector3i.y), MIN(z, p_vector3i.z)); - } - - Vector3i max(const Vector3i &p_vector3i) const { - return Vector3i(MAX(x, p_vector3i.x), MAX(y, p_vector3i.y), MAX(z, p_vector3i.z)); - } - - _FORCE_INLINE_ int64_t length_squared() const; - _FORCE_INLINE_ double length() const; - - _FORCE_INLINE_ int64_t distance_squared_to(const Vector3i &p_to) const; - _FORCE_INLINE_ double distance_to(const Vector3i &p_to) const; - - _FORCE_INLINE_ void zero(); - - _FORCE_INLINE_ Vector3i abs() const; - _FORCE_INLINE_ Vector3i sign() const; - Vector3i clamp(const Vector3i &p_min, const Vector3i &p_max) const; - - /* Operators */ - - _FORCE_INLINE_ Vector3i &operator+=(const Vector3i &p_v); - _FORCE_INLINE_ Vector3i operator+(const Vector3i &p_v) const; - _FORCE_INLINE_ Vector3i &operator-=(const Vector3i &p_v); - _FORCE_INLINE_ Vector3i operator-(const Vector3i &p_v) const; - _FORCE_INLINE_ Vector3i &operator*=(const Vector3i &p_v); - _FORCE_INLINE_ Vector3i operator*(const Vector3i &p_v) const; - _FORCE_INLINE_ Vector3i &operator/=(const Vector3i &p_v); - _FORCE_INLINE_ Vector3i operator/(const Vector3i &p_v) const; - _FORCE_INLINE_ Vector3i &operator%=(const Vector3i &p_v); - _FORCE_INLINE_ Vector3i operator%(const Vector3i &p_v) const; - - _FORCE_INLINE_ Vector3i &operator*=(const int32_t p_scalar); - _FORCE_INLINE_ Vector3i operator*(const int32_t p_scalar) const; - _FORCE_INLINE_ Vector3i &operator/=(const int32_t p_scalar); - _FORCE_INLINE_ Vector3i operator/(const int32_t p_scalar) const; - _FORCE_INLINE_ Vector3i &operator%=(const int32_t p_scalar); - _FORCE_INLINE_ Vector3i operator%(const int32_t p_scalar) const; - - _FORCE_INLINE_ Vector3i operator-() const; - - _FORCE_INLINE_ bool operator==(const Vector3i &p_v) const; - _FORCE_INLINE_ bool operator!=(const Vector3i &p_v) const; - _FORCE_INLINE_ bool operator<(const Vector3i &p_v) const; - _FORCE_INLINE_ bool operator<=(const Vector3i &p_v) const; - _FORCE_INLINE_ bool operator>(const Vector3i &p_v) const; - _FORCE_INLINE_ bool operator>=(const Vector3i &p_v) const; - - operator String() const; - operator Vector3() const; - - _FORCE_INLINE_ Vector3i() {} - _FORCE_INLINE_ Vector3i(const int32_t p_x, const int32_t p_y, const int32_t p_z) { - x = p_x; - y = p_y; - z = p_z; - } -}; - -int64_t Vector3i::length_squared() const { - return x * (int64_t)x + y * (int64_t)y + z * (int64_t)z; -} - -double Vector3i::length() const { - return Math::sqrt((double)length_squared()); -} - -int64_t Vector3i::distance_squared_to(const Vector3i &p_to) const { - return (p_to - *this).length_squared(); -} - -double Vector3i::distance_to(const Vector3i &p_to) const { - return (p_to - *this).length(); -} - -Vector3i Vector3i::abs() const { - return Vector3i(Math::abs(x), Math::abs(y), Math::abs(z)); -} - -Vector3i Vector3i::sign() const { - return Vector3i(SIGN(x), SIGN(y), SIGN(z)); -} - -/* Operators */ - -Vector3i &Vector3i::operator+=(const Vector3i &p_v) { - x += p_v.x; - y += p_v.y; - z += p_v.z; - return *this; -} - -Vector3i Vector3i::operator+(const Vector3i &p_v) const { - return Vector3i(x + p_v.x, y + p_v.y, z + p_v.z); -} - -Vector3i &Vector3i::operator-=(const Vector3i &p_v) { - x -= p_v.x; - y -= p_v.y; - z -= p_v.z; - return *this; -} - -Vector3i Vector3i::operator-(const Vector3i &p_v) const { - return Vector3i(x - p_v.x, y - p_v.y, z - p_v.z); -} - -Vector3i &Vector3i::operator*=(const Vector3i &p_v) { - x *= p_v.x; - y *= p_v.y; - z *= p_v.z; - return *this; -} - -Vector3i Vector3i::operator*(const Vector3i &p_v) const { - return Vector3i(x * p_v.x, y * p_v.y, z * p_v.z); -} - -Vector3i &Vector3i::operator/=(const Vector3i &p_v) { - x /= p_v.x; - y /= p_v.y; - z /= p_v.z; - return *this; -} - -Vector3i Vector3i::operator/(const Vector3i &p_v) const { - return Vector3i(x / p_v.x, y / p_v.y, z / p_v.z); -} - -Vector3i &Vector3i::operator%=(const Vector3i &p_v) { - x %= p_v.x; - y %= p_v.y; - z %= p_v.z; - return *this; -} - -Vector3i Vector3i::operator%(const Vector3i &p_v) const { - return Vector3i(x % p_v.x, y % p_v.y, z % p_v.z); -} - -Vector3i &Vector3i::operator*=(const int32_t p_scalar) { - x *= p_scalar; - y *= p_scalar; - z *= p_scalar; - return *this; -} - -Vector3i Vector3i::operator*(const int32_t p_scalar) const { - return Vector3i(x * p_scalar, y * p_scalar, z * p_scalar); -} - -// Multiplication operators required to workaround issues with LLVM using implicit conversion. - -_FORCE_INLINE_ Vector3i operator*(const int32_t p_scalar, const Vector3i &p_vector) { - return p_vector * p_scalar; -} - -_FORCE_INLINE_ Vector3i operator*(const int64_t p_scalar, const Vector3i &p_vector) { - return p_vector * p_scalar; -} - -_FORCE_INLINE_ Vector3i operator*(const float p_scalar, const Vector3i &p_vector) { - return p_vector * p_scalar; -} - -_FORCE_INLINE_ Vector3i operator*(const double p_scalar, const Vector3i &p_vector) { - return p_vector * p_scalar; -} - -Vector3i &Vector3i::operator/=(const int32_t p_scalar) { - x /= p_scalar; - y /= p_scalar; - z /= p_scalar; - return *this; -} - -Vector3i Vector3i::operator/(const int32_t p_scalar) const { - return Vector3i(x / p_scalar, y / p_scalar, z / p_scalar); -} - -Vector3i &Vector3i::operator%=(const int32_t p_scalar) { - x %= p_scalar; - y %= p_scalar; - z %= p_scalar; - return *this; -} - -Vector3i Vector3i::operator%(const int32_t p_scalar) const { - return Vector3i(x % p_scalar, y % p_scalar, z % p_scalar); -} - -Vector3i Vector3i::operator-() const { - return Vector3i(-x, -y, -z); -} - -bool Vector3i::operator==(const Vector3i &p_v) const { - return (x == p_v.x && y == p_v.y && z == p_v.z); -} - -bool Vector3i::operator!=(const Vector3i &p_v) const { - return (x != p_v.x || y != p_v.y || z != p_v.z); -} - -bool Vector3i::operator<(const Vector3i &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 Vector3i::operator>(const Vector3i &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 Vector3i::operator<=(const Vector3i &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 Vector3i::operator>=(const Vector3i &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; - } -} - -void Vector3i::zero() { - x = y = z = 0; -} - -} // namespace godot - -#endif // GODOT_VECTOR3I_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/vector4.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/vector4.hpp deleted file mode 100644 index 26c57c3..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/vector4.hpp +++ /dev/null @@ -1,310 +0,0 @@ -/**************************************************************************/ -/* vector4.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VECTOR4_HPP -#define GODOT_VECTOR4_HPP - -#include -#include - -namespace godot { - -class String; - -struct _NO_DISCARD_ Vector4 { - static const int AXIS_COUNT = 4; - - enum Axis { - AXIS_X, - AXIS_Y, - AXIS_Z, - AXIS_W, - }; - - union { - struct { - real_t x; - real_t y; - real_t z; - real_t w; - }; - real_t components[4] = { 0, 0, 0, 0 }; - }; - - _FORCE_INLINE_ real_t &operator[](const int p_axis) { - DEV_ASSERT((unsigned int)p_axis < 4); - return components[p_axis]; - } - _FORCE_INLINE_ const real_t &operator[](const int p_axis) const { - DEV_ASSERT((unsigned int)p_axis < 4); - return components[p_axis]; - } - - Vector4::Axis min_axis_index() const; - Vector4::Axis max_axis_index() const; - - Vector4 min(const Vector4 &p_vector4) const { - return Vector4(MIN(x, p_vector4.x), MIN(y, p_vector4.y), MIN(z, p_vector4.z), MIN(w, p_vector4.w)); - } - - Vector4 max(const Vector4 &p_vector4) const { - return Vector4(MAX(x, p_vector4.x), MAX(y, p_vector4.y), MAX(z, p_vector4.z), MAX(w, p_vector4.w)); - } - - _FORCE_INLINE_ real_t length_squared() const; - bool is_equal_approx(const Vector4 &p_vec4) const; - bool is_zero_approx() const; - real_t length() const; - void normalize(); - Vector4 normalized() const; - bool is_normalized() const; - - real_t distance_to(const Vector4 &p_to) const; - real_t distance_squared_to(const Vector4 &p_to) const; - Vector4 direction_to(const Vector4 &p_to) const; - - Vector4 abs() const; - Vector4 sign() const; - Vector4 floor() const; - Vector4 ceil() const; - Vector4 round() const; - Vector4 lerp(const Vector4 &p_to, const real_t p_weight) const; - Vector4 cubic_interpolate(const Vector4 &p_b, const Vector4 &p_pre_a, const Vector4 &p_post_b, const real_t p_weight) const; - Vector4 cubic_interpolate_in_time(const Vector4 &p_b, const Vector4 &p_pre_a, const Vector4 &p_post_b, const real_t p_weight, const real_t &p_b_t, const real_t &p_pre_a_t, const real_t &p_post_b_t) const; - - Vector4 posmod(const real_t p_mod) const; - Vector4 posmodv(const Vector4 &p_modv) const; - void snap(const Vector4 &p_step); - Vector4 snapped(const Vector4 &p_step) const; - Vector4 clamp(const Vector4 &p_min, const Vector4 &p_max) const; - - Vector4 inverse() const; - _FORCE_INLINE_ real_t dot(const Vector4 &p_vec4) const; - - _FORCE_INLINE_ void operator+=(const Vector4 &p_vec4); - _FORCE_INLINE_ void operator-=(const Vector4 &p_vec4); - _FORCE_INLINE_ void operator*=(const Vector4 &p_vec4); - _FORCE_INLINE_ void operator/=(const Vector4 &p_vec4); - _FORCE_INLINE_ void operator*=(const real_t &s); - _FORCE_INLINE_ void operator/=(const real_t &s); - _FORCE_INLINE_ Vector4 operator+(const Vector4 &p_vec4) const; - _FORCE_INLINE_ Vector4 operator-(const Vector4 &p_vec4) const; - _FORCE_INLINE_ Vector4 operator*(const Vector4 &p_vec4) const; - _FORCE_INLINE_ Vector4 operator/(const Vector4 &p_vec4) const; - _FORCE_INLINE_ Vector4 operator-() const; - _FORCE_INLINE_ Vector4 operator*(const real_t &s) const; - _FORCE_INLINE_ Vector4 operator/(const real_t &s) const; - - _FORCE_INLINE_ bool operator==(const Vector4 &p_vec4) const; - _FORCE_INLINE_ bool operator!=(const Vector4 &p_vec4) const; - _FORCE_INLINE_ bool operator>(const Vector4 &p_vec4) const; - _FORCE_INLINE_ bool operator<(const Vector4 &p_vec4) const; - _FORCE_INLINE_ bool operator>=(const Vector4 &p_vec4) const; - _FORCE_INLINE_ bool operator<=(const Vector4 &p_vec4) const; - - operator String() const; - - _FORCE_INLINE_ Vector4() {} - - _FORCE_INLINE_ Vector4(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) { - } - - Vector4(const Vector4 &p_vec4) : - x(p_vec4.x), - y(p_vec4.y), - z(p_vec4.z), - w(p_vec4.w) { - } - - void operator=(const Vector4 &p_vec4) { - x = p_vec4.x; - y = p_vec4.y; - z = p_vec4.z; - w = p_vec4.w; - } -}; - -real_t Vector4::dot(const Vector4 &p_vec4) const { - return x * p_vec4.x + y * p_vec4.y + z * p_vec4.z + w * p_vec4.w; -} - -real_t Vector4::length_squared() const { - return dot(*this); -} - -void Vector4::operator+=(const Vector4 &p_vec4) { - x += p_vec4.x; - y += p_vec4.y; - z += p_vec4.z; - w += p_vec4.w; -} - -void Vector4::operator-=(const Vector4 &p_vec4) { - x -= p_vec4.x; - y -= p_vec4.y; - z -= p_vec4.z; - w -= p_vec4.w; -} - -void Vector4::operator*=(const Vector4 &p_vec4) { - x *= p_vec4.x; - y *= p_vec4.y; - z *= p_vec4.z; - w *= p_vec4.w; -} - -void Vector4::operator/=(const Vector4 &p_vec4) { - x /= p_vec4.x; - y /= p_vec4.y; - z /= p_vec4.z; - w /= p_vec4.w; -} -void Vector4::operator*=(const real_t &s) { - x *= s; - y *= s; - z *= s; - w *= s; -} - -void Vector4::operator/=(const real_t &s) { - *this *= 1.0f / s; -} - -Vector4 Vector4::operator+(const Vector4 &p_vec4) const { - return Vector4(x + p_vec4.x, y + p_vec4.y, z + p_vec4.z, w + p_vec4.w); -} - -Vector4 Vector4::operator-(const Vector4 &p_vec4) const { - return Vector4(x - p_vec4.x, y - p_vec4.y, z - p_vec4.z, w - p_vec4.w); -} - -Vector4 Vector4::operator*(const Vector4 &p_vec4) const { - return Vector4(x * p_vec4.x, y * p_vec4.y, z * p_vec4.z, w * p_vec4.w); -} - -Vector4 Vector4::operator/(const Vector4 &p_vec4) const { - return Vector4(x / p_vec4.x, y / p_vec4.y, z / p_vec4.z, w / p_vec4.w); -} - -Vector4 Vector4::operator-() const { - return Vector4(-x, -y, -z, -w); -} - -Vector4 Vector4::operator*(const real_t &s) const { - return Vector4(x * s, y * s, z * s, w * s); -} - -Vector4 Vector4::operator/(const real_t &s) const { - return *this * (1.0f / s); -} - -bool Vector4::operator==(const Vector4 &p_vec4) const { - return x == p_vec4.x && y == p_vec4.y && z == p_vec4.z && w == p_vec4.w; -} - -bool Vector4::operator!=(const Vector4 &p_vec4) const { - return x != p_vec4.x || y != p_vec4.y || z != p_vec4.z || w != p_vec4.w; -} - -bool Vector4::operator<(const Vector4 &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) { - if (z == p_v.z) { - return w < p_v.w; - } - return z < p_v.z; - } - return y < p_v.y; - } - return x < p_v.x; -} - -bool Vector4::operator>(const Vector4 &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) { - if (z == p_v.z) { - return w > p_v.w; - } - return z > p_v.z; - } - return y > p_v.y; - } - return x > p_v.x; -} - -bool Vector4::operator<=(const Vector4 &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) { - if (z == p_v.z) { - return w <= p_v.w; - } - return z < p_v.z; - } - return y < p_v.y; - } - return x < p_v.x; -} - -bool Vector4::operator>=(const Vector4 &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) { - if (z == p_v.z) { - return w >= p_v.w; - } - return z > p_v.z; - } - return y > p_v.y; - } - return x > p_v.x; -} - -_FORCE_INLINE_ Vector4 operator*(const float p_scalar, const Vector4 &p_vec) { - return p_vec * p_scalar; -} - -_FORCE_INLINE_ Vector4 operator*(const double p_scalar, const Vector4 &p_vec) { - return p_vec * p_scalar; -} - -_FORCE_INLINE_ Vector4 operator*(const int32_t p_scalar, const Vector4 &p_vec) { - return p_vec * p_scalar; -} - -_FORCE_INLINE_ Vector4 operator*(const int64_t p_scalar, const Vector4 &p_vec) { - return p_vec * p_scalar; -} - -} // namespace godot - -#endif // GODOT_VECTOR4_HPP diff --git a/thirdparty/godot-cpp/include/godot_cpp/variant/vector4i.hpp b/thirdparty/godot-cpp/include/godot_cpp/variant/vector4i.hpp deleted file mode 100644 index 36f2855..0000000 --- a/thirdparty/godot-cpp/include/godot_cpp/variant/vector4i.hpp +++ /dev/null @@ -1,360 +0,0 @@ -/**************************************************************************/ -/* vector4i.hpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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_VECTOR4I_HPP -#define GODOT_VECTOR4I_HPP - -#include -#include - -namespace godot { - -class String; -struct Vector4; - -struct _NO_DISCARD_ Vector4i { - static const int AXIS_COUNT = 4; - - enum Axis { - AXIS_X, - AXIS_Y, - AXIS_Z, - AXIS_W, - }; - - union { - struct { - int32_t x; - int32_t y; - int32_t z; - int32_t w; - }; - - int32_t coord[4] = { 0 }; - }; - - _FORCE_INLINE_ const int32_t &operator[](const int p_axis) const { - DEV_ASSERT((unsigned int)p_axis < 4); - return coord[p_axis]; - } - - _FORCE_INLINE_ int32_t &operator[](const int p_axis) { - DEV_ASSERT((unsigned int)p_axis < 4); - return coord[p_axis]; - } - - Vector4i::Axis min_axis_index() const; - Vector4i::Axis max_axis_index() const; - - Vector4i min(const Vector4i &p_vector4i) const { - return Vector4i(MIN(x, p_vector4i.x), MIN(y, p_vector4i.y), MIN(z, p_vector4i.z), MIN(w, p_vector4i.w)); - } - - Vector4i max(const Vector4i &p_vector4i) const { - return Vector4i(MAX(x, p_vector4i.x), MAX(y, p_vector4i.y), MAX(z, p_vector4i.z), MAX(w, p_vector4i.w)); - } - - _FORCE_INLINE_ int64_t length_squared() const; - _FORCE_INLINE_ double length() const; - - _FORCE_INLINE_ int64_t distance_squared_to(const Vector4i &p_to) const; - _FORCE_INLINE_ double distance_to(const Vector4i &p_to) const; - - _FORCE_INLINE_ void zero(); - - _FORCE_INLINE_ Vector4i abs() const; - _FORCE_INLINE_ Vector4i sign() const; - Vector4i clamp(const Vector4i &p_min, const Vector4i &p_max) const; - - /* Operators */ - - _FORCE_INLINE_ Vector4i &operator+=(const Vector4i &p_v); - _FORCE_INLINE_ Vector4i operator+(const Vector4i &p_v) const; - _FORCE_INLINE_ Vector4i &operator-=(const Vector4i &p_v); - _FORCE_INLINE_ Vector4i operator-(const Vector4i &p_v) const; - _FORCE_INLINE_ Vector4i &operator*=(const Vector4i &p_v); - _FORCE_INLINE_ Vector4i operator*(const Vector4i &p_v) const; - _FORCE_INLINE_ Vector4i &operator/=(const Vector4i &p_v); - _FORCE_INLINE_ Vector4i operator/(const Vector4i &p_v) const; - _FORCE_INLINE_ Vector4i &operator%=(const Vector4i &p_v); - _FORCE_INLINE_ Vector4i operator%(const Vector4i &p_v) const; - - _FORCE_INLINE_ Vector4i &operator*=(const int32_t p_scalar); - _FORCE_INLINE_ Vector4i operator*(const int32_t p_scalar) const; - _FORCE_INLINE_ Vector4i &operator/=(const int32_t p_scalar); - _FORCE_INLINE_ Vector4i operator/(const int32_t p_scalar) const; - _FORCE_INLINE_ Vector4i &operator%=(const int32_t p_scalar); - _FORCE_INLINE_ Vector4i operator%(const int32_t p_scalar) const; - - _FORCE_INLINE_ Vector4i operator-() const; - - _FORCE_INLINE_ bool operator==(const Vector4i &p_v) const; - _FORCE_INLINE_ bool operator!=(const Vector4i &p_v) const; - _FORCE_INLINE_ bool operator<(const Vector4i &p_v) const; - _FORCE_INLINE_ bool operator<=(const Vector4i &p_v) const; - _FORCE_INLINE_ bool operator>(const Vector4i &p_v) const; - _FORCE_INLINE_ bool operator>=(const Vector4i &p_v) const; - - operator String() const; - operator Vector4() const; - - _FORCE_INLINE_ Vector4i() {} - Vector4i(const Vector4 &p_vec4); - _FORCE_INLINE_ Vector4i(const int32_t p_x, const int32_t p_y, const int32_t p_z, const int32_t p_w) { - x = p_x; - y = p_y; - z = p_z; - w = p_w; - } -}; - -int64_t Vector4i::length_squared() const { - return x * (int64_t)x + y * (int64_t)y + z * (int64_t)z + w * (int64_t)w; -} - -double Vector4i::length() const { - return Math::sqrt((double)length_squared()); -} - -int64_t Vector4i::distance_squared_to(const Vector4i &p_to) const { - return (p_to - *this).length_squared(); -} - -double Vector4i::distance_to(const Vector4i &p_to) const { - return (p_to - *this).length(); -} - -Vector4i Vector4i::abs() const { - return Vector4i(Math::abs(x), Math::abs(y), Math::abs(z), Math::abs(w)); -} - -Vector4i Vector4i::sign() const { - return Vector4i(Math::sign(x), Math::sign(y), Math::sign(z), Math::sign(w)); -} - -/* Operators */ - -Vector4i &Vector4i::operator+=(const Vector4i &p_v) { - x += p_v.x; - y += p_v.y; - z += p_v.z; - w += p_v.w; - return *this; -} - -Vector4i Vector4i::operator+(const Vector4i &p_v) const { - return Vector4i(x + p_v.x, y + p_v.y, z + p_v.z, w + p_v.w); -} - -Vector4i &Vector4i::operator-=(const Vector4i &p_v) { - x -= p_v.x; - y -= p_v.y; - z -= p_v.z; - w -= p_v.w; - return *this; -} - -Vector4i Vector4i::operator-(const Vector4i &p_v) const { - return Vector4i(x - p_v.x, y - p_v.y, z - p_v.z, w - p_v.w); -} - -Vector4i &Vector4i::operator*=(const Vector4i &p_v) { - x *= p_v.x; - y *= p_v.y; - z *= p_v.z; - w *= p_v.w; - return *this; -} - -Vector4i Vector4i::operator*(const Vector4i &p_v) const { - return Vector4i(x * p_v.x, y * p_v.y, z * p_v.z, w * p_v.w); -} - -Vector4i &Vector4i::operator/=(const Vector4i &p_v) { - x /= p_v.x; - y /= p_v.y; - z /= p_v.z; - w /= p_v.w; - return *this; -} - -Vector4i Vector4i::operator/(const Vector4i &p_v) const { - return Vector4i(x / p_v.x, y / p_v.y, z / p_v.z, w / p_v.w); -} - -Vector4i &Vector4i::operator%=(const Vector4i &p_v) { - x %= p_v.x; - y %= p_v.y; - z %= p_v.z; - w %= p_v.w; - return *this; -} - -Vector4i Vector4i::operator%(const Vector4i &p_v) const { - return Vector4i(x % p_v.x, y % p_v.y, z % p_v.z, w % p_v.w); -} - -Vector4i &Vector4i::operator*=(const int32_t p_scalar) { - x *= p_scalar; - y *= p_scalar; - z *= p_scalar; - w *= p_scalar; - return *this; -} - -Vector4i Vector4i::operator*(const int32_t p_scalar) const { - return Vector4i(x * p_scalar, y * p_scalar, z * p_scalar, w * p_scalar); -} - -// Multiplication operators required to workaround issues with LLVM using implicit conversion. - -_FORCE_INLINE_ Vector4i operator*(const int32_t p_scalar, const Vector4i &p_vector) { - return p_vector * p_scalar; -} - -_FORCE_INLINE_ Vector4i operator*(const int64_t p_scalar, const Vector4i &p_vector) { - return p_vector * p_scalar; -} - -_FORCE_INLINE_ Vector4i operator*(const float p_scalar, const Vector4i &p_vector) { - return p_vector * p_scalar; -} - -_FORCE_INLINE_ Vector4i operator*(const double p_scalar, const Vector4i &p_vector) { - return p_vector * p_scalar; -} - -Vector4i &Vector4i::operator/=(const int32_t p_scalar) { - x /= p_scalar; - y /= p_scalar; - z /= p_scalar; - w /= p_scalar; - return *this; -} - -Vector4i Vector4i::operator/(const int32_t p_scalar) const { - return Vector4i(x / p_scalar, y / p_scalar, z / p_scalar, w / p_scalar); -} - -Vector4i &Vector4i::operator%=(const int32_t p_scalar) { - x %= p_scalar; - y %= p_scalar; - z %= p_scalar; - w %= p_scalar; - return *this; -} - -Vector4i Vector4i::operator%(const int32_t p_scalar) const { - return Vector4i(x % p_scalar, y % p_scalar, z % p_scalar, w % p_scalar); -} - -Vector4i Vector4i::operator-() const { - return Vector4i(-x, -y, -z, -w); -} - -bool Vector4i::operator==(const Vector4i &p_v) const { - return (x == p_v.x && y == p_v.y && z == p_v.z && w == p_v.w); -} - -bool Vector4i::operator!=(const Vector4i &p_v) const { - return (x != p_v.x || y != p_v.y || z != p_v.z || w != p_v.w); -} - -bool Vector4i::operator<(const Vector4i &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) { - if (z == p_v.z) { - return w < p_v.w; - } else { - return z < p_v.z; - } - } else { - return y < p_v.y; - } - } else { - return x < p_v.x; - } -} - -bool Vector4i::operator>(const Vector4i &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) { - if (z == p_v.z) { - return w > p_v.w; - } else { - return z > p_v.z; - } - } else { - return y > p_v.y; - } - } else { - return x > p_v.x; - } -} - -bool Vector4i::operator<=(const Vector4i &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) { - if (z == p_v.z) { - return w <= p_v.w; - } else { - return z < p_v.z; - } - } else { - return y < p_v.y; - } - } else { - return x < p_v.x; - } -} - -bool Vector4i::operator>=(const Vector4i &p_v) const { - if (x == p_v.x) { - if (y == p_v.y) { - if (z == p_v.z) { - return w >= p_v.w; - } else { - return z > p_v.z; - } - } else { - return y > p_v.y; - } - } else { - return x > p_v.x; - } -} - -void Vector4i::zero() { - x = y = z = w = 0; -} - -} // namespace godot - -#endif // GODOT_VECTOR4I_HPP diff --git a/thirdparty/godot-cpp/misc/ci/sources.list b/thirdparty/godot-cpp/misc/ci/sources.list deleted file mode 100644 index 4d8f94f..0000000 --- a/thirdparty/godot-cpp/misc/ci/sources.list +++ /dev/null @@ -1,4 +0,0 @@ -deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse -deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse -deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse -deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse diff --git a/thirdparty/godot-cpp/misc/hooks/README.md b/thirdparty/godot-cpp/misc/hooks/README.md deleted file mode 100644 index 8732237..0000000 --- a/thirdparty/godot-cpp/misc/hooks/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# Git hooks for 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. - 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. -- Pre-commit hook for `make_rst`: Checks the class reference syntax using - `make_rst.py`. - -## Installation - -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 13 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/thirdparty/godot-cpp/misc/hooks/canonicalize_filename.sh b/thirdparty/godot-cpp/misc/hooks/canonicalize_filename.sh deleted file mode 100755 index fe66999..0000000 --- a/thirdparty/godot-cpp/misc/hooks/canonicalize_filename.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh - -# Provide the canonicalize filename (physical filename with out any symlinks) -# like the GNU version readlink with the -f option regardless of the version of -# readlink (GNU or BSD). - -# This file is part of a set of unofficial pre-commit hooks available -# at github. -# Link: https://github.com/githubbrowser/Pre-commit-hooks -# Contact: David Martin, david.martin.mailbox@googlemail.com - -########################################################### -# 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 -# readlink with the -f option. -# -# Reference: https://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac -canonicalize_filename () { - local target_file="$1" - local physical_directory="" - local result="" - - # Need to restore the working directory after work. - local working_dir="`pwd`" - - cd -- "$(dirname -- "$target_file")" - target_file="$(basename -- "$target_file")" - - # Iterate down a (possible) chain of symlinks - while [ -L "$target_file" ] - do - target_file="$(readlink -- "$target_file")" - cd -- "$(dirname -- "$target_file")" - target_file="$(basename -- "$target_file")" - done - - # Compute the canonicalized name by finding the physical path - # for the directory we're in and appending the target file. - physical_directory="`pwd -P`" - result="$physical_directory/$target_file" - - # restore the working directory after work. - cd -- "$working_dir" - - echo "$result" -} diff --git a/thirdparty/godot-cpp/misc/hooks/pre-commit b/thirdparty/godot-cpp/misc/hooks/pre-commit deleted file mode 100755 index 1d71370..0000000 --- a/thirdparty/godot-cpp/misc/hooks/pre-commit +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# Git pre-commit hook that runs multiple hooks specified in $HOOKS. -# Make sure this script is executable. Bypass hooks with git commit --no-verify. - -# This file is part of a set of unofficial pre-commit hooks available -# at github. -# Link: https://github.com/githubbrowser/Pre-commit-hooks -# Contact: David Martin, david.martin.mailbox@googlemail.com - - -########################################################### -# CONFIGURATION: -# pre-commit hooks to be executed. They should be in the same .git/hooks/ folder -# 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 pre-commit-black" -########################################################### -# There should be no need to change anything below this line. - -. "$(dirname -- "$0")/canonicalize_filename.sh" - -# exit on error -set -e - -# Absolute path to this script, e.g. /home/user/bin/foo.sh -SCRIPT="$(canonicalize_filename "$0")" - -# Absolute path this script is in, thus /home/user/bin -SCRIPTPATH="$(dirname -- "$SCRIPT")" - - -for hook in $HOOKS -do - echo "Running hook: $hook" - # run hook if it exists - # if it returns with nonzero exit with 1 and thus abort the commit - if [ -f "$SCRIPTPATH/$hook" ]; then - "$SCRIPTPATH/$hook" - if [ $? != 0 ]; then - exit 1 - fi - else - echo "Error: file $hook not found." - echo "Aborting commit. Make sure the hook is in $SCRIPTPATH and executable." - echo "You can disable it by removing it from the list in $SCRIPT." - echo "You can skip all pre-commit hooks with --no-verify (not recommended)." - exit 1 - fi -done diff --git a/thirdparty/godot-cpp/misc/hooks/pre-commit-black b/thirdparty/godot-cpp/misc/hooks/pre-commit-black deleted file mode 100755 index fd93bfe..0000000 --- a/thirdparty/godot-cpp/misc/hooks/pre-commit-black +++ /dev/null @@ -1,202 +0,0 @@ -#!/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 - choice=$($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 [ "$choice" = "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?" - choice=$? - if [ "$choice" = "100" ] ; then - yn="Y" - elif [ "$choice" = "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?" - choice=$? - if [ "$choice" = "100" ] ; then - yn="Y" - elif [ "$choice" = "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/thirdparty/godot-cpp/misc/hooks/pre-commit-clang-format b/thirdparty/godot-cpp/misc/hooks/pre-commit-clang-format deleted file mode 100755 index 2ee3f56..0000000 --- a/thirdparty/godot-cpp/misc/hooks/pre-commit-clang-format +++ /dev/null @@ -1,242 +0,0 @@ -#!/usr/bin/env bash - -# git pre-commit hook that runs a clang-format stylecheck. -# Features: -# - abort commit when commit does not comply with the style guidelines -# - create a patch of the proposed style changes -# Modifications for clang-format by rene.milk@wwu.de - -# This file is part of a set of unofficial pre-commit hooks available -# at github. -# Link: https://github.com/githubbrowser/Pre-commit-hooks -# Contact: David Martin, david.martin.mailbox@googlemail.com - -# Some quality of life modifications made for Godot Engine. - -################################################################## -# SETTINGS -# 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 - -# 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 - -# File types to parse. Only effective when PARSE_EXTS is true. -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) -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_extension() { - local filename=$(basename "$1") - local extension=".${filename##*.}" - local ext - - 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 - -# To get consistent formatting, we recommend contributors to use the same -# clang-format version as CI. -RECOMMENDED_CLANG_FORMAT_MAJOR_MIN="12" -RECOMMENDED_CLANG_FORMAT_MAJOR_MAX="13" - -if [ ! -x "$CLANG_FORMAT" ] ; then - message="Error: clang-format executable not found. Please install clang-format $RECOMMENDED_CLANG_FORMAT_MAJOR_MAX." - - 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 and $RECOMMENDED_CLANG_FORMAT_MAJOR_MAX)." - 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)" -patch="/tmp/$prefix-$suffix.patch" - -# clean up any older clang-format 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 - 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 - if $PARSE_EXTS && ! matches_extension "$file"; then - continue; - fi - - # clang-format our sourcefile, create a patch with diff and append it to our $patch - # The sed call is necessary to transform the patch from - # --- $file timestamp - # +++ - timestamp - # to both lines working on the same file and having a/ and b/ prefix. - # Else it can not be applied with 'git apply'. - "$CLANG_FORMAT" -style=file "$file" --Wno-error=unknown | \ - diff -u "$file" - | \ - sed -e "1s|--- |--- a/|" -e "2s|+++ -|+++ b/$file|" >> "$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 clang-format 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 clang-format 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 - choice=$($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 [ "$choice" = "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?" - choice=$? - if [ "$choice" = "100" ] ; then - yn="Y" - elif [ "$choice" = "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?" - choice=$? - if [ "$choice" = "100" ] ; then - yn="Y" - elif [ "$choice" = "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/thirdparty/godot-cpp/misc/hooks/winmessage.ps1 b/thirdparty/godot-cpp/misc/hooks/winmessage.ps1 deleted file mode 100644 index 3672579..0000000 --- a/thirdparty/godot-cpp/misc/hooks/winmessage.ps1 +++ /dev/null @@ -1,103 +0,0 @@ -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/thirdparty/godot-cpp/misc/scripts/black_format.sh b/thirdparty/godot-cpp/misc/scripts/black_format.sh deleted file mode 100755 index 99343f1..0000000 --- a/thirdparty/godot-cpp/misc/scripts/black_format.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/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=$(git ls-files -- '*SConstruct' '*SCsub' '*.py' ':!:.git/*' ':!:thirdparty/*') -black -l 120 $PY_FILES - -diff=$(git diff --color) - -# If no patch has been generated all is OK, clean up, and exit. -if [ -z "$diff" ] ; then - printf "Files in this commit comply with the black style rules.\n" - 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" -echo "$diff" -printf "\n*** Aborting, please fix your commit(s) with 'git commit --amend' or 'git rebase -i '\n" -exit 1 diff --git a/thirdparty/godot-cpp/misc/scripts/check_ci_log.py b/thirdparty/godot-cpp/misc/scripts/check_ci_log.py deleted file mode 100755 index 2c75b83..0000000 --- a/thirdparty/godot-cpp/misc/scripts/check_ci_log.py +++ /dev/null @@ -1,65 +0,0 @@ -#!/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/thirdparty/godot-cpp/misc/scripts/check_get_file_list.py b/thirdparty/godot-cpp/misc/scripts/check_get_file_list.py deleted file mode 100755 index d536a7a..0000000 --- a/thirdparty/godot-cpp/misc/scripts/check_get_file_list.py +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env python - -import os, sys - -from pathlib import Path - -sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "..")) - -from binding_generator import get_file_list, generate_bindings - -api_filepath = "gdextension/extension_api.json" -bits = "64" -precision = "single" -output_dir = "self_test" - -generate_bindings(api_filepath, use_template_get_node=False, bits=bits, precision=precision, output_dir=output_dir) -flist = get_file_list(api_filepath, output_dir, headers=True, sources=True) - -p = Path(output_dir) / "gen" -allfiles = [str(f.as_posix()) for f in p.glob("**/*.*")] -missing = list(filter((lambda f: f not in flist), allfiles)) -extras = list(filter((lambda f: f not in allfiles), flist)) -if len(missing) > 0 or len(extras) > 0: - print("Error!") - for f in missing: - print("MISSING: " + str(f)) - for f in extras: - print("EXTRA: " + str(f)) - sys.exit(1) -else: - print("OK!") diff --git a/thirdparty/godot-cpp/misc/scripts/clang_format.sh b/thirdparty/godot-cpp/misc/scripts/clang_format.sh deleted file mode 100755 index a5c07b9..0000000 --- a/thirdparty/godot-cpp/misc/scripts/clang_format.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash - -# 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 - -# Loops through all code files tracked by Git. -git ls-files -- '*.c' '*.h' '*.cpp' '*.hpp' '*.cc' '*.hh' '*.cxx' '*.m' '*.mm' '*.inc' | -while read -r f; do - # Run clang-format. - clang-format --Wno-error=unknown -i "$f" - - # Fix copyright headers, but not all files get them. - if [[ "$f" == *"inc" ]]; then - continue - elif [[ "$f" == *"glsl" ]]; then - continue - elif [[ "$f" == "test/"* ]]; then - continue - fi - - python misc/scripts/copyright_headers.py "$f" -done - -diff=$(git diff --color) - -# If no patch has been generated all is OK, clean up, and exit. -if [ -z "$diff" ] ; then - printf "Files in this commit comply with the clang-tidy style rules.\n" - exit 0 -fi - -# A patch has been created, notify the user, clean up, and exit. -printf "\n*** The following changes have been made to comply with the formatting rules:\n\n" -echo "$diff" -printf "\n*** Please fix your commit(s) with 'git commit --amend' or 'git rebase -i '\n" -exit 1 diff --git a/thirdparty/godot-cpp/misc/scripts/codespell.sh b/thirdparty/godot-cpp/misc/scripts/codespell.sh deleted file mode 100644 index 2822c64..0000000 --- a/thirdparty/godot-cpp/misc/scripts/codespell.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -SKIP_LIST="./thirdparty,*.gen.*,*.po,*.pot,package-lock.json,./core/string/locales.h,./DONORS.md,./misc/scripts/codespell.sh" -IGNORE_LIST="ba,childs,curvelinear,expct,fave,findn,gird,inout,lod,nd,numer,ois,ro,statics,te,varn" - -codespell -w -q 3 -S "${SKIP_LIST}" -L "${IGNORE_LIST}" diff --git a/thirdparty/godot-cpp/misc/scripts/copyright_headers.py b/thirdparty/godot-cpp/misc/scripts/copyright_headers.py deleted file mode 100755 index a5e2f0c..0000000 --- a/thirdparty/godot-cpp/misc/scripts/copyright_headers.py +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -import sys - -header = """\ -/**************************************************************************/ -/* $filename */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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. */ -/**************************************************************************/ -""" - -fname = sys.argv[1] - -# 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" - -# 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). - -fileread = open(fname.strip(), "r") -line = fileread.readline() -header_done = False - -while line.strip() == "": # Skip empty lines at the top - line = fileread.readline() - -if line.find("/**********") == -1: # Godot header starts this way - # Maybe starting with a non-Godot comment, abort header magic - header_done = True - -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() - -while line != "": # Dump everything until EOF - text += line - line = fileread.readline() - -fileread.close() - -# Write -filewrite = open(fname.strip(), "w") -filewrite.write(text) -filewrite.close() diff --git a/thirdparty/godot-cpp/misc/scripts/file_format.sh b/thirdparty/godot-cpp/misc/scripts/file_format.sh deleted file mode 100755 index 6621af5..0000000 --- a/thirdparty/godot-cpp/misc/scripts/file_format.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/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 - # 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 - -diff=$(git diff --color) - -# If no patch has been generated all is OK, clean up, and exit. -if [ -z "$diff" ] ; 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" -echo "$diff" -printf "\n*** Aborting, please fix your commit(s) with 'git commit --amend' or 'git rebase -i '\n" -exit 1 diff --git a/thirdparty/godot-cpp/misc/scripts/header_guards.sh b/thirdparty/godot-cpp/misc/scripts/header_guards.sh deleted file mode 100755 index 7cea339..0000000 --- a/thirdparty/godot-cpp/misc/scripts/header_guards.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -if [ ! -f "SConstruct" ]; then - echo "Warning: This script is intended to be run from the root of the Godot repository." - echo "Some of the paths checks may not work as intended from a different folder." -fi - -files_invalid_guard="" - -for file in $(find . -name "*.hpp" -print); do - # Skip generated files. - if [[ "$file" == "./gen/"* || "$file" == "./include/gen/"* ]]; then continue; fi - # Skip the test project. - if [[ "$file" == "./test/"* ]]; then continue; fi - - bname=$(basename $file .hpp) - - # NOTE: The "GODOT_CPP_" prefix is already used by the generated - # bindings, so we can't use that. We'll use "GODOT_" instead. - prefix="GODOT_" - - # ^^ is bash builtin for UPPERCASE. - guard="${prefix}${bname^^}_HPP" - - # Replaces guards to use computed name. - # We also add some \n to make sure there's a proper separation. - sed -i $file -e "0,/ifndef/s/#ifndef.*/\n#ifndef $guard/" - sed -i $file -e "0,/define/s/#define.*/#define $guard\n/" - sed -i $file -e "$ s/#endif.*/\n#endif \/\/ $guard/" - # Removes redundant \n added before, if they weren't needed. - sed -i $file -e "/^$/N;/^\n$/D" - - # Check that first ifndef (should be header guard) is at the expected position. - # If not it can mean we have some code before the guard that should be after. - # "31" is the expected line with the copyright header. - first_ifndef=$(grep -n -m 1 "ifndef" $file | sed 's/\([0-9]*\).*/\1/') - if [[ "$first_ifndef" != "31" ]]; then - files_invalid_guard+="$file\n" - fi -done - -if [[ ! -z "$files_invalid_guard" ]]; then - echo -e "The following files were found to have potentially invalid header guard:\n" - echo -e "$files_invalid_guard" -fi - -diff=$(git diff --color) - -# If no diff has been generated all is OK, clean up, and exit. -if [ -z "$diff" ] ; then - printf "Files in this commit comply with the header guards formatting rules.\n" - exit 0 -fi - -# A diff has been created, notify the user, clean up, and exit. -printf "\n*** The following differences were found between the code " -printf "and the header guards formatting rules:\n\n" -echo "$diff" -printf "\n*** Aborting, please fix your commit(s) with 'git commit --amend' or 'git rebase -i '\n" -exit 1 diff --git a/thirdparty/godot-cpp/misc/scripts/make_tarball.sh b/thirdparty/godot-cpp/misc/scripts/make_tarball.sh deleted file mode 100755 index 9e02b80..0000000 --- a/thirdparty/godot-cpp/misc/scripts/make_tarball.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/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/thirdparty/godot-cpp/misc/scripts/mypy.ini b/thirdparty/godot-cpp/misc/scripts/mypy.ini deleted file mode 100644 index c1ea695..0000000 --- a/thirdparty/godot-cpp/misc/scripts/mypy.ini +++ /dev/null @@ -1,11 +0,0 @@ -[mypy] -ignore_missing_imports = true -disallow_any_generics = True -pretty = True -show_column_numbers = True -warn_redundant_casts = True -warn_return_any = True -warn_unreachable = True - -namespace_packages = True -explicit_package_bases = True diff --git a/thirdparty/godot-cpp/misc/scripts/mypy_check.sh b/thirdparty/godot-cpp/misc/scripts/mypy_check.sh deleted file mode 100755 index 2a06486..0000000 --- a/thirdparty/godot-cpp/misc/scripts/mypy_check.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -set -uo pipefail - -echo -e "Python: mypy static analysis..." -mypy --config-file=./misc/scripts/mypy.ini . diff --git a/thirdparty/godot-cpp/module_converter.py b/thirdparty/godot-cpp/module_converter.py deleted file mode 100644 index 3a91e79..0000000 --- a/thirdparty/godot-cpp/module_converter.py +++ /dev/null @@ -1,49 +0,0 @@ -# Using output_header_mapping.json convert all imports in specified source folder location from godot imports to godot-compat imports - - -import json -import os -import sys - -from compat_generator import map_header_files -from header_matcher import match_headers - -if __name__ == "__main__": - if len(sys.argv) > 3: - src_directory = os.path.join(os.getcwd(), sys.argv[1]) - godot_directory = os.path.join(os.getcwd(), sys.argv[2]) - godot_cpp_directory = os.path.join(os.getcwd(), sys.argv[3]) - else: - raise Exception("Usage: python module_converter.py ") - # Load the godot mappings - with open(f"{godot_directory}/output_header_mapping_godot.json", "r") as file: - godot_mappings = json.load(file) - - # Generate mappings for godot-cpp - godot_cpp_mappings = map_header_files(godot_cpp_directory) - matches = match_headers(godot_mappings, godot_cpp_mappings) - # Save matches to a file - with open("header_matches.json", "w") as outfile: - json.dump(matches, outfile, indent=4) - src_directory = os.getcwd() - # Go through folder specified through all files with .cpp, .h or .hpp - for root, dirs, files in os.walk(src_directory): - for file in files: - if file.endswith(".cpp") or file.endswith(".h") or file.endswith(".hpp"): - with open(os.path.join(root, file), "r") as f: - content = f.read() - - # Replace imports to godot imports with godot_compat imports - for match in matches: - generate_imports = matches[match] - godot_compat_imports = "" - for generate_import in generate_imports: - godot_compat_import = generate_import.replace("gen/include/godot_cpp/", "godot_compat/") - godot_compat_import = godot_compat_import.replace("include/godot_cpp/", "godot_compat/") - godot_compat_imports += f"#include <{godot_compat_import}>\n" - # Remove last 'n from imports - godot_compat_imports = godot_compat_imports[:-1] - content = content.replace(f"#include \"{match}\"", godot_compat_imports) - # Write the modified content back to the file - with open(os.path.join(root, file), "w") as f: - f.write(content) diff --git a/thirdparty/godot-cpp/src/classes/editor_plugin_registration.cpp b/thirdparty/godot-cpp/src/classes/editor_plugin_registration.cpp deleted file mode 100644 index 99819be..0000000 --- a/thirdparty/godot-cpp/src/classes/editor_plugin_registration.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************/ -/* editor_plugin_registration.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -Vector EditorPlugins::plugin_classes; - -void EditorPlugins::add_plugin_class(const StringName &p_class_name) { - ERR_FAIL_COND_MSG(plugin_classes.find(p_class_name) != -1, vformat("Editor plugin already registered: %s", p_class_name)); - plugin_classes.push_back(p_class_name); - internal::gdextension_interface_editor_add_plugin(p_class_name._native_ptr()); -} - -void EditorPlugins::remove_plugin_class(const StringName &p_class_name) { - int index = plugin_classes.find(p_class_name); - ERR_FAIL_COND_MSG(index == -1, vformat("Editor plugin is not registered: %s", p_class_name)); - plugin_classes.remove_at(index); - internal::gdextension_interface_editor_remove_plugin(p_class_name._native_ptr()); -} - -void EditorPlugins::deinitialize(GDExtensionInitializationLevel p_level) { - if (p_level == GDEXTENSION_INITIALIZATION_EDITOR) { - for (const StringName &class_name : plugin_classes) { - internal::gdextension_interface_editor_remove_plugin(class_name._native_ptr()); - } - plugin_classes.clear(); - } -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/classes/low_level.cpp b/thirdparty/godot-cpp/src/classes/low_level.cpp deleted file mode 100644 index b9d0a07..0000000 --- a/thirdparty/godot-cpp/src/classes/low_level.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************/ -/* low_level.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { -Error XMLParser::_open_buffer(const uint8_t *p_buffer, size_t p_size) { - return (Error)internal::gdextension_interface_xml_parser_open_buffer(_owner, p_buffer, p_size); -} - -uint64_t FileAccess::get_buffer(uint8_t *p_dst, uint64_t p_length) const { - return internal::gdextension_interface_file_access_get_buffer(_owner, p_dst, p_length); -} - -void FileAccess::store_buffer(const uint8_t *p_src, uint64_t p_length) { - internal::gdextension_interface_file_access_store_buffer(_owner, p_src, p_length); -} - -WorkerThreadPool::TaskID WorkerThreadPool::add_native_task(void (*p_func)(void *), void *p_userdata, bool p_high_priority, const String &p_description) { - return (TaskID)internal::gdextension_interface_worker_thread_pool_add_native_task(_owner, p_func, p_userdata, p_high_priority, (GDExtensionConstStringPtr)&p_description); -} - -WorkerThreadPool::GroupID WorkerThreadPool::add_native_group_task(void (*p_func)(void *, uint32_t), void *p_userdata, int p_elements, int p_tasks, bool p_high_priority, const String &p_description) { - return (GroupID)internal::gdextension_interface_worker_thread_pool_add_native_group_task(_owner, p_func, p_userdata, p_elements, p_tasks, p_high_priority, (GDExtensionConstStringPtr)&p_description); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/classes/wrapped.cpp b/thirdparty/godot-cpp/src/classes/wrapped.cpp deleted file mode 100644 index ad0eefb..0000000 --- a/thirdparty/godot-cpp/src/classes/wrapped.cpp +++ /dev/null @@ -1,142 +0,0 @@ -/**************************************************************************/ -/* wrapped.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 { - -const StringName *Wrapped::_get_extension_class_name() const { - return nullptr; -} - -void Wrapped::_postinitialize() { - const StringName *extension_class = _get_extension_class_name(); - if (extension_class) { - godot::internal::gdextension_interface_object_set_instance(_owner, reinterpret_cast(extension_class), this); - } - godot::internal::gdextension_interface_object_set_instance_binding(_owner, godot::internal::token, this, _get_bindings_callbacks()); - if (extension_class) { - Object *obj = dynamic_cast(this); - if (obj) { - obj->notification(Object::NOTIFICATION_POSTINITIALIZE); - } - } -} - -Wrapped::Wrapped(const StringName p_godot_class) { -#ifdef HOT_RELOAD_ENABLED - if (unlikely(Wrapped::recreate_instance)) { - RecreateInstance *recreate_data = Wrapped::recreate_instance; - RecreateInstance *previous = nullptr; - while (recreate_data) { - if (recreate_data->wrapper == this) { - _owner = recreate_data->owner; - if (previous) { - previous->next = recreate_data->next; - } else { - Wrapped::recreate_instance = recreate_data->next; - } - return; - } - previous = recreate_data; - recreate_data = recreate_data->next; - } - } -#endif - _owner = godot::internal::gdextension_interface_classdb_construct_object(reinterpret_cast(p_godot_class._native_ptr())); -} - -Wrapped::Wrapped(GodotObject *p_godot_object) { - _owner = p_godot_object; -} - -void postinitialize_handler(Wrapped *p_wrapped) { - p_wrapped->_postinitialize(); -} - -namespace internal { - -std::vector &get_engine_class_registration_callbacks() { - static std::vector engine_class_registration_callbacks; - return engine_class_registration_callbacks; -} - -GDExtensionPropertyInfo *create_c_property_list(const ::godot::List<::godot::PropertyInfo> &plist_cpp, uint32_t *r_size) { - GDExtensionPropertyInfo *plist = nullptr; - // Linked list size can be expensive to get so we cache it - const uint32_t plist_size = plist_cpp.size(); - if (r_size != nullptr) { - *r_size = plist_size; - } - plist = reinterpret_cast(memalloc(sizeof(GDExtensionPropertyInfo) * plist_size)); - unsigned int i = 0; - for (const ::godot::PropertyInfo &E : plist_cpp) { - plist[i].type = static_cast(E.type); - plist[i].name = E.name._native_ptr(); - plist[i].hint = E.hint; - plist[i].hint_string = E.hint_string._native_ptr(); - plist[i].class_name = E.class_name._native_ptr(); - plist[i].usage = E.usage; - ++i; - } - return plist; -} - -void free_c_property_list(GDExtensionPropertyInfo *plist) { - memfree(plist); -} - -void add_engine_class_registration_callback(EngineClassRegistrationCallback p_callback) { - get_engine_class_registration_callbacks().push_back(p_callback); -} - -void register_engine_class(const StringName &p_name, const GDExtensionInstanceBindingCallbacks *p_callbacks) { - ClassDB::_register_engine_class(p_name, p_callbacks); -} - -void register_engine_classes() { - std::vector &engine_class_registration_callbacks = get_engine_class_registration_callbacks(); - for (EngineClassRegistrationCallback cb : engine_class_registration_callbacks) { - cb(); - } - engine_class_registration_callbacks.clear(); -} - -} // namespace internal - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/core/class_db.cpp b/thirdparty/godot-cpp/src/core/class_db.cpp deleted file mode 100644 index acead8b..0000000 --- a/thirdparty/godot-cpp/src/core/class_db.cpp +++ /dev/null @@ -1,424 +0,0 @@ -/**************************************************************************/ -/* class_db.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 { - -std::unordered_map ClassDB::classes; -std::unordered_map ClassDB::instance_binding_callbacks; -std::vector ClassDB::class_register_order; -GDExtensionInitializationLevel ClassDB::current_level = GDEXTENSION_INITIALIZATION_CORE; - -MethodDefinition D_METHOD(StringName p_name) { - return MethodDefinition(p_name); -} - -MethodDefinition D_METHOD(StringName p_name, StringName p_arg1) { - MethodDefinition method(p_name); - method.args.push_front(p_arg1); - return method; -} - -void ClassDB::add_property_group(const StringName &p_class, const String &p_name, const String &p_prefix) { - ERR_FAIL_COND_MSG(classes.find(p_class) == classes.end(), String("Trying to add property '{0}{1}' to non-existing class '{2}'.").format(Array::make(p_prefix, p_name, p_class))); - - internal::gdextension_interface_classdb_register_extension_class_property_group(internal::library, p_class._native_ptr(), p_name._native_ptr(), p_prefix._native_ptr()); -} - -void ClassDB::add_property_subgroup(const StringName &p_class, const String &p_name, const String &p_prefix) { - ERR_FAIL_COND_MSG(classes.find(p_class) == classes.end(), String("Trying to add property '{0}{1}' to non-existing class '{2}'.").format(Array::make(p_prefix, p_name, p_class))); - - internal::gdextension_interface_classdb_register_extension_class_property_subgroup(internal::library, p_class._native_ptr(), p_name._native_ptr(), p_prefix._native_ptr()); -} - -void ClassDB::add_property(const StringName &p_class, const PropertyInfo &p_pinfo, const StringName &p_setter, const StringName &p_getter, int p_index) { - ERR_FAIL_COND_MSG(classes.find(p_class) == classes.end(), String("Trying to add property '{0}' to non-existing class '{1}'.").format(Array::make(p_pinfo.name, p_class))); - - ClassInfo &info = classes[p_class]; - - ERR_FAIL_COND_MSG(info.property_names.find(p_pinfo.name) != info.property_names.end(), String("Property '{0}' already exists in class '{1}'.").format(Array::make(p_pinfo.name, p_class))); - - MethodBind *setter = nullptr; - if (p_setter != String("")) { - setter = get_method(p_class, p_setter); - - ERR_FAIL_NULL_MSG(setter, String("Setter method '{0}::{1}()' not found for property '{2}::{3}'.").format(Array::make(p_class, p_setter, p_class, p_pinfo.name))); - - size_t exp_args = 1 + (p_index >= 0 ? 1 : 0); - ERR_FAIL_COND_MSG((int)exp_args != setter->get_argument_count(), String("Setter method '{0}::{1}()' must take a single argument.").format(Array::make(p_class, p_setter))); - } - - ERR_FAIL_COND_MSG(p_getter == String(""), String("Getter method must be specified for '{0}::{1}'.").format(Array::make(p_class, p_pinfo.name))); - - MethodBind *getter = get_method(p_class, p_getter); - ERR_FAIL_NULL_MSG(getter, String("Getter method '{0}::{1}()' not found for property '{2}::{3}'.").format(Array::make(p_class, p_getter, p_class, p_pinfo.name))); - { - size_t exp_args = 0 + (p_index >= 0 ? 1 : 0); - ERR_FAIL_COND_MSG((int)exp_args != getter->get_argument_count(), String("Getter method '{0}::{1}()' must not take any argument.").format(Array::make(p_class, p_getter))); - } - - // register property with plugin - info.property_names.insert(p_pinfo.name); - - // register with Godot - GDExtensionPropertyInfo prop_info = { - static_cast(p_pinfo.type), // GDExtensionVariantType type; - p_pinfo.name._native_ptr(), // GDExtensionStringNamePtr name; - p_pinfo.class_name._native_ptr(), // GDExtensionStringNamePtr class_name; - p_pinfo.hint, // NONE //uint32_t hint; - p_pinfo.hint_string._native_ptr(), // GDExtensionStringPtr hint_string; - p_pinfo.usage, // DEFAULT //uint32_t usage; - }; - - internal::gdextension_interface_classdb_register_extension_class_property_indexed(internal::library, info.name._native_ptr(), &prop_info, p_setter._native_ptr(), p_getter._native_ptr(), p_index); -} - -MethodBind *ClassDB::get_method(const StringName &p_class, const StringName &p_method) { - ERR_FAIL_COND_V_MSG(classes.find(p_class) == classes.end(), nullptr, String("Class '{0}' not found.").format(Array::make(p_class))); - - 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) { - StringName 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, String("Class '{0}' doesn't exist.").format(Array::make(instance_type))); - } - - 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, String("Binding duplicate method: {0}::{1}().").format(Array::make(instance_type, method_name.name))); - } - - if (type.virtual_methods.find(method_name.name) != type.virtual_methods.end()) { - memdelete(p_bind); - ERR_FAIL_V_MSG(nullptr, String("Method '{0}::{1}()' already bound as virtual.").format(Array::make(instance_type, method_name.name))); - } - - p_bind->set_name(method_name.name); - - if ((int)method_name.args.size() > p_bind->get_argument_count()) { - memdelete(p_bind); - ERR_FAIL_V_MSG(nullptr, String("Method '{0}::{1}()' definition has more arguments than the actual method.").format(Array::make(instance_type, method_name.name))); - } - - p_bind->set_hint_flags(p_flags); - - std::vector args; - args.resize(method_name.args.size()); - size_t arg_index = 0; - for (StringName arg : method_name.args) { - args[arg_index++] = arg; - } - - p_bind->set_argument_names(args); - - std::vector defvals; - - defvals.resize(p_defcount); - for (int i = 0; i < p_defcount; i++) { - defvals[i] = *static_cast(p_defs[i]); - } - - p_bind->set_default_arguments(defvals); - p_bind->set_hint_flags(p_flags); - - // register our method bind within our plugin - type.method_map[method_name.name] = p_bind; - - // and register with godot - bind_method_godot(type.name, p_bind); - - return p_bind; -} - -void ClassDB::bind_method_godot(const StringName &p_class_name, MethodBind *p_method) { - std::vector def_args; - const std::vector &def_args_val = p_method->get_default_arguments(); - def_args.resize(def_args_val.size()); - for (size_t i = 0; i < def_args_val.size(); i++) { - def_args[i] = (GDExtensionVariantPtr)&def_args_val[i]; - } - - std::vector return_value_and_arguments_info = p_method->get_arguments_info_list(); - std::vector return_value_and_arguments_metadata = p_method->get_arguments_metadata_list(); - - std::vector return_value_and_arguments_gdextension_info; - return_value_and_arguments_gdextension_info.reserve(return_value_and_arguments_info.size()); - for (std::vector::iterator it = return_value_and_arguments_info.begin(); it != return_value_and_arguments_info.end(); it++) { - return_value_and_arguments_gdextension_info.push_back( - GDExtensionPropertyInfo{ - static_cast(it->type), // GDExtensionVariantType type; - it->name._native_ptr(), // GDExtensionStringNamePtr name; - it->class_name._native_ptr(), // GDExtensionStringNamePtr class_name; - it->hint, // uint32_t hint; - it->hint_string._native_ptr(), // GDExtensionStringPtr hint_string; - it->usage, // uint32_t usage; - }); - } - - GDExtensionPropertyInfo *return_value_info = return_value_and_arguments_gdextension_info.data(); - GDExtensionClassMethodArgumentMetadata *return_value_metadata = return_value_and_arguments_metadata.data(); - GDExtensionPropertyInfo *arguments_info = return_value_and_arguments_gdextension_info.data() + 1; - GDExtensionClassMethodArgumentMetadata *arguments_metadata = return_value_and_arguments_metadata.data() + 1; - - StringName name = p_method->get_name(); - GDExtensionClassMethodInfo method_info = { - name._native_ptr(), // GDExtensionStringNamePtr; - p_method, // void *method_userdata; - MethodBind::bind_call, // GDExtensionClassMethodCall call_func; - MethodBind::bind_ptrcall, // GDExtensionClassMethodPtrCall ptrcall_func; - p_method->get_hint_flags(), // uint32_t method_flags; /* GDExtensionClassMethodFlags */ - (GDExtensionBool)p_method->has_return(), // GDExtensionBool has_return_value; - return_value_info, // GDExtensionPropertyInfo * - *return_value_metadata, // GDExtensionClassMethodArgumentMetadata * - (uint32_t)p_method->get_argument_count(), // uint32_t argument_count; - arguments_info, // GDExtensionPropertyInfo * - arguments_metadata, // GDExtensionClassMethodArgumentMetadata * - (uint32_t)p_method->get_default_argument_count(), // uint32_t default_argument_count; - def_args.data(), // GDExtensionVariantPtr *default_arguments; - }; - internal::gdextension_interface_classdb_register_extension_class_method(internal::library, p_class_name._native_ptr(), &method_info); -} - -void ClassDB::add_signal(const StringName &p_class, const MethodInfo &p_signal) { - std::unordered_map::iterator type_it = classes.find(p_class); - - ERR_FAIL_COND_MSG(type_it == classes.end(), String("Class '{0}' doesn't exist.").format(Array::make(p_class))); - - ClassInfo &cl = type_it->second; - - // Check if this signal is already register - ClassInfo *check = &cl; - while (check) { - ERR_FAIL_COND_MSG(check->signal_names.find(p_signal.name) != check->signal_names.end(), String("Class '{0}' already has signal '{1}'.").format(Array::make(p_class, p_signal.name))); - check = check->parent_ptr; - } - - // register our signal in our plugin - cl.signal_names.insert(p_signal.name); - - // register our signal in godot - std::vector parameters; - parameters.reserve(p_signal.arguments.size()); - - for (const PropertyInfo &par : p_signal.arguments) { - parameters.push_back(GDExtensionPropertyInfo{ - static_cast(par.type), // GDExtensionVariantType type; - par.name._native_ptr(), // GDExtensionStringNamePtr name; - par.class_name._native_ptr(), // GDExtensionStringNamePtr class_name; - par.hint, // NONE //uint32_t hint; - par.hint_string._native_ptr(), // GDExtensionStringPtr hint_string; - par.usage, // DEFAULT //uint32_t usage; - }); - } - - internal::gdextension_interface_classdb_register_extension_class_signal(internal::library, cl.name._native_ptr(), p_signal.name._native_ptr(), parameters.data(), parameters.size()); -} - -void ClassDB::bind_integer_constant(const StringName &p_class_name, const StringName &p_enum_name, const StringName &p_constant_name, GDExtensionInt p_constant_value, bool p_is_bitfield) { - std::unordered_map::iterator type_it = classes.find(p_class_name); - - ERR_FAIL_COND_MSG(type_it == classes.end(), String("Class '{0}' doesn't exist.").format(Array::make(p_class_name))); - - ClassInfo &type = type_it->second; - - // check if it already exists - ERR_FAIL_COND_MSG(type.constant_names.find(p_constant_name) != type.constant_names.end(), String("Constant '{0}::{1}' already registered.").format(Array::make(p_class_name, p_constant_name))); - - // register it with our plugin (purely to check for duplicates) - type.constant_names.insert(p_constant_name); - - // Register it with Godot - internal::gdextension_interface_classdb_register_extension_class_integer_constant(internal::library, p_class_name._native_ptr(), p_enum_name._native_ptr(), p_constant_name._native_ptr(), p_constant_value, p_is_bitfield); -} -GDExtensionClassCallVirtual ClassDB::get_virtual_func(void *p_userdata, GDExtensionConstStringNamePtr p_name) { - // This is called by Godot the first time it calls a virtual function, and it caches the result, per object instance. - // Because of this, it can happen from different threads at once. - // It should be ok not using any mutex as long as we only READ data. - const StringName *class_name = reinterpret_cast(p_userdata); - const StringName *name = reinterpret_cast(p_name); - - std::unordered_map::iterator type_it = classes.find(*class_name); - ERR_FAIL_COND_V_MSG(type_it == classes.end(), nullptr, String("Class '{0}' doesn't exist.").format(Array::make(*class_name))); - - const ClassInfo *type = &type_it->second; - - // Find method in current class, or any of its parent classes (Godot classes not included) - while (type != nullptr) { - std::unordered_map::const_iterator method_it = type->virtual_methods.find(*name); - - if (method_it != type->virtual_methods.end()) { - return method_it->second; - } - - type = type->parent_ptr; - } - - return nullptr; -} - -const GDExtensionInstanceBindingCallbacks *ClassDB::get_instance_binding_callbacks(const StringName &p_class) { - std::unordered_map::iterator callbacks_it = instance_binding_callbacks.find(p_class); - if (likely(callbacks_it != instance_binding_callbacks.end())) { - return callbacks_it->second; - } - - // If we don't have an instance binding callback for the given class, find the closest parent where we do. - StringName class_name = p_class; - do { - class_name = get_parent_class(class_name); - ERR_FAIL_COND_V_MSG(class_name == StringName(), nullptr, String("Cannot find instance binding callbacks for class '{0}'.").format(Array::make(p_class))); - callbacks_it = instance_binding_callbacks.find(class_name); - } while (callbacks_it == instance_binding_callbacks.end()); - - return callbacks_it->second; -} - -void ClassDB::bind_virtual_method(const StringName &p_class, const StringName &p_method, GDExtensionClassCallVirtual p_call) { - std::unordered_map::iterator type_it = classes.find(p_class); - ERR_FAIL_COND_MSG(type_it == classes.end(), String("Class '{0}' doesn't exist.").format(Array::make(p_class))); - - ClassInfo &type = type_it->second; - - ERR_FAIL_COND_MSG(type.method_map.find(p_method) != type.method_map.end(), String("Method '{0}::{1}()' already registered as non-virtual.").format(Array::make(p_class, p_method))); - ERR_FAIL_COND_MSG(type.virtual_methods.find(p_method) != type.virtual_methods.end(), String("Virtual '{0}::{1}()' method already registered.").format(Array::make(p_class, p_method))); - - type.virtual_methods[p_method] = p_call; -} - -void ClassDB::add_virtual_method(const StringName &p_class, const MethodInfo &p_method, const Vector &p_arg_names) { - std::unordered_map::iterator type_it = classes.find(p_class); - ERR_FAIL_COND_MSG(type_it == classes.end(), String("Class '{0}' doesn't exist.").format(Array::make(p_class))); - - GDExtensionClassVirtualMethodInfo mi; - mi.name = (GDExtensionStringNamePtr)&p_method.name; - mi.method_flags = p_method.flags; - mi.return_value = p_method.return_val._to_gdextension(); - mi.return_value_metadata = p_method.return_val_metadata; - mi.argument_count = p_method.arguments.size(); - if (mi.argument_count > 0) { - mi.arguments = (GDExtensionPropertyInfo *)memalloc(sizeof(GDExtensionPropertyInfo) * mi.argument_count); - mi.arguments_metadata = (GDExtensionClassMethodArgumentMetadata *)memalloc(sizeof(GDExtensionClassMethodArgumentMetadata) * mi.argument_count); - for (int i = 0; i < mi.argument_count; i++) { - mi.arguments[i] = p_method.arguments[i]._to_gdextension(); - mi.arguments_metadata[i] = p_method.arguments_metadata[i]; - } - } else { - mi.arguments = nullptr; - mi.arguments_metadata = nullptr; - } - - if (p_arg_names.size() != mi.argument_count) { - WARN_PRINT("Mismatch argument name count for virtual method: " + String(p_class) + "::" + p_method.name); - } else { - for (int i = 0; i < p_arg_names.size(); i++) { - mi.arguments[i].name = (GDExtensionStringNamePtr)&p_arg_names[i]; - } - } - - internal::gdextension_interface_classdb_register_extension_class_virtual_method(internal::library, &p_class, &mi); - - if (mi.arguments) { - memfree(mi.arguments); - } - if (mi.arguments_metadata) { - memfree(mi.arguments_metadata); - } -} - -void ClassDB::initialize_class(const ClassInfo &p_cl) { -} - -void ClassDB::initialize(GDExtensionInitializationLevel p_level) { - for (const std::pair pair : classes) { - const ClassInfo &cl = pair.second; - if (cl.level != p_level) { - continue; - } - - // Nothing to do here for now... - } -} - -void ClassDB::deinitialize(GDExtensionInitializationLevel p_level) { - std::set to_erase; - for (std::vector::reverse_iterator i = class_register_order.rbegin(); i != class_register_order.rend(); ++i) { - const StringName &name = *i; - const ClassInfo &cl = classes[name]; - - if (cl.level != p_level) { - continue; - } - - internal::gdextension_interface_classdb_unregister_extension_class(internal::library, name._native_ptr()); - - for (const std::pair &method : cl.method_map) { - memdelete(method.second); - } - - classes.erase(name); - to_erase.insert(name); - } - - { - // The following is equivalent to c++20 `std::erase_if(class_register_order, [&](const StringName& name){ return to_erase.contains(name); });` - std::vector::iterator it = std::remove_if(class_register_order.begin(), class_register_order.end(), [&](const StringName &p_name) { - return to_erase.count(p_name) > 0; - }); - class_register_order.erase(it, class_register_order.end()); - } -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/core/error_macros.cpp b/thirdparty/godot-cpp/src/core/error_macros.cpp deleted file mode 100644 index 685f70d..0000000 --- a/thirdparty/godot-cpp/src/core/error_macros.cpp +++ /dev/null @@ -1,86 +0,0 @@ -/**************************************************************************/ -/* error_macros.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, bool p_editor_notify, bool p_is_warning) { - if (p_is_warning) { - internal::gdextension_interface_print_warning(p_error, p_function, p_file, p_line, p_editor_notify); - } else { - internal::gdextension_interface_print_error(p_error, p_function, p_file, p_line, p_editor_notify); - } -} - -void _err_print_error(const char *p_function, const char *p_file, int p_line, const String &p_error, bool p_editor_notify, bool p_is_warning) { - _err_print_error(p_function, p_file, p_line, p_error.utf8().get_data(), p_editor_notify, p_is_warning); -} - -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_editor_notify, bool p_is_warning) { - if (p_is_warning) { - internal::gdextension_interface_print_warning_with_message(p_error, p_message, p_function, p_file, p_line, p_editor_notify); - } else { - internal::gdextension_interface_print_error_with_message(p_error, p_message, p_function, p_file, p_line, p_editor_notify); - } -} - -void _err_print_error(const char *p_function, const char *p_file, int p_line, const String &p_error, const char *p_message, bool p_editor_notify, bool p_is_warning) { - _err_print_error(p_function, p_file, p_line, p_error.utf8().get_data(), p_message, p_editor_notify, p_is_warning); -} - -void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, const String &p_message, bool p_editor_notify, bool p_is_warning) { - _err_print_error(p_function, p_file, p_line, p_error, p_message.utf8().get_data(), p_editor_notify, p_is_warning); -} - -void _err_print_error(const char *p_function, const char *p_file, int p_line, const String &p_error, const String &p_message, bool p_editor_notify, bool p_is_warning) { - _err_print_error(p_function, p_file, p_line, p_error.utf8().get_data(), p_message.utf8().get_data(), p_editor_notify, p_is_warning); -} - -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 p_editor_notify, bool p_fatal) { - String fstr(p_fatal ? "FATAL: " : ""); - String err(fstr + "Index " + p_index_str + " = " + itos(p_index) + " is out of bounds (" + p_size_str + " = " + itos(p_size) + ")."); - _err_print_error(p_function, p_file, p_line, err.utf8().get_data(), p_message, p_editor_notify, 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 String &p_message, bool p_editor_notify, bool p_fatal) { - _err_print_index_error(p_function, p_file, p_line, p_index, p_size, p_index_str, p_size_str, p_message.utf8().get_data(), p_editor_notify, p_fatal); -} - -void _err_flush_stdout() { - fflush(stdout); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/core/memory.cpp b/thirdparty/godot-cpp/src/core/memory.cpp deleted file mode 100644 index f330c23..0000000 --- a/thirdparty/godot-cpp/src/core/memory.cpp +++ /dev/null @@ -1,133 +0,0 @@ -/**************************************************************************/ -/* memory.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -void *Memory::alloc_static(size_t p_bytes, bool p_pad_align) { -#ifdef DEBUG_ENABLED - bool prepad = false; // Alredy pre paded in the engine. -#else - bool prepad = p_pad_align; -#endif - - void *mem = internal::gdextension_interface_mem_alloc(p_bytes + (prepad ? DATA_OFFSET : 0)); - ERR_FAIL_NULL_V(mem, nullptr); - - if (prepad) { - uint8_t *s8 = (uint8_t *)mem; - return s8 + DATA_OFFSET; - } else { - return mem; - } -} - -void *Memory::realloc_static(void *p_memory, size_t p_bytes, bool p_pad_align) { - if (p_memory == nullptr) { - return alloc_static(p_bytes, p_pad_align); - } else if (p_bytes == 0) { - free_static(p_memory, p_pad_align); - return nullptr; - } - - uint8_t *mem = (uint8_t *)p_memory; - -#ifdef DEBUG_ENABLED - bool prepad = false; // Alredy pre paded in the engine. -#else - bool prepad = p_pad_align; -#endif - - if (prepad) { - mem -= DATA_OFFSET; - mem = (uint8_t *)internal::gdextension_interface_mem_realloc(mem, p_bytes + DATA_OFFSET); - ERR_FAIL_NULL_V(mem, nullptr); - return mem + DATA_OFFSET; - } else { - return (uint8_t *)internal::gdextension_interface_mem_realloc(mem, p_bytes); - } -} - -void Memory::free_static(void *p_ptr, bool p_pad_align) { - uint8_t *mem = (uint8_t *)p_ptr; - -#ifdef DEBUG_ENABLED - bool prepad = false; // Alredy pre paded in the engine. -#else - bool prepad = p_pad_align; -#endif - - if (prepad) { - mem -= DATA_OFFSET; - } - internal::gdextension_interface_mem_free(mem); -} - -_GlobalNil::_GlobalNil() { - left = this; - right = this; - parent = this; -} - -_GlobalNil _GlobalNilClass::_nil; - -} // namespace godot - -// p_dummy argument is added to avoid conflicts with the engine functions when both engine and GDExtension are built as a static library on iOS. -void *operator new(size_t p_size, const char *p_dummy, const char *p_description) { - return godot::Memory::alloc_static(p_size); -} - -void *operator new(size_t p_size, const char *p_dummy, void *(*p_allocfunc)(size_t p_size)) { - return p_allocfunc(p_size); -} - -using namespace godot; - -#ifdef _MSC_VER -void operator delete(void *p_mem, const char *p_dummy, const char *p_description) { - ERR_PRINT("Call to placement delete should not happen."); - CRASH_NOW(); -} - -void operator delete(void *p_mem, const char *p_dummy, void *(*p_allocfunc)(size_t p_size)) { - ERR_PRINT("Call to placement delete should not happen."); - CRASH_NOW(); -} - -void operator delete(void *p_mem, const char *p_dummy, void *p_pointer, size_t check, const char *p_description) { - ERR_PRINT("Call to placement delete should not happen."); - CRASH_NOW(); -} - -#endif diff --git a/thirdparty/godot-cpp/src/core/method_bind.cpp b/thirdparty/godot-cpp/src/core/method_bind.cpp deleted file mode 100644 index 0b9b5eb..0000000 --- a/thirdparty/godot-cpp/src/core/method_bind.cpp +++ /dev/null @@ -1,113 +0,0 @@ -/**************************************************************************/ -/* method_bind.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 { - -StringName MethodBind::get_name() const { - return name; -} - -void MethodBind::set_name(const StringName &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_static(bool p_static) { - _static = p_static; -} - -void MethodBind::set_vararg(bool p_vararg) { - _vararg = p_vararg; -} - -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(GDExtensionVariantType, p_count + 1); - - // -1 means return type. - for (int i = -1; i < p_count; i++) { - argument_types[i + 1] = gen_argument_type(i); - } -} - -PropertyInfo MethodBind::get_argument_info(int p_argument) const { - PropertyInfo info = gen_argument_type_info(p_argument); - if (p_argument >= 0) { - info.name = p_argument < (int)argument_names.size() ? argument_names[p_argument] : ""; - } - return info; -} - -void MethodBind::bind_call(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionVariantPtr r_return, GDExtensionCallError *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 GDExtensionMethodBind calls this from the Godot side, it should always be the case. - internal::gdextension_interface_variant_new_copy(r_return, ret._native_ptr()); -} - -void MethodBind::bind_ptrcall(void *p_method_userdata, GDExtensionClassInstancePtr p_instance, const GDExtensionConstTypePtr *p_args, GDExtensionTypePtr 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/thirdparty/godot-cpp/src/core/object.cpp b/thirdparty/godot-cpp/src/core/object.cpp deleted file mode 100644 index dc3c879..0000000 --- a/thirdparty/godot-cpp/src/core/object.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/**************************************************************************/ -/* object.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -namespace internal { - -Object *get_object_instance_binding(GodotObject *p_engine_object) { - if (p_engine_object == nullptr) { - return nullptr; - } - - // Get existing instance binding, if one already exists. - GDExtensionObjectPtr instance = gdextension_interface_object_get_instance_binding(p_engine_object, token, nullptr); - if (instance != nullptr) { - return reinterpret_cast(instance); - } - - // Otherwise, try to look up the correct binding callbacks. - const GDExtensionInstanceBindingCallbacks *binding_callbacks = nullptr; - StringName class_name; - if (gdextension_interface_object_get_class_name(p_engine_object, library, reinterpret_cast(class_name._native_ptr()))) { - binding_callbacks = ClassDB::get_instance_binding_callbacks(class_name); - } - if (binding_callbacks == nullptr) { - binding_callbacks = &Object::_gde_binding_callbacks; - } - - return reinterpret_cast(gdextension_interface_object_get_instance_binding(p_engine_object, token, binding_callbacks)); -} - -} // namespace internal - -MethodInfo::MethodInfo() : - flags(GDEXTENSION_METHOD_FLAG_NORMAL) {} - -MethodInfo::MethodInfo(StringName p_name) : - name(p_name), flags(GDEXTENSION_METHOD_FLAG_NORMAL) {} - -MethodInfo::MethodInfo(Variant::Type ret) : - flags(GDEXTENSION_METHOD_FLAG_NORMAL) { - return_val.type = ret; -} - -MethodInfo::MethodInfo(Variant::Type ret, StringName p_name) : - name(p_name), flags(GDEXTENSION_METHOD_FLAG_NORMAL) { - return_val.type = ret; -} - -MethodInfo::MethodInfo(const PropertyInfo &p_ret, StringName p_name) : - name(p_name), return_val(p_ret), flags(GDEXTENSION_METHOD_FLAG_NORMAL) {} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/godot.cpp b/thirdparty/godot-cpp/src/godot.cpp deleted file mode 100644 index 8a031be..0000000 --- a/thirdparty/godot-cpp/src/godot.cpp +++ /dev/null @@ -1,534 +0,0 @@ -/**************************************************************************/ -/* godot.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 -#include - -#include - -namespace godot { - -namespace internal { - -GDExtensionInterfaceGetProcAddress gdextension_interface_get_proc_address = nullptr; -GDExtensionClassLibraryPtr library = nullptr; -void *token = nullptr; - -GDExtensionGodotVersion godot_version = { 0, 0, 0, nullptr }; - -// All of the GDExtension interface functions. -GDExtensionInterfaceGetGodotVersion gdextension_interface_get_godot_version = nullptr; -GDExtensionInterfaceMemAlloc gdextension_interface_mem_alloc = nullptr; -GDExtensionInterfaceMemRealloc gdextension_interface_mem_realloc = nullptr; -GDExtensionInterfaceMemFree gdextension_interface_mem_free = nullptr; -GDExtensionInterfacePrintError gdextension_interface_print_error = nullptr; -GDExtensionInterfacePrintErrorWithMessage gdextension_interface_print_error_with_message = nullptr; -GDExtensionInterfacePrintWarning gdextension_interface_print_warning = nullptr; -GDExtensionInterfacePrintWarningWithMessage gdextension_interface_print_warning_with_message = nullptr; -GDExtensionInterfacePrintScriptError gdextension_interface_print_script_error = nullptr; -GDExtensionInterfacePrintScriptErrorWithMessage gdextension_interface_print_script_error_with_message = nullptr; -GDExtensionInterfaceGetNativeStructSize gdextension_interface_get_native_struct_size = nullptr; -GDExtensionInterfaceVariantNewCopy gdextension_interface_variant_new_copy = nullptr; -GDExtensionInterfaceVariantNewNil gdextension_interface_variant_new_nil = nullptr; -GDExtensionInterfaceVariantDestroy gdextension_interface_variant_destroy = nullptr; -GDExtensionInterfaceVariantCall gdextension_interface_variant_call = nullptr; -GDExtensionInterfaceVariantCallStatic gdextension_interface_variant_call_static = nullptr; -GDExtensionInterfaceVariantEvaluate gdextension_interface_variant_evaluate = nullptr; -GDExtensionInterfaceVariantSet gdextension_interface_variant_set = nullptr; -GDExtensionInterfaceVariantSetNamed gdextension_interface_variant_set_named = nullptr; -GDExtensionInterfaceVariantSetKeyed gdextension_interface_variant_set_keyed = nullptr; -GDExtensionInterfaceVariantSetIndexed gdextension_interface_variant_set_indexed = nullptr; -GDExtensionInterfaceVariantGet gdextension_interface_variant_get = nullptr; -GDExtensionInterfaceVariantGetNamed gdextension_interface_variant_get_named = nullptr; -GDExtensionInterfaceVariantGetKeyed gdextension_interface_variant_get_keyed = nullptr; -GDExtensionInterfaceVariantGetIndexed gdextension_interface_variant_get_indexed = nullptr; -GDExtensionInterfaceVariantIterInit gdextension_interface_variant_iter_init = nullptr; -GDExtensionInterfaceVariantIterNext gdextension_interface_variant_iter_next = nullptr; -GDExtensionInterfaceVariantIterGet gdextension_interface_variant_iter_get = nullptr; -GDExtensionInterfaceVariantHash gdextension_interface_variant_hash = nullptr; -GDExtensionInterfaceVariantRecursiveHash gdextension_interface_variant_recursive_hash = nullptr; -GDExtensionInterfaceVariantHashCompare gdextension_interface_variant_hash_compare = nullptr; -GDExtensionInterfaceVariantBooleanize gdextension_interface_variant_booleanize = nullptr; -GDExtensionInterfaceVariantDuplicate gdextension_interface_variant_duplicate = nullptr; -GDExtensionInterfaceVariantStringify gdextension_interface_variant_stringify = nullptr; -GDExtensionInterfaceVariantGetType gdextension_interface_variant_get_type = nullptr; -GDExtensionInterfaceVariantHasMethod gdextension_interface_variant_has_method = nullptr; -GDExtensionInterfaceVariantHasMember gdextension_interface_variant_has_member = nullptr; -GDExtensionInterfaceVariantHasKey gdextension_interface_variant_has_key = nullptr; -GDExtensionInterfaceVariantGetTypeName gdextension_interface_variant_get_type_name = nullptr; -GDExtensionInterfaceVariantCanConvert gdextension_interface_variant_can_convert = nullptr; -GDExtensionInterfaceVariantCanConvertStrict gdextension_interface_variant_can_convert_strict = nullptr; -GDExtensionInterfaceGetVariantFromTypeConstructor gdextension_interface_get_variant_from_type_constructor = nullptr; -GDExtensionInterfaceGetVariantToTypeConstructor gdextension_interface_get_variant_to_type_constructor = nullptr; -GDExtensionInterfaceVariantGetPtrOperatorEvaluator gdextension_interface_variant_get_ptr_operator_evaluator = nullptr; -GDExtensionInterfaceVariantGetPtrBuiltinMethod gdextension_interface_variant_get_ptr_builtin_method = nullptr; -GDExtensionInterfaceVariantGetPtrConstructor gdextension_interface_variant_get_ptr_constructor = nullptr; -GDExtensionInterfaceVariantGetPtrDestructor gdextension_interface_variant_get_ptr_destructor = nullptr; -GDExtensionInterfaceVariantConstruct gdextension_interface_variant_construct = nullptr; -GDExtensionInterfaceVariantGetPtrSetter gdextension_interface_variant_get_ptr_setter = nullptr; -GDExtensionInterfaceVariantGetPtrGetter gdextension_interface_variant_get_ptr_getter = nullptr; -GDExtensionInterfaceVariantGetPtrIndexedSetter gdextension_interface_variant_get_ptr_indexed_setter = nullptr; -GDExtensionInterfaceVariantGetPtrIndexedGetter gdextension_interface_variant_get_ptr_indexed_getter = nullptr; -GDExtensionInterfaceVariantGetPtrKeyedSetter gdextension_interface_variant_get_ptr_keyed_setter = nullptr; -GDExtensionInterfaceVariantGetPtrKeyedGetter gdextension_interface_variant_get_ptr_keyed_getter = nullptr; -GDExtensionInterfaceVariantGetPtrKeyedChecker gdextension_interface_variant_get_ptr_keyed_checker = nullptr; -GDExtensionInterfaceVariantGetConstantValue gdextension_interface_variant_get_constant_value = nullptr; -GDExtensionInterfaceVariantGetPtrUtilityFunction gdextension_interface_variant_get_ptr_utility_function = nullptr; -GDExtensionInterfaceStringNewWithLatin1Chars gdextension_interface_string_new_with_latin1_chars = nullptr; -GDExtensionInterfaceStringNewWithUtf8Chars gdextension_interface_string_new_with_utf8_chars = nullptr; -GDExtensionInterfaceStringNewWithUtf16Chars gdextension_interface_string_new_with_utf16_chars = nullptr; -GDExtensionInterfaceStringNewWithUtf32Chars gdextension_interface_string_new_with_utf32_chars = nullptr; -GDExtensionInterfaceStringNewWithWideChars gdextension_interface_string_new_with_wide_chars = nullptr; -GDExtensionInterfaceStringNewWithLatin1CharsAndLen gdextension_interface_string_new_with_latin1_chars_and_len = nullptr; -GDExtensionInterfaceStringNewWithUtf8CharsAndLen gdextension_interface_string_new_with_utf8_chars_and_len = nullptr; -GDExtensionInterfaceStringNewWithUtf16CharsAndLen gdextension_interface_string_new_with_utf16_chars_and_len = nullptr; -GDExtensionInterfaceStringNewWithUtf32CharsAndLen gdextension_interface_string_new_with_utf32_chars_and_len = nullptr; -GDExtensionInterfaceStringNewWithWideCharsAndLen gdextension_interface_string_new_with_wide_chars_and_len = nullptr; -GDExtensionInterfaceStringToLatin1Chars gdextension_interface_string_to_latin1_chars = nullptr; -GDExtensionInterfaceStringToUtf8Chars gdextension_interface_string_to_utf8_chars = nullptr; -GDExtensionInterfaceStringToUtf16Chars gdextension_interface_string_to_utf16_chars = nullptr; -GDExtensionInterfaceStringToUtf32Chars gdextension_interface_string_to_utf32_chars = nullptr; -GDExtensionInterfaceStringToWideChars gdextension_interface_string_to_wide_chars = nullptr; -GDExtensionInterfaceStringOperatorIndex gdextension_interface_string_operator_index = nullptr; -GDExtensionInterfaceStringOperatorIndexConst gdextension_interface_string_operator_index_const = nullptr; -GDExtensionInterfaceStringOperatorPlusEqString gdextension_interface_string_operator_plus_eq_string = nullptr; -GDExtensionInterfaceStringOperatorPlusEqChar gdextension_interface_string_operator_plus_eq_char = nullptr; -GDExtensionInterfaceStringOperatorPlusEqCstr gdextension_interface_string_operator_plus_eq_cstr = nullptr; -GDExtensionInterfaceStringOperatorPlusEqWcstr gdextension_interface_string_operator_plus_eq_wcstr = nullptr; -GDExtensionInterfaceStringOperatorPlusEqC32str gdextension_interface_string_operator_plus_eq_c32str = nullptr; -GDExtensionInterfaceStringResize gdextension_interface_string_resize = nullptr; -GDExtensionInterfaceStringNameNewWithLatin1Chars gdextension_interface_string_name_new_with_latin1_chars = nullptr; -GDExtensionInterfaceXmlParserOpenBuffer gdextension_interface_xml_parser_open_buffer = nullptr; -GDExtensionInterfaceFileAccessStoreBuffer gdextension_interface_file_access_store_buffer = nullptr; -GDExtensionInterfaceFileAccessGetBuffer gdextension_interface_file_access_get_buffer = nullptr; -GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask gdextension_interface_worker_thread_pool_add_native_group_task = nullptr; -GDExtensionInterfaceWorkerThreadPoolAddNativeTask gdextension_interface_worker_thread_pool_add_native_task = nullptr; -GDExtensionInterfacePackedByteArrayOperatorIndex gdextension_interface_packed_byte_array_operator_index = nullptr; -GDExtensionInterfacePackedByteArrayOperatorIndexConst gdextension_interface_packed_byte_array_operator_index_const = nullptr; -GDExtensionInterfacePackedColorArrayOperatorIndex gdextension_interface_packed_color_array_operator_index = nullptr; -GDExtensionInterfacePackedColorArrayOperatorIndexConst gdextension_interface_packed_color_array_operator_index_const = nullptr; -GDExtensionInterfacePackedFloat32ArrayOperatorIndex gdextension_interface_packed_float32_array_operator_index = nullptr; -GDExtensionInterfacePackedFloat32ArrayOperatorIndexConst gdextension_interface_packed_float32_array_operator_index_const = nullptr; -GDExtensionInterfacePackedFloat64ArrayOperatorIndex gdextension_interface_packed_float64_array_operator_index = nullptr; -GDExtensionInterfacePackedFloat64ArrayOperatorIndexConst gdextension_interface_packed_float64_array_operator_index_const = nullptr; -GDExtensionInterfacePackedInt32ArrayOperatorIndex gdextension_interface_packed_int32_array_operator_index = nullptr; -GDExtensionInterfacePackedInt32ArrayOperatorIndexConst gdextension_interface_packed_int32_array_operator_index_const = nullptr; -GDExtensionInterfacePackedInt64ArrayOperatorIndex gdextension_interface_packed_int64_array_operator_index = nullptr; -GDExtensionInterfacePackedInt64ArrayOperatorIndexConst gdextension_interface_packed_int64_array_operator_index_const = nullptr; -GDExtensionInterfacePackedStringArrayOperatorIndex gdextension_interface_packed_string_array_operator_index = nullptr; -GDExtensionInterfacePackedStringArrayOperatorIndexConst gdextension_interface_packed_string_array_operator_index_const = nullptr; -GDExtensionInterfacePackedVector2ArrayOperatorIndex gdextension_interface_packed_vector2_array_operator_index = nullptr; -GDExtensionInterfacePackedVector2ArrayOperatorIndexConst gdextension_interface_packed_vector2_array_operator_index_const = nullptr; -GDExtensionInterfacePackedVector3ArrayOperatorIndex gdextension_interface_packed_vector3_array_operator_index = nullptr; -GDExtensionInterfacePackedVector3ArrayOperatorIndexConst gdextension_interface_packed_vector3_array_operator_index_const = nullptr; -GDExtensionInterfaceArrayOperatorIndex gdextension_interface_array_operator_index = nullptr; -GDExtensionInterfaceArrayOperatorIndexConst gdextension_interface_array_operator_index_const = nullptr; -GDExtensionInterfaceArrayRef gdextension_interface_array_ref = nullptr; -GDExtensionInterfaceArraySetTyped gdextension_interface_array_set_typed = nullptr; -GDExtensionInterfaceDictionaryOperatorIndex gdextension_interface_dictionary_operator_index = nullptr; -GDExtensionInterfaceDictionaryOperatorIndexConst gdextension_interface_dictionary_operator_index_const = nullptr; -GDExtensionInterfaceObjectMethodBindCall gdextension_interface_object_method_bind_call = nullptr; -GDExtensionInterfaceObjectMethodBindPtrcall gdextension_interface_object_method_bind_ptrcall = nullptr; -GDExtensionInterfaceObjectDestroy gdextension_interface_object_destroy = nullptr; -GDExtensionInterfaceGlobalGetSingleton gdextension_interface_global_get_singleton = nullptr; -GDExtensionInterfaceObjectGetInstanceBinding gdextension_interface_object_get_instance_binding = nullptr; -GDExtensionInterfaceObjectSetInstanceBinding gdextension_interface_object_set_instance_binding = nullptr; -GDExtensionInterfaceObjectSetInstance gdextension_interface_object_set_instance = nullptr; -GDExtensionInterfaceObjectGetClassName gdextension_interface_object_get_class_name = nullptr; -GDExtensionInterfaceObjectCastTo gdextension_interface_object_cast_to = nullptr; -GDExtensionInterfaceObjectGetInstanceFromId gdextension_interface_object_get_instance_from_id = nullptr; -GDExtensionInterfaceObjectGetInstanceId gdextension_interface_object_get_instance_id = nullptr; -GDExtensionInterfaceObjectHasScriptMethod gdextension_interface_object_has_script_method = nullptr; -GDExtensionInterfaceObjectCallScriptMethod gdextension_interface_object_call_script_method = nullptr; -GDExtensionInterfaceCallableCustomCreate2 gdextension_interface_callable_custom_create2 = nullptr; -GDExtensionInterfaceCallableCustomGetUserData gdextension_interface_callable_custom_get_userdata = nullptr; -GDExtensionInterfaceRefGetObject gdextension_interface_ref_get_object = nullptr; -GDExtensionInterfaceRefSetObject gdextension_interface_ref_set_object = nullptr; -GDExtensionInterfaceScriptInstanceCreate3 gdextension_interface_script_instance_create3 = nullptr; -GDExtensionInterfacePlaceHolderScriptInstanceCreate gdextension_interface_placeholder_script_instance_create = nullptr; -GDExtensionInterfacePlaceHolderScriptInstanceUpdate gdextension_interface_placeholder_script_instance_update = nullptr; -GDExtensionInterfaceClassdbConstructObject gdextension_interface_classdb_construct_object = nullptr; -GDExtensionInterfaceClassdbGetMethodBind gdextension_interface_classdb_get_method_bind = nullptr; -GDExtensionInterfaceClassdbGetClassTag gdextension_interface_classdb_get_class_tag = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClass3 gdextension_interface_classdb_register_extension_class3 = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClassMethod gdextension_interface_classdb_register_extension_class_method = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClassVirtualMethod gdextension_interface_classdb_register_extension_class_virtual_method = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClassIntegerConstant gdextension_interface_classdb_register_extension_class_integer_constant = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClassProperty gdextension_interface_classdb_register_extension_class_property = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClassPropertyIndexed gdextension_interface_classdb_register_extension_class_property_indexed = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClassPropertyGroup gdextension_interface_classdb_register_extension_class_property_group = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClassPropertySubgroup gdextension_interface_classdb_register_extension_class_property_subgroup = nullptr; -GDExtensionInterfaceClassdbRegisterExtensionClassSignal gdextension_interface_classdb_register_extension_class_signal = nullptr; -GDExtensionInterfaceClassdbUnregisterExtensionClass gdextension_interface_classdb_unregister_extension_class = nullptr; -GDExtensionInterfaceGetLibraryPath gdextension_interface_get_library_path = nullptr; -GDExtensionInterfaceEditorAddPlugin gdextension_interface_editor_add_plugin = nullptr; -GDExtensionInterfaceEditorRemovePlugin gdextension_interface_editor_remove_plugin = nullptr; - -} // namespace internal - -bool GDExtensionBinding::api_initialized = false; -int GDExtensionBinding::level_initialized[MODULE_INITIALIZATION_LEVEL_MAX] = { 0 }; -GDExtensionBinding::InitDataList GDExtensionBinding::initdata; - -#define ERR_PRINT_EARLY(m_msg) \ - internal::gdextension_interface_print_error(m_msg, FUNCTION_STR, __FILE__, __LINE__, false) - -#define LOAD_PROC_ADDRESS(m_name, m_type) \ - internal::gdextension_interface_##m_name = (m_type)p_get_proc_address(#m_name); \ - if (!internal::gdextension_interface_##m_name) { \ - ERR_PRINT_EARLY("Unable to load GDExtension interface function " #m_name "()"); \ - return false; \ - } - -// Partial definition of the legacy interface so we can detect it and show an error. -typedef struct { - uint32_t version_major; - uint32_t version_minor; - uint32_t version_patch; - const char *version_string; - - GDExtensionInterfaceFunctionPtr unused1; - GDExtensionInterfaceFunctionPtr unused2; - GDExtensionInterfaceFunctionPtr unused3; - - GDExtensionInterfacePrintError print_error; - GDExtensionInterfacePrintErrorWithMessage print_error_with_message; -} LegacyGDExtensionInterface; - -GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, InitData *p_init_data, GDExtensionInitialization *r_initialization) { - if (!p_init_data || !p_init_data->init_callback) { - ERR_FAIL_V_MSG(false, "Initialization callback must be defined."); - } - - if (api_initialized) { - r_initialization->initialize = initialize_level; - r_initialization->deinitialize = deinitialize_level; - r_initialization->userdata = p_init_data; - r_initialization->minimum_initialization_level = p_init_data->minimum_initialization_level; - - return true; - } - - // Make sure we weren't passed the legacy struct. - uint32_t *raw_interface = (uint32_t *)(void *)p_get_proc_address; - if (raw_interface[0] == 4 && raw_interface[1] == 0) { - // Use the legacy interface only to give a nice error. - LegacyGDExtensionInterface *legacy_interface = (LegacyGDExtensionInterface *)p_get_proc_address; - internal::gdextension_interface_print_error = (GDExtensionInterfacePrintError)legacy_interface->print_error; - ERR_PRINT_EARLY("Cannot load a GDExtension built for Godot 4.1+ in Godot 4.0."); - return false; - } - - // Load the "print_error" function first (needed by the ERR_PRINT_EARLY() macro). - internal::gdextension_interface_print_error = (GDExtensionInterfacePrintError)p_get_proc_address("print_error"); - if (!internal::gdextension_interface_print_error) { - printf("ERROR: Unable to load GDExtension interface function print_error().\n"); - return false; - } - - internal::gdextension_interface_get_proc_address = p_get_proc_address; - internal::library = p_library; - internal::token = p_library; - - LOAD_PROC_ADDRESS(get_godot_version, GDExtensionInterfaceGetGodotVersion); - internal::gdextension_interface_get_godot_version(&internal::godot_version); - - // Check that godot-cpp was compiled using an extension_api.json older or at the - // same version as the Godot that is loading it. - bool compatible; - if (internal::godot_version.major != GODOT_VERSION_MAJOR) { - compatible = internal::godot_version.major > GODOT_VERSION_MAJOR; - } else if (internal::godot_version.minor != GODOT_VERSION_MINOR) { - compatible = internal::godot_version.minor > GODOT_VERSION_MINOR; - } else { -#if GODOT_VERSION_PATCH > 0 - compatible = internal::godot_version.patch >= GODOT_VERSION_PATCH; -#else - // Prevent -Wtype-limits warning due to unsigned comparison. - compatible = true; -#endif - } - if (!compatible) { - // We need to use snprintf() here because vformat() uses Variant, and we haven't loaded - // the GDExtension interface far enough to use Variants yet. - char msg[128]; - snprintf(msg, 128, "Cannot load a GDExtension built for Godot %d.%d.%d using an older version of Godot (%d.%d.%d).", - GODOT_VERSION_MAJOR, GODOT_VERSION_MINOR, GODOT_VERSION_PATCH, - internal::godot_version.major, internal::godot_version.minor, internal::godot_version.patch); - ERR_PRINT_EARLY(msg); - return false; - } - - LOAD_PROC_ADDRESS(mem_alloc, GDExtensionInterfaceMemAlloc); - LOAD_PROC_ADDRESS(mem_realloc, GDExtensionInterfaceMemRealloc); - LOAD_PROC_ADDRESS(mem_free, GDExtensionInterfaceMemFree); - LOAD_PROC_ADDRESS(print_error_with_message, GDExtensionInterfacePrintErrorWithMessage); - LOAD_PROC_ADDRESS(print_warning, GDExtensionInterfacePrintWarning); - LOAD_PROC_ADDRESS(print_warning_with_message, GDExtensionInterfacePrintWarningWithMessage); - LOAD_PROC_ADDRESS(print_script_error, GDExtensionInterfacePrintScriptError); - LOAD_PROC_ADDRESS(print_script_error_with_message, GDExtensionInterfacePrintScriptErrorWithMessage); - LOAD_PROC_ADDRESS(get_native_struct_size, GDExtensionInterfaceGetNativeStructSize); - LOAD_PROC_ADDRESS(variant_new_copy, GDExtensionInterfaceVariantNewCopy); - LOAD_PROC_ADDRESS(variant_new_nil, GDExtensionInterfaceVariantNewNil); - LOAD_PROC_ADDRESS(variant_destroy, GDExtensionInterfaceVariantDestroy); - LOAD_PROC_ADDRESS(variant_call, GDExtensionInterfaceVariantCall); - LOAD_PROC_ADDRESS(variant_call_static, GDExtensionInterfaceVariantCallStatic); - LOAD_PROC_ADDRESS(variant_evaluate, GDExtensionInterfaceVariantEvaluate); - LOAD_PROC_ADDRESS(variant_set, GDExtensionInterfaceVariantSet); - LOAD_PROC_ADDRESS(variant_set_named, GDExtensionInterfaceVariantSetNamed); - LOAD_PROC_ADDRESS(variant_set_keyed, GDExtensionInterfaceVariantSetKeyed); - LOAD_PROC_ADDRESS(variant_set_indexed, GDExtensionInterfaceVariantSetIndexed); - LOAD_PROC_ADDRESS(variant_get, GDExtensionInterfaceVariantGet); - LOAD_PROC_ADDRESS(variant_get_named, GDExtensionInterfaceVariantGetNamed); - LOAD_PROC_ADDRESS(variant_get_keyed, GDExtensionInterfaceVariantGetKeyed); - LOAD_PROC_ADDRESS(variant_get_indexed, GDExtensionInterfaceVariantGetIndexed); - LOAD_PROC_ADDRESS(variant_iter_init, GDExtensionInterfaceVariantIterInit); - LOAD_PROC_ADDRESS(variant_iter_next, GDExtensionInterfaceVariantIterNext); - LOAD_PROC_ADDRESS(variant_iter_get, GDExtensionInterfaceVariantIterGet); - LOAD_PROC_ADDRESS(variant_hash, GDExtensionInterfaceVariantHash); - LOAD_PROC_ADDRESS(variant_recursive_hash, GDExtensionInterfaceVariantRecursiveHash); - LOAD_PROC_ADDRESS(variant_hash_compare, GDExtensionInterfaceVariantHashCompare); - LOAD_PROC_ADDRESS(variant_booleanize, GDExtensionInterfaceVariantBooleanize); - LOAD_PROC_ADDRESS(variant_duplicate, GDExtensionInterfaceVariantDuplicate); - LOAD_PROC_ADDRESS(variant_stringify, GDExtensionInterfaceVariantStringify); - LOAD_PROC_ADDRESS(variant_get_type, GDExtensionInterfaceVariantGetType); - LOAD_PROC_ADDRESS(variant_has_method, GDExtensionInterfaceVariantHasMethod); - LOAD_PROC_ADDRESS(variant_has_member, GDExtensionInterfaceVariantHasMember); - LOAD_PROC_ADDRESS(variant_has_key, GDExtensionInterfaceVariantHasKey); - LOAD_PROC_ADDRESS(variant_get_type_name, GDExtensionInterfaceVariantGetTypeName); - LOAD_PROC_ADDRESS(variant_can_convert, GDExtensionInterfaceVariantCanConvert); - LOAD_PROC_ADDRESS(variant_can_convert_strict, GDExtensionInterfaceVariantCanConvertStrict); - LOAD_PROC_ADDRESS(get_variant_from_type_constructor, GDExtensionInterfaceGetVariantFromTypeConstructor); - LOAD_PROC_ADDRESS(get_variant_to_type_constructor, GDExtensionInterfaceGetVariantToTypeConstructor); - LOAD_PROC_ADDRESS(variant_get_ptr_operator_evaluator, GDExtensionInterfaceVariantGetPtrOperatorEvaluator); - LOAD_PROC_ADDRESS(variant_get_ptr_builtin_method, GDExtensionInterfaceVariantGetPtrBuiltinMethod); - LOAD_PROC_ADDRESS(variant_get_ptr_constructor, GDExtensionInterfaceVariantGetPtrConstructor); - LOAD_PROC_ADDRESS(variant_get_ptr_destructor, GDExtensionInterfaceVariantGetPtrDestructor); - LOAD_PROC_ADDRESS(variant_construct, GDExtensionInterfaceVariantConstruct); - LOAD_PROC_ADDRESS(variant_get_ptr_setter, GDExtensionInterfaceVariantGetPtrSetter); - LOAD_PROC_ADDRESS(variant_get_ptr_getter, GDExtensionInterfaceVariantGetPtrGetter); - LOAD_PROC_ADDRESS(variant_get_ptr_indexed_setter, GDExtensionInterfaceVariantGetPtrIndexedSetter); - LOAD_PROC_ADDRESS(variant_get_ptr_indexed_getter, GDExtensionInterfaceVariantGetPtrIndexedGetter); - LOAD_PROC_ADDRESS(variant_get_ptr_keyed_setter, GDExtensionInterfaceVariantGetPtrKeyedSetter); - LOAD_PROC_ADDRESS(variant_get_ptr_keyed_getter, GDExtensionInterfaceVariantGetPtrKeyedGetter); - LOAD_PROC_ADDRESS(variant_get_ptr_keyed_checker, GDExtensionInterfaceVariantGetPtrKeyedChecker); - LOAD_PROC_ADDRESS(variant_get_constant_value, GDExtensionInterfaceVariantGetConstantValue); - LOAD_PROC_ADDRESS(variant_get_ptr_utility_function, GDExtensionInterfaceVariantGetPtrUtilityFunction); - LOAD_PROC_ADDRESS(string_new_with_latin1_chars, GDExtensionInterfaceStringNewWithLatin1Chars); - LOAD_PROC_ADDRESS(string_new_with_utf8_chars, GDExtensionInterfaceStringNewWithUtf8Chars); - LOAD_PROC_ADDRESS(string_new_with_utf16_chars, GDExtensionInterfaceStringNewWithUtf16Chars); - LOAD_PROC_ADDRESS(string_new_with_utf32_chars, GDExtensionInterfaceStringNewWithUtf32Chars); - LOAD_PROC_ADDRESS(string_new_with_wide_chars, GDExtensionInterfaceStringNewWithWideChars); - LOAD_PROC_ADDRESS(string_new_with_latin1_chars_and_len, GDExtensionInterfaceStringNewWithLatin1CharsAndLen); - LOAD_PROC_ADDRESS(string_new_with_utf8_chars_and_len, GDExtensionInterfaceStringNewWithUtf8CharsAndLen); - LOAD_PROC_ADDRESS(string_new_with_utf16_chars_and_len, GDExtensionInterfaceStringNewWithUtf16CharsAndLen); - LOAD_PROC_ADDRESS(string_new_with_utf32_chars_and_len, GDExtensionInterfaceStringNewWithUtf32CharsAndLen); - LOAD_PROC_ADDRESS(string_new_with_wide_chars_and_len, GDExtensionInterfaceStringNewWithWideCharsAndLen); - LOAD_PROC_ADDRESS(string_to_latin1_chars, GDExtensionInterfaceStringToLatin1Chars); - LOAD_PROC_ADDRESS(string_to_utf8_chars, GDExtensionInterfaceStringToUtf8Chars); - LOAD_PROC_ADDRESS(string_to_utf16_chars, GDExtensionInterfaceStringToUtf16Chars); - LOAD_PROC_ADDRESS(string_to_utf32_chars, GDExtensionInterfaceStringToUtf32Chars); - LOAD_PROC_ADDRESS(string_to_wide_chars, GDExtensionInterfaceStringToWideChars); - LOAD_PROC_ADDRESS(string_operator_index, GDExtensionInterfaceStringOperatorIndex); - LOAD_PROC_ADDRESS(string_operator_index_const, GDExtensionInterfaceStringOperatorIndexConst); - LOAD_PROC_ADDRESS(string_operator_plus_eq_string, GDExtensionInterfaceStringOperatorPlusEqString); - LOAD_PROC_ADDRESS(string_operator_plus_eq_char, GDExtensionInterfaceStringOperatorPlusEqChar); - LOAD_PROC_ADDRESS(string_operator_plus_eq_cstr, GDExtensionInterfaceStringOperatorPlusEqCstr); - LOAD_PROC_ADDRESS(string_operator_plus_eq_wcstr, GDExtensionInterfaceStringOperatorPlusEqWcstr); - LOAD_PROC_ADDRESS(string_operator_plus_eq_c32str, GDExtensionInterfaceStringOperatorPlusEqC32str); - LOAD_PROC_ADDRESS(string_resize, GDExtensionInterfaceStringResize); - LOAD_PROC_ADDRESS(string_name_new_with_latin1_chars, GDExtensionInterfaceStringNameNewWithLatin1Chars); - LOAD_PROC_ADDRESS(xml_parser_open_buffer, GDExtensionInterfaceXmlParserOpenBuffer); - LOAD_PROC_ADDRESS(file_access_store_buffer, GDExtensionInterfaceFileAccessStoreBuffer); - LOAD_PROC_ADDRESS(file_access_get_buffer, GDExtensionInterfaceFileAccessGetBuffer); - LOAD_PROC_ADDRESS(worker_thread_pool_add_native_group_task, GDExtensionInterfaceWorkerThreadPoolAddNativeGroupTask); - LOAD_PROC_ADDRESS(worker_thread_pool_add_native_task, GDExtensionInterfaceWorkerThreadPoolAddNativeTask); - LOAD_PROC_ADDRESS(packed_byte_array_operator_index, GDExtensionInterfacePackedByteArrayOperatorIndex); - LOAD_PROC_ADDRESS(packed_byte_array_operator_index_const, GDExtensionInterfacePackedByteArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(packed_color_array_operator_index, GDExtensionInterfacePackedColorArrayOperatorIndex); - LOAD_PROC_ADDRESS(packed_color_array_operator_index_const, GDExtensionInterfacePackedColorArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(packed_float32_array_operator_index, GDExtensionInterfacePackedFloat32ArrayOperatorIndex); - LOAD_PROC_ADDRESS(packed_float32_array_operator_index_const, GDExtensionInterfacePackedFloat32ArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(packed_float64_array_operator_index, GDExtensionInterfacePackedFloat64ArrayOperatorIndex); - LOAD_PROC_ADDRESS(packed_float64_array_operator_index_const, GDExtensionInterfacePackedFloat64ArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(packed_int32_array_operator_index, GDExtensionInterfacePackedInt32ArrayOperatorIndex); - LOAD_PROC_ADDRESS(packed_int32_array_operator_index_const, GDExtensionInterfacePackedInt32ArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(packed_int64_array_operator_index, GDExtensionInterfacePackedInt64ArrayOperatorIndex); - LOAD_PROC_ADDRESS(packed_int64_array_operator_index_const, GDExtensionInterfacePackedInt64ArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(packed_string_array_operator_index, GDExtensionInterfacePackedStringArrayOperatorIndex); - LOAD_PROC_ADDRESS(packed_string_array_operator_index_const, GDExtensionInterfacePackedStringArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(packed_vector2_array_operator_index, GDExtensionInterfacePackedVector2ArrayOperatorIndex); - LOAD_PROC_ADDRESS(packed_vector2_array_operator_index_const, GDExtensionInterfacePackedVector2ArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(packed_vector3_array_operator_index, GDExtensionInterfacePackedVector3ArrayOperatorIndex); - LOAD_PROC_ADDRESS(packed_vector3_array_operator_index_const, GDExtensionInterfacePackedVector3ArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(array_operator_index, GDExtensionInterfaceArrayOperatorIndex); - LOAD_PROC_ADDRESS(array_operator_index_const, GDExtensionInterfaceArrayOperatorIndexConst); - LOAD_PROC_ADDRESS(array_ref, GDExtensionInterfaceArrayRef); - LOAD_PROC_ADDRESS(array_set_typed, GDExtensionInterfaceArraySetTyped); - LOAD_PROC_ADDRESS(dictionary_operator_index, GDExtensionInterfaceDictionaryOperatorIndex); - LOAD_PROC_ADDRESS(dictionary_operator_index_const, GDExtensionInterfaceDictionaryOperatorIndexConst); - LOAD_PROC_ADDRESS(object_method_bind_call, GDExtensionInterfaceObjectMethodBindCall); - LOAD_PROC_ADDRESS(object_method_bind_ptrcall, GDExtensionInterfaceObjectMethodBindPtrcall); - LOAD_PROC_ADDRESS(object_destroy, GDExtensionInterfaceObjectDestroy); - LOAD_PROC_ADDRESS(global_get_singleton, GDExtensionInterfaceGlobalGetSingleton); - LOAD_PROC_ADDRESS(object_get_instance_binding, GDExtensionInterfaceObjectGetInstanceBinding); - LOAD_PROC_ADDRESS(object_set_instance_binding, GDExtensionInterfaceObjectSetInstanceBinding); - LOAD_PROC_ADDRESS(object_set_instance, GDExtensionInterfaceObjectSetInstance); - LOAD_PROC_ADDRESS(object_get_class_name, GDExtensionInterfaceObjectGetClassName); - LOAD_PROC_ADDRESS(object_cast_to, GDExtensionInterfaceObjectCastTo); - LOAD_PROC_ADDRESS(object_get_instance_from_id, GDExtensionInterfaceObjectGetInstanceFromId); - LOAD_PROC_ADDRESS(object_get_instance_id, GDExtensionInterfaceObjectGetInstanceId); - LOAD_PROC_ADDRESS(object_has_script_method, GDExtensionInterfaceObjectHasScriptMethod); - LOAD_PROC_ADDRESS(object_call_script_method, GDExtensionInterfaceObjectCallScriptMethod); - LOAD_PROC_ADDRESS(callable_custom_create2, GDExtensionInterfaceCallableCustomCreate2); - LOAD_PROC_ADDRESS(callable_custom_get_userdata, GDExtensionInterfaceCallableCustomGetUserData); - LOAD_PROC_ADDRESS(ref_get_object, GDExtensionInterfaceRefGetObject); - LOAD_PROC_ADDRESS(ref_set_object, GDExtensionInterfaceRefSetObject); - LOAD_PROC_ADDRESS(script_instance_create3, GDExtensionInterfaceScriptInstanceCreate3); - LOAD_PROC_ADDRESS(placeholder_script_instance_create, GDExtensionInterfacePlaceHolderScriptInstanceCreate); - LOAD_PROC_ADDRESS(placeholder_script_instance_update, GDExtensionInterfacePlaceHolderScriptInstanceUpdate); - LOAD_PROC_ADDRESS(classdb_construct_object, GDExtensionInterfaceClassdbConstructObject); - LOAD_PROC_ADDRESS(classdb_get_method_bind, GDExtensionInterfaceClassdbGetMethodBind); - LOAD_PROC_ADDRESS(classdb_get_class_tag, GDExtensionInterfaceClassdbGetClassTag); - LOAD_PROC_ADDRESS(classdb_register_extension_class3, GDExtensionInterfaceClassdbRegisterExtensionClass3); - LOAD_PROC_ADDRESS(classdb_register_extension_class_method, GDExtensionInterfaceClassdbRegisterExtensionClassMethod); - LOAD_PROC_ADDRESS(classdb_register_extension_class_virtual_method, GDExtensionInterfaceClassdbRegisterExtensionClassVirtualMethod); - LOAD_PROC_ADDRESS(classdb_register_extension_class_integer_constant, GDExtensionInterfaceClassdbRegisterExtensionClassIntegerConstant); - LOAD_PROC_ADDRESS(classdb_register_extension_class_property, GDExtensionInterfaceClassdbRegisterExtensionClassProperty); - LOAD_PROC_ADDRESS(classdb_register_extension_class_property_indexed, GDExtensionInterfaceClassdbRegisterExtensionClassPropertyIndexed); - LOAD_PROC_ADDRESS(classdb_register_extension_class_property_group, GDExtensionInterfaceClassdbRegisterExtensionClassPropertyGroup); - LOAD_PROC_ADDRESS(classdb_register_extension_class_property_subgroup, GDExtensionInterfaceClassdbRegisterExtensionClassPropertySubgroup); - LOAD_PROC_ADDRESS(classdb_register_extension_class_signal, GDExtensionInterfaceClassdbRegisterExtensionClassSignal); - LOAD_PROC_ADDRESS(classdb_unregister_extension_class, GDExtensionInterfaceClassdbUnregisterExtensionClass); - LOAD_PROC_ADDRESS(get_library_path, GDExtensionInterfaceGetLibraryPath); - LOAD_PROC_ADDRESS(editor_add_plugin, GDExtensionInterfaceEditorAddPlugin); - LOAD_PROC_ADDRESS(editor_remove_plugin, GDExtensionInterfaceEditorRemovePlugin); - - r_initialization->initialize = initialize_level; - r_initialization->deinitialize = deinitialize_level; - r_initialization->userdata = p_init_data; - r_initialization->minimum_initialization_level = p_init_data->minimum_initialization_level; - - Variant::init_bindings(); - godot::internal::register_engine_classes(); - - api_initialized = true; - return true; -} - -#undef LOAD_PROC_ADDRESS -#undef ERR_PRINT_EARLY - -void GDExtensionBinding::initialize_level(void *p_userdata, GDExtensionInitializationLevel p_level) { - ERR_FAIL_COND(static_cast(p_level) >= MODULE_INITIALIZATION_LEVEL_MAX); - ClassDB::current_level = p_level; - - InitData *init_data = static_cast(p_userdata); - if (init_data && init_data->init_callback) { - init_data->init_callback(static_cast(p_level)); - } - - if (level_initialized[p_level] == 0) { - ClassDB::initialize(p_level); - } - level_initialized[p_level]++; -} - -void GDExtensionBinding::deinitialize_level(void *p_userdata, GDExtensionInitializationLevel p_level) { - ERR_FAIL_COND(static_cast(p_level) >= MODULE_INITIALIZATION_LEVEL_MAX); - ClassDB::current_level = p_level; - - InitData *init_data = static_cast(p_userdata); - if (init_data && init_data->terminate_callback) { - init_data->terminate_callback(static_cast(p_level)); - } - - level_initialized[p_level]--; - if (level_initialized[p_level] == 0) { - EditorPlugins::deinitialize(p_level); - ClassDB::deinitialize(p_level); - } -} - -void GDExtensionBinding::InitDataList::add(InitData *p_data) { - if (data_count == data_capacity) { - void *new_ptr = realloc(data, sizeof(InitData *) * (data_capacity + 32)); - if (new_ptr) { - data = (InitData **)(new_ptr); - data_capacity += 32; - } else { - ERR_FAIL_MSG("Unable to allocate memory for extension callbacks."); - } - } - data[data_count++] = p_data; -} - -GDExtensionBinding::InitDataList::~InitDataList() { - for (int i = 0; i < data_count; i++) { - if (data[i]) { - delete data[i]; - } - } - if (data) { - free(data); - } -} - -GDExtensionBinding::InitObject::InitObject(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization) { - get_proc_address = p_get_proc_address; - library = p_library; - initialization = r_initialization; - init_data = new InitData(); - GDExtensionBinding::initdata.add(init_data); -} - -void GDExtensionBinding::InitObject::register_initializer(Callback p_init) const { - init_data->init_callback = p_init; -} - -void GDExtensionBinding::InitObject::register_terminator(Callback p_terminate) const { - init_data->terminate_callback = p_terminate; -} - -void GDExtensionBinding::InitObject::set_minimum_library_initialization_level(ModuleInitializationLevel p_level) const { - init_data->minimum_initialization_level = static_cast(p_level); -} - -GDExtensionBool GDExtensionBinding::InitObject::init() const { - return GDExtensionBinding::init(get_proc_address, library, init_data, initialization); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/aabb.cpp b/thirdparty/godot-cpp/src/variant/aabb.cpp deleted file mode 100644 index 92e751b..0000000 --- a/thirdparty/godot-cpp/src/variant/aabb.cpp +++ /dev/null @@ -1,421 +0,0 @@ -/**************************************************************************/ -/* aabb.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -real_t AABB::get_volume() 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) { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0 || p_aabb.size.x < 0 || p_aabb.size.y < 0 || p_aabb.size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - Vector3 beg_1, beg_2; - Vector3 end_1, end_2; - Vector3 min, max; - - beg_1 = position; - beg_2 = p_aabb.position; - end_1 = size + beg_1; - end_2 = p_aabb.size + 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; -} - -bool AABB::is_equal_approx(const AABB &p_aabb) const { - return position.is_equal_approx(p_aabb.position) && size.is_equal_approx(p_aabb.size); -} - -AABB AABB::intersection(const AABB &p_aabb) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0 || p_aabb.size.x < 0 || p_aabb.size.y < 0 || p_aabb.size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - 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 { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - 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]) { - 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 { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || size.z < 0)) { - ERR_PRINT("AABB size is negative, this is not supported. Use AABB.abs() to get an AABB with a positive size."); - } -#endif - 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); - } - - 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; - } - - return axis; -} - -Vector3 AABB::get_shortest_axis() const { - Vector3 axis(1, 0, 0); - real_t min_size = size.x; - - if (size.y < min_size) { - axis = Vector3(0, 1, 0); - min_size = size.y; - } - - if (size.z < min_size) { - axis = Vector3(0, 0, 1); - } - - return axis; -} - -int AABB::get_shortest_axis_index() const { - int axis = 0; - real_t min_size = size.x; - - if (size.y < min_size) { - axis = 1; - min_size = size.y; - } - - if (size.z < min_size) { - axis = 2; - } - - 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; - } -} - -Variant AABB::intersects_segment_bind(const Vector3 &p_from, const Vector3 &p_to) const { - Vector3 inters; - if (intersects_segment(p_from, p_to, &inters)) { - return inters; - } - return Variant(); -} - -Variant AABB::intersects_ray_bind(const Vector3 &p_from, const Vector3 &p_dir) const { - Vector3 inters; - if (intersects_ray(p_from, p_dir, &inters)) { - return inters; - } - return Variant(); -} - -AABB::operator String() const { - return "[P: " + position.operator String() + ", S: " + size + "]"; -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/basis.cpp b/thirdparty/godot-cpp/src/variant/basis.cpp deleted file mode 100644 index 8f78d9f..0000000 --- a/thirdparty/godot-cpp/src/variant/basis.cpp +++ /dev/null @@ -1,1054 +0,0 @@ -/**************************************************************************/ -/* basis.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -#define cofac(row1, col1, row2, col2) \ - (rows[row1][col1] * rows[row2][col2] - rows[row1][col2] * rows[row2][col1]) - -namespace godot { - -void Basis::from_z(const Vector3 &p_z) { - if (Math::abs(p_z.z) > (real_t)Math_SQRT12) { - // choose p in y-z plane - real_t a = p_z[1] * p_z[1] + p_z[2] * p_z[2]; - real_t k = 1.0f / Math::sqrt(a); - rows[0] = Vector3(0, -p_z[2] * k, p_z[1] * k); - rows[1] = Vector3(a * k, -p_z[0] * rows[0][2], p_z[0] * rows[0][1]); - } else { - // choose p in x-y plane - real_t a = p_z.x * p_z.x + p_z.y * p_z.y; - real_t k = 1.0f / Math::sqrt(a); - rows[0] = Vector3(-p_z.y * k, p_z.x * k, 0); - rows[1] = Vector3(-p_z.z * rows[0].y, p_z.z * rows[0].x, a * k); - } - rows[2] = p_z; -} - -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 = rows[0][0] * co[0] + - rows[0][1] * co[1] + - rows[0][2] * co[2]; -#ifdef MATH_CHECKS - ERR_FAIL_COND(det == 0); -#endif - real_t s = 1.0f / 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); -} - -void Basis::orthonormalize() { - // Gram-Schmidt Process - - Vector3 x = get_column(0); - Vector3 y = get_column(1); - Vector3 z = get_column(2); - - x.normalize(); - y = (y - x * (x.dot(y))); - y.normalize(); - z = (z - x * (x.dot(z)) - y * (y.dot(z))); - z.normalize(); - - set_column(0, x); - set_column(1, y); - set_column(2, z); -} - -Basis Basis::orthonormalized() const { - Basis c = *this; - c.orthonormalize(); - return c; -} - -void Basis::orthogonalize() { - Vector3 scl = get_scale(); - orthonormalize(); - scale_local(scl); -} - -Basis Basis::orthogonalized() const { - Basis c = *this; - c.orthogonalize(); - return c; -} - -bool Basis::is_orthogonal() const { - Basis identity; - Basis m = (*this) * transposed(); - - return m.is_equal_approx(identity); -} - -bool Basis::is_diagonal() const { - return ( - Math::is_zero_approx(rows[0][1]) && Math::is_zero_approx(rows[0][2]) && - Math::is_zero_approx(rows[1][0]) && Math::is_zero_approx(rows[1][2]) && - Math::is_zero_approx(rows[2][0]) && Math::is_zero_approx(rows[2][1])); -} - -bool Basis::is_rotation() const { - return Math::is_equal_approx(determinant(), 1, (real_t)UNIT_EPSILON) && is_orthogonal(); -} - -#ifdef MATH_CHECKS -// This method is only used once, in diagonalize. If it's desired elsewhere, feel free to remove the #ifdef. -bool Basis::is_symmetric() const { - if (!Math::is_equal_approx(rows[0][1], rows[1][0])) { - return false; - } - if (!Math::is_equal_approx(rows[0][2], rows[2][0])) { - return false; - } - if (!Math::is_equal_approx(rows[1][2], rows[2][1])) { - return false; - } - - return true; -} -#endif - -Basis Basis::diagonalize() { -// NOTE: only implemented for symmetric matrices -// with the Jacobi iterative method -#ifdef MATH_CHECKS - ERR_FAIL_COND_V(!is_symmetric(), Basis()); -#endif - const int ite_max = 1024; - - real_t off_matrix_norm_2 = rows[0][1] * rows[0][1] + rows[0][2] * rows[0][2] + rows[1][2] * rows[1][2]; - - int ite = 0; - Basis acc_rot; - while (off_matrix_norm_2 > (real_t)CMP_EPSILON2 && ite++ < ite_max) { - real_t el01_2 = rows[0][1] * rows[0][1]; - real_t el02_2 = rows[0][2] * rows[0][2]; - real_t el12_2 = rows[1][2] * rows[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 (Math::is_equal_approx(rows[j][j], rows[i][i])) { - angle = Math_PI / 4; - } else { - angle = 0.5f * Math::atan(2 * rows[i][j] / (rows[j][j] - rows[i][i])); - } - - // Compute the rotation matrix - Basis rot; - rot.rows[i][i] = rot.rows[j][j] = Math::cos(angle); - rot.rows[i][j] = -(rot.rows[j][i] = Math::sin(angle)); - - // Update the off matrix norm - off_matrix_norm_2 -= rows[i][j] * rows[i][j]; - - // Apply the rotation - *this = rot * *this * rot.transposed(); - acc_rot = rot * acc_rot; - } - - return acc_rot; -} - -Basis Basis::inverse() const { - Basis inv = *this; - inv.invert(); - return inv; -} - -void Basis::transpose() { - SWAP(rows[0][1], rows[1][0]); - SWAP(rows[0][2], rows[2][0]); - SWAP(rows[1][2], rows[2][1]); -} - -Basis Basis::transposed() const { - Basis tr = *this; - tr.transpose(); - return tr; -} - -Basis Basis::from_scale(const Vector3 &p_scale) { - return Basis(p_scale.x, 0, 0, 0, p_scale.y, 0, 0, 0, p_scale.z); -} - -// Multiplies the matrix from left by the scaling matrix: M -> S.M -// See the comment for Basis::rotated for further explanation. -void Basis::scale(const Vector3 &p_scale) { - rows[0][0] *= p_scale.x; - rows[0][1] *= p_scale.x; - rows[0][2] *= p_scale.x; - rows[1][0] *= p_scale.y; - rows[1][1] *= p_scale.y; - rows[1][2] *= p_scale.y; - rows[2][0] *= p_scale.z; - rows[2][1] *= p_scale.z; - rows[2][2] *= p_scale.z; -} - -Basis Basis::scaled(const Vector3 &p_scale) const { - Basis m = *this; - m.scale(p_scale); - return m; -} - -void Basis::scale_local(const Vector3 &p_scale) { - // performs a scaling in object-local coordinate system: - // M -> (M.S.Minv).M = M.S. - *this = scaled_local(p_scale); -} - -void Basis::scale_orthogonal(const Vector3 &p_scale) { - *this = scaled_orthogonal(p_scale); -} - -Basis Basis::scaled_orthogonal(const Vector3 &p_scale) const { - Basis m = *this; - Vector3 s = Vector3(-1, -1, -1) + p_scale; - Vector3 dots; - Basis b; - for (int i = 0; i < 3; i++) { - for (int j = 0; j < 3; j++) { - dots[j] += s[i] * Math::abs(m.get_column(i).normalized().dot(b.get_column(j))); - } - } - m.scale_local(Vector3(1, 1, 1) + dots); - return m; -} - -float Basis::get_uniform_scale() const { - return (rows[0].length() + rows[1].length() + rows[2].length()) / 3.0f; -} - -void Basis::make_scale_uniform() { - float l = (rows[0].length() + rows[1].length() + rows[2].length()) / 3.0f; - for (int i = 0; i < 3; i++) { - rows[i].normalize(); - rows[i] *= l; - } -} - -Basis Basis::scaled_local(const Vector3 &p_scale) const { - return (*this) * Basis::from_scale(p_scale); -} - -Vector3 Basis::get_scale_abs() const { - return Vector3( - Vector3(rows[0][0], rows[1][0], rows[2][0]).length(), - Vector3(rows[0][1], rows[1][1], rows[2][1]).length(), - Vector3(rows[0][2], rows[1][2], rows[2][2]).length()); -} - -Vector3 Basis::get_scale_local() const { - real_t det_sign = SIGN(determinant()); - return det_sign * Vector3(rows[0].length(), rows[1].length(), rows[2].length()); -} - -// get_scale works with get_rotation, use get_scale_abs if you need to enforce positive signature. -Vector3 Basis::get_scale() const { - // FIXME: We are assuming M = R.S (R is rotation and S is scaling), and use polar decomposition to extract R and S. - // A polar decomposition is M = O.P, where O is an orthogonal matrix (meaning rotation and reflection) and - // P is a positive semi-definite matrix (meaning it contains absolute values of scaling along its diagonal). - // - // Despite being different from what we want to achieve, we can nevertheless make use of polar decomposition - // here as follows. We can split O into a rotation and a reflection as O = R.Q, and obtain M = R.S where - // we defined S = Q.P. Now, R is a proper rotation matrix and S is a (signed) scaling matrix, - // which can involve negative scalings. However, there is a catch: unlike the polar decomposition of M = O.P, - // the decomposition of O into a rotation and reflection matrix as O = R.Q is not unique. - // Therefore, we are going to do this decomposition by sticking to a particular convention. - // This may lead to confusion for some users though. - // - // The convention we use here is to absorb the sign flip into the scaling matrix. - // The same convention is also used in other similar functions such as get_rotation_axis_angle, get_rotation, ... - // - // A proper way to get rid of this issue would be to store the scaling values (or at least their signs) - // as a part of Basis. However, if we go that path, we need to disable direct (write) access to the - // matrix elements. - // - // The rotation part of this decomposition is returned by get_rotation* functions. - real_t det_sign = SIGN(determinant()); - return det_sign * get_scale_abs(); -} - -// Decomposes a Basis into a rotation-reflection matrix (an element of the group O(3)) and a positive scaling matrix as B = O.S. -// Returns the rotation-reflection matrix via reference argument, and scaling information is returned as a Vector3. -// This (internal) function is too specific and named too ugly to expose to users, and probably there's no need to do so. -Vector3 Basis::rotref_posscale_decomposition(Basis &rotref) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V(determinant() == 0, Vector3()); - - Basis m = transposed() * (*this); - ERR_FAIL_COND_V(!m.is_diagonal(), Vector3()); -#endif - Vector3 scale = get_scale(); - Basis inv_scale = Basis().scaled(scale.inverse()); // this will also absorb the sign of scale - rotref = (*this) * inv_scale; - -#ifdef MATH_CHECKS - ERR_FAIL_COND_V(!rotref.is_orthogonal(), Vector3()); -#endif - return scale.abs(); -} - -// Multiplies the matrix from left by the rotation matrix: M -> R.M -// Note that this does *not* rotate the matrix itself. -// -// The main use of Basis is as Transform.basis, which is used by the transformation matrix -// of 3D object. Rotate here refers to rotation of the object (which is R * (*this)), -// not the matrix itself (which is R * (*this) * R.transposed()). -Basis Basis::rotated(const Vector3 &p_axis, real_t p_angle) const { - return Basis(p_axis, p_angle) * (*this); -} - -void Basis::rotate(const Vector3 &p_axis, real_t p_angle) { - *this = rotated(p_axis, p_angle); -} - -void Basis::rotate_local(const Vector3 &p_axis, real_t p_angle) { - // performs a rotation in object-local coordinate system: - // M -> (M.R.Minv).M = M.R. - *this = rotated_local(p_axis, p_angle); -} - -Basis Basis::rotated_local(const Vector3 &p_axis, real_t p_angle) const { - return (*this) * Basis(p_axis, p_angle); -} - -Basis Basis::rotated(const Vector3 &p_euler, EulerOrder p_order) const { - return Basis::from_euler(p_euler, p_order) * (*this); -} - -void Basis::rotate(const Vector3 &p_euler, EulerOrder p_order) { - *this = rotated(p_euler, p_order); -} - -Basis Basis::rotated(const Quaternion &p_quaternion) const { - return Basis(p_quaternion) * (*this); -} - -void Basis::rotate(const Quaternion &p_quaternion) { - *this = rotated(p_quaternion); -} - -Vector3 Basis::get_euler_normalized(EulerOrder p_order) const { - // Assumes that the matrix can be decomposed into a proper rotation and scaling matrix as M = R.S, - // and returns the Euler angles corresponding to the rotation part, complementing get_scale(). - // See the comment in get_scale() for further information. - Basis m = orthonormalized(); - real_t det = m.determinant(); - if (det < 0) { - // Ensure that the determinant is 1, such that result is a proper rotation matrix which can be represented by Euler angles. - m.scale(Vector3(-1, -1, -1)); - } - - return m.get_euler(p_order); -} - -Quaternion Basis::get_rotation_quaternion() const { - // Assumes that the matrix can be decomposed into a proper rotation and scaling matrix as M = R.S, - // and returns the Euler angles corresponding to the rotation part, complementing get_scale(). - // See the comment in get_scale() for further information. - Basis m = orthonormalized(); - real_t det = m.determinant(); - if (det < 0) { - // Ensure that the determinant is 1, such that result is a proper rotation matrix which can be represented by Euler angles. - m.scale(Vector3(-1, -1, -1)); - } - - return m.get_quaternion(); -} - -void Basis::rotate_to_align(Vector3 p_start_direction, Vector3 p_end_direction) { - // Takes two vectors and rotates the basis from the first vector to the second vector. - // Adopted from: https://gist.github.com/kevinmoran/b45980723e53edeb8a5a43c49f134724 - const Vector3 axis = p_start_direction.cross(p_end_direction).normalized(); - if (axis.length_squared() != 0) { - real_t dot = p_start_direction.dot(p_end_direction); - dot = CLAMP(dot, -1.0f, 1.0f); - const real_t angle_rads = Math::acos(dot); - set_axis_angle(axis, angle_rads); - } -} - -void Basis::get_rotation_axis_angle(Vector3 &p_axis, real_t &p_angle) const { - // Assumes that the matrix can be decomposed into a proper rotation and scaling matrix as M = R.S, - // and returns the Euler angles corresponding to the rotation part, complementing get_scale(). - // See the comment in get_scale() for further information. - Basis m = orthonormalized(); - real_t det = m.determinant(); - if (det < 0) { - // Ensure that the determinant is 1, such that result is a proper rotation matrix which can be represented by Euler angles. - m.scale(Vector3(-1, -1, -1)); - } - - m.get_axis_angle(p_axis, p_angle); -} - -void Basis::get_rotation_axis_angle_local(Vector3 &p_axis, real_t &p_angle) const { - // Assumes that the matrix can be decomposed into a proper rotation and scaling matrix as M = R.S, - // and returns the Euler angles corresponding to the rotation part, complementing get_scale(). - // See the comment in get_scale() for further information. - Basis m = transposed(); - m.orthonormalize(); - real_t det = m.determinant(); - if (det < 0) { - // Ensure that the determinant is 1, such that result is a proper rotation matrix which can be represented by Euler angles. - m.scale(Vector3(-1, -1, -1)); - } - - m.get_axis_angle(p_axis, p_angle); - p_angle = -p_angle; -} - -Vector3 Basis::get_euler(EulerOrder p_order) const { - switch (p_order) { - case EULER_ORDER_XYZ: { - // 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; - real_t sy = rows[0][2]; - if (sy < (1.0f - (real_t)CMP_EPSILON)) { - if (sy > -(1.0f - (real_t)CMP_EPSILON)) { - // is this a pure Y rotation? - if (rows[1][0] == 0 && rows[0][1] == 0 && rows[1][2] == 0 && rows[2][1] == 0 && rows[1][1] == 1) { - // return the simplest form (human friendlier in editor and scripts) - euler.x = 0; - euler.y = atan2(rows[0][2], rows[0][0]); - euler.z = 0; - } else { - euler.x = Math::atan2(-rows[1][2], rows[2][2]); - euler.y = Math::asin(sy); - euler.z = Math::atan2(-rows[0][1], rows[0][0]); - } - } else { - euler.x = Math::atan2(rows[2][1], rows[1][1]); - euler.y = -Math_PI / 2.0f; - euler.z = 0.0f; - } - } else { - euler.x = Math::atan2(rows[2][1], rows[1][1]); - euler.y = Math_PI / 2.0f; - euler.z = 0.0f; - } - return euler; - } - case EULER_ORDER_XZY: { - // Euler angles in XZY convention. - // See https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix - // - // rot = cz*cy -sz cz*sy - // sx*sy+cx*cy*sz cx*cz cx*sz*sy-cy*sx - // cy*sx*sz cz*sx cx*cy+sx*sz*sy - - Vector3 euler; - real_t sz = rows[0][1]; - if (sz < (1.0f - (real_t)CMP_EPSILON)) { - if (sz > -(1.0f - (real_t)CMP_EPSILON)) { - euler.x = Math::atan2(rows[2][1], rows[1][1]); - euler.y = Math::atan2(rows[0][2], rows[0][0]); - euler.z = Math::asin(-sz); - } else { - // It's -1 - euler.x = -Math::atan2(rows[1][2], rows[2][2]); - euler.y = 0.0f; - euler.z = Math_PI / 2.0f; - } - } else { - // It's 1 - euler.x = -Math::atan2(rows[1][2], rows[2][2]); - euler.y = 0.0f; - euler.z = -Math_PI / 2.0f; - } - return euler; - } - case EULER_ORDER_YXZ: { - // 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; - - real_t m12 = rows[1][2]; - - if (m12 < (1 - (real_t)CMP_EPSILON)) { - if (m12 > -(1 - (real_t)CMP_EPSILON)) { - // is this a pure X rotation? - if (rows[1][0] == 0 && rows[0][1] == 0 && rows[0][2] == 0 && rows[2][0] == 0 && rows[0][0] == 1) { - // return the simplest form (human friendlier in editor and scripts) - euler.x = atan2(-m12, rows[1][1]); - euler.y = 0; - euler.z = 0; - } else { - euler.x = asin(-m12); - euler.y = atan2(rows[0][2], rows[2][2]); - euler.z = atan2(rows[1][0], rows[1][1]); - } - } else { // m12 == -1 - euler.x = Math_PI * 0.5f; - euler.y = atan2(rows[0][1], rows[0][0]); - euler.z = 0; - } - } else { // m12 == 1 - euler.x = -Math_PI * 0.5f; - euler.y = -atan2(rows[0][1], rows[0][0]); - euler.z = 0; - } - - return euler; - } - case EULER_ORDER_YZX: { - // Euler angles in YZX convention. - // See https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix - // - // rot = cy*cz sy*sx-cy*cx*sz cx*sy+cy*sz*sx - // sz cz*cx -cz*sx - // -cz*sy cy*sx+cx*sy*sz cy*cx-sy*sz*sx - - Vector3 euler; - real_t sz = rows[1][0]; - if (sz < (1.0f - (real_t)CMP_EPSILON)) { - if (sz > -(1.0f - (real_t)CMP_EPSILON)) { - euler.x = Math::atan2(-rows[1][2], rows[1][1]); - euler.y = Math::atan2(-rows[2][0], rows[0][0]); - euler.z = Math::asin(sz); - } else { - // It's -1 - euler.x = Math::atan2(rows[2][1], rows[2][2]); - euler.y = 0.0f; - euler.z = -Math_PI / 2.0f; - } - } else { - // It's 1 - euler.x = Math::atan2(rows[2][1], rows[2][2]); - euler.y = 0.0f; - euler.z = Math_PI / 2.0f; - } - return euler; - } - case EULER_ORDER_ZXY: { - // Euler angles in ZXY convention. - // See https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix - // - // rot = cz*cy-sz*sx*sy -cx*sz cz*sy+cy*sz*sx - // cy*sz+cz*sx*sy cz*cx sz*sy-cz*cy*sx - // -cx*sy sx cx*cy - Vector3 euler; - real_t sx = rows[2][1]; - if (sx < (1.0f - (real_t)CMP_EPSILON)) { - if (sx > -(1.0f - (real_t)CMP_EPSILON)) { - euler.x = Math::asin(sx); - euler.y = Math::atan2(-rows[2][0], rows[2][2]); - euler.z = Math::atan2(-rows[0][1], rows[1][1]); - } else { - // It's -1 - euler.x = -Math_PI / 2.0f; - euler.y = Math::atan2(rows[0][2], rows[0][0]); - euler.z = 0; - } - } else { - // It's 1 - euler.x = Math_PI / 2.0f; - euler.y = Math::atan2(rows[0][2], rows[0][0]); - euler.z = 0; - } - return euler; - } - case EULER_ORDER_ZYX: { - // Euler angles in ZYX convention. - // See https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix - // - // rot = cz*cy cz*sy*sx-cx*sz sz*sx+cz*cx*cy - // cy*sz cz*cx+sz*sy*sx cx*sz*sy-cz*sx - // -sy cy*sx cy*cx - Vector3 euler; - real_t sy = rows[2][0]; - if (sy < (1.0f - (real_t)CMP_EPSILON)) { - if (sy > -(1.0f - (real_t)CMP_EPSILON)) { - euler.x = Math::atan2(rows[2][1], rows[2][2]); - euler.y = Math::asin(-sy); - euler.z = Math::atan2(rows[1][0], rows[0][0]); - } else { - // It's -1 - euler.x = 0; - euler.y = Math_PI / 2.0f; - euler.z = -Math::atan2(rows[0][1], rows[1][1]); - } - } else { - // It's 1 - euler.x = 0; - euler.y = -Math_PI / 2.0f; - euler.z = -Math::atan2(rows[0][1], rows[1][1]); - } - return euler; - } - default: { - ERR_FAIL_V_MSG(Vector3(), "Invalid parameter for get_euler(order)"); - } - } - return Vector3(); -} - -void Basis::set_euler(const Vector3 &p_euler, EulerOrder p_order) { - real_t c, s; - - c = Math::cos(p_euler.x); - s = Math::sin(p_euler.x); - Basis xmat(1, 0, 0, 0, c, -s, 0, s, c); - - c = Math::cos(p_euler.y); - s = Math::sin(p_euler.y); - Basis ymat(c, 0, s, 0, 1, 0, -s, 0, c); - - c = Math::cos(p_euler.z); - s = Math::sin(p_euler.z); - Basis zmat(c, -s, 0, s, c, 0, 0, 0, 1); - - switch (p_order) { - case EULER_ORDER_XYZ: { - *this = xmat * (ymat * zmat); - } break; - case EULER_ORDER_XZY: { - *this = xmat * zmat * ymat; - } break; - case EULER_ORDER_YXZ: { - *this = ymat * xmat * zmat; - } break; - case EULER_ORDER_YZX: { - *this = ymat * zmat * xmat; - } break; - case EULER_ORDER_ZXY: { - *this = zmat * xmat * ymat; - } break; - case EULER_ORDER_ZYX: { - *this = zmat * ymat * xmat; - } break; - default: { - ERR_FAIL_MSG("Invalid order parameter for set_euler(vec3,order)"); - } - } -} - -bool Basis::is_equal_approx(const Basis &p_basis) const { - return rows[0].is_equal_approx(p_basis.rows[0]) && rows[1].is_equal_approx(p_basis.rows[1]) && rows[2].is_equal_approx(p_basis.rows[2]); -} - -bool Basis::operator==(const Basis &p_matrix) const { - for (int i = 0; i < 3; i++) { - for (int j = 0; j < 3; j++) { - if (rows[i][j] != p_matrix.rows[i][j]) { - return false; - } - } - } - - return true; -} - -bool Basis::operator!=(const Basis &p_matrix) const { - return (!(*this == p_matrix)); -} - -Basis::operator String() const { - return "[X: " + get_column(0).operator String() + - ", Y: " + get_column(1).operator String() + - ", Z: " + get_column(2).operator String() + "]"; -} - -Quaternion Basis::get_quaternion() const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!is_rotation(), Quaternion(), "Basis must be normalized in order to be casted to a Quaternion. Use get_rotation_quaternion() or call orthonormalized() if the Basis contains linearly independent vectors."); -#endif - /* Allow getting a quaternion from an unnormalized transform */ - Basis m = *this; - real_t trace = m.rows[0][0] + m.rows[1][1] + m.rows[2][2]; - real_t temp[4]; - - if (trace > 0.0f) { - real_t s = Math::sqrt(trace + 1.0f); - temp[3] = (s * 0.5f); - s = 0.5f / s; - - temp[0] = ((m.rows[2][1] - m.rows[1][2]) * s); - temp[1] = ((m.rows[0][2] - m.rows[2][0]) * s); - temp[2] = ((m.rows[1][0] - m.rows[0][1]) * s); - } else { - int i = m.rows[0][0] < m.rows[1][1] - ? (m.rows[1][1] < m.rows[2][2] ? 2 : 1) - : (m.rows[0][0] < m.rows[2][2] ? 2 : 0); - int j = (i + 1) % 3; - int k = (i + 2) % 3; - - real_t s = Math::sqrt(m.rows[i][i] - m.rows[j][j] - m.rows[k][k] + 1.0f); - temp[i] = s * 0.5f; - s = 0.5f / s; - - temp[3] = (m.rows[k][j] - m.rows[j][k]) * s; - temp[j] = (m.rows[j][i] + m.rows[i][j]) * s; - temp[k] = (m.rows[k][i] + m.rows[i][k]) * s; - } - - return Quaternion(temp[0], temp[1], temp[2], temp[3]); -} - -void Basis::get_axis_angle(Vector3 &r_axis, real_t &r_angle) const { - /* checking this is a bad idea, because obtaining from scaled transform is a valid use case -#ifdef MATH_CHECKS - ERR_FAIL_COND(!is_rotation()); -#endif - */ - - // https://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToAngle/index.htm - real_t x, y, z; // Variables for result. - if (Math::is_zero_approx(rows[0][1] - rows[1][0]) && Math::is_zero_approx(rows[0][2] - rows[2][0]) && Math::is_zero_approx(rows[1][2] - rows[2][1])) { - // Singularity found. - // First check for identity matrix which must have +1 for all terms in leading diagonal and zero in other terms. - if (is_diagonal() && (Math::abs(rows[0][0] + rows[1][1] + rows[2][2] - 3) < 3 * CMP_EPSILON)) { - // This singularity is identity matrix so angle = 0. - r_axis = Vector3(0, 1, 0); - r_angle = 0; - return; - } - // Otherwise this singularity is angle = 180. - real_t xx = (rows[0][0] + 1) / 2; - real_t yy = (rows[1][1] + 1) / 2; - real_t zz = (rows[2][2] + 1) / 2; - real_t xy = (rows[0][1] + rows[1][0]) / 4; - real_t xz = (rows[0][2] + rows[2][0]) / 4; - real_t yz = (rows[1][2] + rows[2][1]) / 4; - - if ((xx > yy) && (xx > zz)) { // rows[0][0] is the largest diagonal term. - if (xx < CMP_EPSILON) { - x = 0; - y = Math_SQRT12; - z = Math_SQRT12; - } else { - x = Math::sqrt(xx); - y = xy / x; - z = xz / x; - } - } else if (yy > zz) { // rows[1][1] is the largest diagonal term. - if (yy < CMP_EPSILON) { - x = Math_SQRT12; - y = 0; - z = Math_SQRT12; - } else { - y = Math::sqrt(yy); - x = xy / y; - z = yz / y; - } - } else { // rows[2][2] is the largest diagonal term so base result on this. - if (zz < CMP_EPSILON) { - x = Math_SQRT12; - y = Math_SQRT12; - z = 0; - } else { - z = Math::sqrt(zz); - x = xz / z; - y = yz / z; - } - } - r_axis = Vector3(x, y, z); - r_angle = Math_PI; - return; - } - // As we have reached here there are no singularities so we can handle normally. - double s = Math::sqrt((rows[2][1] - rows[1][2]) * (rows[2][1] - rows[1][2]) + (rows[0][2] - rows[2][0]) * (rows[0][2] - rows[2][0]) + (rows[1][0] - rows[0][1]) * (rows[1][0] - rows[0][1])); // Used to normalise. - - if (Math::abs(s) < CMP_EPSILON) { - // Prevent divide by zero, should not happen if matrix is orthogonal and should be caught by singularity test above. - s = 1; - } - - x = (rows[2][1] - rows[1][2]) / s; - y = (rows[0][2] - rows[2][0]) / s; - z = (rows[1][0] - rows[0][1]) / s; - - r_axis = Vector3(x, y, z); - // CLAMP to avoid NaN if the value passed to acos is not in [0,1]. - r_angle = Math::acos(CLAMP((rows[0][0] + rows[1][1] + rows[2][2] - 1) / 2, (real_t)0.0, (real_t)1.0)); -} - -void Basis::set_quaternion(const Quaternion &p_quaternion) { - real_t d = p_quaternion.length_squared(); - real_t s = 2.0f / d; - real_t xs = p_quaternion.x * s, ys = p_quaternion.y * s, zs = p_quaternion.z * s; - real_t wx = p_quaternion.w * xs, wy = p_quaternion.w * ys, wz = p_quaternion.w * zs; - real_t xx = p_quaternion.x * xs, xy = p_quaternion.x * ys, xz = p_quaternion.x * zs; - real_t yy = p_quaternion.y * ys, yz = p_quaternion.y * zs, zz = p_quaternion.z * zs; - set(1.0f - (yy + zz), xy - wz, xz + wy, - xy + wz, 1.0f - (xx + zz), yz - wx, - xz - wy, yz + wx, 1.0f - (xx + yy)); -} - -void Basis::set_axis_angle(const Vector3 &p_axis, real_t p_angle) { -// Rotation matrix from axis and angle, see https://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matrix_from_axis_angle -#ifdef MATH_CHECKS - ERR_FAIL_COND_MSG(!p_axis.is_normalized(), "The axis Vector3 must be normalized."); -#endif - Vector3 axis_sq(p_axis.x * p_axis.x, p_axis.y * p_axis.y, p_axis.z * p_axis.z); - real_t cosine = Math::cos(p_angle); - rows[0][0] = axis_sq.x + cosine * (1.0f - axis_sq.x); - rows[1][1] = axis_sq.y + cosine * (1.0f - axis_sq.y); - rows[2][2] = axis_sq.z + cosine * (1.0f - axis_sq.z); - - real_t sine = Math::sin(p_angle); - real_t t = 1 - cosine; - - real_t xyzt = p_axis.x * p_axis.y * t; - real_t zyxs = p_axis.z * sine; - rows[0][1] = xyzt - zyxs; - rows[1][0] = xyzt + zyxs; - - xyzt = p_axis.x * p_axis.z * t; - zyxs = p_axis.y * sine; - rows[0][2] = xyzt + zyxs; - rows[2][0] = xyzt - zyxs; - - xyzt = p_axis.y * p_axis.z * t; - zyxs = p_axis.x * sine; - rows[1][2] = xyzt - zyxs; - rows[2][1] = xyzt + zyxs; -} - -void Basis::set_axis_angle_scale(const Vector3 &p_axis, real_t p_angle, const Vector3 &p_scale) { - _set_diagonal(p_scale); - rotate(p_axis, p_angle); -} - -void Basis::set_euler_scale(const Vector3 &p_euler, const Vector3 &p_scale, EulerOrder p_order) { - _set_diagonal(p_scale); - rotate(p_euler, p_order); -} - -void Basis::set_quaternion_scale(const Quaternion &p_quaternion, const Vector3 &p_scale) { - _set_diagonal(p_scale); - rotate(p_quaternion); -} - -// This also sets the non-diagonal elements to 0, which is misleading from the -// name, so we want this method to be private. Use `from_scale` externally. -void Basis::_set_diagonal(const Vector3 &p_diag) { - rows[0][0] = p_diag.x; - rows[0][1] = 0; - rows[0][2] = 0; - - rows[1][0] = 0; - rows[1][1] = p_diag.y; - rows[1][2] = 0; - - rows[2][0] = 0; - rows[2][1] = 0; - rows[2][2] = p_diag.z; -} - -Basis Basis::lerp(const Basis &p_to, const real_t &p_weight) const { - Basis b; - b.rows[0] = rows[0].lerp(p_to.rows[0], p_weight); - b.rows[1] = rows[1].lerp(p_to.rows[1], p_weight); - b.rows[2] = rows[2].lerp(p_to.rows[2], p_weight); - - return b; -} - -Basis Basis::slerp(const Basis &p_to, const real_t &p_weight) const { - //consider scale - Quaternion from(*this); - Quaternion to(p_to); - - Basis b(from.slerp(to, p_weight)); - b.rows[0] *= Math::lerp(rows[0].length(), p_to.rows[0].length(), p_weight); - b.rows[1] *= Math::lerp(rows[1].length(), p_to.rows[1].length(), p_weight); - b.rows[2] *= Math::lerp(rows[2].length(), p_to.rows[2].length(), p_weight); - - return b; -} - -void Basis::rotate_sh(real_t *p_values) { - // code by John Hable - // http://filmicworlds.com/blog/simple-and-fast-spherical-harmonic-rotation/ - // this code is Public Domain - - const static real_t s_c3 = 0.94617469575; // (3*sqrt(5))/(4*sqrt(pi)) - const static real_t s_c4 = -0.31539156525; // (-sqrt(5))/(4*sqrt(pi)) - const static real_t s_c5 = 0.54627421529; // (sqrt(15))/(4*sqrt(pi)) - - const static real_t s_c_scale = 1.0 / 0.91529123286551084; - const static real_t s_c_scale_inv = 0.91529123286551084; - - const static real_t s_rc2 = 1.5853309190550713 * s_c_scale; - const static real_t s_c4_div_c3 = s_c4 / s_c3; - const static real_t s_c4_div_c3_x2 = (s_c4 / s_c3) * 2.0; - - const static real_t s_scale_dst2 = s_c3 * s_c_scale_inv; - const static real_t s_scale_dst4 = s_c5 * s_c_scale_inv; - - const real_t src[9] = { p_values[0], p_values[1], p_values[2], p_values[3], p_values[4], p_values[5], p_values[6], p_values[7], p_values[8] }; - - real_t m00 = rows[0][0]; - real_t m01 = rows[0][1]; - real_t m02 = rows[0][2]; - real_t m10 = rows[1][0]; - real_t m11 = rows[1][1]; - real_t m12 = rows[1][2]; - real_t m20 = rows[2][0]; - real_t m21 = rows[2][1]; - real_t m22 = rows[2][2]; - - p_values[0] = src[0]; - p_values[1] = m11 * src[1] - m12 * src[2] + m10 * src[3]; - p_values[2] = -m21 * src[1] + m22 * src[2] - m20 * src[3]; - p_values[3] = m01 * src[1] - m02 * src[2] + m00 * src[3]; - - real_t sh0 = src[7] + src[8] + src[8] - src[5]; - real_t sh1 = src[4] + s_rc2 * src[6] + src[7] + src[8]; - real_t sh2 = src[4]; - real_t sh3 = -src[7]; - real_t sh4 = -src[5]; - - // Rotations. R0 and R1 just use the raw matrix columns - real_t r2x = m00 + m01; - real_t r2y = m10 + m11; - real_t r2z = m20 + m21; - - real_t r3x = m00 + m02; - real_t r3y = m10 + m12; - real_t r3z = m20 + m22; - - real_t r4x = m01 + m02; - real_t r4y = m11 + m12; - real_t r4z = m21 + m22; - - // dense matrix multiplication one column at a time - - // column 0 - real_t sh0_x = sh0 * m00; - real_t sh0_y = sh0 * m10; - real_t d0 = sh0_x * m10; - real_t d1 = sh0_y * m20; - real_t d2 = sh0 * (m20 * m20 + s_c4_div_c3); - real_t d3 = sh0_x * m20; - real_t d4 = sh0_x * m00 - sh0_y * m10; - - // column 1 - real_t sh1_x = sh1 * m02; - real_t sh1_y = sh1 * m12; - d0 += sh1_x * m12; - d1 += sh1_y * m22; - d2 += sh1 * (m22 * m22 + s_c4_div_c3); - d3 += sh1_x * m22; - d4 += sh1_x * m02 - sh1_y * m12; - - // column 2 - real_t sh2_x = sh2 * r2x; - real_t sh2_y = sh2 * r2y; - d0 += sh2_x * r2y; - d1 += sh2_y * r2z; - d2 += sh2 * (r2z * r2z + s_c4_div_c3_x2); - d3 += sh2_x * r2z; - d4 += sh2_x * r2x - sh2_y * r2y; - - // column 3 - real_t sh3_x = sh3 * r3x; - real_t sh3_y = sh3 * r3y; - d0 += sh3_x * r3y; - d1 += sh3_y * r3z; - d2 += sh3 * (r3z * r3z + s_c4_div_c3_x2); - d3 += sh3_x * r3z; - d4 += sh3_x * r3x - sh3_y * r3y; - - // column 4 - real_t sh4_x = sh4 * r4x; - real_t sh4_y = sh4 * r4y; - d0 += sh4_x * r4y; - d1 += sh4_y * r4z; - d2 += sh4 * (r4z * r4z + s_c4_div_c3_x2); - d3 += sh4_x * r4z; - d4 += sh4_x * r4x - sh4_y * r4y; - - // extra multipliers - p_values[4] = d0; - p_values[5] = -d1; - p_values[6] = d2 * s_scale_dst2; - p_values[7] = -d3; - p_values[8] = d4 * s_scale_dst4; -} - -Basis Basis::looking_at(const Vector3 &p_target, const Vector3 &p_up) { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(p_target.is_zero_approx(), Basis(), "The target vector can't be zero."); - ERR_FAIL_COND_V_MSG(p_up.is_zero_approx(), Basis(), "The up vector can't be zero."); -#endif - Vector3 v_z = -p_target.normalized(); - Vector3 v_x = p_up.cross(v_z); -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(v_x.is_zero_approx(), Basis(), "The target vector and up vector can't be parallel to each other."); -#endif - v_x.normalize(); - Vector3 v_y = v_z.cross(v_x); - - Basis basis; - basis.set_columns(v_x, v_y, v_z); - return basis; -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/callable_custom.cpp b/thirdparty/godot-cpp/src/variant/callable_custom.cpp deleted file mode 100644 index ae8cc48..0000000 --- a/thirdparty/godot-cpp/src/variant/callable_custom.cpp +++ /dev/null @@ -1,127 +0,0 @@ -/**************************************************************************/ -/* callable_custom.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -int CallableCustomBase::get_argument_count(bool &r_is_valid) const { - r_is_valid = false; - return 0; -} - -static void callable_custom_call(void *p_userdata, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionVariantPtr r_return, GDExtensionCallError *r_error) { - CallableCustom *callable_custom = (CallableCustom *)p_userdata; - callable_custom->call((const Variant **)p_args, p_argument_count, *(Variant *)r_return, *r_error); -} - -static GDExtensionBool callable_custom_is_valid(void *p_userdata) { - CallableCustom *callable_custom = (CallableCustom *)p_userdata; - return callable_custom->is_valid(); -} - -static void callable_custom_free(void *p_userdata) { - CallableCustom *callable_custom = (CallableCustom *)p_userdata; - memdelete(callable_custom); -} - -static uint32_t callable_custom_hash(void *p_userdata) { - CallableCustom *callable_custom = (CallableCustom *)p_userdata; - return callable_custom->hash(); -} - -static void callable_custom_to_string(void *p_userdata, GDExtensionBool *r_is_valid, GDExtensionStringPtr r_out) { - CallableCustom *callable_custom = (CallableCustom *)p_userdata; - *((String *)r_out) = callable_custom->get_as_text(); - *r_is_valid = true; -} - -static GDExtensionBool callable_custom_equal_func(void *p_a, void *p_b) { - CallableCustom *a = (CallableCustom *)p_a; - CallableCustom *b = (CallableCustom *)p_b; - CallableCustom::CompareEqualFunc func_a = a->get_compare_equal_func(); - CallableCustom::CompareEqualFunc func_b = b->get_compare_equal_func(); - if (func_a != func_b) { - return false; - } - return func_a(a, b); -} - -static GDExtensionBool callable_custom_less_than_func(void *p_a, void *p_b) { - CallableCustom *a = (CallableCustom *)p_a; - CallableCustom *b = (CallableCustom *)p_b; - CallableCustom::CompareEqualFunc func_a = a->get_compare_less_func(); - CallableCustom::CompareEqualFunc func_b = b->get_compare_less_func(); - if (func_a != func_b) { - // Just compare the addresses. - return p_a < p_b; - } - return func_a(a, b); -} - -static GDExtensionInt custom_callable_get_argument_count_func(void *p_userdata, GDExtensionBool *r_is_valid) { - CallableCustom *callable_custom = (CallableCustom *)p_userdata; - bool valid = false; - int ret = callable_custom->get_argument_count(valid); - *r_is_valid = valid; - return ret; -} - -bool CallableCustom::is_valid() const { - // The same default implementation as in Godot. - return ObjectDB::get_instance(get_object()); -} - -Callable::Callable(CallableCustom *p_callable_custom) { - GDExtensionCallableCustomInfo2 info = {}; - info.callable_userdata = p_callable_custom; - info.token = internal::token; - info.object_id = p_callable_custom->get_object(); - info.call_func = &callable_custom_call; - info.is_valid_func = &callable_custom_is_valid; - info.free_func = &callable_custom_free; - info.hash_func = &callable_custom_hash; - info.equal_func = &callable_custom_equal_func; - info.less_than_func = &callable_custom_less_than_func; - info.to_string_func = &callable_custom_to_string; - info.get_argument_count_func = &custom_callable_get_argument_count_func; - - ::godot::internal::gdextension_interface_callable_custom_create2(_native_ptr(), &info); -} - -CallableCustom *Callable::get_custom() const { - CallableCustomBase *callable_custom = (CallableCustomBase *)::godot::internal::gdextension_interface_callable_custom_get_userdata(_native_ptr(), internal::token); - return dynamic_cast(callable_custom); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/callable_method_pointer.cpp b/thirdparty/godot-cpp/src/variant/callable_method_pointer.cpp deleted file mode 100644 index 23b7ef5..0000000 --- a/thirdparty/godot-cpp/src/variant/callable_method_pointer.cpp +++ /dev/null @@ -1,123 +0,0 @@ -/**************************************************************************/ -/* callable_method_pointer.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -static void custom_callable_mp_call(void *p_userdata, const GDExtensionConstVariantPtr *p_args, GDExtensionInt p_argument_count, GDExtensionVariantPtr r_return, GDExtensionCallError *r_error) { - CallableCustomMethodPointerBase *callable_method_pointer = (CallableCustomMethodPointerBase *)p_userdata; - callable_method_pointer->call((const Variant **)p_args, p_argument_count, *(Variant *)r_return, *r_error); -} - -static GDExtensionBool custom_callable_mp_is_valid(void *p_userdata) { - CallableCustomMethodPointerBase *callable_method_pointer = (CallableCustomMethodPointerBase *)p_userdata; - ObjectID object = callable_method_pointer->get_object(); - return object == ObjectID() || ObjectDB::get_instance(object); -} - -static void custom_callable_mp_free(void *p_userdata) { - CallableCustomMethodPointerBase *callable_method_pointer = (CallableCustomMethodPointerBase *)p_userdata; - memdelete(callable_method_pointer); -} - -static uint32_t custom_callable_mp_hash(void *p_userdata) { - CallableCustomMethodPointerBase *callable_method_pointer = (CallableCustomMethodPointerBase *)p_userdata; - return callable_method_pointer->get_hash(); -} - -static GDExtensionBool custom_callable_mp_equal_func(void *p_a, void *p_b) { - CallableCustomMethodPointerBase *a = (CallableCustomMethodPointerBase *)p_a; - CallableCustomMethodPointerBase *b = (CallableCustomMethodPointerBase *)p_b; - - if (a->get_comp_size() != b->get_comp_size()) { - return false; - } - - return memcmp(a->get_comp_ptr(), b->get_comp_ptr(), a->get_comp_size() * 4) == 0; -} - -static GDExtensionBool custom_callable_mp_less_than_func(void *p_a, void *p_b) { - CallableCustomMethodPointerBase *a = (CallableCustomMethodPointerBase *)p_a; - CallableCustomMethodPointerBase *b = (CallableCustomMethodPointerBase *)p_b; - - if (a->get_comp_size() != b->get_comp_size()) { - return a->get_comp_size() < b->get_comp_size(); - } - - return memcmp(a->get_comp_ptr(), b->get_comp_ptr(), a->get_comp_size() * 4) < 0; -} - -static GDExtensionInt custom_callable_mp_get_argument_count_func(void *p_userdata, GDExtensionBool *r_is_valid) { - CallableCustomMethodPointerBase *callable_method_pointer = (CallableCustomMethodPointerBase *)p_userdata; - bool valid = false; - int ret = callable_method_pointer->get_argument_count(valid); - *r_is_valid = valid; - return ret; -} - -void CallableCustomMethodPointerBase::_setup(uint32_t *p_base_ptr, uint32_t p_ptr_size) { - comp_ptr = p_base_ptr; - comp_size = p_ptr_size / 4; - - for (uint32_t i = 0; i < comp_size; i++) { - if (i == 0) { - h = hash_murmur3_one_32(comp_ptr[i]); - } else { - h = hash_murmur3_one_32(comp_ptr[i], h); - } - } -} - -namespace internal { - -Callable create_callable_from_ccmp(CallableCustomMethodPointerBase *p_callable_method_pointer) { - GDExtensionCallableCustomInfo2 info = {}; - info.callable_userdata = p_callable_method_pointer; - info.token = internal::token; - info.object_id = p_callable_method_pointer->get_object(); - info.call_func = &custom_callable_mp_call; - info.is_valid_func = &custom_callable_mp_is_valid; - info.free_func = &custom_callable_mp_free; - info.hash_func = &custom_callable_mp_hash; - info.equal_func = &custom_callable_mp_equal_func; - info.less_than_func = &custom_callable_mp_less_than_func; - info.get_argument_count_func = &custom_callable_mp_get_argument_count_func; - - Callable callable; - ::godot::internal::gdextension_interface_callable_custom_create2(callable._native_ptr(), &info); - return callable; -} - -} // namespace internal - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/char_string.cpp b/thirdparty/godot-cpp/src/variant/char_string.cpp deleted file mode 100644 index cac46cf..0000000 --- a/thirdparty/godot-cpp/src/variant/char_string.cpp +++ /dev/null @@ -1,486 +0,0 @@ -/**************************************************************************/ -/* char_string.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -#include -#include - -namespace godot { - -template -_FORCE_INLINE_ bool is_str_less(const L *l_ptr, const R *r_ptr) { - while (true) { - const char32_t l = *l_ptr; - const char32_t r = *r_ptr; - - if (l == 0 && r == 0) { - return false; - } else if (l == 0) { - return true; - } else if (r == 0) { - return false; - } else if (l < r) { - return true; - } else if (l > r) { - return false; - } - - l_ptr++; - r_ptr++; - } -} - -template -bool CharStringT::operator<(const CharStringT &p_right) const { - if (length() == 0) { - return p_right.length() != 0; - } - - return is_str_less(get_data(), p_right.get_data()); -} - -template -CharStringT &CharStringT::operator+=(T p_char) { - const int64_t lhs_len = length(); - resize(lhs_len + 2); - - T *dst = ptrw(); - dst[lhs_len] = p_char; - dst[lhs_len + 1] = 0; - - return *this; -} - -template -void CharStringT::operator=(const T *p_cstr) { - copy_from(p_cstr); -} - -template <> -const char *CharStringT::get_data() const { - if (size()) { - return &operator[](0); - } else { - return ""; - } -} - -template <> -const char16_t *CharStringT::get_data() const { - if (size()) { - return &operator[](0); - } else { - return u""; - } -} - -template <> -const char32_t *CharStringT::get_data() const { - if (size()) { - return &operator[](0); - } else { - return U""; - } -} - -template <> -const wchar_t *CharStringT::get_data() const { - if (size()) { - return &operator[](0); - } else { - return L""; - } -} - -template -void CharStringT::copy_from(const T *p_cstr) { - if (!p_cstr) { - resize(0); - return; - } - - size_t len = std::char_traits::length(p_cstr); - - if (len == 0) { - resize(0); - return; - } - - Error err = resize(++len); // include terminating null char - - ERR_FAIL_COND_MSG(err != OK, "Failed to copy C-string."); - - memcpy(ptrw(), p_cstr, len); -} - -template class CharStringT; -template class CharStringT; -template class CharStringT; -template class CharStringT; - -// 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::gdextension_interface_string_new_with_latin1_chars(_native_ptr(), from); -} - -String::String(const wchar_t *from) { - internal::gdextension_interface_string_new_with_wide_chars(_native_ptr(), from); -} - -String::String(const char16_t *from) { - internal::gdextension_interface_string_new_with_utf16_chars(_native_ptr(), from); -} - -String::String(const char32_t *from) { - internal::gdextension_interface_string_new_with_utf32_chars(_native_ptr(), from); -} - -String String::utf8(const char *from, int64_t len) { - String ret; - ret.parse_utf8(from, len); - return ret; -} - -void String::parse_utf8(const char *from, int64_t len) { - internal::gdextension_interface_string_new_with_utf8_chars_and_len(_native_ptr(), from, len); -} - -String String::utf16(const char16_t *from, int64_t len) { - String ret; - ret.parse_utf16(from, len); - return ret; -} - -void String::parse_utf16(const char16_t *from, int64_t len) { - internal::gdextension_interface_string_new_with_utf16_chars_and_len(_native_ptr(), from, len); -} - -String String::num_real(double p_num, bool p_trailing) { - if (p_num == (double)(int64_t)p_num) { - if (p_trailing) { - return num_int64((int64_t)p_num) + ".0"; - } else { - return num_int64((int64_t)p_num); - } - } -#ifdef REAL_T_IS_DOUBLE - int decimals = 14; -#else - int decimals = 6; -#endif - // We want to align the digits to the above sane default, so we only - // need to subtract log10 for numbers with a positive power of ten. - if (p_num > 10) { - decimals -= (int)floor(log10(p_num)); - } - return num(p_num, decimals); -} - -String itos(int64_t p_val) { - return String::num_int64(p_val); -} - -String uitos(uint64_t p_val) { - return String::num_uint64(p_val); -} - -String rtos(double p_val) { - return String::num(p_val); -} - -String rtoss(double p_val) { - return String::num_scientific(p_val); -} - -CharString String::utf8() const { - int64_t length = internal::gdextension_interface_string_to_utf8_chars(_native_ptr(), nullptr, 0); - int64_t size = length + 1; - CharString str; - str.resize(size); - internal::gdextension_interface_string_to_utf8_chars(_native_ptr(), str.ptrw(), length); - - str[length] = '\0'; - - return str; -} - -CharString String::ascii() const { - int64_t length = internal::gdextension_interface_string_to_latin1_chars(_native_ptr(), nullptr, 0); - int64_t size = length + 1; - CharString str; - str.resize(size); - internal::gdextension_interface_string_to_latin1_chars(_native_ptr(), str.ptrw(), length); - - str[length] = '\0'; - - return str; -} - -Char16String String::utf16() const { - int64_t length = internal::gdextension_interface_string_to_utf16_chars(_native_ptr(), nullptr, 0); - int64_t size = length + 1; - Char16String str; - str.resize(size); - internal::gdextension_interface_string_to_utf16_chars(_native_ptr(), str.ptrw(), length); - - str[length] = '\0'; - - return str; -} - -Char32String String::utf32() const { - int64_t length = internal::gdextension_interface_string_to_utf32_chars(_native_ptr(), nullptr, 0); - int64_t size = length + 1; - Char32String str; - str.resize(size); - internal::gdextension_interface_string_to_utf32_chars(_native_ptr(), str.ptrw(), length); - - str[length] = '\0'; - - return str; -} - -CharWideString String::wide_string() const { - int64_t length = internal::gdextension_interface_string_to_wide_chars(_native_ptr(), nullptr, 0); - int64_t size = length + 1; - CharWideString str; - str.resize(size); - internal::gdextension_interface_string_to_wide_chars(_native_ptr(), str.ptrw(), length); - - str[length] = '\0'; - - return str; -} - -Error String::resize(int64_t p_size) { - return (Error)internal::gdextension_interface_string_resize(_native_ptr(), p_size); -} - -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); -} - -String String::operator+(const char *p_str) { - return *this + String(p_str); -} - -String String::operator+(const wchar_t *p_str) { - return *this + String(p_str); -} - -String String::operator+(const char16_t *p_str) { - return *this + String(p_str); -} - -String String::operator+(const char32_t *p_str) { - return *this + String(p_str); -} - -String String::operator+(const char32_t p_char) { - return *this + String::chr(p_char); -} - -String &String::operator+=(const String &p_str) { - internal::gdextension_interface_string_operator_plus_eq_string((GDExtensionStringPtr)this, (GDExtensionConstStringPtr)&p_str); - return *this; -} - -String &String::operator+=(char32_t p_char) { - internal::gdextension_interface_string_operator_plus_eq_char((GDExtensionStringPtr)this, p_char); - return *this; -} - -String &String::operator+=(const char *p_str) { - internal::gdextension_interface_string_operator_plus_eq_cstr((GDExtensionStringPtr)this, p_str); - return *this; -} - -String &String::operator+=(const wchar_t *p_str) { - internal::gdextension_interface_string_operator_plus_eq_wcstr((GDExtensionStringPtr)this, p_str); - return *this; -} - -String &String::operator+=(const char32_t *p_str) { - internal::gdextension_interface_string_operator_plus_eq_c32str((GDExtensionStringPtr)this, p_str); - return *this; -} - -const char32_t &String::operator[](int64_t p_index) const { - return *internal::gdextension_interface_string_operator_index_const((GDExtensionStringPtr)this, p_index); -} - -char32_t &String::operator[](int64_t p_index) { - return *internal::gdextension_interface_string_operator_index((GDExtensionStringPtr)this, p_index); -} - -const char32_t *String::ptr() const { - return internal::gdextension_interface_string_operator_index_const((GDExtensionStringPtr)this, 0); -} - -char32_t *String::ptrw() { - return internal::gdextension_interface_string_operator_index((GDExtensionStringPtr)this, 0); -} - -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; -} - -String operator+(char32_t p_char, const String &p_str) { - return String::chr(p_char) + p_str; -} - -StringName::StringName(const char *from, bool p_static) { - internal::gdextension_interface_string_name_new_with_latin1_chars(&opaque, from, p_static); -} - -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/thirdparty/godot-cpp/src/variant/color.cpp b/thirdparty/godot-cpp/src/variant/color.cpp deleted file mode 100644 index 28224a2..0000000 --- a/thirdparty/godot-cpp/src/variant/color.cpp +++ /dev/null @@ -1,572 +0,0 @@ -/**************************************************************************/ -/* color.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -uint32_t Color::to_argb32() const { - uint32_t c = (uint8_t)Math::round(a * 255.0f); - c <<= 8; - c |= (uint8_t)Math::round(r * 255.0f); - c <<= 8; - c |= (uint8_t)Math::round(g * 255.0f); - c <<= 8; - c |= (uint8_t)Math::round(b * 255.0f); - - return c; -} - -uint32_t Color::to_abgr32() const { - uint32_t c = (uint8_t)Math::round(a * 255.0f); - c <<= 8; - c |= (uint8_t)Math::round(b * 255.0f); - c <<= 8; - c |= (uint8_t)Math::round(g * 255.0f); - c <<= 8; - c |= (uint8_t)Math::round(r * 255.0f); - - return c; -} - -uint32_t Color::to_rgba32() const { - uint32_t c = (uint8_t)Math::round(r * 255.0f); - c <<= 8; - c |= (uint8_t)Math::round(g * 255.0f); - c <<= 8; - c |= (uint8_t)Math::round(b * 255.0f); - c <<= 8; - c |= (uint8_t)Math::round(a * 255.0f); - - return c; -} - -uint64_t Color::to_abgr64() const { - uint64_t c = (uint16_t)Math::round(a * 65535.0f); - c <<= 16; - c |= (uint16_t)Math::round(b * 65535.0f); - c <<= 16; - c |= (uint16_t)Math::round(g * 65535.0f); - c <<= 16; - c |= (uint16_t)Math::round(r * 65535.0f); - - return c; -} - -uint64_t Color::to_argb64() const { - uint64_t c = (uint16_t)Math::round(a * 65535.0f); - c <<= 16; - c |= (uint16_t)Math::round(r * 65535.0f); - c <<= 16; - c |= (uint16_t)Math::round(g * 65535.0f); - c <<= 16; - c |= (uint16_t)Math::round(b * 65535.0f); - - return c; -} - -uint64_t Color::to_rgba64() const { - uint64_t c = (uint16_t)Math::round(r * 65535.0f); - c <<= 16; - c |= (uint16_t)Math::round(g * 65535.0f); - c <<= 16; - c |= (uint16_t)Math::round(b * 65535.0f); - c <<= 16; - c |= (uint16_t)Math::round(a * 65535.0f); - - return c; -} - -String _to_hex(float p_val) { - int v = Math::round(p_val * 255.0f); - v = CLAMP(v, 0, 255); - String ret; - - for (int i = 0; i < 2; i++) { - char32_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 char32_t *)c; - ret = cs + ret; - } - - return ret; -} - -String Color::to_html(bool p_alpha) const { - String txt; - txt = txt + _to_hex(r); - txt = txt + _to_hex(g); - txt = txt + _to_hex(b); - if (p_alpha) { - txt = txt + _to_hex(a); - } - return txt; -} - -float Color::get_h() const { - float min = Math::min(r, g); - min = Math::min(min, b); - float max = Math::max(r, g); - max = Math::max(max, b); - - float delta = max - min; - - if (delta == 0.0f) { - return 0.0f; - } - - 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.0f; - if (h < 0.0f) { - h += 1.0f; - } - - return h; -} - -float Color::get_s() const { - float min = Math::min(r, g); - min = Math::min(min, b); - float max = Math::max(r, g); - max = Math::max(max, b); - - float delta = max - min; - - return (max != 0.0f) ? (delta / max) : 0.0f; -} - -float Color::get_v() const { - float max = Math::max(r, g); - max = Math::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.0f) { - // Achromatic (grey) - r = g = b = p_v; - return; - } - - p_h *= 6.0f; - p_h = Math::fmod(p_h, 6); - i = Math::floor(p_h); - - f = p_h - i; - p = p_v * (1.0f - p_s); - q = p_v * (1.0f - p_s * f); - t = p_v * (1.0f - p_s * (1.0f - 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; - } -} - -bool Color::is_equal_approx(const Color &p_color) const { - return Math::is_equal_approx(r, p_color.r) && Math::is_equal_approx(g, p_color.g) && Math::is_equal_approx(b, p_color.b) && Math::is_equal_approx(a, p_color.a); -} - -Color Color::clamp(const Color &p_min, const Color &p_max) const { - return Color( - CLAMP(r, p_min.r, p_max.r), - CLAMP(g, p_min.g, p_max.g), - CLAMP(b, p_min.b, p_max.b), - CLAMP(a, p_min.a, p_max.a)); -} - -void Color::invert() { - r = 1.0f - r; - g = 1.0f - g; - b = 1.0f - b; -} - -Color Color::hex(uint32_t p_hex) { - float a = (p_hex & 0xFF) / 255.0f; - p_hex >>= 8; - float b = (p_hex & 0xFF) / 255.0f; - p_hex >>= 8; - float g = (p_hex & 0xFF) / 255.0f; - p_hex >>= 8; - float r = (p_hex & 0xFF) / 255.0f; - - return Color(r, g, b, a); -} - -Color Color::hex64(uint64_t p_hex) { - float a = (p_hex & 0xFFFF) / 65535.0f; - p_hex >>= 16; - float b = (p_hex & 0xFFFF) / 65535.0f; - p_hex >>= 16; - float g = (p_hex & 0xFFFF) / 65535.0f; - p_hex >>= 16; - float r = (p_hex & 0xFFFF) / 65535.0f; - - return Color(r, g, b, a); -} - -static int _parse_col4(const String &p_str, int p_ofs) { - char character = p_str[p_ofs]; - - if (character >= '0' && character <= '9') { - return character - '0'; - } else if (character >= 'a' && character <= 'f') { - return character + (10 - 'a'); - } else if (character >= 'A' && character <= 'F') { - return character + (10 - 'A'); - } - return -1; -} - -static int _parse_col8(const String &p_str, int p_ofs) { - return _parse_col4(p_str, p_ofs) * 16 + _parse_col4(p_str, p_ofs + 1); -} - -Color Color::inverted() const { - Color c = *this; - c.invert(); - return c; -} - -Color Color::html(const String &p_rgba) { - String color = p_rgba; - if (color.length() == 0) { - return Color(); - } - if (color[0] == '#') { - color = color.substr(1); - } - - // If enabled, use 1 hex digit per channel instead of 2. - // Other sizes aren't in the HTML/CSS spec but we could add them if desired. - bool is_shorthand = color.length() < 5; - bool alpha = false; - - if (color.length() == 8) { - alpha = true; - } else if (color.length() == 6) { - alpha = false; - } else if (color.length() == 4) { - alpha = true; - } else if (color.length() == 3) { - alpha = false; - } else { - ERR_FAIL_V_MSG(Color(), "Invalid color code: " + p_rgba + "."); - } - - float r, g, b, a = 1.0f; - if (is_shorthand) { - r = _parse_col4(color, 0) / 15.0f; - g = _parse_col4(color, 1) / 15.0f; - b = _parse_col4(color, 2) / 15.0f; - if (alpha) { - a = _parse_col4(color, 3) / 15.0f; - } - } else { - r = _parse_col8(color, 0) / 255.0f; - g = _parse_col8(color, 2) / 255.0f; - b = _parse_col8(color, 4) / 255.0f; - if (alpha) { - a = _parse_col8(color, 6) / 255.0f; - } - } - ERR_FAIL_COND_V_MSG(r < 0.0f, Color(), "Invalid color code: " + p_rgba + "."); - ERR_FAIL_COND_V_MSG(g < 0.0f, Color(), "Invalid color code: " + p_rgba + "."); - ERR_FAIL_COND_V_MSG(b < 0.0f, Color(), "Invalid color code: " + p_rgba + "."); - ERR_FAIL_COND_V_MSG(a < 0.0f, Color(), "Invalid color code: " + p_rgba + "."); - - return Color(r, g, b, a); -} - -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); - } - - // Check if the amount of hex digits is valid. - int len = color.length(); - if (!(len == 3 || len == 4 || len == 6 || len == 8)) { - return false; - } - - // Check if each hex digit is valid. - for (int i = 0; i < len; i++) { - if (_parse_col4(color, i) == -1) { - return false; - } - } - - return true; -} - -Color Color::named(const String &p_name) { - int idx = find_named_color(p_name); - if (idx == -1) { - ERR_FAIL_V_MSG(Color(), "Invalid color name: " + p_name + "."); - return Color(); - } - return named_colors[idx].color; -} - -Color Color::named(const String &p_name, const Color &p_default) { - int idx = find_named_color(p_name); - if (idx == -1) { - return p_default; - } - return named_colors[idx].color; -} - -int Color::find_named_color(const String &p_name) { - String name = p_name; - // Normalize name - name = name.replace(" ", ""); - name = name.replace("-", ""); - name = name.replace("_", ""); - name = name.replace("'", ""); - name = name.replace(".", ""); - name = name.to_upper(); - - int idx = 0; - while (named_colors[idx].name != nullptr) { - if (name == String(named_colors[idx].name).replace("_", "")) { - return idx; - } - idx++; - } - - return -1; -} - -int Color::get_named_color_count() { - int idx = 0; - while (named_colors[idx].name != nullptr) { - idx++; - } - return idx; -} - -String Color::get_named_color_name(int p_idx) { - ERR_FAIL_INDEX_V(p_idx, get_named_color_count(), ""); - return named_colors[p_idx].name; -} - -Color Color::get_named_color(int p_idx) { - ERR_FAIL_INDEX_V(p_idx, get_named_color_count(), Color()); - return named_colors[p_idx].color; -} - -// For a version that errors on invalid values instead of returning -// a default color, use the Color(String) constructor instead. -Color Color::from_string(const String &p_string, const Color &p_default) { - if (html_is_valid(p_string)) { - return html(p_string); - } else { - return named(p_string, p_default); - } -} - -Color Color::from_hsv(float p_h, float p_s, float p_v, float p_alpha) { - Color c; - c.set_hsv(p_h, p_s, p_v, p_alpha); - return c; -} - -Color Color::from_rgbe9995(uint32_t p_rgbe) { - float r = p_rgbe & 0x1ff; - float g = (p_rgbe >> 9) & 0x1ff; - float b = (p_rgbe >> 18) & 0x1ff; - float e = (p_rgbe >> 27); - float m = Math::pow(2.0f, e - 15.0f - 9.0f); - - float rd = r * m; - float gd = g * m; - float bd = b * m; - - return Color(rd, gd, bd, 1.0f); -} - -Color::operator String() const { - return "(" + String::num(r, 4) + ", " + String::num(g, 4) + ", " + String::num(b, 4) + ", " + String::num(a, 4) + ")"; -} - -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*(float p_scalar) const { - return Color( - r * p_scalar, - g * p_scalar, - b * p_scalar, - a * p_scalar); -} - -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*=(float p_scalar) { - r = r * p_scalar; - g = g * p_scalar; - b = b * p_scalar; - a = a * p_scalar; -} - -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/(float p_scalar) const { - return Color( - r / p_scalar, - g / p_scalar, - b / p_scalar, - a / p_scalar); -} - -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/=(float p_scalar) { - r = r / p_scalar; - g = g / p_scalar; - b = b / p_scalar; - a = a / p_scalar; -} - -Color Color::operator-() const { - return Color( - 1.0f - r, - 1.0f - g, - 1.0f - b, - 1.0f - a); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/packed_arrays.cpp b/thirdparty/godot-cpp/src/variant/packed_arrays.cpp deleted file mode 100644 index fe8b359..0000000 --- a/thirdparty/godot-cpp/src/variant/packed_arrays.cpp +++ /dev/null @@ -1,230 +0,0 @@ -/**************************************************************************/ -/* packed_arrays.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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. */ -/**************************************************************************/ - -// extra functions for packed arrays - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -namespace godot { - -const uint8_t &PackedByteArray::operator[](int64_t p_index) const { - return *internal::gdextension_interface_packed_byte_array_operator_index_const((GDExtensionTypePtr *)this, p_index); -} - -uint8_t &PackedByteArray::operator[](int64_t p_index) { - return *internal::gdextension_interface_packed_byte_array_operator_index((GDExtensionTypePtr *)this, p_index); -} - -const uint8_t *PackedByteArray::ptr() const { - return internal::gdextension_interface_packed_byte_array_operator_index_const((GDExtensionTypePtr *)this, 0); -} - -uint8_t *PackedByteArray::ptrw() { - return internal::gdextension_interface_packed_byte_array_operator_index((GDExtensionTypePtr *)this, 0); -} - -const Color &PackedColorArray::operator[](int64_t p_index) const { - const Color *color = (const Color *)internal::gdextension_interface_packed_color_array_operator_index_const((GDExtensionTypePtr *)this, p_index); - return *color; -} - -Color &PackedColorArray::operator[](int64_t p_index) { - Color *color = (Color *)internal::gdextension_interface_packed_color_array_operator_index((GDExtensionTypePtr *)this, p_index); - return *color; -} - -const Color *PackedColorArray::ptr() const { - return (const Color *)internal::gdextension_interface_packed_color_array_operator_index_const((GDExtensionTypePtr *)this, 0); -} - -Color *PackedColorArray::ptrw() { - return (Color *)internal::gdextension_interface_packed_color_array_operator_index((GDExtensionTypePtr *)this, 0); -} - -const float &PackedFloat32Array::operator[](int64_t p_index) const { - return *internal::gdextension_interface_packed_float32_array_operator_index_const((GDExtensionTypePtr *)this, p_index); -} - -float &PackedFloat32Array::operator[](int64_t p_index) { - return *internal::gdextension_interface_packed_float32_array_operator_index((GDExtensionTypePtr *)this, p_index); -} - -const float *PackedFloat32Array::ptr() const { - return internal::gdextension_interface_packed_float32_array_operator_index_const((GDExtensionTypePtr *)this, 0); -} - -float *PackedFloat32Array::ptrw() { - return internal::gdextension_interface_packed_float32_array_operator_index((GDExtensionTypePtr *)this, 0); -} - -const double &PackedFloat64Array::operator[](int64_t p_index) const { - return *internal::gdextension_interface_packed_float64_array_operator_index_const((GDExtensionTypePtr *)this, p_index); -} - -double &PackedFloat64Array::operator[](int64_t p_index) { - return *internal::gdextension_interface_packed_float64_array_operator_index((GDExtensionTypePtr *)this, p_index); -} - -const double *PackedFloat64Array::ptr() const { - return internal::gdextension_interface_packed_float64_array_operator_index_const((GDExtensionTypePtr *)this, 0); -} - -double *PackedFloat64Array::ptrw() { - return internal::gdextension_interface_packed_float64_array_operator_index((GDExtensionTypePtr *)this, 0); -} - -const int32_t &PackedInt32Array::operator[](int64_t p_index) const { - return *internal::gdextension_interface_packed_int32_array_operator_index_const((GDExtensionTypePtr *)this, p_index); -} - -int32_t &PackedInt32Array::operator[](int64_t p_index) { - return *internal::gdextension_interface_packed_int32_array_operator_index((GDExtensionTypePtr *)this, p_index); -} - -const int32_t *PackedInt32Array::ptr() const { - return internal::gdextension_interface_packed_int32_array_operator_index_const((GDExtensionTypePtr *)this, 0); -} - -int32_t *PackedInt32Array::ptrw() { - return internal::gdextension_interface_packed_int32_array_operator_index((GDExtensionTypePtr *)this, 0); -} - -const int64_t &PackedInt64Array::operator[](int64_t p_index) const { - return *internal::gdextension_interface_packed_int64_array_operator_index_const((GDExtensionTypePtr *)this, p_index); -} - -int64_t &PackedInt64Array::operator[](int64_t p_index) { - return *internal::gdextension_interface_packed_int64_array_operator_index((GDExtensionTypePtr *)this, p_index); -} - -const int64_t *PackedInt64Array::ptr() const { - return internal::gdextension_interface_packed_int64_array_operator_index_const((GDExtensionTypePtr *)this, 0); -} - -int64_t *PackedInt64Array::ptrw() { - return internal::gdextension_interface_packed_int64_array_operator_index((GDExtensionTypePtr *)this, 0); -} - -const String &PackedStringArray::operator[](int64_t p_index) const { - const String *string = (const String *)internal::gdextension_interface_packed_string_array_operator_index_const((GDExtensionTypePtr *)this, p_index); - return *string; -} - -String &PackedStringArray::operator[](int64_t p_index) { - String *string = (String *)internal::gdextension_interface_packed_string_array_operator_index((GDExtensionTypePtr *)this, p_index); - return *string; -} - -const String *PackedStringArray::ptr() const { - return (const String *)internal::gdextension_interface_packed_string_array_operator_index_const((GDExtensionTypePtr *)this, 0); -} - -String *PackedStringArray::ptrw() { - return (String *)internal::gdextension_interface_packed_string_array_operator_index((GDExtensionTypePtr *)this, 0); -} - -const Vector2 &PackedVector2Array::operator[](int64_t p_index) const { - const Vector2 *vec = (const Vector2 *)internal::gdextension_interface_packed_vector2_array_operator_index_const((GDExtensionTypePtr *)this, p_index); - return *vec; -} - -Vector2 &PackedVector2Array::operator[](int64_t p_index) { - Vector2 *vec = (Vector2 *)internal::gdextension_interface_packed_vector2_array_operator_index((GDExtensionTypePtr *)this, p_index); - return *vec; -} - -const Vector2 *PackedVector2Array::ptr() const { - return (const Vector2 *)internal::gdextension_interface_packed_vector2_array_operator_index_const((GDExtensionTypePtr *)this, 0); -} - -Vector2 *PackedVector2Array::ptrw() { - return (Vector2 *)internal::gdextension_interface_packed_vector2_array_operator_index((GDExtensionTypePtr *)this, 0); -} - -const Vector3 &PackedVector3Array::operator[](int64_t p_index) const { - const Vector3 *vec = (const Vector3 *)internal::gdextension_interface_packed_vector3_array_operator_index_const((GDExtensionTypePtr *)this, p_index); - return *vec; -} - -Vector3 &PackedVector3Array::operator[](int64_t p_index) { - Vector3 *vec = (Vector3 *)internal::gdextension_interface_packed_vector3_array_operator_index((GDExtensionTypePtr *)this, p_index); - return *vec; -} - -const Vector3 *PackedVector3Array::ptr() const { - return (const Vector3 *)internal::gdextension_interface_packed_vector3_array_operator_index_const((GDExtensionTypePtr *)this, 0); -} - -Vector3 *PackedVector3Array::ptrw() { - return (Vector3 *)internal::gdextension_interface_packed_vector3_array_operator_index((GDExtensionTypePtr *)this, 0); -} - -const Variant &Array::operator[](int64_t p_index) const { - const Variant *var = (const Variant *)internal::gdextension_interface_array_operator_index_const((GDExtensionTypePtr *)this, p_index); - return *var; -} - -Variant &Array::operator[](int64_t p_index) { - Variant *var = (Variant *)internal::gdextension_interface_array_operator_index((GDExtensionTypePtr *)this, p_index); - return *var; -} - -void Array::set_typed(uint32_t p_type, const StringName &p_class_name, const Variant &p_script) { - // p_type is not Variant::Type so that header doesn't depend on . - internal::gdextension_interface_array_set_typed((GDExtensionTypePtr *)this, (GDExtensionVariantType)p_type, (GDExtensionConstStringNamePtr)&p_class_name, (GDExtensionConstVariantPtr)&p_script); -} - -void Array::_ref(const Array &p_from) const { - internal::gdextension_interface_array_ref((GDExtensionTypePtr *)this, (GDExtensionConstTypePtr *)&p_from); -} - -const Variant &Dictionary::operator[](const Variant &p_key) const { - const Variant *var = (const Variant *)internal::gdextension_interface_dictionary_operator_index_const((GDExtensionTypePtr *)this, (GDExtensionVariantPtr)&p_key); - return *var; -} - -Variant &Dictionary::operator[](const Variant &p_key) { - Variant *var = (Variant *)internal::gdextension_interface_dictionary_operator_index((GDExtensionTypePtr *)this, (GDExtensionVariantPtr)&p_key); - return *var; -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/plane.cpp b/thirdparty/godot-cpp/src/variant/plane.cpp deleted file mode 100644 index 53dd439..0000000 --- a/thirdparty/godot-cpp/src/variant/plane.cpp +++ /dev/null @@ -1,185 +0,0 @@ -/**************************************************************************/ -/* plane.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -void Plane::set_normal(const Vector3 &p_normal) { - normal = p_normal; -} - -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_perpendicular_normal() const { - static const Vector3 p1 = Vector3(1, 0, 0); - static const Vector3 p2 = Vector3(0, 1, 0); - Vector3 p; - - if (Math::abs(normal.dot(p1)) > 0.99f) { // 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 (Math::is_zero_approx(denom)) { - 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(const Vector3 &p_from, const Vector3 &p_dir, Vector3 *p_intersection) const { - Vector3 segment = p_dir; - real_t den = normal.dot(segment); - - //printf("den is %i\n",den); - if (Math::is_zero_approx(den)) { - return false; - } - - real_t dist = (normal.dot(p_from) - d) / den; - //printf("dist is %i\n",dist); - - if (dist > (real_t)CMP_EPSILON) { //this is a ray, before the emitting pos (p_from) doesn't exist - - return false; - } - - dist = -dist; - *p_intersection = p_from + segment * dist; - - return true; -} - -bool Plane::intersects_segment(const Vector3 &p_begin, const 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 (Math::is_zero_approx(den)) { - return false; - } - - real_t dist = (normal.dot(p_begin) - d) / den; - //printf("dist is %i\n",dist); - - if (dist < (real_t)-CMP_EPSILON || dist > (1.0f + (real_t)CMP_EPSILON)) { - return false; - } - - dist = -dist; - *p_intersection = p_begin + segment * dist; - - return true; -} - -Variant Plane::intersect_3_bind(const Plane &p_plane1, const Plane &p_plane2) const { - Vector3 inters; - if (intersect_3(p_plane1, p_plane2, &inters)) { - return inters; - } else { - return Variant(); - } -} - -Variant Plane::intersects_ray_bind(const Vector3 &p_from, const Vector3 &p_dir) const { - Vector3 inters; - if (intersects_ray(p_from, p_dir, &inters)) { - return inters; - } else { - return Variant(); - } -} - -Variant Plane::intersects_segment_bind(const Vector3 &p_begin, const Vector3 &p_end) const { - Vector3 inters; - if (intersects_segment(p_begin, p_end, &inters)) { - return inters; - } else { - return Variant(); - } -} - -/* misc */ - -bool Plane::is_equal_approx_any_side(const Plane &p_plane) const { - return (normal.is_equal_approx(p_plane.normal) && Math::is_equal_approx(d, p_plane.d)) || (normal.is_equal_approx(-p_plane.normal) && Math::is_equal_approx(d, -p_plane.d)); -} - -bool Plane::is_equal_approx(const Plane &p_plane) const { - return normal.is_equal_approx(p_plane.normal) && Math::is_equal_approx(d, p_plane.d); -} - -Plane::operator String() const { - return "[N: " + normal.operator String() + ", D: " + String::num_real(d, false) + "]"; -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/projection.cpp b/thirdparty/godot-cpp/src/variant/projection.cpp deleted file mode 100644 index c28e651..0000000 --- a/thirdparty/godot-cpp/src/variant/projection.cpp +++ /dev/null @@ -1,941 +0,0 @@ -/**************************************************************************/ -/* projection.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 -#include - -namespace godot { - -float Projection::determinant() const { - return columns[0][3] * columns[1][2] * columns[2][1] * columns[3][0] - columns[0][2] * columns[1][3] * columns[2][1] * columns[3][0] - - columns[0][3] * columns[1][1] * columns[2][2] * columns[3][0] + columns[0][1] * columns[1][3] * columns[2][2] * columns[3][0] + - columns[0][2] * columns[1][1] * columns[2][3] * columns[3][0] - columns[0][1] * columns[1][2] * columns[2][3] * columns[3][0] - - columns[0][3] * columns[1][2] * columns[2][0] * columns[3][1] + columns[0][2] * columns[1][3] * columns[2][0] * columns[3][1] + - columns[0][3] * columns[1][0] * columns[2][2] * columns[3][1] - columns[0][0] * columns[1][3] * columns[2][2] * columns[3][1] - - columns[0][2] * columns[1][0] * columns[2][3] * columns[3][1] + columns[0][0] * columns[1][2] * columns[2][3] * columns[3][1] + - columns[0][3] * columns[1][1] * columns[2][0] * columns[3][2] - columns[0][1] * columns[1][3] * columns[2][0] * columns[3][2] - - columns[0][3] * columns[1][0] * columns[2][1] * columns[3][2] + columns[0][0] * columns[1][3] * columns[2][1] * columns[3][2] + - columns[0][1] * columns[1][0] * columns[2][3] * columns[3][2] - columns[0][0] * columns[1][1] * columns[2][3] * columns[3][2] - - columns[0][2] * columns[1][1] * columns[2][0] * columns[3][3] + columns[0][1] * columns[1][2] * columns[2][0] * columns[3][3] + - columns[0][2] * columns[1][0] * columns[2][1] * columns[3][3] - columns[0][0] * columns[1][2] * columns[2][1] * columns[3][3] - - columns[0][1] * columns[1][0] * columns[2][2] * columns[3][3] + columns[0][0] * columns[1][1] * columns[2][2] * columns[3][3]; -} - -void Projection::set_identity() { - for (int i = 0; i < 4; i++) { - for (int j = 0; j < 4; j++) { - columns[i][j] = (i == j) ? 1 : 0; - } - } -} - -void Projection::set_zero() { - for (int i = 0; i < 4; i++) { - for (int j = 0; j < 4; j++) { - columns[i][j] = 0; - } - } -} - -Plane Projection::xform4(const Plane &p_vec4) const { - Plane ret; - - ret.normal.x = columns[0][0] * p_vec4.normal.x + columns[1][0] * p_vec4.normal.y + columns[2][0] * p_vec4.normal.z + columns[3][0] * p_vec4.d; - ret.normal.y = columns[0][1] * p_vec4.normal.x + columns[1][1] * p_vec4.normal.y + columns[2][1] * p_vec4.normal.z + columns[3][1] * p_vec4.d; - ret.normal.z = columns[0][2] * p_vec4.normal.x + columns[1][2] * p_vec4.normal.y + columns[2][2] * p_vec4.normal.z + columns[3][2] * p_vec4.d; - ret.d = columns[0][3] * p_vec4.normal.x + columns[1][3] * p_vec4.normal.y + columns[2][3] * p_vec4.normal.z + columns[3][3] * p_vec4.d; - return ret; -} - -Vector4 Projection::xform(const Vector4 &p_vec4) const { - return Vector4( - columns[0][0] * p_vec4.x + columns[1][0] * p_vec4.y + columns[2][0] * p_vec4.z + columns[3][0] * p_vec4.w, - columns[0][1] * p_vec4.x + columns[1][1] * p_vec4.y + columns[2][1] * p_vec4.z + columns[3][1] * p_vec4.w, - columns[0][2] * p_vec4.x + columns[1][2] * p_vec4.y + columns[2][2] * p_vec4.z + columns[3][2] * p_vec4.w, - columns[0][3] * p_vec4.x + columns[1][3] * p_vec4.y + columns[2][3] * p_vec4.z + columns[3][3] * p_vec4.w); -} -Vector4 Projection::xform_inv(const Vector4 &p_vec4) const { - return Vector4( - columns[0][0] * p_vec4.x + columns[0][1] * p_vec4.y + columns[0][2] * p_vec4.z + columns[0][3] * p_vec4.w, - columns[1][0] * p_vec4.x + columns[1][1] * p_vec4.y + columns[1][2] * p_vec4.z + columns[1][3] * p_vec4.w, - columns[2][0] * p_vec4.x + columns[2][1] * p_vec4.y + columns[2][2] * p_vec4.z + columns[2][3] * p_vec4.w, - columns[3][0] * p_vec4.x + columns[3][1] * p_vec4.y + columns[3][2] * p_vec4.z + columns[3][3] * p_vec4.w); -} - -void Projection::adjust_perspective_znear(real_t p_new_znear) { - real_t zfar = get_z_far(); - real_t znear = p_new_znear; - - real_t deltaZ = zfar - znear; - columns[2][2] = -(zfar + znear) / deltaZ; - columns[3][2] = -2 * znear * zfar / deltaZ; -} - -Projection Projection::create_depth_correction(bool p_flip_y) { - Projection proj; - proj.set_depth_correction(p_flip_y); - return proj; -} - -Projection Projection::create_light_atlas_rect(const Rect2 &p_rect) { - Projection proj; - proj.set_light_atlas_rect(p_rect); - return proj; -} - -Projection Projection::create_perspective(real_t p_fovy_degrees, real_t p_aspect, real_t p_z_near, real_t p_z_far, bool p_flip_fov) { - Projection proj; - proj.set_perspective(p_fovy_degrees, p_aspect, p_z_near, p_z_far, p_flip_fov); - return proj; -} - -Projection Projection::create_perspective_hmd(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) { - Projection proj; - proj.set_perspective(p_fovy_degrees, p_aspect, p_z_near, p_z_far, p_flip_fov, p_eye, p_intraocular_dist, p_convergence_dist); - return proj; -} - -Projection Projection::create_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) { - Projection proj; - proj.set_for_hmd(p_eye, p_aspect, p_intraocular_dist, p_display_width, p_display_to_lens, p_oversample, p_z_near, p_z_far); - return proj; -} - -Projection Projection::create_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) { - Projection proj; - proj.set_orthogonal(p_left, p_right, p_bottom, p_top, p_zfar, p_zfar); - return proj; -} - -Projection Projection::create_orthogonal_aspect(real_t p_size, real_t p_aspect, real_t p_znear, real_t p_zfar, bool p_flip_fov) { - Projection proj; - proj.set_orthogonal(p_size, p_aspect, p_znear, p_zfar, p_flip_fov); - return proj; -} - -Projection Projection::create_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) { - Projection proj; - proj.set_frustum(p_left, p_right, p_bottom, p_top, p_near, p_far); - return proj; -} - -Projection Projection::create_frustum_aspect(real_t p_size, real_t p_aspect, Vector2 p_offset, real_t p_near, real_t p_far, bool p_flip_fov) { - Projection proj; - proj.set_frustum(p_size, p_aspect, p_offset, p_near, p_far, p_flip_fov); - return proj; -} - -Projection Projection::create_fit_aabb(const AABB &p_aabb) { - Projection proj; - proj.scale_translate_to_fit(p_aabb); - return proj; -} - -Projection Projection::perspective_znear_adjusted(real_t p_new_znear) const { - Projection proj = *this; - proj.adjust_perspective_znear(p_new_znear); - return proj; -} - -Plane Projection::get_projection_plane(Planes p_plane) const { - const real_t *matrix = (const real_t *)this->columns; - - switch (p_plane) { - case 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(); - return new_plane; - } - case 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(); - return new_plane; - } - case 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(); - return new_plane; - } - case 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(); - return new_plane; - } - case 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(); - return new_plane; - } - case 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(); - return new_plane; - } - } - - return Plane(); -} - -Projection Projection::flipped_y() const { - Projection proj = *this; - proj.flip_y(); - return proj; -} - -Projection Projection ::jitter_offseted(const Vector2 &p_offset) const { - Projection proj = *this; - proj.add_jitter_offset(p_offset); - return proj; -} - -void Projection::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 = Math::deg_to_rad(p_fovy_degrees / 2.0); - - deltaZ = p_z_far - p_z_near; - sine = Math::sin(radians); - - if ((deltaZ == 0) || (sine == 0) || (p_aspect == 0)) { - return; - } - cotangent = Math::cos(radians) / sine; - - set_identity(); - - columns[0][0] = cotangent / p_aspect; - columns[1][1] = cotangent; - columns[2][2] = -(p_z_far + p_z_near) / deltaZ; - columns[2][3] = -1; - columns[3][2] = -2 * p_z_near * p_z_far / deltaZ; - columns[3][3] = 0; -} - -void Projection::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(Math::deg_to_rad(p_fovy_degrees / 2.0)); - 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) - Projection cm; - cm.set_identity(); - cm.columns[3][0] = modeltranslation; - *this = *this * cm; -} - -void Projection::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 Projection::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(); - - columns[0][0] = 2.0 / (p_right - p_left); - columns[3][0] = -((p_right + p_left) / (p_right - p_left)); - columns[1][1] = 2.0 / (p_top - p_bottom); - columns[3][1] = -((p_top + p_bottom) / (p_top - p_bottom)); - columns[2][2] = -2.0 / (p_zfar - p_znear); - columns[3][2] = -((p_zfar + p_znear) / (p_zfar - p_znear)); - columns[3][3] = 1.0; -} - -void Projection::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 Projection::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 = &columns[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 Projection::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 Projection::get_z_far() const { - const real_t *matrix = (const real_t *)this->columns; - 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 Projection::get_z_near() const { - const real_t *matrix = (const real_t *)this->columns; - 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 Projection::get_viewport_half_extents() const { - const real_t *matrix = (const real_t *)this->columns; - ///////--- 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); -} - -Vector2 Projection::get_far_plane_half_extents() const { - const real_t *matrix = (const real_t *)this->columns; - ///////--- Far Plane ---/////// - Plane far_plane = Plane(matrix[3] - matrix[2], - matrix[7] - matrix[6], - matrix[11] - matrix[10], - -matrix[15] + matrix[14]); - far_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; - far_plane.intersect_3(right_plane, top_plane, &res); - - return Vector2(res.x, res.y); -} - -bool Projection::get_endpoints(const Transform3D &p_transform, Vector3 *p_8points) const { - Array planes = get_projection_planes(Transform3D()); - 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; - Plane a = planes[intersections[i][0]]; - Plane b = planes[intersections[i][1]]; - Plane c = planes[intersections[i][2]]; - bool res = a.intersect_3(b, c, &point); - ERR_FAIL_COND_V(!res, false); - p_8points[i] = p_transform.xform(point); - } - - return true; -} - -Array Projection::get_projection_planes(const Transform3D &p_transform) const { - /** Fast Plane Extraction from combined modelview/projection matrices. - * References: - * https://web.archive.org/web/20011221205252/https://www.markmorley.com/opengl/frustumculling.html - * https://web.archive.org/web/20061020020112/https://www2.ravensoft.com/users/ggribb/plane%20extraction.pdf - */ - - Array planes; - planes.resize(6); - - const real_t *matrix = (const real_t *)this->columns; - - 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[0] = 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[1] = 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[2] = 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[3] = 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[4] = 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[5] = p_transform.xform(new_plane); - - return planes; -} - -Projection Projection::inverse() const { - Projection cm = *this; - cm.invert(); - return cm; -} - -void Projection::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 determinant = 1.0f; - for (k = 0; k < 4; k++) { - /** Locate k'th pivot element **/ - pvt_val = columns[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 (Math::abs(columns[i][j]) > Math::abs(pvt_val)) { - pvt_i[k] = i; - pvt_j[k] = j; - pvt_val = columns[i][j]; - } - } - } - - /** Product of pivots, gives determinant when finished **/ - determinant *= pvt_val; - if (Math::is_zero_approx(determinant)) { - return; /** 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 = -columns[k][j]; - columns[k][j] = columns[i][j]; - columns[i][j] = hold; - } - } - - /** "Interchange" columns **/ - j = pvt_j[k]; - if (j != k) { /** If columns are different **/ - for (i = 0; i < 4; i++) { - hold = -columns[i][k]; - columns[i][k] = columns[i][j]; - columns[i][j] = hold; - } - } - - /** Divide column by minus pivot value **/ - for (i = 0; i < 4; i++) { - if (i != k) { - columns[i][k] /= (-pvt_val); - } - } - - /** Reduce the matrix **/ - for (i = 0; i < 4; i++) { - hold = columns[i][k]; - for (j = 0; j < 4; j++) { - if (i != k && j != k) { - columns[i][j] += hold * columns[k][j]; - } - } - } - - /** Divide row by pivot **/ - for (j = 0; j < 4; j++) { - if (j != k) { - columns[k][j] /= pvt_val; - } - } - - /** Replace pivot by reciprocal (at last we can touch it). **/ - columns[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 = columns[k][j]; - columns[k][j] = -columns[i][j]; - columns[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 = columns[i][k]; - columns[i][k] = -columns[i][j]; - columns[i][j] = hold; - } - } - } -} - -void Projection::flip_y() { - for (int i = 0; i < 4; i++) { - columns[1][i] = -columns[1][i]; - } -} - -Projection::Projection() { - set_identity(); -} - -Projection Projection::operator*(const Projection &p_matrix) const { - Projection 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 += columns[k][i] * p_matrix.columns[j][k]; - } - new_matrix.columns[j][i] = ab; - } - } - - return new_matrix; -} - -void Projection::set_depth_correction(bool p_flip_y) { - real_t *m = &columns[0][0]; - - m[0] = 1; - m[1] = 0.0; - m[2] = 0.0; - m[3] = 0.0; - m[4] = 0.0; - m[5] = p_flip_y ? -1 : 1; - 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.0; - m[13] = 0.0; - m[14] = 0.5; - m[15] = 1.0; -} - -void Projection::set_light_bias() { - real_t *m = &columns[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 Projection::set_light_atlas_rect(const Rect2 &p_rect) { - real_t *m = &columns[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; -} - -Projection::operator String() const { - String str; - for (int i = 0; i < 4; i++) { - for (int j = 0; j < 4; j++) { - str = str + String((j > 0) ? ", " : "\n") + rtos(columns[i][j]); - } - } - - return str; -} - -real_t Projection::get_aspect() const { - Vector2 vp_he = get_viewport_half_extents(); - return vp_he.x / vp_he.y; -} - -int Projection::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 Projection::is_orthogonal() const { - return columns[3][3] == 1.0; -} - -real_t Projection::get_fov() const { - const real_t *matrix = (const real_t *)this->columns; - - 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::rad_to_deg(Math::acos(Math::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::rad_to_deg(Math::acos(Math::abs(left_plane.normal.x))) + Math::rad_to_deg(Math::acos(Math::abs(right_plane.normal.x))); - } -} - -float Projection::get_lod_multiplier() const { - if (is_orthogonal()) { - return get_viewport_half_extents().x; - } else { - float zn = get_z_near(); - float width = get_viewport_half_extents().x * 2.0; - return 1.0 / (zn / width); - } - - // Usage is lod_size / (lod_distance * multiplier) < threshold -} - -void Projection::make_scale(const Vector3 &p_scale) { - set_identity(); - columns[0][0] = p_scale.x; - columns[1][1] = p_scale.y; - columns[2][2] = p_scale.z; -} - -void Projection::scale_translate_to_fit(const AABB &p_aabb) { - Vector3 min = p_aabb.position; - Vector3 max = p_aabb.position + p_aabb.size; - - columns[0][0] = 2 / (max.x - min.x); - columns[1][0] = 0; - columns[2][0] = 0; - columns[3][0] = -(max.x + min.x) / (max.x - min.x); - - columns[0][1] = 0; - columns[1][1] = 2 / (max.y - min.y); - columns[2][1] = 0; - columns[3][1] = -(max.y + min.y) / (max.y - min.y); - - columns[0][2] = 0; - columns[1][2] = 0; - columns[2][2] = 2 / (max.z - min.z); - columns[3][2] = -(max.z + min.z) / (max.z - min.z); - - columns[0][3] = 0; - columns[1][3] = 0; - columns[2][3] = 0; - columns[3][3] = 1; -} - -void Projection::add_jitter_offset(const Vector2 &p_offset) { - columns[3][0] += p_offset.x; - columns[3][1] += p_offset.y; -} - -Projection::operator Transform3D() const { - Transform3D tr; - const real_t *m = &columns[0][0]; - - tr.basis.rows[0][0] = m[0]; - tr.basis.rows[1][0] = m[1]; - tr.basis.rows[2][0] = m[2]; - - tr.basis.rows[0][1] = m[4]; - tr.basis.rows[1][1] = m[5]; - tr.basis.rows[2][1] = m[6]; - - tr.basis.rows[0][2] = m[8]; - tr.basis.rows[1][2] = m[9]; - tr.basis.rows[2][2] = m[10]; - - tr.origin.x = m[12]; - tr.origin.y = m[13]; - tr.origin.z = m[14]; - - return tr; -} - -Projection::Projection(const Vector4 &p_x, const Vector4 &p_y, const Vector4 &p_z, const Vector4 &p_w) { - columns[0] = p_x; - columns[1] = p_y; - columns[2] = p_z; - columns[3] = p_w; -} - -Projection::Projection(const Transform3D &p_transform) { - const Transform3D &tr = p_transform; - real_t *m = &columns[0][0]; - - m[0] = tr.basis.rows[0][0]; - m[1] = tr.basis.rows[1][0]; - m[2] = tr.basis.rows[2][0]; - m[3] = 0.0; - m[4] = tr.basis.rows[0][1]; - m[5] = tr.basis.rows[1][1]; - m[6] = tr.basis.rows[2][1]; - m[7] = 0.0; - m[8] = tr.basis.rows[0][2]; - m[9] = tr.basis.rows[1][2]; - m[10] = tr.basis.rows[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; -} - -Projection::~Projection() { -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/quaternion.cpp b/thirdparty/godot-cpp/src/variant/quaternion.cpp deleted file mode 100644 index 9d4d838..0000000 --- a/thirdparty/godot-cpp/src/variant/quaternion.cpp +++ /dev/null @@ -1,353 +0,0 @@ -/**************************************************************************/ -/* quaternion.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -real_t Quaternion::angle_to(const Quaternion &p_to) const { - real_t d = dot(p_to); - return Math::acos(CLAMP(d * d * 2 - 1, -1, 1)); -} - -// 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 Quaternion::get_euler_xyz() const { - Basis m(*this); - return m.get_euler(EULER_ORDER_XYZ); -} - -// 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 Quaternion::get_euler_yxz() const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!is_normalized(), Vector3(0, 0, 0), "The quaternion must be normalized."); -#endif - Basis m(*this); - return m.get_euler(EULER_ORDER_YXZ); -} - -void Quaternion::operator*=(const Quaternion &p_q) { - real_t xx = w * p_q.x + x * p_q.w + y * p_q.z - z * p_q.y; - real_t yy = w * p_q.y + y * p_q.w + z * p_q.x - x * p_q.z; - real_t zz = w * p_q.z + z * p_q.w + x * p_q.y - y * p_q.x; - w = w * p_q.w - x * p_q.x - y * p_q.y - z * p_q.z; - x = xx; - y = yy; - z = zz; -} - -Quaternion Quaternion::operator*(const Quaternion &p_q) const { - Quaternion r = *this; - r *= p_q; - return r; -} - -bool Quaternion::is_equal_approx(const Quaternion &p_quaternion) const { - return Math::is_equal_approx(x, p_quaternion.x) && Math::is_equal_approx(y, p_quaternion.y) && Math::is_equal_approx(z, p_quaternion.z) && Math::is_equal_approx(w, p_quaternion.w); -} - -real_t Quaternion::length() const { - return Math::sqrt(length_squared()); -} - -void Quaternion::normalize() { - *this /= length(); -} - -Quaternion Quaternion::normalized() const { - return *this / length(); -} - -bool Quaternion::is_normalized() const { - return Math::is_equal_approx(length_squared(), 1, (real_t)UNIT_EPSILON); //use less epsilon -} - -Quaternion Quaternion::inverse() const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!is_normalized(), Quaternion(), "The quaternion must be normalized."); -#endif - return Quaternion(-x, -y, -z, w); -} - -Quaternion Quaternion::log() const { - Quaternion src = *this; - Vector3 src_v = src.get_axis() * src.get_angle(); - return Quaternion(src_v.x, src_v.y, src_v.z, 0); -} - -Quaternion Quaternion::exp() const { - Quaternion src = *this; - Vector3 src_v = Vector3(src.x, src.y, src.z); - real_t theta = src_v.length(); - src_v = src_v.normalized(); - if (theta < CMP_EPSILON || !src_v.is_normalized()) { - return Quaternion(0, 0, 0, 1); - } - return Quaternion(src_v, theta); -} - -Quaternion Quaternion::slerp(const Quaternion &p_to, const real_t &p_weight) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!is_normalized(), Quaternion(), "The start quaternion must be normalized."); - ERR_FAIL_COND_V_MSG(!p_to.is_normalized(), Quaternion(), "The end quaternion must be normalized."); -#endif - Quaternion to1; - real_t omega, cosom, sinom, scale0, scale1; - - // calc cosine - cosom = dot(p_to); - - // adjust signs (if necessary) - if (cosom < 0.0f) { - cosom = -cosom; - to1 = -p_to; - } else { - to1 = p_to; - } - - // calculate coefficients - - if ((1.0f - cosom) > (real_t)CMP_EPSILON) { - // standard case (slerp) - omega = Math::acos(cosom); - sinom = Math::sin(omega); - scale0 = Math::sin((1.0 - p_weight) * omega) / sinom; - scale1 = Math::sin(p_weight * omega) / sinom; - } else { - // "from" and "to" quaternions are very close - // ... so we can do a linear interpolation - scale0 = 1.0f - p_weight; - scale1 = p_weight; - } - // calculate final values - return Quaternion( - scale0 * x + scale1 * to1.x, - scale0 * y + scale1 * to1.y, - scale0 * z + scale1 * to1.z, - scale0 * w + scale1 * to1.w); -} - -Quaternion Quaternion::slerpni(const Quaternion &p_to, const real_t &p_weight) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!is_normalized(), Quaternion(), "The start quaternion must be normalized."); - ERR_FAIL_COND_V_MSG(!p_to.is_normalized(), Quaternion(), "The end quaternion must be normalized."); -#endif - const Quaternion &from = *this; - - real_t dot = from.dot(p_to); - - if (Math::absf(dot) > 0.9999f) { - return from; - } - - real_t theta = Math::acos(dot), - sinT = 1.0f / Math::sin(theta), - newFactor = Math::sin(p_weight * theta) * sinT, - invFactor = Math::sin((1.0f - p_weight) * theta) * sinT; - - return Quaternion(invFactor * from.x + newFactor * p_to.x, - invFactor * from.y + newFactor * p_to.y, - invFactor * from.z + newFactor * p_to.z, - invFactor * from.w + newFactor * p_to.w); -} - -Quaternion Quaternion::spherical_cubic_interpolate(const Quaternion &p_b, const Quaternion &p_pre_a, const Quaternion &p_post_b, const real_t &p_weight) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!is_normalized(), Quaternion(), "The start quaternion must be normalized."); - ERR_FAIL_COND_V_MSG(!p_b.is_normalized(), Quaternion(), "The end quaternion must be normalized."); -#endif - Quaternion from_q = *this; - Quaternion pre_q = p_pre_a; - Quaternion to_q = p_b; - Quaternion post_q = p_post_b; - - // Align flip phases. - from_q = Basis(from_q).get_rotation_quaternion(); - pre_q = Basis(pre_q).get_rotation_quaternion(); - to_q = Basis(to_q).get_rotation_quaternion(); - post_q = Basis(post_q).get_rotation_quaternion(); - - // Flip quaternions to shortest path if necessary. - bool flip1 = Math::sign(from_q.dot(pre_q)); - pre_q = flip1 ? -pre_q : pre_q; - bool flip2 = Math::sign(from_q.dot(to_q)); - to_q = flip2 ? -to_q : to_q; - bool flip3 = flip2 ? to_q.dot(post_q) <= 0 : Math::sign(to_q.dot(post_q)); - post_q = flip3 ? -post_q : post_q; - - // Calc by Expmap in from_q space. - Quaternion ln_from = Quaternion(0, 0, 0, 0); - Quaternion ln_to = (from_q.inverse() * to_q).log(); - Quaternion ln_pre = (from_q.inverse() * pre_q).log(); - Quaternion ln_post = (from_q.inverse() * post_q).log(); - Quaternion ln = Quaternion(0, 0, 0, 0); - ln.x = Math::cubic_interpolate(ln_from.x, ln_to.x, ln_pre.x, ln_post.x, p_weight); - ln.y = Math::cubic_interpolate(ln_from.y, ln_to.y, ln_pre.y, ln_post.y, p_weight); - ln.z = Math::cubic_interpolate(ln_from.z, ln_to.z, ln_pre.z, ln_post.z, p_weight); - Quaternion q1 = from_q * ln.exp(); - - // Calc by Expmap in to_q space. - ln_from = (to_q.inverse() * from_q).log(); - ln_to = Quaternion(0, 0, 0, 0); - ln_pre = (to_q.inverse() * pre_q).log(); - ln_post = (to_q.inverse() * post_q).log(); - ln = Quaternion(0, 0, 0, 0); - ln.x = Math::cubic_interpolate(ln_from.x, ln_to.x, ln_pre.x, ln_post.x, p_weight); - ln.y = Math::cubic_interpolate(ln_from.y, ln_to.y, ln_pre.y, ln_post.y, p_weight); - ln.z = Math::cubic_interpolate(ln_from.z, ln_to.z, ln_pre.z, ln_post.z, p_weight); - Quaternion q2 = to_q * ln.exp(); - - // To cancel error made by Expmap ambiguity, do blends. - return q1.slerp(q2, p_weight); -} - -Quaternion Quaternion::spherical_cubic_interpolate_in_time(const Quaternion &p_b, const Quaternion &p_pre_a, const Quaternion &p_post_b, const real_t &p_weight, - const real_t &p_b_t, const real_t &p_pre_a_t, const real_t &p_post_b_t) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!is_normalized(), Quaternion(), "The start quaternion must be normalized."); - ERR_FAIL_COND_V_MSG(!p_b.is_normalized(), Quaternion(), "The end quaternion must be normalized."); -#endif - Quaternion from_q = *this; - Quaternion pre_q = p_pre_a; - Quaternion to_q = p_b; - Quaternion post_q = p_post_b; - - // Align flip phases. - from_q = Basis(from_q).get_rotation_quaternion(); - pre_q = Basis(pre_q).get_rotation_quaternion(); - to_q = Basis(to_q).get_rotation_quaternion(); - post_q = Basis(post_q).get_rotation_quaternion(); - - // Flip quaternions to shortest path if necessary. - bool flip1 = Math::sign(from_q.dot(pre_q)); - pre_q = flip1 ? -pre_q : pre_q; - bool flip2 = Math::sign(from_q.dot(to_q)); - to_q = flip2 ? -to_q : to_q; - bool flip3 = flip2 ? to_q.dot(post_q) <= 0 : Math::sign(to_q.dot(post_q)); - post_q = flip3 ? -post_q : post_q; - - // Calc by Expmap in from_q space. - Quaternion ln_from = Quaternion(0, 0, 0, 0); - Quaternion ln_to = (from_q.inverse() * to_q).log(); - Quaternion ln_pre = (from_q.inverse() * pre_q).log(); - Quaternion ln_post = (from_q.inverse() * post_q).log(); - Quaternion ln = Quaternion(0, 0, 0, 0); - ln.x = Math::cubic_interpolate_in_time(ln_from.x, ln_to.x, ln_pre.x, ln_post.x, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - ln.y = Math::cubic_interpolate_in_time(ln_from.y, ln_to.y, ln_pre.y, ln_post.y, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - ln.z = Math::cubic_interpolate_in_time(ln_from.z, ln_to.z, ln_pre.z, ln_post.z, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - Quaternion q1 = from_q * ln.exp(); - - // Calc by Expmap in to_q space. - ln_from = (to_q.inverse() * from_q).log(); - ln_to = Quaternion(0, 0, 0, 0); - ln_pre = (to_q.inverse() * pre_q).log(); - ln_post = (to_q.inverse() * post_q).log(); - ln = Quaternion(0, 0, 0, 0); - ln.x = Math::cubic_interpolate_in_time(ln_from.x, ln_to.x, ln_pre.x, ln_post.x, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - ln.y = Math::cubic_interpolate_in_time(ln_from.y, ln_to.y, ln_pre.y, ln_post.y, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - ln.z = Math::cubic_interpolate_in_time(ln_from.z, ln_to.z, ln_pre.z, ln_post.z, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - Quaternion q2 = to_q * ln.exp(); - - // To cancel error made by Expmap ambiguity, do blends. - return q1.slerp(q2, p_weight); -} - -Quaternion::operator String() const { - return "(" + String::num_real(x, false) + ", " + String::num_real(y, false) + ", " + String::num_real(z, false) + ", " + String::num_real(w, false) + ")"; -} - -Vector3 Quaternion::get_axis() const { - if (Math::abs(w) > 1 - CMP_EPSILON) { - return Vector3(x, y, z); - } - real_t r = ((real_t)1) / Math::sqrt(1 - w * w); - return Vector3(x * r, y * r, z * r); -} - -real_t Quaternion::get_angle() const { - return 2 * Math::acos(w); -} - -Quaternion::Quaternion(const Vector3 &p_axis, real_t p_angle) { -#ifdef MATH_CHECKS - ERR_FAIL_COND_MSG(!p_axis.is_normalized(), "The axis Vector3 must be normalized."); -#endif - real_t d = p_axis.length(); - if (d == 0) { - x = 0; - y = 0; - z = 0; - w = 0; - } else { - real_t sin_angle = Math::sin(p_angle * 0.5f); - real_t cos_angle = Math::cos(p_angle * 0.5f); - real_t s = sin_angle / d; - x = p_axis.x * s; - y = p_axis.y * s; - z = p_axis.z * s; - w = cos_angle; - } -} - -// Euler constructor 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). -Quaternion::Quaternion(const Vector3 &p_euler) { - real_t half_a1 = p_euler.y * 0.5f; - real_t half_a2 = p_euler.x * 0.5f; - real_t half_a3 = p_euler.z * 0.5f; - - // 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 = Math::cos(half_a1); - real_t sin_a1 = Math::sin(half_a1); - real_t cos_a2 = Math::cos(half_a2); - real_t sin_a2 = Math::sin(half_a2); - real_t cos_a3 = Math::cos(half_a3); - real_t sin_a3 = Math::sin(half_a3); - - x = sin_a1 * cos_a2 * sin_a3 + cos_a1 * sin_a2 * cos_a3; - y = sin_a1 * cos_a2 * cos_a3 - cos_a1 * sin_a2 * sin_a3; - z = -sin_a1 * sin_a2 * cos_a3 + cos_a1 * cos_a2 * sin_a3; - w = sin_a1 * sin_a2 * sin_a3 + cos_a1 * cos_a2 * cos_a3; -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/rect2.cpp b/thirdparty/godot-cpp/src/variant/rect2.cpp deleted file mode 100644 index a70fee6..0000000 --- a/thirdparty/godot-cpp/src/variant/rect2.cpp +++ /dev/null @@ -1,291 +0,0 @@ -/**************************************************************************/ -/* rect2.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -bool Rect2::is_equal_approx(const Rect2 &p_rect) const { - return position.is_equal_approx(p_rect.position) && size.is_equal_approx(p_rect.size); -} - -bool Rect2::intersects_segment(const Point2 &p_from, const Point2 &p_to, Point2 *r_pos, Point2 *r_normal) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0)) { - ERR_PRINT("Rect2 size is negative, this is not supported. Use Rect2.abs() to get a Rect2 with a positive size."); - } -#endif - 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_pos) { - *r_pos = p_from + rel * min; - } - - return true; -} - -bool Rect2::intersects_transformed(const Transform2D &p_xform, const Rect2 &p_rect) const { -#ifdef MATH_CHECKS - if (unlikely(size.x < 0 || size.y < 0 || p_rect.size.x < 0 || p_rect.size.y < 0)) { - ERR_PRINT("Rect2 size is negative, this is not supported. Use Rect2.abs() to get a Rect2 with a positive size."); - } -#endif - //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.columns[0].dot(xf_points2[0]); - real_t mina = maxa; - - real_t dp = p_xform.columns[0].dot(xf_points2[1]); - maxa = Math::max(dp, maxa); - mina = Math::min(dp, mina); - - dp = p_xform.columns[0].dot(xf_points2[2]); - maxa = Math::max(dp, maxa); - mina = Math::min(dp, mina); - - dp = p_xform.columns[0].dot(xf_points2[3]); - maxa = Math::max(dp, maxa); - mina = Math::min(dp, mina); - - real_t maxb = p_xform.columns[0].dot(xf_points[0]); - real_t minb = maxb; - - dp = p_xform.columns[0].dot(xf_points[1]); - maxb = Math::max(dp, maxb); - minb = Math::min(dp, minb); - - dp = p_xform.columns[0].dot(xf_points[2]); - maxb = Math::max(dp, maxb); - minb = Math::min(dp, minb); - - dp = p_xform.columns[0].dot(xf_points[3]); - maxb = Math::max(dp, maxb); - minb = Math::min(dp, minb); - - if (mina > maxb) { - return false; - } - if (minb > maxa) { - return false; - } - - maxa = p_xform.columns[1].dot(xf_points2[0]); - mina = maxa; - - dp = p_xform.columns[1].dot(xf_points2[1]); - maxa = Math::max(dp, maxa); - mina = Math::min(dp, mina); - - dp = p_xform.columns[1].dot(xf_points2[2]); - maxa = Math::max(dp, maxa); - mina = Math::min(dp, mina); - - dp = p_xform.columns[1].dot(xf_points2[3]); - maxa = Math::max(dp, maxa); - mina = Math::min(dp, mina); - - maxb = p_xform.columns[1].dot(xf_points[0]); - minb = maxb; - - dp = p_xform.columns[1].dot(xf_points[1]); - maxb = Math::max(dp, maxb); - minb = Math::min(dp, minb); - - dp = p_xform.columns[1].dot(xf_points[2]); - maxb = Math::max(dp, maxb); - minb = Math::min(dp, minb); - - dp = p_xform.columns[1].dot(xf_points[3]); - maxb = Math::max(dp, maxb); - minb = Math::min(dp, minb); - - if (mina > maxb) { - return false; - } - if (minb > maxa) { - return false; - } - - return true; -} - -Rect2::operator String() const { - return "[P: " + position.operator String() + ", S: " + size + "]"; -} - -Rect2::operator Rect2i() const { - return Rect2i(position, size); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/rect2i.cpp b/thirdparty/godot-cpp/src/variant/rect2i.cpp deleted file mode 100644 index 3ea7147..0000000 --- a/thirdparty/godot-cpp/src/variant/rect2i.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/**************************************************************************/ -/* rect2i.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -Rect2i::operator String() const { - return "[P: " + position.operator String() + ", S: " + size + "]"; -} - -Rect2i::operator Rect2() const { - return Rect2(position, size); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/transform2d.cpp b/thirdparty/godot-cpp/src/variant/transform2d.cpp deleted file mode 100644 index 530a99e..0000000 --- a/thirdparty/godot-cpp/src/variant/transform2d.cpp +++ /dev/null @@ -1,323 +0,0 @@ -/**************************************************************************/ -/* transform2d.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -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. - SWAP(columns[0][1], columns[1][0]); - columns[2] = basis_xform(-columns[2]); -} - -Transform2D Transform2D::inverse() const { - Transform2D inv = *this; - inv.invert(); - return inv; -} - -void Transform2D::affine_invert() { - real_t det = basis_determinant(); -#ifdef MATH_CHECKS - ERR_FAIL_COND(det == 0); -#endif - real_t idet = 1.0f / det; - - SWAP(columns[0][0], columns[1][1]); - columns[0] *= Vector2(idet, -idet); - columns[1] *= Vector2(-idet, idet); - - columns[2] = basis_xform(-columns[2]); -} - -Transform2D Transform2D::affine_inverse() const { - Transform2D inv = *this; - inv.affine_invert(); - return inv; -} - -void Transform2D::rotate(const real_t p_angle) { - *this = Transform2D(p_angle, Vector2()) * (*this); -} - -real_t Transform2D::get_skew() const { - real_t det = basis_determinant(); - return Math::acos(columns[0].normalized().dot(SIGN(det) * columns[1].normalized())) - (real_t)Math_PI * 0.5f; -} - -void Transform2D::set_skew(const real_t p_angle) { - real_t det = basis_determinant(); - columns[1] = SIGN(det) * columns[0].rotated(((real_t)Math_PI * 0.5f + p_angle)).normalized() * columns[1].length(); -} - -real_t Transform2D::get_rotation() const { - return Math::atan2(columns[0].y, columns[0].x); -} - -void Transform2D::set_rotation(const real_t p_rot) { - Size2 scale = get_scale(); - real_t cr = Math::cos(p_rot); - real_t sr = Math::sin(p_rot); - columns[0][0] = cr; - columns[0][1] = sr; - columns[1][0] = -sr; - columns[1][1] = cr; - set_scale(scale); -} - -Transform2D::Transform2D(const real_t p_rot, const Vector2 &p_pos) { - real_t cr = Math::cos(p_rot); - real_t sr = Math::sin(p_rot); - columns[0][0] = cr; - columns[0][1] = sr; - columns[1][0] = -sr; - columns[1][1] = cr; - columns[2] = p_pos; -} - -Transform2D::Transform2D(const real_t p_rot, const Size2 &p_scale, const real_t p_skew, const Vector2 &p_pos) { - columns[0][0] = Math::cos(p_rot) * p_scale.x; - columns[1][1] = Math::cos(p_rot + p_skew) * p_scale.y; - columns[1][0] = -Math::sin(p_rot + p_skew) * p_scale.y; - columns[0][1] = Math::sin(p_rot) * p_scale.x; - columns[2] = p_pos; -} - -Size2 Transform2D::get_scale() const { - real_t det_sign = Math::sign(basis_determinant()); - return Size2(columns[0].length(), det_sign * columns[1].length()); -} - -void Transform2D::set_scale(const Size2 &p_scale) { - columns[0].normalize(); - columns[1].normalize(); - columns[0] *= p_scale.x; - columns[1] *= p_scale.y; -} - -void Transform2D::scale(const Size2 &p_scale) { - scale_basis(p_scale); - columns[2] *= p_scale; -} - -void Transform2D::scale_basis(const Size2 &p_scale) { - columns[0][0] *= p_scale.x; - columns[0][1] *= p_scale.y; - columns[1][0] *= p_scale.x; - columns[1][1] *= p_scale.y; -} - -void Transform2D::translate_local(const real_t p_tx, const real_t p_ty) { - translate_local(Vector2(p_tx, p_ty)); -} - -void Transform2D::translate_local(const Vector2 &p_translation) { - columns[2] += basis_xform(p_translation); -} - -void Transform2D::orthonormalize() { - // Gram-Schmidt Process - - Vector2 x = columns[0]; - Vector2 y = columns[1]; - - x.normalize(); - y = (y - x * (x.dot(y))); - y.normalize(); - - columns[0] = x; - columns[1] = y; -} - -Transform2D Transform2D::orthonormalized() const { - Transform2D on = *this; - on.orthonormalize(); - return on; -} - -bool Transform2D::is_equal_approx(const Transform2D &p_transform) const { - return columns[0].is_equal_approx(p_transform.columns[0]) && columns[1].is_equal_approx(p_transform.columns[1]) && columns[2].is_equal_approx(p_transform.columns[2]); -} - -Transform2D Transform2D::looking_at(const Vector2 &p_target) const { - Transform2D return_trans = Transform2D(get_rotation(), get_origin()); - Vector2 target_position = affine_inverse().xform(p_target); - return_trans.set_rotation(return_trans.get_rotation() + (target_position * get_scale()).angle()); - return return_trans; -} - -bool Transform2D::operator==(const Transform2D &p_transform) const { - for (int i = 0; i < 3; i++) { - if (columns[i] != p_transform.columns[i]) { - return false; - } - } - - return true; -} - -bool Transform2D::operator!=(const Transform2D &p_transform) const { - for (int i = 0; i < 3; i++) { - if (columns[i] != p_transform.columns[i]) { - return true; - } - } - - return false; -} - -void Transform2D::operator*=(const Transform2D &p_transform) { - columns[2] = xform(p_transform.columns[2]); - - real_t x0, x1, y0, y1; - - x0 = tdotx(p_transform.columns[0]); - x1 = tdoty(p_transform.columns[0]); - y0 = tdotx(p_transform.columns[1]); - y1 = tdoty(p_transform.columns[1]); - - columns[0][0] = x0; - columns[0][1] = x1; - columns[1][0] = y0; - columns[1][1] = y1; -} - -Transform2D Transform2D::operator*(const Transform2D &p_transform) const { - Transform2D t = *this; - t *= p_transform; - return t; -} - -Transform2D Transform2D::basis_scaled(const Size2 &p_scale) const { - Transform2D copy = *this; - copy.scale_basis(p_scale); - return copy; -} - -Transform2D Transform2D::scaled(const Size2 &p_scale) const { - // Equivalent to left multiplication - Transform2D copy = *this; - copy.scale(p_scale); - return copy; -} - -Transform2D Transform2D::scaled_local(const Size2 &p_scale) const { - // Equivalent to right multiplication - return Transform2D(columns[0] * p_scale.x, columns[1] * p_scale.y, columns[2]); -} - -Transform2D Transform2D::untranslated() const { - Transform2D copy = *this; - copy.columns[2] = Vector2(); - return copy; -} - -Transform2D Transform2D::translated(const Vector2 &p_offset) const { - // Equivalent to left multiplication - return Transform2D(columns[0], columns[1], columns[2] + p_offset); -} - -Transform2D Transform2D::translated_local(const Vector2 &p_offset) const { - // Equivalent to right multiplication - return Transform2D(columns[0], columns[1], columns[2] + basis_xform(p_offset)); -} - -Transform2D Transform2D::rotated(const real_t p_angle) const { - // Equivalent to left multiplication - return Transform2D(p_angle, Vector2()) * (*this); -} - -Transform2D Transform2D::rotated_local(const real_t p_angle) const { - // Equivalent to right multiplication - return (*this) * Transform2D(p_angle, Vector2()); // Could be optimized, because origin transform can be skipped. -} - -real_t Transform2D::basis_determinant() const { - return columns[0].x * columns[1].y - columns[0].y * columns[1].x; -} - -Transform2D Transform2D::interpolate_with(const Transform2D &p_transform, const 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(Math::cos(r1), Math::sin(r1)); - Vector2 v2(Math::cos(r2), Math::sin(r2)); - - real_t dot = v1.dot(v2); - - dot = Math::clamp(dot, (real_t)-1.0, (real_t)1.0); - - Vector2 v; - - if (dot > 0.9995f) { - v = v1.lerp(v2, p_c).normalized(); //linearly interpolate to avoid numerical precision issues - } else { - real_t angle = p_c * Math::acos(dot); - Vector2 v3 = (v2 - v1 * dot).normalized(); - v = v1 * Math::cos(angle) + v3 * Math::sin(angle); - } - - //construct matrix - Transform2D res(v.angle(), p1.lerp(p2, p_c)); - res.scale_basis(s1.lerp(s2, p_c)); - return res; -} - -void Transform2D::operator*=(const real_t p_val) { - columns[0] *= p_val; - columns[1] *= p_val; - columns[2] *= p_val; -} - -Transform2D Transform2D::operator*(const real_t p_val) const { - Transform2D ret(*this); - ret *= p_val; - return ret; -} - -Transform2D::operator String() const { - return "[X: " + columns[0].operator String() + - ", Y: " + columns[1].operator String() + - ", O: " + columns[2].operator String() + "]"; -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/transform3d.cpp b/thirdparty/godot-cpp/src/variant/transform3d.cpp deleted file mode 100644 index 1a4189e..0000000 --- a/thirdparty/godot-cpp/src/variant/transform3d.cpp +++ /dev/null @@ -1,232 +0,0 @@ -/**************************************************************************/ -/* transform3d.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -void Transform3D::affine_invert() { - basis.invert(); - origin = basis.xform(-origin); -} - -Transform3D Transform3D::affine_inverse() const { - Transform3D ret = *this; - ret.affine_invert(); - return ret; -} - -void Transform3D::invert() { - basis.transpose(); - origin = basis.xform(-origin); -} - -Transform3D Transform3D::inverse() const { - // FIXME: this function assumes the basis is a rotation matrix, with no scaling. - // Transform3D::affine_inverse can handle matrices with scaling, so GDScript should eventually use that. - Transform3D ret = *this; - ret.invert(); - return ret; -} - -void Transform3D::rotate(const Vector3 &p_axis, real_t p_angle) { - *this = rotated(p_axis, p_angle); -} - -Transform3D Transform3D::rotated(const Vector3 &p_axis, real_t p_angle) const { - // Equivalent to left multiplication - Basis p_basis(p_axis, p_angle); - return Transform3D(p_basis * basis, p_basis.xform(origin)); -} - -Transform3D Transform3D::rotated_local(const Vector3 &p_axis, real_t p_angle) const { - // Equivalent to right multiplication - Basis p_basis(p_axis, p_angle); - return Transform3D(basis * p_basis, origin); -} - -void Transform3D::rotate_basis(const Vector3 &p_axis, real_t p_angle) { - basis.rotate(p_axis, p_angle); -} - -Transform3D Transform3D::looking_at(const Vector3 &p_target, const Vector3 &p_up) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(origin.is_equal_approx(p_target), Transform3D(), "The transform's origin and target can't be equal."); -#endif - Transform3D t = *this; - t.basis = Basis::looking_at(p_target - origin, p_up); - return t; -} - -void Transform3D::set_look_at(const Vector3 &p_eye, const Vector3 &p_target, const Vector3 &p_up) { -#ifdef MATH_CHECKS - ERR_FAIL_COND_MSG(p_eye.is_equal_approx(p_target), "The eye and target vectors can't be equal."); -#endif - basis = Basis::looking_at(p_target - p_eye, p_up); - origin = p_eye; -} - -Transform3D Transform3D::interpolate_with(const Transform3D &p_transform, real_t p_c) const { - Transform3D interp; - - Vector3 src_scale = basis.get_scale(); - Quaternion src_rot = basis.get_rotation_quaternion(); - Vector3 src_loc = origin; - - Vector3 dst_scale = p_transform.basis.get_scale(); - Quaternion dst_rot = p_transform.basis.get_rotation_quaternion(); - Vector3 dst_loc = p_transform.origin; - - interp.basis.set_quaternion_scale(src_rot.slerp(dst_rot, p_c).normalized(), src_scale.lerp(dst_scale, p_c)); - interp.origin = src_loc.lerp(dst_loc, p_c); - - return interp; -} - -void Transform3D::scale(const Vector3 &p_scale) { - basis.scale(p_scale); - origin *= p_scale; -} - -Transform3D Transform3D::scaled(const Vector3 &p_scale) const { - // Equivalent to left multiplication - return Transform3D(basis.scaled(p_scale), origin * p_scale); -} - -Transform3D Transform3D::scaled_local(const Vector3 &p_scale) const { - // Equivalent to right multiplication - return Transform3D(basis.scaled_local(p_scale), origin); -} - -void Transform3D::scale_basis(const Vector3 &p_scale) { - basis.scale(p_scale); -} - -void Transform3D::translate_local(real_t p_tx, real_t p_ty, real_t p_tz) { - translate_local(Vector3(p_tx, p_ty, p_tz)); -} - -void Transform3D::translate_local(const Vector3 &p_translation) { - for (int i = 0; i < 3; i++) { - origin[i] += basis[i].dot(p_translation); - } -} - -Transform3D Transform3D::translated(const Vector3 &p_translation) const { - // Equivalent to left multiplication - return Transform3D(basis, origin + p_translation); -} - -Transform3D Transform3D::translated_local(const Vector3 &p_translation) const { - // Equivalent to right multiplication - return Transform3D(basis, origin + basis.xform(p_translation)); -} - -void Transform3D::orthonormalize() { - basis.orthonormalize(); -} - -Transform3D Transform3D::orthonormalized() const { - Transform3D _copy = *this; - _copy.orthonormalize(); - return _copy; -} - -void Transform3D::orthogonalize() { - basis.orthogonalize(); -} - -Transform3D Transform3D::orthogonalized() const { - Transform3D _copy = *this; - _copy.orthogonalize(); - return _copy; -} - -bool Transform3D::is_equal_approx(const Transform3D &p_transform) const { - return basis.is_equal_approx(p_transform.basis) && origin.is_equal_approx(p_transform.origin); -} - -bool Transform3D::operator==(const Transform3D &p_transform) const { - return (basis == p_transform.basis && origin == p_transform.origin); -} - -bool Transform3D::operator!=(const Transform3D &p_transform) const { - return (basis != p_transform.basis || origin != p_transform.origin); -} - -void Transform3D::operator*=(const Transform3D &p_transform) { - origin = xform(p_transform.origin); - basis *= p_transform.basis; -} - -Transform3D Transform3D::operator*(const Transform3D &p_transform) const { - Transform3D t = *this; - t *= p_transform; - return t; -} - -void Transform3D::operator*=(const real_t p_val) { - origin *= p_val; - basis *= p_val; -} - -Transform3D Transform3D::operator*(const real_t p_val) const { - Transform3D ret(*this); - ret *= p_val; - return ret; -} - -Transform3D::operator String() const { - return "[X: " + basis.get_column(0).operator String() + - ", Y: " + basis.get_column(1).operator String() + - ", Z: " + basis.get_column(2).operator String() + - ", O: " + origin.operator String() + "]"; -} - -Transform3D::Transform3D(const Basis &p_basis, const Vector3 &p_origin) : - basis(p_basis), - origin(p_origin) { -} - -Transform3D::Transform3D(const Vector3 &p_x, const Vector3 &p_y, const Vector3 &p_z, const Vector3 &p_origin) : - origin(p_origin) { - basis.set_column(0, p_x); - basis.set_column(1, p_y); - basis.set_column(2, p_z); -} - -Transform3D::Transform3D(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 ox, real_t oy, real_t oz) { - basis = Basis(xx, xy, xz, yx, yy, yz, zx, zy, zz); - origin = Vector3(ox, oy, oz); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/variant.cpp b/thirdparty/godot-cpp/src/variant/variant.cpp deleted file mode 100644 index 161362b..0000000 --- a/thirdparty/godot-cpp/src/variant/variant.cpp +++ /dev/null @@ -1,784 +0,0 @@ -/**************************************************************************/ -/* variant.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 { - -GDExtensionVariantFromTypeConstructorFunc Variant::from_type_constructor[Variant::VARIANT_MAX]{}; -GDExtensionTypeFromVariantConstructorFunc 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::gdextension_interface_get_variant_from_type_constructor((GDExtensionVariantType)i); - to_type_constructor[i] = internal::gdextension_interface_get_variant_to_type_constructor((GDExtensionVariantType)i); - } - - StringName::init_bindings(); - String::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::gdextension_interface_variant_new_nil(_native_ptr()); -} - -Variant::Variant(GDExtensionConstVariantPtr native_ptr) { - internal::gdextension_interface_variant_new_copy(_native_ptr(), native_ptr); -} - -Variant::Variant(const Variant &other) { - internal::gdextension_interface_variant_new_copy(_native_ptr(), other._native_ptr()); -} - -Variant::Variant(Variant &&other) { - std::swap(opaque, other.opaque); -} - -Variant::Variant(bool v) { - GDExtensionBool encoded; - PtrToArg::encode(v, &encoded); - from_type_constructor[BOOL](_native_ptr(), &encoded); -} - -Variant::Variant(int64_t v) { - GDExtensionInt encoded; - PtrToArg::encode(v, &encoded); - from_type_constructor[INT](_native_ptr(), &encoded); -} - -Variant::Variant(double v) { - double encoded; - PtrToArg::encode(v, &encoded); - from_type_constructor[FLOAT](_native_ptr(), &encoded); -} - -Variant::Variant(const String &v) { - from_type_constructor[STRING](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const Vector2 &v) { - from_type_constructor[VECTOR2](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Vector2i &v) { - from_type_constructor[VECTOR2I](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Rect2 &v) { - from_type_constructor[RECT2](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Rect2i &v) { - from_type_constructor[RECT2I](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Vector3 &v) { - from_type_constructor[VECTOR3](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Vector3i &v) { - from_type_constructor[VECTOR3I](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Transform2D &v) { - from_type_constructor[TRANSFORM2D](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Vector4 &v) { - from_type_constructor[VECTOR4](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Vector4i &v) { - from_type_constructor[VECTOR4I](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Plane &v) { - from_type_constructor[PLANE](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Quaternion &v) { - from_type_constructor[QUATERNION](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const godot::AABB &v) { - from_type_constructor[AABB](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Basis &v) { - from_type_constructor[BASIS](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Transform3D &v) { - from_type_constructor[TRANSFORM3D](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Projection &v) { - from_type_constructor[PROJECTION](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const Color &v) { - from_type_constructor[COLOR](_native_ptr(), (GDExtensionTypePtr)&v); -} - -Variant::Variant(const StringName &v) { - from_type_constructor[STRING_NAME](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const NodePath &v) { - from_type_constructor[NODE_PATH](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const godot::RID &v) { - from_type_constructor[RID](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const Object *v) { - if (v) { - from_type_constructor[OBJECT](_native_ptr(), const_cast(&v->_owner)); - } else { - GodotObject *nullobject = nullptr; - from_type_constructor[OBJECT](_native_ptr(), &nullobject); - } -} - -Variant::Variant(const ObjectID &p_id) : - Variant(p_id.operator uint64_t()) { -} - -Variant::Variant(const Callable &v) { - from_type_constructor[CALLABLE](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const Signal &v) { - from_type_constructor[SIGNAL](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const Dictionary &v) { - from_type_constructor[DICTIONARY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const Array &v) { - from_type_constructor[ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const PackedByteArray &v) { - from_type_constructor[PACKED_BYTE_ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const PackedInt32Array &v) { - from_type_constructor[PACKED_INT32_ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const PackedInt64Array &v) { - from_type_constructor[PACKED_INT64_ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const PackedFloat32Array &v) { - from_type_constructor[PACKED_FLOAT32_ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const PackedFloat64Array &v) { - from_type_constructor[PACKED_FLOAT64_ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const PackedStringArray &v) { - from_type_constructor[PACKED_STRING_ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const PackedVector2Array &v) { - from_type_constructor[PACKED_VECTOR2_ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const PackedVector3Array &v) { - from_type_constructor[PACKED_VECTOR3_ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::Variant(const PackedColorArray &v) { - from_type_constructor[PACKED_COLOR_ARRAY](_native_ptr(), v._native_ptr()); -} - -Variant::~Variant() { - internal::gdextension_interface_variant_destroy(_native_ptr()); -} - -Variant::operator bool() const { - GDExtensionBool result; - to_type_constructor[BOOL](&result, _native_ptr()); - return PtrToArg::convert(&result); -} - -Variant::operator int64_t() const { - GDExtensionInt result; - to_type_constructor[INT](&result, _native_ptr()); - return PtrToArg::convert(&result); -} - -Variant::operator int32_t() const { - return static_cast(operator int64_t()); -} - -Variant::operator int16_t() const { - return static_cast(operator int64_t()); -} - -Variant::operator int8_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 uint16_t() const { - return static_cast(operator int64_t()); -} - -Variant::operator uint8_t() const { - return static_cast(operator int64_t()); -} - -Variant::operator double() const { - double result; - to_type_constructor[FLOAT](&result, _native_ptr()); - return PtrToArg::convert(&result); -} - -Variant::operator float() const { - return static_cast(operator double()); -} - -Variant::operator String() const { - return String(this); -} - -Variant::operator Vector2() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Vector2 result; - to_type_constructor[VECTOR2]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Vector2i() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Vector2i result; - to_type_constructor[VECTOR2I]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Rect2() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Rect2 result; - to_type_constructor[RECT2]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Rect2i() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Rect2i result; - to_type_constructor[RECT2I]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Vector3() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Vector3 result; - to_type_constructor[VECTOR3]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Vector3i() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Vector3i result; - to_type_constructor[VECTOR3I]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Transform2D() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Transform2D result; - to_type_constructor[TRANSFORM2D]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Vector4() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Vector4 result; - to_type_constructor[VECTOR4]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Vector4i() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Vector4i result; - to_type_constructor[VECTOR4I]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Plane() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Plane result; - to_type_constructor[PLANE]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Quaternion() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Quaternion result; - to_type_constructor[QUATERNION]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator godot::AABB() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - godot::AABB result; - to_type_constructor[AABB]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Basis() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Basis result; - to_type_constructor[BASIS]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Transform3D() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Transform3D result; - to_type_constructor[TRANSFORM3D]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Projection() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Projection result; - to_type_constructor[PROJECTION]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator Color() const { - // @todo Avoid initializing result before calling constructor (which will initialize it again) - Color result; - to_type_constructor[COLOR]((GDExtensionTypePtr)&result, _native_ptr()); - return result; -} - -Variant::operator StringName() const { - return StringName(this); -} - -Variant::operator NodePath() const { - return NodePath(this); -} - -Variant::operator godot::RID() const { - return godot::RID(this); -} - -Variant::operator Object *() const { - GodotObject *obj; - to_type_constructor[OBJECT](&obj, _native_ptr()); - if (obj == nullptr) { - return nullptr; - } - return internal::get_object_instance_binding(obj); -} - -Variant::operator ObjectID() const { - if (get_type() == Type::INT) { - return ObjectID(operator uint64_t()); - } else if (get_type() == Type::OBJECT) { - Object *obj = operator Object *(); - if (obj != nullptr) { - return ObjectID(obj->get_instance_id()); - } else { - return ObjectID(); - } - } else { - return ObjectID(); - } -} - -Variant::operator Callable() const { - return Callable(this); -} - -Variant::operator Signal() const { - return Signal(this); -} - -Variant::operator Dictionary() const { - return Dictionary(this); -} - -Variant::operator Array() const { - return Array(this); -} - -Variant::operator PackedByteArray() const { - return PackedByteArray(this); -} - -Variant::operator PackedInt32Array() const { - return PackedInt32Array(this); -} - -Variant::operator PackedInt64Array() const { - return PackedInt64Array(this); -} - -Variant::operator PackedFloat32Array() const { - return PackedFloat32Array(this); -} - -Variant::operator PackedFloat64Array() const { - return PackedFloat64Array(this); -} - -Variant::operator PackedStringArray() const { - return PackedStringArray(this); -} - -Variant::operator PackedVector2Array() const { - return PackedVector2Array(this); -} - -Variant::operator PackedVector3Array() const { - return PackedVector3Array(this); -} - -Variant::operator PackedColorArray() const { - return PackedColorArray(this); -} - -Variant &Variant::operator=(const Variant &other) { - clear(); - internal::gdextension_interface_variant_new_copy(_native_ptr(), other._native_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::callp(const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDExtensionCallError &r_error) { - internal::gdextension_interface_variant_call(_native_ptr(), method._native_ptr(), reinterpret_cast(args), argcount, r_ret._native_ptr(), &r_error); -} - -void Variant::callp_static(Variant::Type type, const StringName &method, const Variant **args, int argcount, Variant &r_ret, GDExtensionCallError &r_error) { - internal::gdextension_interface_variant_call_static(static_cast(type), method._native_ptr(), reinterpret_cast(args), argcount, r_ret._native_ptr(), &r_error); -} - -void Variant::evaluate(const Operator &op, const Variant &a, const Variant &b, Variant &r_ret, bool &r_valid) { - GDExtensionBool valid; - internal::gdextension_interface_variant_evaluate(static_cast(op), a._native_ptr(), b._native_ptr(), r_ret._native_ptr(), &valid); - r_valid = PtrToArg::convert(&valid); -} - -void Variant::set(const Variant &key, const Variant &value, bool *r_valid) { - GDExtensionBool valid; - internal::gdextension_interface_variant_set(_native_ptr(), key._native_ptr(), value._native_ptr(), &valid); - if (r_valid) { - *r_valid = PtrToArg::convert(&valid); - } -} - -void Variant::set_named(const StringName &name, const Variant &value, bool &r_valid) { - GDExtensionBool valid; - internal::gdextension_interface_variant_set_named(_native_ptr(), name._native_ptr(), value._native_ptr(), &valid); - r_valid = PtrToArg::convert(&valid); -} - -void Variant::set_indexed(int64_t index, const Variant &value, bool &r_valid, bool &r_oob) { - GDExtensionBool valid, oob; - internal::gdextension_interface_variant_set_indexed(_native_ptr(), index, value._native_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) { - GDExtensionBool valid; - internal::gdextension_interface_variant_set_keyed(_native_ptr(), key._native_ptr(), value._native_ptr(), &valid); - r_valid = PtrToArg::convert(&valid); -} - -Variant Variant::get(const Variant &key, bool *r_valid) const { - Variant result; - GDExtensionBool valid; - internal::gdextension_interface_variant_get(_native_ptr(), key._native_ptr(), result._native_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; - GDExtensionBool valid; - internal::gdextension_interface_variant_get_named(_native_ptr(), name._native_ptr(), result._native_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; - GDExtensionBool valid; - GDExtensionBool oob; - internal::gdextension_interface_variant_get_indexed(_native_ptr(), index, result._native_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; - GDExtensionBool valid; - internal::gdextension_interface_variant_get_keyed(_native_ptr(), key._native_ptr(), result._native_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 { - GDExtensionBool valid; - GDExtensionBool result = internal::gdextension_interface_variant_iter_init(_native_ptr(), r_iter._native_ptr(), &valid); - r_valid = PtrToArg::convert(&valid); - return PtrToArg::convert(&result); -} - -bool Variant::iter_next(Variant &r_iter, bool &r_valid) const { - GDExtensionBool valid; - GDExtensionBool result = internal::gdextension_interface_variant_iter_next(_native_ptr(), r_iter._native_ptr(), &valid); - r_valid = PtrToArg::convert(&valid); - return PtrToArg::convert(&result); -} - -Variant Variant::iter_get(const Variant &r_iter, bool &r_valid) const { - Variant result; - GDExtensionBool valid; - internal::gdextension_interface_variant_iter_get(_native_ptr(), r_iter._native_ptr(), result._native_ptr(), &valid); - r_valid = PtrToArg::convert(&valid); - return result; -} - -Variant::Type Variant::get_type() const { - return static_cast(internal::gdextension_interface_variant_get_type(_native_ptr())); -} - -bool Variant::has_method(const StringName &method) const { - GDExtensionBool has = internal::gdextension_interface_variant_has_method(_native_ptr(), method._native_ptr()); - return PtrToArg::convert(&has); -} - -bool Variant::has_key(const Variant &key, bool *r_valid) const { - GDExtensionBool valid; - GDExtensionBool has = internal::gdextension_interface_variant_has_key(_native_ptr(), key._native_ptr(), &valid); - if (r_valid) { - *r_valid = PtrToArg::convert(&valid); - } - return PtrToArg::convert(&has); -} - -bool Variant::has_member(Variant::Type type, const StringName &member) { - GDExtensionBool has = internal::gdextension_interface_variant_has_member(static_cast(type), member._native_ptr()); - return PtrToArg::convert(&has); -} - -uint32_t Variant::hash() const { - GDExtensionInt hash = internal::gdextension_interface_variant_hash(_native_ptr()); - return PtrToArg::convert(&hash); -} - -uint32_t Variant::recursive_hash(int recursion_count) const { - GDExtensionInt hash = internal::gdextension_interface_variant_recursive_hash(_native_ptr(), recursion_count); - return PtrToArg::convert(&hash); -} - -bool Variant::hash_compare(const Variant &variant) const { - GDExtensionBool compare = internal::gdextension_interface_variant_hash_compare(_native_ptr(), variant._native_ptr()); - return PtrToArg::convert(&compare); -} - -bool Variant::booleanize() const { - GDExtensionBool booleanized = internal::gdextension_interface_variant_booleanize(_native_ptr()); - return PtrToArg::convert(&booleanized); -} - -String Variant::stringify() const { - String result; - internal::gdextension_interface_variant_stringify(_native_ptr(), result._native_ptr()); - return result; -} - -Variant Variant::duplicate(bool deep) const { - Variant result; - GDExtensionBool _deep; - PtrToArg::encode(deep, &_deep); - internal::gdextension_interface_variant_duplicate(_native_ptr(), result._native_ptr(), _deep); - return result; -} - -String Variant::get_type_name(Variant::Type type) { - String result; - internal::gdextension_interface_variant_get_type_name(static_cast(type), result._native_ptr()); - return result; -} - -bool Variant::can_convert(Variant::Type from, Variant::Type to) { - GDExtensionBool can = internal::gdextension_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) { - GDExtensionBool can = internal::gdextension_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, // VECTOR4, - false, // VECTOR4I, - false, // PLANE, - false, // QUATERNION, - true, // AABB, - true, // BASIS, - true, // TRANSFORM3D, - true, // PROJECTION, - - // 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::gdextension_interface_variant_destroy(_native_ptr()); - } - internal::gdextension_interface_variant_new_nil(_native_ptr()); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/vector2.cpp b/thirdparty/godot-cpp/src/variant/vector2.cpp deleted file mode 100644 index df87080..0000000 --- a/thirdparty/godot-cpp/src/variant/vector2.cpp +++ /dev/null @@ -1,199 +0,0 @@ -/**************************************************************************/ -/* vector2.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -real_t Vector2::angle() const { - return Math::atan2(y, x); -} - -Vector2 Vector2::from_angle(const real_t p_angle) { - return Vector2(Math::cos(p_angle), Math::sin(p_angle)); -} - -real_t Vector2::length() const { - return Math::sqrt(x * x + y * y); -} - -real_t Vector2::length_squared() const { - return x * x + y * y; -} - -void Vector2::normalize() { - real_t l = x * x + y * y; - if (l != 0) { - l = Math::sqrt(l); - x /= l; - y /= l; - } -} - -Vector2 Vector2::normalized() const { - Vector2 v = *this; - v.normalize(); - return v; -} - -bool Vector2::is_normalized() const { - // use length_squared() instead of length() to avoid sqrt(), makes it more stringent. - return Math::is_equal_approx(length_squared(), 1, (real_t)UNIT_EPSILON); -} - -real_t Vector2::distance_to(const Vector2 &p_vector2) const { - return Math::sqrt((x - p_vector2.x) * (x - p_vector2.x) + (y - p_vector2.y) * (y - p_vector2.y)); -} - -real_t Vector2::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); -} - -real_t Vector2::angle_to(const Vector2 &p_vector2) const { - return Math::atan2(cross(p_vector2), dot(p_vector2)); -} - -real_t Vector2::angle_to_point(const Vector2 &p_vector2) const { - return (p_vector2 - *this).angle(); -} - -real_t Vector2::dot(const Vector2 &p_other) const { - return x * p_other.x + y * p_other.y; -} - -real_t Vector2::cross(const Vector2 &p_other) const { - return x * p_other.y - y * p_other.x; -} - -Vector2 Vector2::sign() const { - return Vector2(SIGN(x), SIGN(y)); -} - -Vector2 Vector2::floor() const { - return Vector2(Math::floor(x), Math::floor(y)); -} - -Vector2 Vector2::ceil() const { - return Vector2(Math::ceil(x), Math::ceil(y)); -} - -Vector2 Vector2::round() const { - return Vector2(Math::round(x), Math::round(y)); -} - -Vector2 Vector2::rotated(const real_t p_by) const { - real_t sine = Math::sin(p_by); - real_t cosi = Math::cos(p_by); - return Vector2( - x * cosi - y * sine, - x * sine + y * cosi); -} - -Vector2 Vector2::posmod(const real_t p_mod) const { - return Vector2(Math::fposmod(x, p_mod), Math::fposmod(y, p_mod)); -} - -Vector2 Vector2::posmodv(const Vector2 &p_modv) const { - return Vector2(Math::fposmod(x, p_modv.x), Math::fposmod(y, p_modv.y)); -} - -Vector2 Vector2::project(const Vector2 &p_to) const { - return p_to * (dot(p_to) / p_to.length_squared()); -} - -Vector2 Vector2::clamp(const Vector2 &p_min, const Vector2 &p_max) const { - return Vector2( - CLAMP(x, p_min.x, p_max.x), - CLAMP(y, p_min.y, p_max.y)); -} - -Vector2 Vector2::snapped(const Vector2 &p_step) const { - return Vector2( - Math::snapped(x, p_step.x), - Math::snapped(y, p_step.y)); -} - -Vector2 Vector2::limit_length(const real_t p_len) const { - const real_t l = length(); - Vector2 v = *this; - if (l > 0 && p_len < l) { - v /= l; - v *= p_len; - } - - return v; -} - -Vector2 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 < (real_t)CMP_EPSILON ? p_to : v + vd / len * p_delta; -} - -// slide returns the component of the vector along the given plane, specified by its normal vector. -Vector2 Vector2::slide(const Vector2 &p_normal) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!p_normal.is_normalized(), Vector2(), "The normal Vector2 must be normalized."); -#endif - return *this - p_normal * this->dot(p_normal); -} - -Vector2 Vector2::bounce(const Vector2 &p_normal) const { - return -reflect(p_normal); -} - -Vector2 Vector2::reflect(const Vector2 &p_normal) const { -#ifdef MATH_CHECKS - ERR_FAIL_COND_V_MSG(!p_normal.is_normalized(), Vector2(), "The normal Vector2 must be normalized."); -#endif - return 2.0f * p_normal * this->dot(p_normal) - *this; -} - -bool Vector2::is_equal_approx(const Vector2 &p_v) const { - return Math::is_equal_approx(x, p_v.x) && Math::is_equal_approx(y, p_v.y); -} - -bool Vector2::is_zero_approx() const { - return Math::is_zero_approx(x) && Math::is_zero_approx(y); -} - -Vector2::operator String() const { - return "(" + String::num_real(x, false) + ", " + String::num_real(y, false) + ")"; -} - -Vector2::operator Vector2i() const { - return Vector2i(x, y); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/vector2i.cpp b/thirdparty/godot-cpp/src/variant/vector2i.cpp deleted file mode 100644 index c1c1ab0..0000000 --- a/thirdparty/godot-cpp/src/variant/vector2i.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/**************************************************************************/ -/* vector2i.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -Vector2i Vector2i::clamp(const Vector2i &p_min, const Vector2i &p_max) const { - return Vector2i( - CLAMP(x, p_min.x, p_max.x), - CLAMP(y, p_min.y, p_max.y)); -} - -int64_t Vector2i::length_squared() const { - return x * (int64_t)x + y * (int64_t)y; -} - -double Vector2i::length() const { - return Math::sqrt((double)length_squared()); -} - -int64_t Vector2i::distance_squared_to(const Vector2i &p_to) const { - return (p_to - *this).length_squared(); -} - -double Vector2i::distance_to(const Vector2i &p_to) const { - return (p_to - *this).length(); -} - -Vector2i Vector2i::operator+(const Vector2i &p_v) const { - return Vector2i(x + p_v.x, y + p_v.y); -} - -void Vector2i::operator+=(const Vector2i &p_v) { - x += p_v.x; - y += p_v.y; -} - -Vector2i Vector2i::operator-(const Vector2i &p_v) const { - return Vector2i(x - p_v.x, y - p_v.y); -} - -void Vector2i::operator-=(const Vector2i &p_v) { - x -= p_v.x; - y -= p_v.y; -} - -Vector2i Vector2i::operator*(const Vector2i &p_v1) const { - return Vector2i(x * p_v1.x, y * p_v1.y); -} - -Vector2i Vector2i::operator*(const int32_t &rvalue) const { - return Vector2i(x * rvalue, y * rvalue); -} - -void Vector2i::operator*=(const int32_t &rvalue) { - x *= rvalue; - y *= rvalue; -} - -Vector2i Vector2i::operator/(const Vector2i &p_v1) const { - return Vector2i(x / p_v1.x, y / p_v1.y); -} - -Vector2i Vector2i::operator/(const int32_t &rvalue) const { - return Vector2i(x / rvalue, y / rvalue); -} - -void Vector2i::operator/=(const int32_t &rvalue) { - x /= rvalue; - y /= rvalue; -} - -Vector2i Vector2i::operator%(const Vector2i &p_v1) const { - return Vector2i(x % p_v1.x, y % p_v1.y); -} - -Vector2i Vector2i::operator%(const int32_t &rvalue) const { - return Vector2i(x % rvalue, y % rvalue); -} - -void Vector2i::operator%=(const int32_t &rvalue) { - x %= rvalue; - y %= rvalue; -} - -Vector2i Vector2i::operator-() const { - return Vector2i(-x, -y); -} - -bool Vector2i::operator==(const Vector2i &p_vec2) const { - return x == p_vec2.x && y == p_vec2.y; -} - -bool Vector2i::operator!=(const Vector2i &p_vec2) const { - return x != p_vec2.x || y != p_vec2.y; -} - -Vector2i::operator String() const { - return "(" + itos(x) + ", " + itos(y) + ")"; -} - -Vector2i::operator Vector2() const { - return Vector2((int32_t)x, (int32_t)y); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/vector3.cpp b/thirdparty/godot-cpp/src/variant/vector3.cpp deleted file mode 100644 index 6153658..0000000 --- a/thirdparty/godot-cpp/src/variant/vector3.cpp +++ /dev/null @@ -1,152 +0,0 @@ -/**************************************************************************/ -/* vector3.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 { - -void Vector3::rotate(const Vector3 &p_axis, const real_t p_angle) { - *this = Basis(p_axis, p_angle).xform(*this); -} - -Vector3 Vector3::rotated(const Vector3 &p_axis, const real_t p_angle) const { - Vector3 r = *this; - r.rotate(p_axis, p_angle); - return r; -} - -Vector3 Vector3::clamp(const Vector3 &p_min, const Vector3 &p_max) const { - return Vector3( - CLAMP(x, p_min.x, p_max.x), - CLAMP(y, p_min.y, p_max.y), - CLAMP(z, p_min.z, p_max.z)); -} - -void Vector3::snap(const Vector3 p_step) { - x = Math::snapped(x, p_step.x); - y = Math::snapped(y, p_step.y); - z = Math::snapped(z, p_step.z); -} - -Vector3 Vector3::snapped(const Vector3 p_step) const { - Vector3 v = *this; - v.snap(p_step); - return v; -} - -Vector3 Vector3::limit_length(const real_t p_len) const { - const real_t l = length(); - Vector3 v = *this; - if (l > 0 && p_len < l) { - v /= l; - v *= p_len; - } - - return v; -} - -Vector3 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 < (real_t)CMP_EPSILON ? p_to : v + vd / len * p_delta; -} - -Vector2 Vector3::octahedron_encode() const { - Vector3 n = *this; - n /= Math::abs(n.x) + Math::abs(n.y) + Math::abs(n.z); - Vector2 o; - if (n.z >= 0.0f) { - o.x = n.x; - o.y = n.y; - } else { - o.x = (1.0f - Math::abs(n.y)) * (n.x >= 0.0f ? 1.0f : -1.0f); - o.y = (1.0f - Math::abs(n.x)) * (n.y >= 0.0f ? 1.0f : -1.0f); - } - o.x = o.x * 0.5f + 0.5f; - o.y = o.y * 0.5f + 0.5f; - return o; -} - -Vector3 Vector3::octahedron_decode(const Vector2 &p_oct) { - Vector2 f(p_oct.x * 2.0f - 1.0f, p_oct.y * 2.0f - 1.0f); - Vector3 n(f.x, f.y, 1.0f - Math::abs(f.x) - Math::abs(f.y)); - float t = CLAMP(-n.z, 0.0f, 1.0f); - n.x += n.x >= 0 ? -t : t; - n.y += n.y >= 0 ? -t : t; - return n.normalized(); -} - -Vector2 Vector3::octahedron_tangent_encode(const float sign) const { - Vector2 res = this->octahedron_encode(); - res.y = res.y * 0.5f + 0.5f; - res.y = sign >= 0.0f ? res.y : 1 - res.y; - return res; -} - -Vector3 Vector3::octahedron_tangent_decode(const Vector2 &p_oct, float *sign) { - Vector2 oct_compressed = p_oct; - oct_compressed.y = oct_compressed.y * 2 - 1; - *sign = oct_compressed.y >= 0.0f ? 1.0f : -1.0f; - oct_compressed.y = Math::abs(oct_compressed.y); - Vector3 res = Vector3::octahedron_decode(oct_compressed); - return res; -} - -Basis Vector3::outer(const Vector3 &p_with) const { - Basis basis; - basis.rows[0] = Vector3(x * p_with.x, x * p_with.y, x * p_with.z); - basis.rows[1] = Vector3(y * p_with.x, y * p_with.y, y * p_with.z); - basis.rows[2] = Vector3(z * p_with.x, z * p_with.y, z * p_with.z); - return basis; -} - -bool Vector3::is_equal_approx(const Vector3 &p_v) const { - return Math::is_equal_approx(x, p_v.x) && Math::is_equal_approx(y, p_v.y) && Math::is_equal_approx(z, p_v.z); -} - -bool Vector3::is_zero_approx() const { - return Math::is_zero_approx(x) && Math::is_zero_approx(y) && Math::is_zero_approx(z); -} - -Vector3::operator String() const { - return "(" + String::num_real(x, false) + ", " + String::num_real(y, false) + ", " + String::num_real(z, false) + ")"; -} - -Vector3::operator Vector3i() const { - return Vector3i(x, y, z); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/vector3i.cpp b/thirdparty/godot-cpp/src/variant/vector3i.cpp deleted file mode 100644 index eef05b8..0000000 --- a/thirdparty/godot-cpp/src/variant/vector3i.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************/ -/* vector3i.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -Vector3i::Axis Vector3i::min_axis_index() const { - return x < y ? (x < z ? Vector3i::AXIS_X : Vector3i::AXIS_Z) : (y < z ? Vector3i::AXIS_Y : Vector3i::AXIS_Z); -} - -Vector3i::Axis Vector3i::max_axis_index() const { - return x < y ? (y < z ? Vector3i::AXIS_Z : Vector3i::AXIS_Y) : (x < z ? Vector3i::AXIS_Z : Vector3i::AXIS_X); -} - -Vector3i Vector3i::clamp(const Vector3i &p_min, const Vector3i &p_max) const { - return Vector3i( - CLAMP(x, p_min.x, p_max.x), - CLAMP(y, p_min.y, p_max.y), - CLAMP(z, p_min.z, p_max.z)); -} - -Vector3i::operator String() const { - return "(" + itos(x) + ", " + itos(y) + ", " + itos(z) + ")"; -} - -Vector3i::operator Vector3() const { - return Vector3(x, y, z); -} - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/vector4.cpp b/thirdparty/godot-cpp/src/variant/vector4.cpp deleted file mode 100644 index 72c79d1..0000000 --- a/thirdparty/godot-cpp/src/variant/vector4.cpp +++ /dev/null @@ -1,196 +0,0 @@ -/**************************************************************************/ -/* vector4.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -Vector4::Axis Vector4::min_axis_index() const { - uint32_t min_index = 0; - real_t min_value = x; - for (uint32_t i = 1; i < 4; i++) { - if (operator[](i) <= min_value) { - min_index = i; - min_value = operator[](i); - } - } - return Vector4::Axis(min_index); -} - -Vector4::Axis Vector4::max_axis_index() const { - uint32_t max_index = 0; - real_t max_value = x; - for (uint32_t i = 1; i < 4; i++) { - if (operator[](i) > max_value) { - max_index = i; - max_value = operator[](i); - } - } - return Vector4::Axis(max_index); -} - -bool Vector4::is_equal_approx(const Vector4 &p_vec4) const { - return Math::is_equal_approx(x, p_vec4.x) && Math::is_equal_approx(y, p_vec4.y) && Math::is_equal_approx(z, p_vec4.z) && Math::is_equal_approx(w, p_vec4.w); -} - -bool Vector4::is_zero_approx() const { - return Math::is_zero_approx(x) && Math::is_zero_approx(y) && Math::is_zero_approx(z) && Math::is_zero_approx(w); -} - -real_t Vector4::length() const { - return Math::sqrt(length_squared()); -} - -void Vector4::normalize() { - real_t lengthsq = length_squared(); - if (lengthsq == 0) { - x = y = z = w = 0; - } else { - real_t length = Math::sqrt(lengthsq); - x /= length; - y /= length; - z /= length; - w /= length; - } -} - -Vector4 Vector4::normalized() const { - Vector4 v = *this; - v.normalize(); - return v; -} - -bool Vector4::is_normalized() const { - return Math::is_equal_approx(length_squared(), (real_t)1, (real_t)UNIT_EPSILON); -} - -real_t Vector4::distance_to(const Vector4 &p_to) const { - return (p_to - *this).length(); -} - -real_t Vector4::distance_squared_to(const Vector4 &p_to) const { - return (p_to - *this).length_squared(); -} - -Vector4 Vector4::direction_to(const Vector4 &p_to) const { - Vector4 ret(p_to.x - x, p_to.y - y, p_to.z - z, p_to.w - w); - ret.normalize(); - return ret; -} - -Vector4 Vector4::abs() const { - return Vector4(Math::abs(x), Math::abs(y), Math::abs(z), Math::abs(w)); -} - -Vector4 Vector4::sign() const { - return Vector4(Math::sign(x), Math::sign(y), Math::sign(z), Math::sign(w)); -} - -Vector4 Vector4::floor() const { - return Vector4(Math::floor(x), Math::floor(y), Math::floor(z), Math::floor(w)); -} - -Vector4 Vector4::ceil() const { - return Vector4(Math::ceil(x), Math::ceil(y), Math::ceil(z), Math::ceil(w)); -} - -Vector4 Vector4::round() const { - return Vector4(Math::round(x), Math::round(y), Math::round(z), Math::round(w)); -} - -Vector4 Vector4::lerp(const Vector4 &p_to, const real_t p_weight) const { - return Vector4( - x + (p_weight * (p_to.x - x)), - y + (p_weight * (p_to.y - y)), - z + (p_weight * (p_to.z - z)), - w + (p_weight * (p_to.w - w))); -} - -Vector4 Vector4::cubic_interpolate(const Vector4 &p_b, const Vector4 &p_pre_a, const Vector4 &p_post_b, const real_t p_weight) const { - Vector4 res = *this; - res.x = Math::cubic_interpolate(res.x, p_b.x, p_pre_a.x, p_post_b.x, p_weight); - res.y = Math::cubic_interpolate(res.y, p_b.y, p_pre_a.y, p_post_b.y, p_weight); - res.z = Math::cubic_interpolate(res.z, p_b.z, p_pre_a.z, p_post_b.z, p_weight); - res.w = Math::cubic_interpolate(res.w, p_b.w, p_pre_a.w, p_post_b.w, p_weight); - return res; -} - -Vector4 Vector4::cubic_interpolate_in_time(const Vector4 &p_b, const Vector4 &p_pre_a, const Vector4 &p_post_b, const real_t p_weight, const real_t &p_b_t, const real_t &p_pre_a_t, const real_t &p_post_b_t) const { - Vector4 res = *this; - res.x = Math::cubic_interpolate_in_time(res.x, p_b.x, p_pre_a.x, p_post_b.x, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - res.y = Math::cubic_interpolate_in_time(res.y, p_b.y, p_pre_a.y, p_post_b.y, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - res.z = Math::cubic_interpolate_in_time(res.z, p_b.z, p_pre_a.z, p_post_b.z, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - res.w = Math::cubic_interpolate_in_time(res.w, p_b.w, p_pre_a.w, p_post_b.w, p_weight, p_b_t, p_pre_a_t, p_post_b_t); - return res; -} - -Vector4 Vector4::posmod(const real_t p_mod) const { - return Vector4(Math::fposmod(x, p_mod), Math::fposmod(y, p_mod), Math::fposmod(z, p_mod), Math::fposmod(w, p_mod)); -} - -Vector4 Vector4::posmodv(const Vector4 &p_modv) const { - return Vector4(Math::fposmod(x, p_modv.x), Math::fposmod(y, p_modv.y), Math::fposmod(z, p_modv.z), Math::fposmod(w, p_modv.w)); -} - -void Vector4::snap(const Vector4 &p_step) { - x = Math::snapped(x, p_step.x); - y = Math::snapped(y, p_step.y); - z = Math::snapped(z, p_step.z); - w = Math::snapped(w, p_step.w); -} - -Vector4 Vector4::snapped(const Vector4 &p_step) const { - Vector4 v = *this; - v.snap(p_step); - return v; -} - -Vector4 Vector4::inverse() const { - return Vector4(1.0f / x, 1.0f / y, 1.0f / z, 1.0f / w); -} - -Vector4 Vector4::clamp(const Vector4 &p_min, const Vector4 &p_max) const { - return Vector4( - CLAMP(x, p_min.x, p_max.x), - CLAMP(y, p_min.y, p_max.y), - CLAMP(z, p_min.z, p_max.z), - CLAMP(w, p_min.w, p_max.w)); -} - -Vector4::operator String() const { - return "(" + String::num_real(x, false) + ", " + String::num_real(y, false) + ", " + String::num_real(z, false) + ", " + String::num_real(w, false) + ")"; -} - -static_assert(sizeof(Vector4) == 4 * sizeof(real_t)); - -} // namespace godot diff --git a/thirdparty/godot-cpp/src/variant/vector4i.cpp b/thirdparty/godot-cpp/src/variant/vector4i.cpp deleted file mode 100644 index f1817dc..0000000 --- a/thirdparty/godot-cpp/src/variant/vector4i.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************/ -/* vector4i.cpp */ -/**************************************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ -/**************************************************************************/ -/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ -/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ -/* */ -/* 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 - -namespace godot { - -Vector4i::Axis Vector4i::min_axis_index() const { - uint32_t min_index = 0; - int32_t min_value = x; - for (uint32_t i = 1; i < 4; i++) { - if (operator[](i) <= min_value) { - min_index = i; - min_value = operator[](i); - } - } - return Vector4i::Axis(min_index); -} - -Vector4i::Axis Vector4i::max_axis_index() const { - uint32_t max_index = 0; - int32_t max_value = x; - for (uint32_t i = 1; i < 4; i++) { - if (operator[](i) > max_value) { - max_index = i; - max_value = operator[](i); - } - } - return Vector4i::Axis(max_index); -} - -Vector4i Vector4i::clamp(const Vector4i &p_min, const Vector4i &p_max) const { - return Vector4i( - CLAMP(x, p_min.x, p_max.x), - CLAMP(y, p_min.y, p_max.y), - CLAMP(z, p_min.z, p_max.z), - CLAMP(w, p_min.w, p_max.w)); -} - -Vector4i::operator String() const { - return "(" + itos(x) + ", " + itos(y) + ", " + itos(z) + ", " + itos(w) + ")"; -} - -Vector4i::operator Vector4() const { - return Vector4(x, y, z, w); -} - -Vector4i::Vector4i(const Vector4 &p_vec4) { - x = (int32_t)p_vec4.x; - y = (int32_t)p_vec4.y; - z = (int32_t)p_vec4.z; - w = (int32_t)p_vec4.w; -} - -static_assert(sizeof(Vector4i) == 4 * sizeof(int32_t)); - -} // namespace godot diff --git a/thirdparty/godot-cpp/test/.gitignore b/thirdparty/godot-cpp/test/.gitignore deleted file mode 100644 index c6d8394..0000000 --- a/thirdparty/godot-cpp/test/.gitignore +++ /dev/null @@ -1,25 +0,0 @@ -# Generated directories with binaries -build -bin - -# Godot 4+ specific ignores -.godot/ - -# Godot-specific ignores -.import/ -export.cfg -export_presets.cfg -# Dummy HTML5 export presets file for continuous integration -!.github/dist/export_presets.cfg - -# Imported translations (automatically generated from CSV files) -*.translation - -# Mono-specific ignores -.mono/ -data_*/ -mono_crash.*.json - -# System/tool-specific ignores -.directory -*~ diff --git a/thirdparty/godot-cpp/test/CMakeLists.txt b/thirdparty/godot-cpp/test/CMakeLists.txt deleted file mode 100644 index 42ea6e0..0000000 --- a/thirdparty/godot-cpp/test/CMakeLists.txt +++ /dev/null @@ -1,143 +0,0 @@ -cmake_minimum_required(VERSION 3.13) -project(godot-cpp-test) - -set(GODOT_GDEXTENSION_DIR ../gdextension/ CACHE STRING "Path to GDExtension interface header directory") -set(CPP_BINDINGS_PATH ../ CACHE STRING "Path to C++ bindings") - -if(CMAKE_SYSTEM_NAME STREQUAL "Linux") - set(TARGET_PATH x11) -elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") - set(TARGET_PATH win64) -elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") - set(TARGET_PATH macos) -else() - message(FATAL_ERROR "Not implemented support for ${CMAKE_SYSTEM_NAME}") -endif() - -# Change the output directory to the bin directory -set(BUILD_PATH ${CMAKE_SOURCE_DIR}/bin/${TARGET_PATH}) -set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${BUILD_PATH}") -set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${BUILD_PATH}") -set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${BUILD_PATH}") -SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${BUILD_PATH}") -SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${BUILD_PATH}") -SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${BUILD_PATH}") -SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${BUILD_PATH}") -SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${BUILD_PATH}") -SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${BUILD_PATH}") - -# Set the c++ standard to c++17 -set(CMAKE_CXX_STANDARD 17) -set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(CMAKE_CXX_EXTENSIONS OFF) - -set(GODOT_COMPILE_FLAGS ) -set(GODOT_LINKER_FLAGS ) - -if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") - # using Visual Studio C++ - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} /WX") # /GF /MP - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} /DTYPED_METHOD_BIND") - - if(CMAKE_BUILD_TYPE MATCHES Debug) - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} /MDd") # /Od /RTC1 /Zi - else() - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} /MD /O2") # /Oy /GL /Gy - STRING(REGEX REPLACE "/RTC(su|[1su])" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - string(REPLACE "/RTC1" "" CMAKE_CXX_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG}) - endif(CMAKE_BUILD_TYPE MATCHES Debug) - - # Disable conversion warning, truncation, unreferenced var, signed mismatch - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} /wd4244 /wd4305 /wd4101 /wd4018 /wd4267") - - add_definitions(-DNOMINMAX) - - # Unkomment for warning level 4 - #if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]") - # string(REGEX REPLACE "/W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - #endif() - -else() - - set(GODOT_LINKER_FLAGS "-static-libgcc -static-libstdc++ -Wl,-R,'$$ORIGIN'") - - set(GODOT_COMPILE_FLAGS "-fPIC -g -Wwrite-strings") - - if(CMAKE_BUILD_TYPE MATCHES Debug) - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -fno-omit-frame-pointer -O0") - else() - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -O3") - endif(CMAKE_BUILD_TYPE MATCHES Debug) -endif() - -# Disable exception handling. Godot doesn't use exceptions anywhere, and this -# saves around 20% of binary size and very significant build time (GH-80513). -option(GODOT_DISABLE_EXCEPTIONS ON "Force disabling exception handling code") -if (GODOT_DISABLE_EXCEPTIONS) - if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -D_HAS_EXCEPTIONS=0") - else() - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} -fno-exceptions") - endif() -else() - if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") - set(GODOT_COMPILE_FLAGS "${GODOT_COMPILE_FLAGS} /EHsc") - endif() -endif() - -# Get Sources -file(GLOB_RECURSE SOURCES src/*.c**) -file(GLOB_RECURSE HEADERS include/*.h**) - -# Define our godot-cpp library -add_library(${PROJECT_NAME} SHARED ${SOURCES} ${HEADERS}) - -target_include_directories(${PROJECT_NAME} SYSTEM - PRIVATE - ${CPP_BINDINGS_PATH}/include - ${CPP_BINDINGS_PATH}/gen/include - ${GODOT_GDEXTENSION_DIR} -) - -# Create the correct name (godot.os.build_type.system_bits) -# Synchronized with godot-cpp's CMakeLists.txt - -set(BITS 32) -if(CMAKE_SIZEOF_VOID_P EQUAL 8) - set(BITS 64) -endif(CMAKE_SIZEOF_VOID_P EQUAL 8) - -if(CMAKE_BUILD_TYPE MATCHES Debug) - set(GODOT_CPP_BUILD_TYPE Debug) -else() - set(GODOT_CPP_BUILD_TYPE Release) -endif() - -string(TOLOWER ${CMAKE_SYSTEM_NAME} SYSTEM_NAME) -string(TOLOWER ${GODOT_CPP_BUILD_TYPE} BUILD_TYPE) - -if(ANDROID) - # Added the android abi after system name - set(SYSTEM_NAME ${SYSTEM_NAME}.${ANDROID_ABI}) -endif() - -if(CMAKE_VERSION VERSION_GREATER "3.13") - target_link_directories(${PROJECT_NAME} - PRIVATE - ${CPP_BINDINGS_PATH}/bin/ - ) - - target_link_libraries(${PROJECT_NAME} - godot-cpp.${SYSTEM_NAME}.${BUILD_TYPE}$<$>:.${BITS}> - ) -else() - target_link_libraries(${PROJECT_NAME} - ${CPP_BINDINGS_PATH}/bin/libgodot-cpp.${SYSTEM_NAME}.${BUILD_TYPE}$<$>:.${BITS}>.a - ) -endif() - -# Add the compile flags -set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY COMPILE_FLAGS ${GODOT_COMPILE_FLAGS}) -set_property(TARGET ${PROJECT_NAME} APPEND_STRING PROPERTY LINK_FLAGS ${GODOT_LINKER_FLAGS}) - -set_property(TARGET ${PROJECT_NAME} PROPERTY OUTPUT_NAME "gdexample") diff --git a/thirdparty/godot-cpp/test/README.md b/thirdparty/godot-cpp/test/README.md deleted file mode 100644 index 5313e33..0000000 --- a/thirdparty/godot-cpp/test/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# godot-cpp integration test - -This project is used to perform integration testing of the godot-cpp -extension, to validate PRs and implemented APIs. - -## License - -This is free and unencumbered software released into the public domain. - -Anyone is free to copy, modify, publish, use, compile, sell, or -distribute this software, either in source code form or as a compiled -binary, for any purpose, commercial or non-commercial, and by any -means. - -In jurisdictions that recognize copyright laws, the author or authors -of this software dedicate any and all copyright interest in the -software to the public domain. We make this dedication for the benefit -of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of -relinquishment in perpetuity of all present and future rights to this -software under copyright law. - -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 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. - -For more information, please refer to diff --git a/thirdparty/godot-cpp/test/SConstruct b/thirdparty/godot-cpp/test/SConstruct deleted file mode 100644 index 9c25917..0000000 --- a/thirdparty/godot-cpp/test/SConstruct +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env python -import os -import sys - -env = SConscript("../SConstruct") - -# For the reference: -# - CCFLAGS are compilation flags shared between C and C++ -# - CFLAGS are for C-specific compilation flags -# - CXXFLAGS are for C++-specific compilation flags -# - CPPFLAGS are for pre-processor flags -# - CPPDEFINES are for pre-processor defines -# - LINKFLAGS are for linking flags - -# tweak this if you want to use different folders, or more folders, to store your source code in. -env.Append(CPPPATH=["src/"]) -sources = Glob("src/*.cpp") - -if env["platform"] == "macos": - library = env.SharedLibrary( - "project/bin/libgdexample.{}.{}.framework/libgdexample.{}.{}".format( - env["platform"], env["target"], env["platform"], env["target"] - ), - source=sources, - ) -elif env["platform"] == "ios": - if env["ios_simulator"]: - library = env.StaticLibrary( - "project/bin/libgdexample.{}.{}.simulator.a".format(env["platform"], env["target"]), - source=sources, - ) - else: - library = env.StaticLibrary( - "project/bin/libgdexample.{}.{}.a".format(env["platform"], env["target"]), - source=sources, - ) -else: - library = env.SharedLibrary( - "project/bin/libgdexample{}{}".format(env["suffix"], env["SHLIBSUFFIX"]), - source=sources, - ) - -Default(library) diff --git a/thirdparty/godot-cpp/test/generate_xcframework.sh b/thirdparty/godot-cpp/test/generate_xcframework.sh deleted file mode 100755 index 7adddff..0000000 --- a/thirdparty/godot-cpp/test/generate_xcframework.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -scons arch=universal ios_simulator=yes platform=ios target=$1 $2 -scons arch=arm64 ios_simulator=no platform=ios target=$1 $2 - -xcodebuild -create-xcframework -library ./project/bin/libgdexample.ios.$1.a -library ./project/bin/libgdexample.ios.$1.simulator.a -output ./project/bin/libgdexample.ios.$1.xcframework -xcodebuild -create-xcframework -library ../bin/libgodot-cpp.ios.$1.arm64.a -library ../bin/libgodot-cpp.ios.$1.universal.simulator.a -output ./project/bin/libgodot-cpp.ios.$1.xcframework diff --git a/thirdparty/godot-cpp/test/project/bin/libgdexample.macos.template_debug.framework/Resources/Info.plist b/thirdparty/godot-cpp/test/project/bin/libgdexample.macos.template_debug.framework/Resources/Info.plist deleted file mode 100644 index fbdbd20..0000000 --- a/thirdparty/godot-cpp/test/project/bin/libgdexample.macos.template_debug.framework/Resources/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleExecutable - libgdexample.template_debug - CFBundleIdentifier - org.godotengine.libgdexample - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - libgdexample.macos.template_debug - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1.0.0 - LSMinimumSystemVersion - 10.12 - - diff --git a/thirdparty/godot-cpp/test/project/bin/libgdexample.macos.template_release.framework/Resources/Info.plist b/thirdparty/godot-cpp/test/project/bin/libgdexample.macos.template_release.framework/Resources/Info.plist deleted file mode 100644 index b3bc3ca..0000000 --- a/thirdparty/godot-cpp/test/project/bin/libgdexample.macos.template_release.framework/Resources/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleExecutable - libgdexample.template_release - CFBundleIdentifier - org.godotengine.libgdexample - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - libgdexample.macos.template_release - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0.0 - CFBundleSupportedPlatforms - - MacOSX - - CFBundleVersion - 1.0.0 - LSMinimumSystemVersion - 10.12 - - diff --git a/thirdparty/godot-cpp/test/project/default_env.tres b/thirdparty/godot-cpp/test/project/default_env.tres deleted file mode 100644 index 0645b88..0000000 --- a/thirdparty/godot-cpp/test/project/default_env.tres +++ /dev/null @@ -1,7 +0,0 @@ -[gd_resource type="Environment" load_steps=2 format=3 uid="uid://dtd3q2x2ulcsi"] - -[sub_resource type="Sky" id="1"] - -[resource] -background_mode = 2 -sky = SubResource("1") diff --git a/thirdparty/godot-cpp/test/project/example.gd b/thirdparty/godot-cpp/test/project/example.gd deleted file mode 100644 index b20280a..0000000 --- a/thirdparty/godot-cpp/test/project/example.gd +++ /dev/null @@ -1,5 +0,0 @@ -extends Example - -func _do_something_virtual(p_name, p_value): - custom_signal.emit(p_name, p_value) - return "Implemented" diff --git a/thirdparty/godot-cpp/test/project/example.gdextension b/thirdparty/godot-cpp/test/project/example.gdextension deleted file mode 100644 index 4f599ce..0000000 --- a/thirdparty/godot-cpp/test/project/example.gdextension +++ /dev/null @@ -1,41 +0,0 @@ -[configuration] - -entry_symbol = "example_library_init" -compatibility_minimum = "4.1" - -[libraries] - -macos.debug = "res://bin/libgdexample.macos.template_debug.framework" -macos.release = "res://bin/libgdexample.macos.template_release.framework" -windows.debug.x86_32 = "res://bin/libgdexample.windows.template_debug.x86_32.dll" -windows.release.x86_32 = "res://bin/libgdexample.windows.template_release.x86_32.dll" -windows.debug.x86_64 = "res://bin/libgdexample.windows.template_debug.x86_64.dll" -windows.release.x86_64 = "res://bin/libgdexample.windows.template_release.x86_64.dll" -windows.debug.arm64 = "res://bin/libgdexample.windows.template_debug.arm64.dll" -windows.release.arm64 = "res://bin/libgdexample.windows.template_release.arm64.dll" -linux.debug.x86_32 = "res://bin/libgdexample.linux.template_debug.x86_32.so" -linux.release.x86_32 = "res://bin/libgdexample.linux.template_release.x86_32.so" -linux.debug.x86_64 = "res://bin/libgdexample.linux.template_debug.x86_64.so" -linux.release.x86_64 = "res://bin/libgdexample.linux.template_release.x86_64.so" -linux.debug.arm32 = "res://bin/libgdexample.linux.template_debug.arm32.so" -linux.release.arm32 = "res://bin/libgdexample.linux.template_release.arm32.so" -linux.debug.arm64 = "res://bin/libgdexample.linux.template_debug.arm64.so" -linux.release.arm64 = "res://bin/libgdexample.linux.template_release.arm64.so" -linux.debug.rv64 = "res://bin/libgdexample.linux.template_debug.rv64.so" -linux.release.rv64 = "res://bin/libgdexample.linux.template_release.rv64.so" -android.debug.x86_64 = "res://bin/libgdexample.android.template_debug.x86_64.so" -android.release.x86_64 = "res://bin/libgdexample.android.template_release.x86_64.so" -android.debug.arm64 = "res://bin/libgdexample.android.template_debug.arm64.so" -android.release.arm64 = "res://bin/libgdexample.android.template_release.arm64.so" -ios.debug = "res://bin/libgdexample.ios.template_debug.xcframework" -ios.release = "res://bin/libgdexample.ios.template_release.xcframework" -web.debug.wasm32 = "res://bin/libgdexample.web.template_debug.wasm32.wasm" -web.release.wasm32 = "res://bin/libgdexample.web.template_release.wasm32.wasm" - -[dependencies] -ios.debug = { - "res://bin/libgodot-cpp.ios.template_debug.xcframework": "" -} -ios.release = { - "res://bin/libgodot-cpp.ios.template_release.xcframework": "" -} diff --git a/thirdparty/godot-cpp/test/project/icon.png b/thirdparty/godot-cpp/test/project/icon.png deleted file mode 100644 index c98fbb601c83c81ec8c22b1dba7d1d57c62b323c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3305 zcmVNc=P)Px>qe(&U$es`gSqKCHF-lq>v1vga#%UF>TTrLR zW%{UNJKZi|Pj@Rc9GyPBD1CamMMf6SL~V^ag9~Vzut^L^0!Tv0LK0FTdnJ`x->EF(MZIP5kY*1-@^egP~7mH>({qi7{6 zQF;bN-XMq~+RzA8lI9AtJuz@PY*+{SP-Gbd@mZ(r*eE&`XO5!C>w#-pcmS28K^qzY zfTGCjor*I@ltgKb03nh#Fh$KpDL=o}gj-g4v6{}ZR1*mvXv?|gEA&Yr#r;Zw*d zUabIx8iHf+WoIO_c11Ba&!34XihSMF&C#YFDjU0)mmbXz3ex!D&t9UYp>;&R%(O(_ z*z^;&A84SWzKiQpqsdQ+Vs?rFS(f?R;c8xg_ft;Roec_~1KsVww}wzq5D}*5x6k|& zf~2A3@L4|ix|Q=L>rnmKE;B3UB=OMQxAK$Ce;LvDp?hwn-{Rn}Uo~U4IXTs4V%MQY zCWULcZFU0R%gbU;_Ef(A#76r1%|YWis0t`9$R{cyjFnsV(POrI)SGQi-l{mu{e?5R zepcp?AQ54D3g_mswd@RLn{z~;^Cl}>%j@}TWixL+audY``MmSV{-E(3R0Ws^U9%mk zmAond;N8k*{(f!}e^~d(i1Hq@jdv@XN2MLAl}3yaECf{nz5N3KMCjDCFzB_7)gkjj z>2Z={^e74l7u>P4oo1{Kc~sgFI`xP#f`uR}z_p~qLwws5)h)eLxAX=?+fB2_6kG)a zeE3U}YSi;Qc}gq*;kw|Tu5Oy{F)l`0;$$RA6)@d^I9>n9N^W1g0D!WJYJT&d@6p`W zfmWmD=^x$2@|)+=&@n(wn<-#M#zIY-iH42=UU>XI3i7l0^?#ILwb@CU63f5b_jeS| zn+d@CpB>^?Ti*1WuHSaRniWO-^Xl8!b+D0stAl$BQjr8G`KX-vGpCc0lEAKmjl6lN z5r?ddL)6hBi2|!`NM+@MRO*^qsi>~y`%4$%P+-S_M#8ibt8Pf;m7O23?cF^-X$52l zEV@3AM^`Q9vy(=)?W+gi)8lPCP&k!)Z(Bsa#m@S7j#1gzJx&pQ!yzlYvA==iExkN@ zTMnz!68Wg=9Ius~p?A=A>P(5$@#w1MG`6<$`Il8=(j0RI#KlIj>!qL4)MMjk|8*3* zbL8w!iwnbSb<*17eb=8TBt(Uv*Qz*e>>p9CRtapnJD-#&4Xd8ojIpD~Yk&6&7;_U` z|L{sgNzJAYPkIOsaN5{^*@Xva?HTkC9>DHY*!1B^L`lv1hgXhC$EO1BSh9fYXU*VG zpVwjRvs^m2ml?)B3xE2&j_YU5;Ep8=e75zefN3cSw04`>U3D&~3|AIJAJnEseqE*p>uF=1Cv$SfvI z!(+vnRMj+4vb)@8Tb~MW$}-RYemjyN^W@U3pfWj;cyehLk|6W*KkUFMkM3W9AE!Wb zTL-_}Udr6GXl}`!5;P_!3b*7=VQyM9zuR6)b6dxl?fo)@-u`$$Pu#bHB*W+#Gp!_Y z*ZdUbq#B3_QPbElK4*QE)$x+;qpGazKD1C!=jx=^ta=2+!&oRjmg4Jf{ z?T`J78TjoBD9Y&OtwFEhrIq<48uS2IEEbY8C$TVd5`X!kj*`Qd7RI`3elib!C*xb1 z(UIgPMzT12GEcpEly0*vU|ugqP(r~!E}l-JK~G&>9S_|9Aj@uD&azvVQ&RF4YZp!> zJ3hi|zlabu5u>=y+3^vqT{xAJlDCHFJ#hbn)Ya9IXwdWH;_1O)ef$at)k@qrEf%ZQ z%DU&)(a_KUxMpn2t6Mm@e?LVzaUT6LCWo=>;TzfYZ~+;U!#wJXa^g66-~d}*-Gas9 zGQt`f8d&$-daPC}H%^NkiV}?n<5oawj2=M{sHv&JXl(bWFDox6HP$o6KRY=Jl_;PR zMP?^QdD4vyrL3&XqugjTQd3idAPA(!=*P?c_!Z!e`f9aWuk~t4qQew;9IwMq>%w#92+*iNN#Qp zadB}J6)j=I#urf#czO3X!C*Z&LD5rfCLY^S$>ZP6}eFW#%-2L)+t{`cPyqLD6))yK1?m7F>6=?Y&8f)>3zbH1O)cT}QNtB4KL(A@1i zMzF88gDrb&hn~H`?o`-XUeDI@dXfwwboAS>*qvV6UMhkfzO~q$V+s%8loj4P(&9H= ze`sC`uI?L9L4e;YK&2A7XF)0}u1lh+%Z$S*Q{ORwtSHpAyWYpI>bqzU!p`gqlf$*l zO^*g(+T?Hq0n%ebkyIin(R#FM6&9;^6WJU5R)By&tZQ6PV zS^MWhqtcj}7)kON#>?4Gv(K#2=6mv)5;@W->l(1q*>9t&xfesIn$&3j4WxkffXaq0 zwwBkAD2vjoi4E8CK;cwoC3#wO!|}v-XOJ`obIo05{&DMQIRyHAd5@%-0xA%uA0UK2qng>xb(kvMzX)7t^ z);-|T`mgSsHKM$+a{!w|Mt5QLwD>sA+;u-+k%z_ZL?el$#&|kX?ygLfm zxZ^Fo^bOhx)w*6In?vS{Q|uk08cKRK}t+0ukQSCOyP$^HEC+zzX51M#=e-?*xHWMDRcLdIV41daHy{HimwDo z6!_O=*(}MK!YeyJpmgu(cF1tpEv}m;0s8{4z4HlHyMxDncn8zs!g+OXEk`CeEj}9N zq#Ag1$#jyV_5AjYQg*!mS->;`S^;iU)ih9D+eks)H2z`1RHny;F<^CEwk+}d^k^Ph zl);*XQ|ayL;rZWh=fA(G2#AJz1&r&as9I8S@9m3Owftrb5n*)pTluK^9LHOFIo{G2 zG}l$9R*{<+L2hCsOJ~Lt6Q-rRub*8X{*4{)e}>%=_&DxOFeq1LRia4Yyj*Tyynw>F zxkKf(MiaG0*L|V-^Zhtvg-(-|F0&1rU8bqab*n5TT8~C860O$|6Rt%P1=1(EjIQZ% z;Y^PU2VC*~^2!sG?mbBPS0~0yd-+086)+rHjhfk6>CB$t`o%;=kdYF9NwiKkwbIpN z;_FlOuHQHHSZ&@fUuSI-S*t`DjsiIB z{=1M@JKVC$a8z{2;xCPfRb{~T>uo#5rL4L+z9n`rSUt3Tt nAZ`TZm+q1gPVN84&*%Ra7her>#-hHS00000NkvXXu0mjf|6N@O diff --git a/thirdparty/godot-cpp/test/project/icon.png.import b/thirdparty/godot-cpp/test/project/icon.png.import deleted file mode 100644 index 8a7c8b0..0000000 --- a/thirdparty/godot-cpp/test/project/icon.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cswr8vy4lt7dt" -path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://icon.png" -dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/thirdparty/godot-cpp/test/project/main.gd b/thirdparty/godot-cpp/test/project/main.gd deleted file mode 100644 index 5cf483e..0000000 --- a/thirdparty/godot-cpp/test/project/main.gd +++ /dev/null @@ -1,266 +0,0 @@ -extends "res://test_base.gd" - -var custom_signal_emitted = null - -class TestClass: - func test(p_msg: String) -> String: - return p_msg + " world" - -func _ready(): - var example: Example = $Example - - # Signal. - example.emit_custom_signal("Button", 42) - assert_equal(custom_signal_emitted, ["Button", 42]) - - # To string. - assert_equal(example.to_string(),'Example:[ GDExtension::Example <--> Instance ID:%s ]' % example.get_instance_id()) - # It appears there's a bug with instance ids :-( - #assert_equal($Example/ExampleMin.to_string(), 'ExampleMin:[Wrapped:%s]' % $Example/ExampleMin.get_instance_id()) - - # Call static methods. - assert_equal(Example.test_static(9, 100), 109); - # It's void and static, so all we know is that it didn't crash. - Example.test_static2() - - # Property list. - example.property_from_list = Vector3(100, 200, 300) - assert_equal(example.property_from_list, Vector3(100, 200, 300)) - var prop_list = example.get_property_list() - for prop_info in prop_list: - if prop_info['name'] == 'mouse_filter': - assert_equal(prop_info['usage'], PROPERTY_USAGE_NO_EDITOR) - - # Call simple methods. - example.simple_func() - assert_equal(custom_signal_emitted, ['simple_func', 3]) - example.simple_const_func() - assert_equal(custom_signal_emitted, ['simple_const_func', 4]) - - # Pass custom reference. - assert_equal(example.custom_ref_func(null), -1) - var ref1 = ExampleRef.new() - ref1.id = 27 - assert_equal(example.custom_ref_func(ref1), 27) - ref1.id += 1; - assert_equal(example.custom_const_ref_func(ref1), 28) - - # Pass core reference. - assert_equal(example.image_ref_func(null), "invalid") - assert_equal(example.image_const_ref_func(null), "invalid") - var image = Image.new() - assert_equal(example.image_ref_func(image), "valid") - assert_equal(example.image_const_ref_func(image), "valid") - - # Return values. - assert_equal(example.return_something("some string"), "some string42") - assert_equal(example.return_something_const(), get_viewport()) - var null_ref = example.return_empty_ref() - assert_equal(null_ref, null) - var ret_ref = example.return_extended_ref() - assert_not_equal(ret_ref.get_instance_id(), 0) - assert_equal(ret_ref.get_id(), 0) - assert_equal(example.get_v4(), Vector4(1.2, 3.4, 5.6, 7.8)) - assert_equal(example.test_node_argument(example), example) - - # VarArg method calls. - var var_ref = ExampleRef.new() - assert_not_equal(example.extended_ref_checks(var_ref).get_instance_id(), var_ref.get_instance_id()) - assert_equal(example.varargs_func("some", "arguments", "to", "test"), 4) - assert_equal(example.varargs_func_nv("some", "arguments", "to", "test"), 46) - example.varargs_func_void("some", "arguments", "to", "test") - assert_equal(custom_signal_emitted, ["varargs_func_void", 5]) - - # Method calls with default values. - assert_equal(example.def_args(), 300) - assert_equal(example.def_args(50), 250) - assert_equal(example.def_args(50, 100), 150) - - # Array and Dictionary - assert_equal(example.test_array(), [1, 2]) - assert_equal(example.test_tarray(), [ Vector2(1, 2), Vector2(2, 3) ]) - assert_equal(example.test_dictionary(), {"hello": "world", "foo": "bar"}) - var array: Array[int] = [1, 2, 3] - assert_equal(example.test_tarray_arg(array), 6) - - example.callable_bind() - assert_equal(custom_signal_emitted, ["bound", 11]) - - # String += operator - assert_equal(example.test_string_ops(), "ABCĎE") - - # UtilityFunctions::str() - assert_equal(example.test_str_utility(), "Hello, World! The answer is 42") - - # Test converting string to char* and doing comparison. - assert_equal(example.test_string_is_fourty_two("blah"), false) - assert_equal(example.test_string_is_fourty_two("fourty two"), true) - - # String::resize(). - assert_equal(example.test_string_resize("What"), "What!?") - - # mp_callable() with void method. - var mp_callable: Callable = example.test_callable_mp() - assert_equal(mp_callable.is_valid(), true) - assert_equal(mp_callable.get_argument_count(), 3) - mp_callable.call(example, "void", 36) - assert_equal(custom_signal_emitted, ["unbound_method1: Example - void", 36]) - - # Check that it works with is_connected(). - assert_equal(example.renamed.is_connected(mp_callable), false) - example.renamed.connect(mp_callable) - assert_equal(example.renamed.is_connected(mp_callable), true) - # Make sure a new object is still treated as equivalent. - assert_equal(example.renamed.is_connected(example.test_callable_mp()), true) - assert_equal(mp_callable.hash(), example.test_callable_mp().hash()) - example.renamed.disconnect(mp_callable) - assert_equal(example.renamed.is_connected(mp_callable), false) - - # mp_callable() with return value. - var mp_callable_ret: Callable = example.test_callable_mp_ret() - assert_equal(mp_callable_ret.get_argument_count(), 3) - assert_equal(mp_callable_ret.call(example, "test", 77), "unbound_method2: Example - test - 77") - - # mp_callable() with const method and return value. - var mp_callable_retc: Callable = example.test_callable_mp_retc() - assert_equal(mp_callable_retc.get_argument_count(), 3) - assert_equal(mp_callable_retc.call(example, "const", 101), "unbound_method3: Example - const - 101") - - # mp_callable_static() with void method. - var mp_callable_static: Callable = example.test_callable_mp_static() - assert_equal(mp_callable_static.get_argument_count(), 3) - mp_callable_static.call(example, "static", 83) - assert_equal(custom_signal_emitted, ["unbound_static_method1: Example - static", 83]) - - # Check that it works with is_connected(). - assert_equal(example.renamed.is_connected(mp_callable_static), false) - example.renamed.connect(mp_callable_static) - assert_equal(example.renamed.is_connected(mp_callable_static), true) - # Make sure a new object is still treated as equivalent. - assert_equal(example.renamed.is_connected(example.test_callable_mp_static()), true) - assert_equal(mp_callable_static.hash(), example.test_callable_mp_static().hash()) - example.renamed.disconnect(mp_callable_static) - assert_equal(example.renamed.is_connected(mp_callable_static), false) - - # mp_callable_static() with return value. - var mp_callable_static_ret: Callable = example.test_callable_mp_static_ret() - assert_equal(mp_callable_static_ret.get_argument_count(), 3) - assert_equal(mp_callable_static_ret.call(example, "static-ret", 84), "unbound_static_method2: Example - static-ret - 84") - - # CallableCustom. - var custom_callable: Callable = example.test_custom_callable(); - assert_equal(custom_callable.is_custom(), true); - assert_equal(custom_callable.is_valid(), true); - assert_equal(custom_callable.call(), "Hi") - assert_equal(custom_callable.hash(), 27); - assert_equal(custom_callable.get_object(), null); - assert_equal(custom_callable.get_method(), ""); - assert_equal(custom_callable.get_argument_count(), 2) - assert_equal(str(custom_callable), ""); - - # PackedArray iterators - assert_equal(example.test_vector_ops(), 105) - assert_equal(example.test_vector_init_list(), 105) - - # Properties. - assert_equal(example.group_subgroup_custom_position, Vector2(0, 0)) - example.group_subgroup_custom_position = Vector2(50, 50) - assert_equal(example.group_subgroup_custom_position, Vector2(50, 50)) - - # Test Object::cast_to<>() and that correct wrappers are being used. - var control = Control.new() - var sprite = Sprite2D.new() - var example_ref = ExampleRef.new() - - assert_equal(example.test_object_cast_to_node(control), true) - assert_equal(example.test_object_cast_to_control(control), true) - assert_equal(example.test_object_cast_to_example(control), false) - - assert_equal(example.test_object_cast_to_node(example), true) - assert_equal(example.test_object_cast_to_control(example), true) - assert_equal(example.test_object_cast_to_example(example), true) - - assert_equal(example.test_object_cast_to_node(sprite), true) - assert_equal(example.test_object_cast_to_control(sprite), false) - assert_equal(example.test_object_cast_to_example(sprite), false) - - assert_equal(example.test_object_cast_to_node(example_ref), false) - assert_equal(example.test_object_cast_to_control(example_ref), false) - assert_equal(example.test_object_cast_to_example(example_ref), false) - - control.queue_free() - sprite.queue_free() - - # Test conversions to and from Variant. - assert_equal(example.test_variant_vector2i_conversion(Vector2i(1, 1)), Vector2i(1, 1)) - assert_equal(example.test_variant_vector2i_conversion(Vector2(1.0, 1.0)), Vector2i(1, 1)) - assert_equal(example.test_variant_int_conversion(10), 10) - assert_equal(example.test_variant_int_conversion(10.0), 10) - assert_equal(example.test_variant_float_conversion(10.0), 10.0) - assert_equal(example.test_variant_float_conversion(10), 10.0) - - # Test that ptrcalls from GDExtension to the engine are correctly encoding Object and RefCounted. - var new_node = Node.new() - example.test_add_child(new_node) - assert_equal(new_node.get_parent(), example) - - var new_tileset = TileSet.new() - var new_tilemap = TileMap.new() - example.test_set_tileset(new_tilemap, new_tileset) - assert_equal(new_tilemap.tile_set, new_tileset) - new_tilemap.queue_free() - - # Test variant call. - var test_obj = TestClass.new() - assert_equal(example.test_variant_call(test_obj), "hello world") - - # Constants. - assert_equal(Example.FIRST, 0) - assert_equal(Example.ANSWER_TO_EVERYTHING, 42) - assert_equal(Example.CONSTANT_WITHOUT_ENUM, 314) - - # BitFields. - assert_equal(Example.FLAG_ONE, 1) - assert_equal(Example.FLAG_TWO, 2) - assert_equal(example.test_bitfield(0), 0) - assert_equal(example.test_bitfield(Example.FLAG_ONE | Example.FLAG_TWO), 3) - - # Test variant iterator. - assert_equal(example.test_variant_iterator([10, 20, 30]), [15, 25, 35]) - assert_equal(example.test_variant_iterator(null), "iter_init: not valid") - - # RPCs. - assert_equal(example.return_last_rpc_arg(), 0) - example.test_rpc(42) - assert_equal(example.return_last_rpc_arg(), 42) - example.test_send_rpc(100) - assert_equal(example.return_last_rpc_arg(), 100) - - # Virtual method. - var event = InputEventKey.new() - event.key_label = KEY_H - event.unicode = 72 - get_viewport().push_input(event) - assert_equal(custom_signal_emitted, ["_input: H", 72]) - - # Check NOTIFICATION_POST_INITIALIZED, both when created from GDScript and godot-cpp. - var new_example_ref = ExampleRef.new() - assert_equal(new_example_ref.was_post_initialized(), true) - assert_equal(example.test_post_initialize(), true) - - # Test a virtual method defined in GDExtension and implemented in script. - assert_equal(example.test_virtual_implemented_in_script("Virtual", 939), "Implemented") - assert_equal(custom_signal_emitted, ["Virtual", 939]) - - # Test that notifications happen on both parent and child classes. - var example_child = $ExampleChild - assert_equal(example_child.get_value1(), 11) - assert_equal(example_child.get_value2(), 33) - example_child.notification(NOTIFICATION_ENTER_TREE, true) - assert_equal(example_child.get_value1(), 11) - assert_equal(example_child.get_value2(), 22) - - exit_with_status() - -func _on_Example_custom_signal(signal_name, value): - custom_signal_emitted = [signal_name, value] diff --git a/thirdparty/godot-cpp/test/project/main.tscn b/thirdparty/godot-cpp/test/project/main.tscn deleted file mode 100644 index e786025..0000000 --- a/thirdparty/godot-cpp/test/project/main.tscn +++ /dev/null @@ -1,29 +0,0 @@ -[gd_scene load_steps=3 format=3 uid="uid://dmx2xuigcpvt4"] - -[ext_resource type="Script" path="res://main.gd" id="1_qesh5"] -[ext_resource type="Script" path="res://example.gd" id="2_jju25"] - -[node name="Node" type="Node"] -script = ExtResource("1_qesh5") - -[node name="Example" type="Example" parent="."] -script = ExtResource("2_jju25") - -[node name="ExampleMin" type="ExampleMin" parent="Example"] -layout_mode = 0 - -[node name="Label" type="Label" parent="Example"] -layout_mode = 0 -offset_left = 194.0 -offset_top = -2.0 -offset_right = 234.0 -offset_bottom = 21.0 - -[node name="Button" type="Button" parent="."] -offset_right = 79.0 -offset_bottom = 29.0 -text = "Click me!" - -[node name="ExampleChild" type="ExampleChild" parent="."] - -[connection signal="custom_signal" from="Example" to="." method="_on_Example_custom_signal"] diff --git a/thirdparty/godot-cpp/test/project/project.godot b/thirdparty/godot-cpp/test/project/project.godot deleted file mode 100644 index 4f51c07..0000000 --- a/thirdparty/godot-cpp/test/project/project.godot +++ /dev/null @@ -1,25 +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=5 - -[application] - -config/name="GDExtension Test Project" -run/main_scene="res://main.tscn" -config/features=PackedStringArray("4.2") -config/icon="res://icon.png" - -[native_extensions] - -paths=["res://example.gdextension"] - -[rendering] - -textures/vram_compression/import_etc2_astc=true -environment/defaults/default_environment="res://default_env.tres" diff --git a/thirdparty/godot-cpp/test/project/test_base.gd b/thirdparty/godot-cpp/test/project/test_base.gd deleted file mode 100644 index 7da393c..0000000 --- a/thirdparty/godot-cpp/test/project/test_base.gd +++ /dev/null @@ -1,59 +0,0 @@ -extends Node - -var test_passes := 0 -var test_failures := 0 - -func __get_stack_frame(): - var me = get_script() - for s in get_stack(): - if s.source == me.resource_path: - return s - return null - -func __assert_pass(): - test_passes += 1 - -func __assert_fail(): - test_failures += 1 - var s = __get_stack_frame() - if s != null: - print_rich ("[color=red] == FAILURE: In function %s() from '%s' on line %s[/color]" % [s.function, s.source, s.line]) - else: - print_rich ("[color=red] == FAILURE (run with --debug to get more information!) ==[/color]") - -func assert_equal(actual, expected): - if actual == expected: - __assert_pass() - else: - __assert_fail() - print (" |-> Expected '%s' but got '%s'" % [expected, actual]) - -func assert_true(v): - assert_equal(v, true) - -func assert_false(v): - assert_equal(v, false) - -func assert_not_equal(actual, expected): - if actual != expected: - __assert_pass() - else: - __assert_fail() - print (" |-> Expected '%s' NOT to equal '%s'" % [expected, actual]) - -func exit_with_status() -> void: - var success: bool = (test_failures == 0) - print ("") - print_rich ("[color=%s] ==== TESTS FINISHED ==== [/color]" % ("green" if success else "red")) - print ("") - print_rich (" PASSES: [color=green]%s[/color]" % test_passes) - print_rich (" FAILURES: [color=red]%s[/color]" % test_failures) - print ("") - - if success: - print_rich("[color=green] ******** PASSED ******** [/color]") - else: - print_rich("[color=red] ******** FAILED ********[/color]") - print("") - - get_tree().quit(0 if success else 1) diff --git a/thirdparty/godot-cpp/test/run-tests.sh b/thirdparty/godot-cpp/test/run-tests.sh deleted file mode 100755 index 728f6d4..0000000 --- a/thirdparty/godot-cpp/test/run-tests.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -GODOT=${GODOT:-godot} - -END_STRING="==== TESTS FINISHED ====" -FAILURE_STRING="******** FAILED ********" - -OUTPUT=$($GODOT --path project --debug --headless --quit) -ERRCODE=$? - -echo "$OUTPUT" -echo - -if ! echo "$OUTPUT" | grep -e "$END_STRING" >/dev/null; then - echo "ERROR: Tests failed to complete" - exit 1 -fi - -if echo "$OUTPUT" | grep -e "$FAILURE_STRING" >/dev/null; then - exit 1 -fi - -# Success! -exit 0 diff --git a/thirdparty/godot-cpp/test/src/example.cpp b/thirdparty/godot-cpp/test/src/example.cpp deleted file mode 100644 index 3ec8bca..0000000 --- a/thirdparty/godot-cpp/test/src/example.cpp +++ /dev/null @@ -1,692 +0,0 @@ -/* godot-cpp integration testing project. - * - * This is free and unencumbered software released into the public domain. - */ - -#include "example.h" - -#include - -#include -#include -#include -#include -#include - -using namespace godot; - -class MyCallableCustom : public CallableCustom { -public: - virtual uint32_t hash() const { - return 27; - } - - virtual String get_as_text() const { - return ""; - } - - static bool compare_equal_func(const CallableCustom *p_a, const CallableCustom *p_b) { - return p_a == p_b; - } - - virtual CompareEqualFunc get_compare_equal_func() const { - return &MyCallableCustom::compare_equal_func; - } - - static bool compare_less_func(const CallableCustom *p_a, const CallableCustom *p_b) { - return (void *)p_a < (void *)p_b; - } - - virtual CompareLessFunc get_compare_less_func() const { - return &MyCallableCustom::compare_less_func; - } - - bool is_valid() const { - return true; - } - - virtual ObjectID get_object() const { - return ObjectID(); - } - - virtual int get_argument_count(bool &r_is_valid) const { - r_is_valid = true; - return 2; - } - - virtual void call(const Variant **p_arguments, int p_argcount, Variant &r_return_value, GDExtensionCallError &r_call_error) const { - r_return_value = "Hi"; - r_call_error.error = GDEXTENSION_CALL_OK; - } -}; - -void ExampleRef::set_id(int p_id) { - id = p_id; -} - -int ExampleRef::get_id() const { - return id; -} - -void ExampleRef::_notification(int p_what) { - if (p_what == NOTIFICATION_POSTINITIALIZE) { - post_initialized = true; - } -} - -void ExampleRef::_bind_methods() { - ClassDB::bind_method(D_METHOD("set_id", "id"), &ExampleRef::set_id); - ClassDB::bind_method(D_METHOD("get_id"), &ExampleRef::get_id); - - ClassDB::bind_method(D_METHOD("was_post_initialized"), &ExampleRef::was_post_initialized); - - ADD_PROPERTY(PropertyInfo(Variant::INT, "id"), "set_id", "get_id"); -} - -ExampleRef::ExampleRef() { - id = 0; -} - -ExampleRef::~ExampleRef() { -} - -int Example::test_static(int p_a, int p_b) { - return p_a + p_b; -} - -void Example::test_static2() { - //UtilityFunctions::print(" void static"); -} - -int Example::def_args(int p_a, int p_b) { - return p_a + p_b; -} - -void Example::_notification(int p_what) { - if (p_what == NOTIFICATION_READY) { - Dictionary opts; - opts["rpc_mode"] = MultiplayerAPI::RPC_MODE_AUTHORITY; - opts["transfer_mode"] = MultiplayerPeer::TRANSFER_MODE_RELIABLE; - opts["call_local"] = true; - opts["channel"] = 0; - rpc_config("test_rpc", opts); - } - //UtilityFunctions::print("Notification: ", String::num(p_what)); -} - -bool Example::_set(const StringName &p_name, const Variant &p_value) { - String name = p_name; - if (name.begins_with("dproperty")) { - int64_t index = name.get_slicec('_', 1).to_int(); - dprop[index] = p_value; - return true; - } - if (name == "property_from_list") { - property_from_list = p_value; - return true; - } - return false; -} - -bool Example::_get(const StringName &p_name, Variant &r_ret) const { - String name = p_name; - if (name.begins_with("dproperty")) { - int64_t index = name.get_slicec('_', 1).to_int(); - r_ret = dprop[index]; - return true; - } - if (name == "property_from_list") { - r_ret = property_from_list; - return true; - } - return false; -} - -String Example::_to_string() const { - return "[ GDExtension::Example <--> Instance ID:" + uitos(get_instance_id()) + " ]"; -} - -void Example::_get_property_list(List *p_list) const { - p_list->push_back(PropertyInfo(Variant::VECTOR3, "property_from_list")); - for (int i = 0; i < 3; i++) { - p_list->push_back(PropertyInfo(Variant::VECTOR2, "dproperty_" + itos(i))); - } -} - -bool Example::_property_can_revert(const StringName &p_name) const { - if (p_name == StringName("property_from_list") && property_from_list != Vector3(42, 42, 42)) { - return true; - } else { - return false; - } -}; - -bool Example::_property_get_revert(const StringName &p_name, Variant &r_property) const { - if (p_name == StringName("property_from_list")) { - r_property = Vector3(42, 42, 42); - return true; - } else { - return false; - } -}; - -void Example::_validate_property(PropertyInfo &p_property) const { - String name = p_property.name; - // Test hiding the "mouse_filter" property from the editor. - if (name == "mouse_filter") { - p_property.usage = PROPERTY_USAGE_NO_EDITOR; - } -} - -void Example::_bind_methods() { - // Methods. - ClassDB::bind_method(D_METHOD("simple_func"), &Example::simple_func); - ClassDB::bind_method(D_METHOD("simple_const_func"), &Example::simple_const_func); - ClassDB::bind_method(D_METHOD("custom_ref_func", "ref"), &Example::custom_ref_func); - ClassDB::bind_method(D_METHOD("custom_const_ref_func", "ref"), &Example::custom_const_ref_func); - ClassDB::bind_method(D_METHOD("image_ref_func", "image"), &Example::image_ref_func); - ClassDB::bind_method(D_METHOD("image_const_ref_func", "image"), &Example::image_const_ref_func); - ClassDB::bind_method(D_METHOD("return_something"), &Example::return_something); - ClassDB::bind_method(D_METHOD("return_something_const"), &Example::return_something_const); - ClassDB::bind_method(D_METHOD("return_empty_ref"), &Example::return_empty_ref); - ClassDB::bind_method(D_METHOD("return_extended_ref"), &Example::return_extended_ref); - ClassDB::bind_method(D_METHOD("extended_ref_checks", "ref"), &Example::extended_ref_checks); - - ClassDB::bind_method(D_METHOD("test_array"), &Example::test_array); - ClassDB::bind_method(D_METHOD("test_tarray_arg", "array"), &Example::test_tarray_arg); - ClassDB::bind_method(D_METHOD("test_tarray"), &Example::test_tarray); - ClassDB::bind_method(D_METHOD("test_dictionary"), &Example::test_dictionary); - ClassDB::bind_method(D_METHOD("test_node_argument"), &Example::test_node_argument); - ClassDB::bind_method(D_METHOD("test_string_ops"), &Example::test_string_ops); - ClassDB::bind_method(D_METHOD("test_str_utility"), &Example::test_str_utility); - ClassDB::bind_method(D_METHOD("test_string_is_fourty_two"), &Example::test_string_is_fourty_two); - ClassDB::bind_method(D_METHOD("test_string_resize"), &Example::test_string_resize); - ClassDB::bind_method(D_METHOD("test_vector_ops"), &Example::test_vector_ops); - ClassDB::bind_method(D_METHOD("test_vector_init_list"), &Example::test_vector_init_list); - - ClassDB::bind_method(D_METHOD("test_object_cast_to_node", "object"), &Example::test_object_cast_to_node); - ClassDB::bind_method(D_METHOD("test_object_cast_to_control", "object"), &Example::test_object_cast_to_control); - ClassDB::bind_method(D_METHOD("test_object_cast_to_example", "object"), &Example::test_object_cast_to_example); - - ClassDB::bind_method(D_METHOD("test_variant_vector2i_conversion", "variant"), &Example::test_variant_vector2i_conversion); - ClassDB::bind_method(D_METHOD("test_variant_int_conversion", "variant"), &Example::test_variant_int_conversion); - ClassDB::bind_method(D_METHOD("test_variant_float_conversion", "variant"), &Example::test_variant_float_conversion); - - ClassDB::bind_method(D_METHOD("test_add_child", "node"), &Example::test_add_child); - ClassDB::bind_method(D_METHOD("test_set_tileset", "tilemap", "tileset"), &Example::test_set_tileset); - - ClassDB::bind_method(D_METHOD("test_variant_call", "variant"), &Example::test_variant_call); - - ClassDB::bind_method(D_METHOD("test_callable_mp"), &Example::test_callable_mp); - ClassDB::bind_method(D_METHOD("test_callable_mp_ret"), &Example::test_callable_mp_ret); - ClassDB::bind_method(D_METHOD("test_callable_mp_retc"), &Example::test_callable_mp_retc); - ClassDB::bind_method(D_METHOD("test_callable_mp_static"), &Example::test_callable_mp_static); - ClassDB::bind_method(D_METHOD("test_callable_mp_static_ret"), &Example::test_callable_mp_static_ret); - ClassDB::bind_method(D_METHOD("test_custom_callable"), &Example::test_custom_callable); - - ClassDB::bind_method(D_METHOD("test_bitfield", "flags"), &Example::test_bitfield); - - ClassDB::bind_method(D_METHOD("test_variant_iterator", "input"), &Example::test_variant_iterator); - - ClassDB::bind_method(D_METHOD("test_rpc", "value"), &Example::test_rpc); - ClassDB::bind_method(D_METHOD("test_send_rpc", "value"), &Example::test_send_rpc); - ClassDB::bind_method(D_METHOD("return_last_rpc_arg"), &Example::return_last_rpc_arg); - - ClassDB::bind_method(D_METHOD("def_args", "a", "b"), &Example::def_args, DEFVAL(100), DEFVAL(200)); - ClassDB::bind_method(D_METHOD("callable_bind"), &Example::callable_bind); - ClassDB::bind_method(D_METHOD("test_post_initialize"), &Example::test_post_initialize); - - GDVIRTUAL_BIND(_do_something_virtual, "name", "value"); - ClassDB::bind_method(D_METHOD("test_virtual_implemented_in_script"), &Example::test_virtual_implemented_in_script); - - ClassDB::bind_static_method("Example", D_METHOD("test_static", "a", "b"), &Example::test_static); - ClassDB::bind_static_method("Example", D_METHOD("test_static2"), &Example::test_static2); - - { - MethodInfo mi; - mi.arguments.push_back(PropertyInfo(Variant::STRING, "some_argument")); - mi.name = "varargs_func"; - ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "varargs_func", &Example::varargs_func, mi); - } - - { - MethodInfo mi; - mi.arguments.push_back(PropertyInfo(Variant::STRING, "some_argument")); - mi.name = "varargs_func_nv"; - ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "varargs_func_nv", &Example::varargs_func_nv, mi); - } - - { - MethodInfo mi; - mi.arguments.push_back(PropertyInfo(Variant::STRING, "some_argument")); - mi.name = "varargs_func_void"; - ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "varargs_func_void", &Example::varargs_func_void, mi); - } - - // Properties. - ADD_GROUP("Test group", "group_"); - ADD_SUBGROUP("Test subgroup", "group_subgroup_"); - - ClassDB::bind_method(D_METHOD("get_custom_position"), &Example::get_custom_position); - ClassDB::bind_method(D_METHOD("get_v4"), &Example::get_v4); - ClassDB::bind_method(D_METHOD("set_custom_position", "position"), &Example::set_custom_position); - ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "group_subgroup_custom_position"), "set_custom_position", "get_custom_position"); - - // Signals. - ADD_SIGNAL(MethodInfo("custom_signal", PropertyInfo(Variant::STRING, "name"), PropertyInfo(Variant::INT, "value"))); - ClassDB::bind_method(D_METHOD("emit_custom_signal", "name", "value"), &Example::emit_custom_signal); - - // Constants. - BIND_ENUM_CONSTANT(FIRST); - BIND_ENUM_CONSTANT(ANSWER_TO_EVERYTHING); - - BIND_BITFIELD_FLAG(FLAG_ONE); - BIND_BITFIELD_FLAG(FLAG_TWO); - - BIND_CONSTANT(CONSTANT_WITHOUT_ENUM); - BIND_ENUM_CONSTANT(OUTSIDE_OF_CLASS); -} - -Example::Example() { - //UtilityFunctions::print("Constructor."); -} - -Example::~Example() { - //UtilityFunctions::print("Destructor."); -} - -// Methods. -void Example::simple_func() { - emit_custom_signal("simple_func", 3); -} - -void Example::simple_const_func() const { - ((Example *)this)->emit_custom_signal("simple_const_func", 4); -} - -int Example::custom_ref_func(Ref p_ref) { - return p_ref.is_valid() ? p_ref->get_id() : -1; -} - -int Example::custom_const_ref_func(const Ref &p_ref) { - return p_ref.is_valid() ? p_ref->get_id() : -1; -} - -String Example::image_ref_func(Ref p_image) { - return p_image.is_valid() ? String("valid") : String("invalid"); -} - -String Example::image_const_ref_func(const Ref &p_image) { - return p_image.is_valid() ? String("valid") : String("invalid"); -} - -String Example::return_something(const String &base) { - return base + String("42"); -} - -Viewport *Example::return_something_const() const { - if (is_inside_tree()) { - Viewport *result = get_viewport(); - return result; - } - return nullptr; -} - -Ref Example::return_empty_ref() const { - Ref ref; - return ref; -} - -ExampleRef *Example::return_extended_ref() const { - // You can instance and return a refcounted object like this, but keep in mind that refcounting starts with the returned object - // and it will be destroyed when all references are destroyed. If you store this pointer you run the risk of having a pointer - // to a destroyed object. - return memnew(ExampleRef()); -} - -Ref Example::extended_ref_checks(Ref p_ref) const { - // This is therefor the prefered way of instancing and returning a refcounted object: - Ref ref; - ref.instantiate(); - return ref; -} - -Variant Example::varargs_func(const Variant **args, GDExtensionInt arg_count, GDExtensionCallError &error) { - return arg_count; -} - -int Example::varargs_func_nv(const Variant **args, GDExtensionInt arg_count, GDExtensionCallError &error) { - return 42 + arg_count; -} - -void Example::varargs_func_void(const Variant **args, GDExtensionInt arg_count, GDExtensionCallError &error) { - emit_custom_signal("varargs_func_void", arg_count + 1); -} - -void Example::emit_custom_signal(const String &name, int value) { - emit_signal("custom_signal", name, value); -} - -Array Example::test_array() const { - Array arr; - - arr.resize(2); - arr[0] = Variant(1); - arr[1] = Variant(2); - - return arr; -} - -String Example::test_string_ops() const { - String s = String("A"); - s += "B"; - s += "C"; - s += char32_t(0x010E); - s = s + "E"; - return s; -} - -String Example::test_str_utility() const { - return UtilityFunctions::str("Hello, ", "World", "! The answer is ", 42); -} - -bool Example::test_string_is_fourty_two(const String &p_string) const { - return strcmp(p_string.utf8().ptr(), "fourty two") == 0; -} - -String Example::test_string_resize(String p_string) const { - int orig_len = p_string.length(); - p_string.resize(orig_len + 3); - char32_t *data = p_string.ptrw(); - data[orig_len + 0] = '!'; - data[orig_len + 1] = '?'; - data[orig_len + 2] = '\0'; - return p_string; -} - -int Example::test_vector_ops() const { - PackedInt32Array arr; - arr.push_back(10); - arr.push_back(20); - arr.push_back(30); - arr.push_back(45); - int ret = 0; - for (const int32_t &E : arr) { - ret += E; - } - return ret; -} - -int Example::test_vector_init_list() const { - PackedInt32Array arr = { 10, 20, 30, 45 }; - int ret = 0; - for (const int32_t &E : arr) { - ret += E; - } - return ret; -} - -Callable Example::test_callable_mp() { - return callable_mp(this, &Example::unbound_method1); -} - -Callable Example::test_callable_mp_ret() { - return callable_mp(this, &Example::unbound_method2); -} - -Callable Example::test_callable_mp_retc() const { - return callable_mp(this, &Example::unbound_method3); -} - -Callable Example::test_callable_mp_static() const { - return callable_mp_static(&Example::unbound_static_method1); -} - -Callable Example::test_callable_mp_static_ret() const { - return callable_mp_static(&Example::unbound_static_method2); -} - -Callable Example::test_custom_callable() const { - return Callable(memnew(MyCallableCustom)); -} - -void Example::unbound_method1(Object *p_object, String p_string, int p_int) { - String test = "unbound_method1: "; - test += p_object->get_class(); - test += " - " + p_string; - emit_custom_signal(test, p_int); -} - -String Example::unbound_method2(Object *p_object, String p_string, int p_int) { - String test = "unbound_method2: "; - test += p_object->get_class(); - test += " - " + p_string; - test += " - " + itos(p_int); - return test; -} - -String Example::unbound_method3(Object *p_object, String p_string, int p_int) const { - String test = "unbound_method3: "; - test += p_object->get_class(); - test += " - " + p_string; - test += " - " + itos(p_int); - return test; -} - -void Example::unbound_static_method1(Example *p_object, String p_string, int p_int) { - String test = "unbound_static_method1: "; - test += p_object->get_class(); - test += " - " + p_string; - p_object->emit_custom_signal(test, p_int); -} - -String Example::unbound_static_method2(Object *p_object, String p_string, int p_int) { - String test = "unbound_static_method2: "; - test += p_object->get_class(); - test += " - " + p_string; - test += " - " + itos(p_int); - return test; -} - -int Example::test_tarray_arg(const TypedArray &p_array) { - int sum = 0; - for (int i = 0; i < p_array.size(); i++) { - sum += (int)p_array[i]; - } - return sum; -} - -TypedArray Example::test_tarray() const { - TypedArray arr; - - arr.resize(2); - arr[0] = Vector2(1, 2); - arr[1] = Vector2(2, 3); - - return arr; -} - -Dictionary Example::test_dictionary() const { - Dictionary dict; - - dict["hello"] = "world"; - dict["foo"] = "bar"; - - return dict; -} - -Example *Example::test_node_argument(Example *p_node) const { - return p_node; -} - -bool Example::test_object_cast_to_node(Object *p_object) const { - return Object::cast_to(p_object) != nullptr; -} - -bool Example::test_object_cast_to_control(Object *p_object) const { - return Object::cast_to(p_object) != nullptr; -} - -bool Example::test_object_cast_to_example(Object *p_object) const { - return Object::cast_to(p_object) != nullptr; -} - -Vector2i Example::test_variant_vector2i_conversion(const Variant &p_variant) const { - return p_variant; -} - -int Example::test_variant_int_conversion(const Variant &p_variant) const { - return p_variant; -} - -float Example::test_variant_float_conversion(const Variant &p_variant) const { - return p_variant; -} - -void Example::test_add_child(Node *p_node) { - add_child(p_node); -} - -void Example::test_set_tileset(TileMap *p_tilemap, const Ref &p_tileset) const { - p_tilemap->set_tileset(p_tileset); -} - -Variant Example::test_variant_call(Variant p_variant) { - return p_variant.call("test", "hello"); -} - -BitField Example::test_bitfield(BitField flags) { - return flags; -} - -Variant Example::test_variant_iterator(const Variant &p_input) { - Array output; - - Variant iter; - - bool is_init_valid = true; - if (!p_input.iter_init(iter, is_init_valid)) { - if (!is_init_valid) { - return "iter_init: not valid"; - } - return output; - } - - bool is_iter_next_valid = true; - bool is_iter_get_valid = true; - do { - if (!is_iter_next_valid) { - return "iter_next: not valid"; - } - - Variant value = p_input.iter_get(iter, is_iter_get_valid); - if (!is_iter_get_valid) { - return "iter_get: not valid"; - } - output.push_back(((int)value) + 5); - - } while (p_input.iter_next(iter, is_iter_next_valid)); - - if (!is_iter_next_valid) { - return "iter_next: not valid"; - } - - return output; -} - -void Example::test_rpc(int p_value) { - last_rpc_arg = p_value; -} - -void Example::test_send_rpc(int p_value) { - rpc("test_rpc", p_value); -} - -int Example::return_last_rpc_arg() { - return last_rpc_arg; -} - -void Example::callable_bind() { - Callable c = Callable(this, "emit_custom_signal").bind("bound", 11); - c.call(); -} - -// Properties. -void Example::set_custom_position(const Vector2 &pos) { - custom_position = pos; -} - -Vector2 Example::get_custom_position() const { - return custom_position; -} - -Vector4 Example::get_v4() const { - return Vector4(1.2, 3.4, 5.6, 7.8); -} - -bool Example::test_post_initialize() const { - Ref new_example_ref; - new_example_ref.instantiate(); - return new_example_ref->was_post_initialized(); -} - -// Virtual function override. -bool Example::_has_point(const Vector2 &point) const { - Label *label = get_node