1 /**
2 
3 
4 Copyright:
5 Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur.  
6 Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md)  
7 Copyright (c) 2017-2018 Godot-D contributors  
8 
9 License: $(LINK2 https://opensource.org/licenses/MIT, MIT License)
10 
11 
12 */
13 module godot.audioeffectstereoenhance;
14 import std.meta : AliasSeq, staticIndexOf;
15 import std.traits : Unqual;
16 import godot.d.meta;
17 import godot.core;
18 import godot.c;
19 import godot.d.bind;
20 import godot.d.reference;
21 import godot.object;
22 import godot.classdb;
23 import godot.audioeffect;
24 import godot.resource;
25 import godot.reference;
26 /**
27 
28 */
29 @GodotBaseClass struct AudioEffectStereoEnhance
30 {
31 	enum string _GODOT_internal_name = "AudioEffectStereoEnhance";
32 public:
33 @nogc nothrow:
34 	union { godot_object _godot_object; AudioEffect _GODOT_base; }
35 	alias _GODOT_base this;
36 	alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses);
37 	package(godot) __gshared bool _classBindingInitialized = false;
38 	package(godot) static struct _classBinding
39 	{
40 		__gshared:
41 		@GodotName("set_pan_pullout") GodotMethod!(void, double) setPanPullout;
42 		@GodotName("get_pan_pullout") GodotMethod!(double) getPanPullout;
43 		@GodotName("set_time_pullout") GodotMethod!(void, double) setTimePullout;
44 		@GodotName("get_time_pullout") GodotMethod!(double) getTimePullout;
45 		@GodotName("set_surround") GodotMethod!(void, double) setSurround;
46 		@GodotName("get_surround") GodotMethod!(double) getSurround;
47 	}
48 	bool opEquals(in AudioEffectStereoEnhance other) const { return _godot_object.ptr is other._godot_object.ptr; }
49 	AudioEffectStereoEnhance opAssign(T : typeof(null))(T n) { _godot_object.ptr = null; }
50 	bool opEquals(typeof(null) n) const { return _godot_object.ptr is null; }
51 	mixin baseCasts;
52 	static AudioEffectStereoEnhance _new()
53 	{
54 		static godot_class_constructor constructor;
55 		if(constructor is null) constructor = _godot_api.godot_get_class_constructor("AudioEffectStereoEnhance");
56 		if(constructor is null) return typeof(this).init;
57 		return cast(AudioEffectStereoEnhance)(constructor());
58 	}
59 	@disable new(size_t s);
60 	/**
61 	
62 	*/
63 	void setPanPullout(in double amount)
64 	{
65 		checkClassBinding!(typeof(this))();
66 		ptrcall!(void)(_classBinding.setPanPullout, _godot_object, amount);
67 	}
68 	/**
69 	
70 	*/
71 	double getPanPullout() const
72 	{
73 		checkClassBinding!(typeof(this))();
74 		return ptrcall!(double)(_classBinding.getPanPullout, _godot_object);
75 	}
76 	/**
77 	
78 	*/
79 	void setTimePullout(in double amount)
80 	{
81 		checkClassBinding!(typeof(this))();
82 		ptrcall!(void)(_classBinding.setTimePullout, _godot_object, amount);
83 	}
84 	/**
85 	
86 	*/
87 	double getTimePullout() const
88 	{
89 		checkClassBinding!(typeof(this))();
90 		return ptrcall!(double)(_classBinding.getTimePullout, _godot_object);
91 	}
92 	/**
93 	
94 	*/
95 	void setSurround(in double amount)
96 	{
97 		checkClassBinding!(typeof(this))();
98 		ptrcall!(void)(_classBinding.setSurround, _godot_object, amount);
99 	}
100 	/**
101 	
102 	*/
103 	double getSurround() const
104 	{
105 		checkClassBinding!(typeof(this))();
106 		return ptrcall!(double)(_classBinding.getSurround, _godot_object);
107 	}
108 	/**
109 	
110 	*/
111 	@property double panPullout()
112 	{
113 		return getPanPullout();
114 	}
115 	/// ditto
116 	@property void panPullout(double v)
117 	{
118 		setPanPullout(v);
119 	}
120 	/**
121 	
122 	*/
123 	@property double timePulloutMs()
124 	{
125 		return getTimePullout();
126 	}
127 	/// ditto
128 	@property void timePulloutMs(double v)
129 	{
130 		setTimePullout(v);
131 	}
132 	/**
133 	
134 	*/
135 	@property double surround()
136 	{
137 		return getSurround();
138 	}
139 	/// ditto
140 	@property void surround(double v)
141 	{
142 		setSurround(v);
143 	}
144 }