dungeonanddeamon/GodoBinding/include/gen/AudioEffectPitchShift.hpp
2020-03-25 11:29:52 +01:00

60 lines
1.5 KiB
C++

#ifndef GODOT_CPP_AUDIOEFFECTPITCHSHIFT_HPP
#define GODOT_CPP_AUDIOEFFECTPITCHSHIFT_HPP
#include <gdnative_api_struct.gen.h>
#include <stdint.h>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include "AudioEffectPitchShift.hpp"
#include "AudioEffect.hpp"
namespace godot {
class AudioEffectPitchShift : public AudioEffect {
struct ___method_bindings {
godot_method_bind *mb_get_fft_size;
godot_method_bind *mb_get_oversampling;
godot_method_bind *mb_get_pitch_scale;
godot_method_bind *mb_set_fft_size;
godot_method_bind *mb_set_oversampling;
godot_method_bind *mb_set_pitch_scale;
};
static ___method_bindings ___mb;
public:
static void ___init_method_bindings();
static inline const char *___get_class_name() { return (const char *) "AudioEffectPitchShift"; }
static inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (o) ? (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o) : nullptr; }
// enums
enum FFT_Size {
FFT_SIZE_256 = 0,
FFT_SIZE_512 = 1,
FFT_SIZE_1024 = 2,
FFT_SIZE_2048 = 3,
FFT_SIZE_4096 = 4,
FFT_SIZE_MAX = 5,
};
// constants
static AudioEffectPitchShift *_new();
// methods
AudioEffectPitchShift::FFT_Size get_fft_size() const;
int64_t get_oversampling() const;
real_t get_pitch_scale() const;
void set_fft_size(const int64_t size);
void set_oversampling(const int64_t amount);
void set_pitch_scale(const real_t rate);
};
}
#endif