mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 06:03:09 +00:00
Remove empty bind_methods()
This commit is contained in:
parent
33c30b9e63
commit
065dd099dd
@ -353,9 +353,6 @@ void AnimationTrackEditAudio::set_node(Object *p_object) {
|
|||||||
id = p_object->get_instance_id();
|
id = p_object->get_instance_id();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationTrackEditAudio::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationTrackEditAudio::AnimationTrackEditAudio() {
|
AnimationTrackEditAudio::AnimationTrackEditAudio() {
|
||||||
AudioStreamPreviewGenerator::get_singleton()->connect("preview_updated", callable_mp(this, &AnimationTrackEditAudio::_preview_changed));
|
AudioStreamPreviewGenerator::get_singleton()->connect("preview_updated", callable_mp(this, &AnimationTrackEditAudio::_preview_changed));
|
||||||
}
|
}
|
||||||
@ -952,9 +949,6 @@ void AnimationTrackEditTypeAudio::draw_key(int p_index, float p_pixels_sec, int
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationTrackEditTypeAudio::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationTrackEditTypeAudio::AnimationTrackEditTypeAudio() {
|
AnimationTrackEditTypeAudio::AnimationTrackEditTypeAudio() {
|
||||||
AudioStreamPreviewGenerator::get_singleton()->connect("preview_updated", callable_mp(this, &AnimationTrackEditTypeAudio::_preview_changed));
|
AudioStreamPreviewGenerator::get_singleton()->connect("preview_updated", callable_mp(this, &AnimationTrackEditTypeAudio::_preview_changed));
|
||||||
}
|
}
|
||||||
|
@ -63,9 +63,6 @@ class AnimationTrackEditAudio : public AnimationTrackEdit {
|
|||||||
|
|
||||||
void _preview_changed(ObjectID p_which);
|
void _preview_changed(ObjectID p_which);
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual int get_key_height() const override;
|
virtual int get_key_height() const override;
|
||||||
virtual Rect2 get_key_rect(int p_index, float p_pixels_sec) override;
|
virtual Rect2 get_key_rect(int p_index, float p_pixels_sec) override;
|
||||||
@ -121,9 +118,6 @@ class AnimationTrackEditTypeAudio : public AnimationTrackEdit {
|
|||||||
float len_resizing_rel = 0.0f;
|
float len_resizing_rel = 0.0f;
|
||||||
bool over_drag_position = false;
|
bool over_drag_position = false;
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void gui_input(const Ref<InputEvent> &p_event) override;
|
virtual void gui_input(const Ref<InputEvent> &p_event) override;
|
||||||
|
|
||||||
|
@ -237,9 +237,6 @@ void DependencyEditor::edit(const String &p_path) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DependencyEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
DependencyEditor::DependencyEditor() {
|
DependencyEditor::DependencyEditor() {
|
||||||
VBoxContainer *vb = memnew(VBoxContainer);
|
VBoxContainer *vb = memnew(VBoxContainer);
|
||||||
vb->set_name(TTR("Dependencies"));
|
vb->set_name(TTR("Dependencies"));
|
||||||
@ -353,9 +350,6 @@ void DependencyEditorOwners::_file_option(int p_option) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DependencyEditorOwners::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void DependencyEditorOwners::_fill_owners(EditorFileSystemDirectory *efsd) {
|
void DependencyEditorOwners::_fill_owners(EditorFileSystemDirectory *efsd) {
|
||||||
if (!efsd) {
|
if (!efsd) {
|
||||||
return;
|
return;
|
||||||
@ -865,9 +859,6 @@ void OrphanResourcesDialog::_button_pressed(Object *p_item, int p_column, int p_
|
|||||||
dep_edit->edit(path);
|
dep_edit->edit(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OrphanResourcesDialog::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
OrphanResourcesDialog::OrphanResourcesDialog() {
|
OrphanResourcesDialog::OrphanResourcesDialog() {
|
||||||
set_title(TTR("Orphan Resource Explorer"));
|
set_title(TTR("Orphan Resource Explorer"));
|
||||||
delete_confirm = memnew(ConfirmationDialog);
|
delete_confirm = memnew(ConfirmationDialog);
|
||||||
|
@ -60,9 +60,6 @@ class DependencyEditor : public AcceptDialog {
|
|||||||
|
|
||||||
void _update_file();
|
void _update_file();
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void edit(const String &p_path);
|
void edit(const String &p_path);
|
||||||
DependencyEditor();
|
DependencyEditor();
|
||||||
@ -81,7 +78,6 @@ class DependencyEditorOwners : public AcceptDialog {
|
|||||||
|
|
||||||
void _fill_owners(EditorFileSystemDirectory *efsd);
|
void _fill_owners(EditorFileSystemDirectory *efsd);
|
||||||
|
|
||||||
static void _bind_methods();
|
|
||||||
void _list_rmb_clicked(int p_item, const Vector2 &p_pos, MouseButton p_mouse_button_index);
|
void _list_rmb_clicked(int p_item, const Vector2 &p_pos, MouseButton p_mouse_button_index);
|
||||||
void _select_file(int p_idx);
|
void _select_file(int p_idx);
|
||||||
void _empty_clicked(const Vector2 &p_pos, MouseButton p_mouse_button_index);
|
void _empty_clicked(const Vector2 &p_pos, MouseButton p_mouse_button_index);
|
||||||
@ -175,7 +171,6 @@ class OrphanResourcesDialog : public ConfirmationDialog {
|
|||||||
void _button_pressed(Object *p_item, int p_column, int p_id, MouseButton p_button);
|
void _button_pressed(Object *p_item, int p_column, int p_id, MouseButton p_button);
|
||||||
|
|
||||||
void refresh();
|
void refresh();
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void show();
|
void show();
|
||||||
|
@ -659,9 +659,6 @@ void EditorAssetInstaller::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorAssetInstaller::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorAssetInstaller::EditorAssetInstaller() {
|
EditorAssetInstaller::EditorAssetInstaller() {
|
||||||
VBoxContainer *vb = memnew(VBoxContainer);
|
VBoxContainer *vb = memnew(VBoxContainer);
|
||||||
add_child(vb);
|
add_child(vb);
|
||||||
|
@ -96,7 +96,6 @@ class EditorAssetInstaller : public ConfirmationDialog {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void open_asset(const String &p_path, bool p_autoskip_toplevel = false);
|
void open_asset(const String &p_path, bool p_autoskip_toplevel = false);
|
||||||
|
@ -129,9 +129,6 @@ void EditorPropertyText::set_placeholder(const String &p_string) {
|
|||||||
text->set_placeholder(p_string);
|
text->set_placeholder(p_string);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyText::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyText::EditorPropertyText() {
|
EditorPropertyText::EditorPropertyText() {
|
||||||
HBoxContainer *hb = memnew(HBoxContainer);
|
HBoxContainer *hb = memnew(HBoxContainer);
|
||||||
add_child(hb);
|
add_child(hb);
|
||||||
@ -219,9 +216,6 @@ void EditorPropertyMultilineText::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyMultilineText::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyMultilineText::EditorPropertyMultilineText(bool p_expression) {
|
EditorPropertyMultilineText::EditorPropertyMultilineText(bool p_expression) {
|
||||||
HBoxContainer *hb = memnew(HBoxContainer);
|
HBoxContainer *hb = memnew(HBoxContainer);
|
||||||
hb->add_theme_constant_override("separation", 0);
|
hb->add_theme_constant_override("separation", 0);
|
||||||
@ -343,9 +337,6 @@ void EditorPropertyTextEnum::setup(const Vector<String> &p_options, bool p_strin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyTextEnum::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyTextEnum::_notification(int p_what) {
|
void EditorPropertyTextEnum::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_ENTER_TREE:
|
case NOTIFICATION_ENTER_TREE:
|
||||||
@ -447,9 +438,6 @@ void EditorPropertyLocale::_locale_focus_exited() {
|
|||||||
_locale_selected(locale->get_text());
|
_locale_selected(locale->get_text());
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyLocale::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyLocale::EditorPropertyLocale() {
|
EditorPropertyLocale::EditorPropertyLocale() {
|
||||||
HBoxContainer *locale_hb = memnew(HBoxContainer);
|
HBoxContainer *locale_hb = memnew(HBoxContainer);
|
||||||
add_child(locale_hb);
|
add_child(locale_hb);
|
||||||
@ -586,9 +574,6 @@ bool EditorPropertyPath::_can_drop_data_fw(const Point2 &p_point, const Variant
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyPath::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyPath::EditorPropertyPath() {
|
EditorPropertyPath::EditorPropertyPath() {
|
||||||
HBoxContainer *path_hb = memnew(HBoxContainer);
|
HBoxContainer *path_hb = memnew(HBoxContainer);
|
||||||
add_child(path_hb);
|
add_child(path_hb);
|
||||||
@ -637,9 +622,6 @@ void EditorPropertyClassName::_dialog_created() {
|
|||||||
update_property();
|
update_property();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyClassName::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyClassName::EditorPropertyClassName() {
|
EditorPropertyClassName::EditorPropertyClassName() {
|
||||||
property = memnew(Button);
|
property = memnew(Button);
|
||||||
property->set_clip_text(true);
|
property->set_clip_text(true);
|
||||||
@ -669,9 +651,6 @@ void EditorPropertyCheck::update_property() {
|
|||||||
checkbox->set_disabled(is_read_only());
|
checkbox->set_disabled(is_read_only());
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyCheck::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyCheck::EditorPropertyCheck() {
|
EditorPropertyCheck::EditorPropertyCheck() {
|
||||||
checkbox = memnew(CheckBox);
|
checkbox = memnew(CheckBox);
|
||||||
checkbox->set_text(TTR("On"));
|
checkbox->set_text(TTR("On"));
|
||||||
@ -725,9 +704,6 @@ void EditorPropertyEnum::set_option_button_clip(bool p_enable) {
|
|||||||
options->set_clip_text(p_enable);
|
options->set_clip_text(p_enable);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyEnum::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyEnum::EditorPropertyEnum() {
|
EditorPropertyEnum::EditorPropertyEnum() {
|
||||||
options = memnew(OptionButton);
|
options = memnew(OptionButton);
|
||||||
options->set_clip_text(true);
|
options->set_clip_text(true);
|
||||||
@ -804,9 +780,6 @@ void EditorPropertyFlags::setup(const Vector<String> &p_options) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyFlags::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyFlags::EditorPropertyFlags() {
|
EditorPropertyFlags::EditorPropertyFlags() {
|
||||||
vbox = memnew(VBoxContainer);
|
vbox = memnew(VBoxContainer);
|
||||||
add_child(vbox);
|
add_child(vbox);
|
||||||
@ -1280,9 +1253,6 @@ void EditorPropertyLayers::_refresh_names() {
|
|||||||
setup(layer_type);
|
setup(layer_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyLayers::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyLayers::EditorPropertyLayers() {
|
EditorPropertyLayers::EditorPropertyLayers() {
|
||||||
HBoxContainer *hb = memnew(HBoxContainer);
|
HBoxContainer *hb = memnew(HBoxContainer);
|
||||||
hb->set_clip_contents(true);
|
hb->set_clip_contents(true);
|
||||||
@ -1330,9 +1300,6 @@ void EditorPropertyInteger::update_property() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyInteger::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyInteger::setup(int64_t p_min, int64_t p_max, int64_t p_step, bool p_hide_slider, bool p_allow_greater, bool p_allow_lesser, const String &p_suffix) {
|
void EditorPropertyInteger::setup(int64_t p_min, int64_t p_max, int64_t p_step, bool p_hide_slider, bool p_allow_greater, bool p_allow_lesser, const String &p_suffix) {
|
||||||
spin->set_min(p_min);
|
spin->set_min(p_min);
|
||||||
spin->set_max(p_max);
|
spin->set_max(p_max);
|
||||||
@ -1385,9 +1352,6 @@ void EditorPropertyObjectID::setup(const String &p_base_type) {
|
|||||||
base_type = p_base_type;
|
base_type = p_base_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyObjectID::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyObjectID::EditorPropertyObjectID() {
|
EditorPropertyObjectID::EditorPropertyObjectID() {
|
||||||
edit = memnew(Button);
|
edit = memnew(Button);
|
||||||
add_child(edit);
|
add_child(edit);
|
||||||
@ -1413,9 +1377,6 @@ void EditorPropertySignal::update_property() {
|
|||||||
edit->set_icon(get_editor_theme_icon(SNAME("Signals")));
|
edit->set_icon(get_editor_theme_icon(SNAME("Signals")));
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertySignal::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertySignal::EditorPropertySignal() {
|
EditorPropertySignal::EditorPropertySignal() {
|
||||||
edit = memnew(Button);
|
edit = memnew(Button);
|
||||||
add_child(edit);
|
add_child(edit);
|
||||||
@ -1435,9 +1396,6 @@ void EditorPropertyCallable::update_property() {
|
|||||||
edit->set_icon(get_editor_theme_icon(SNAME("Callable")));
|
edit->set_icon(get_editor_theme_icon(SNAME("Callable")));
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyCallable::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyCallable::EditorPropertyCallable() {
|
EditorPropertyCallable::EditorPropertyCallable() {
|
||||||
edit = memnew(Button);
|
edit = memnew(Button);
|
||||||
add_child(edit);
|
add_child(edit);
|
||||||
@ -1465,9 +1423,6 @@ void EditorPropertyFloat::update_property() {
|
|||||||
spin->set_value_no_signal(val);
|
spin->set_value_no_signal(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyFloat::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyFloat::setup(double p_min, double p_max, double p_step, bool p_hide_slider, bool p_exp_range, bool p_greater, bool p_lesser, const String &p_suffix, bool p_radians_as_degrees) {
|
void EditorPropertyFloat::setup(double p_min, double p_max, double p_step, bool p_hide_slider, bool p_exp_range, bool p_greater, bool p_lesser, const String &p_suffix, bool p_radians_as_degrees) {
|
||||||
radians_as_degrees = p_radians_as_degrees;
|
radians_as_degrees = p_radians_as_degrees;
|
||||||
spin->set_min(p_min);
|
spin->set_min(p_min);
|
||||||
@ -1675,9 +1630,6 @@ void EditorPropertyEasing::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyEasing::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyEasing::EditorPropertyEasing() {
|
EditorPropertyEasing::EditorPropertyEasing() {
|
||||||
easing_draw = memnew(Control);
|
easing_draw = memnew(Control);
|
||||||
easing_draw->connect(SceneStringName(draw), callable_mp(this, &EditorPropertyEasing::_draw_easing));
|
easing_draw->connect(SceneStringName(draw), callable_mp(this, &EditorPropertyEasing::_draw_easing));
|
||||||
@ -1740,9 +1692,6 @@ void EditorPropertyRect2::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyRect2::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyRect2::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
void EditorPropertyRect2::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
spin[i]->set_min(p_min);
|
spin[i]->set_min(p_min);
|
||||||
@ -1837,9 +1786,6 @@ void EditorPropertyRect2i::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyRect2i::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyRect2i::setup(int p_min, int p_max, const String &p_suffix) {
|
void EditorPropertyRect2i::setup(int p_min, int p_max, const String &p_suffix) {
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
spin[i]->set_min(p_min);
|
spin[i]->set_min(p_min);
|
||||||
@ -1933,9 +1879,6 @@ void EditorPropertyPlane::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyPlane::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyPlane::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
void EditorPropertyPlane::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
spin[i]->set_min(p_min);
|
spin[i]->set_min(p_min);
|
||||||
@ -2085,9 +2028,6 @@ void EditorPropertyQuaternion::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyQuaternion::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyQuaternion::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix, bool p_hide_editor) {
|
void EditorPropertyQuaternion::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix, bool p_hide_editor) {
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
spin[i]->set_min(p_min);
|
spin[i]->set_min(p_min);
|
||||||
@ -2232,9 +2172,6 @@ void EditorPropertyAABB::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyAABB::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyAABB::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
void EditorPropertyAABB::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||||
for (int i = 0; i < 6; i++) {
|
for (int i = 0; i < 6; i++) {
|
||||||
spin[i]->set_min(p_min);
|
spin[i]->set_min(p_min);
|
||||||
@ -2313,9 +2250,6 @@ void EditorPropertyTransform2D::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyTransform2D::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyTransform2D::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
void EditorPropertyTransform2D::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||||
for (int i = 0; i < 6; i++) {
|
for (int i = 0; i < 6; i++) {
|
||||||
spin[i]->set_min(p_min);
|
spin[i]->set_min(p_min);
|
||||||
@ -2398,9 +2332,6 @@ void EditorPropertyBasis::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyBasis::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyBasis::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
void EditorPropertyBasis::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||||
for (int i = 0; i < 9; i++) {
|
for (int i = 0; i < 9; i++) {
|
||||||
spin[i]->set_min(p_min);
|
spin[i]->set_min(p_min);
|
||||||
@ -2490,9 +2421,6 @@ void EditorPropertyTransform3D::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyTransform3D::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyTransform3D::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
void EditorPropertyTransform3D::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||||
for (int i = 0; i < 12; i++) {
|
for (int i = 0; i < 12; i++) {
|
||||||
spin[i]->set_min(p_min);
|
spin[i]->set_min(p_min);
|
||||||
@ -2590,9 +2518,6 @@ void EditorPropertyProjection::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyProjection::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyProjection::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
void EditorPropertyProjection::setup(double p_min, double p_max, double p_step, bool p_hide_slider, const String &p_suffix) {
|
||||||
for (int i = 0; i < 16; i++) {
|
for (int i = 0; i < 16; i++) {
|
||||||
spin[i]->set_min(p_min);
|
spin[i]->set_min(p_min);
|
||||||
|
@ -66,7 +66,6 @@ class EditorPropertyText : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void set_string_name(bool p_enabled);
|
void set_string_name(bool p_enabled);
|
||||||
@ -92,7 +91,6 @@ class EditorPropertyMultilineText : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -126,7 +124,6 @@ class EditorPropertyTextEnum : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -153,7 +150,6 @@ class EditorPropertyPath : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -174,7 +170,6 @@ class EditorPropertyLocale : public EditorProperty {
|
|||||||
void _locale_focus_exited();
|
void _locale_focus_exited();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -196,7 +191,6 @@ private:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void setup(const String &p_base_type, const String &p_selected_type);
|
void setup(const String &p_base_type, const String &p_selected_type);
|
||||||
@ -212,7 +206,6 @@ class EditorPropertyCheck : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -227,7 +220,6 @@ class EditorPropertyEnum : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void setup(const Vector<String> &p_options);
|
void setup(const Vector<String> &p_options);
|
||||||
@ -246,7 +238,6 @@ class EditorPropertyFlags : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void setup(const Vector<String> &p_options);
|
void setup(const Vector<String> &p_options);
|
||||||
@ -327,7 +318,6 @@ private:
|
|||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void setup(LayerType p_layer_type);
|
void setup(LayerType p_layer_type);
|
||||||
@ -344,7 +334,6 @@ class EditorPropertyInteger : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -360,7 +349,6 @@ class EditorPropertyObjectID : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -374,9 +362,6 @@ class EditorPropertySignal : public EditorProperty {
|
|||||||
String base_type;
|
String base_type;
|
||||||
void _edit_pressed();
|
void _edit_pressed();
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
EditorPropertySignal();
|
EditorPropertySignal();
|
||||||
@ -387,9 +372,6 @@ class EditorPropertyCallable : public EditorProperty {
|
|||||||
Button *edit = nullptr;
|
Button *edit = nullptr;
|
||||||
String base_type;
|
String base_type;
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
EditorPropertyCallable();
|
EditorPropertyCallable();
|
||||||
@ -403,7 +385,6 @@ class EditorPropertyFloat : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -445,7 +426,6 @@ class EditorPropertyEasing : public EditorProperty {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -461,7 +441,6 @@ class EditorPropertyRect2 : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -477,7 +456,6 @@ class EditorPropertyRect2i : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -493,7 +471,6 @@ class EditorPropertyPlane : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -526,7 +503,6 @@ class EditorPropertyQuaternion : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -542,7 +518,6 @@ class EditorPropertyAABB : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -558,7 +533,6 @@ class EditorPropertyTransform2D : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -574,7 +548,6 @@ class EditorPropertyBasis : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -590,7 +563,6 @@ class EditorPropertyTransform3D : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -607,7 +579,6 @@ class EditorPropertyProjection : public EditorProperty {
|
|||||||
protected:
|
protected:
|
||||||
virtual void _set_read_only(bool p_read_only) override;
|
virtual void _set_read_only(bool p_read_only) override;
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
|
@ -836,9 +836,6 @@ bool EditorPropertyArray::is_colored(ColorationMode p_mode) {
|
|||||||
return p_mode == COLORATION_CONTAINER_RESOURCE;
|
return p_mode == COLORATION_CONTAINER_RESOURCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyArray::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyArray::EditorPropertyArray() {
|
EditorPropertyArray::EditorPropertyArray() {
|
||||||
object.instantiate();
|
object.instantiate();
|
||||||
page_length = int(EDITOR_GET("interface/inspector/max_array_dictionary_items_per_page"));
|
page_length = int(EDITOR_GET("interface/inspector/max_array_dictionary_items_per_page"));
|
||||||
@ -1166,9 +1163,6 @@ void EditorPropertyDictionary::_page_changed(int p_page) {
|
|||||||
update_property();
|
update_property();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyDictionary::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
bool EditorPropertyDictionary::is_colored(ColorationMode p_mode) {
|
bool EditorPropertyDictionary::is_colored(ColorationMode p_mode) {
|
||||||
return p_mode == COLORATION_CONTAINER_RESOURCE;
|
return p_mode == COLORATION_CONTAINER_RESOURCE;
|
||||||
}
|
}
|
||||||
@ -1385,9 +1379,6 @@ void EditorPropertyLocalizableString::_page_changed(int p_page) {
|
|||||||
update_property();
|
update_property();
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyLocalizableString::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyLocalizableString::EditorPropertyLocalizableString() {
|
EditorPropertyLocalizableString::EditorPropertyLocalizableString() {
|
||||||
object.instantiate();
|
object.instantiate();
|
||||||
page_length = int(EDITOR_GET("interface/inspector/max_array_dictionary_items_per_page"));
|
page_length = int(EDITOR_GET("interface/inspector/max_array_dictionary_items_per_page"));
|
||||||
|
@ -150,7 +150,6 @@ protected:
|
|||||||
bool updating = false;
|
bool updating = false;
|
||||||
bool dropping = false;
|
bool dropping = false;
|
||||||
|
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
virtual void _add_element();
|
virtual void _add_element();
|
||||||
@ -234,7 +233,6 @@ class EditorPropertyDictionary : public EditorProperty {
|
|||||||
void _object_id_selected(const StringName &p_property, ObjectID p_id);
|
void _object_id_selected(const StringName &p_property, ObjectID p_id);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -271,7 +269,6 @@ class EditorPropertyLocalizableString : public EditorProperty {
|
|||||||
void _object_id_selected(const StringName &p_property, ObjectID p_id);
|
void _object_id_selected(const StringName &p_property, ObjectID p_id);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -859,9 +859,6 @@ void ExportTemplateManager::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExportTemplateManager::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
ExportTemplateManager::ExportTemplateManager() {
|
ExportTemplateManager::ExportTemplateManager() {
|
||||||
set_title(TTR("Export Template Manager"));
|
set_title(TTR("Export Template Manager"));
|
||||||
set_hide_on_ok(false);
|
set_hide_on_ok(false);
|
||||||
|
@ -119,7 +119,6 @@ class ExportTemplateManager : public AcceptDialog {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static String get_android_build_directory(const Ref<EditorExportPreset> &p_preset);
|
static String get_android_build_directory(const Ref<EditorExportPreset> &p_preset);
|
||||||
|
@ -216,9 +216,6 @@ void EditorObjectSelector::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorObjectSelector::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorObjectSelector::EditorObjectSelector(EditorSelectionHistory *p_history) {
|
EditorObjectSelector::EditorObjectSelector(EditorSelectionHistory *p_history) {
|
||||||
history = p_history;
|
history = p_history;
|
||||||
|
|
||||||
|
@ -58,7 +58,6 @@ class EditorObjectSelector : public Button {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual Size2 get_minimum_size() const override;
|
virtual Size2 get_minimum_size() const override;
|
||||||
|
@ -48,9 +48,6 @@ void NodeDock::show_connections() {
|
|||||||
connections->show();
|
connections->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void NodeDock::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void NodeDock::_notification(int p_what) {
|
void NodeDock::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_ENTER_TREE:
|
case NOTIFICATION_ENTER_TREE:
|
||||||
|
@ -55,7 +55,6 @@ public:
|
|||||||
static NodeDock *get_singleton() { return singleton; }
|
static NodeDock *get_singleton() { return singleton; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -620,9 +620,6 @@ void AbstractPolygon2DEditor::edit(Node *p_polygon) {
|
|||||||
canvas_item_editor->update_viewport();
|
canvas_item_editor->update_viewport();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AbstractPolygon2DEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void AbstractPolygon2DEditor::remove_point(const Vertex &p_vertex) {
|
void AbstractPolygon2DEditor::remove_point(const Vertex &p_vertex) {
|
||||||
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
EditorUndoRedoManager *undo_redo = EditorUndoRedoManager::get_singleton();
|
||||||
Vector<Vector2> vertices = _get_polygon(p_vertex.polygon);
|
Vector<Vector2> vertices = _get_polygon(p_vertex.polygon);
|
||||||
|
@ -109,7 +109,6 @@ protected:
|
|||||||
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
void remove_point(const Vertex &p_vertex);
|
void remove_point(const Vertex &p_vertex);
|
||||||
Vertex get_active_point() const;
|
Vertex get_active_point() const;
|
||||||
|
@ -199,9 +199,6 @@ void AnimationTreeEditor::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationTreeEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationTreeEditor *AnimationTreeEditor::singleton = nullptr;
|
AnimationTreeEditor *AnimationTreeEditor::singleton = nullptr;
|
||||||
|
|
||||||
void AnimationTreeEditor::add_plugin(AnimationTreeNodeEditorPlugin *p_editor) {
|
void AnimationTreeEditor::add_plugin(AnimationTreeNodeEditorPlugin *p_editor) {
|
||||||
|
@ -72,7 +72,6 @@ class AnimationTreeEditor : public VBoxContainer {
|
|||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
static AnimationTreeEditor *singleton;
|
static AnimationTreeEditor *singleton;
|
||||||
|
|
||||||
|
@ -252,9 +252,6 @@ StringName BonePicker::get_selected_bone() {
|
|||||||
return selected->get_text(0);
|
return selected->get_text(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BonePicker::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void BonePicker::_notification(int p_what) {
|
void BonePicker::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_ENTER_TREE: {
|
case NOTIFICATION_ENTER_TREE: {
|
||||||
|
@ -122,8 +122,6 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
void _confirm();
|
void _confirm();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -46,9 +46,6 @@ void Camera3DEditor::_pressed() {
|
|||||||
Node3DEditor::get_singleton()->set_custom_camera(sn);
|
Node3DEditor::get_singleton()->set_custom_camera(sn);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Camera3DEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void Camera3DEditor::edit(Node *p_camera) {
|
void Camera3DEditor::edit(Node *p_camera) {
|
||||||
node = p_camera;
|
node = p_camera;
|
||||||
|
|
||||||
|
@ -45,7 +45,6 @@ class Camera3DEditor : public Control {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void edit(Node *p_camera);
|
void edit(Node *p_camera);
|
||||||
|
@ -258,9 +258,6 @@ void CPUParticles2DEditorPlugin::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPUParticles2DEditorPlugin::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
CPUParticles2DEditorPlugin::CPUParticles2DEditorPlugin() {
|
CPUParticles2DEditorPlugin::CPUParticles2DEditorPlugin() {
|
||||||
particles = nullptr;
|
particles = nullptr;
|
||||||
|
|
||||||
|
@ -79,7 +79,6 @@ class CPUParticles2DEditorPlugin : public EditorPlugin {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual String get_name() const override { return "CPUParticles2D"; }
|
virtual String get_name() const override { return "CPUParticles2D"; }
|
||||||
|
@ -157,9 +157,6 @@ void CPUParticles3DEditor::_generate_emission_points() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPUParticles3DEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
CPUParticles3DEditor::CPUParticles3DEditor() {
|
CPUParticles3DEditor::CPUParticles3DEditor() {
|
||||||
particles_editor_hb = memnew(HBoxContainer);
|
particles_editor_hb = memnew(HBoxContainer);
|
||||||
Node3DEditor::get_singleton()->add_control_to_menu_panel(particles_editor_hb);
|
Node3DEditor::get_singleton()->add_control_to_menu_panel(particles_editor_hb);
|
||||||
|
@ -60,7 +60,6 @@ class CPUParticles3DEditor : public GPUParticles3DEditorBase {
|
|||||||
protected:
|
protected:
|
||||||
void _notification(int p_notification);
|
void _notification(int p_notification);
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void edit(CPUParticles3D *p_particles);
|
void edit(CPUParticles3D *p_particles);
|
||||||
|
@ -199,9 +199,6 @@ Vector<String> EditorPluginSettings::_get_plugins(const String &p_dir) {
|
|||||||
return plugins;
|
return plugins;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPluginSettings::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPluginSettings::EditorPluginSettings() {
|
EditorPluginSettings::EditorPluginSettings() {
|
||||||
ProjectSettings::get_singleton()->add_hidden_prefix("editor_plugins/");
|
ProjectSettings::get_singleton()->add_hidden_prefix("editor_plugins/");
|
||||||
|
|
||||||
|
@ -67,8 +67,6 @@ class EditorPluginSettings : public VBoxContainer {
|
|||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void update_plugins();
|
void update_plugins();
|
||||||
|
|
||||||
|
@ -63,9 +63,6 @@ bool EditorPropertyFontMetaObject::_get(const StringName &p_name, Variant &r_ret
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyFontMetaObject::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void EditorPropertyFontMetaObject::set_dict(const Dictionary &p_dict) {
|
void EditorPropertyFontMetaObject::set_dict(const Dictionary &p_dict) {
|
||||||
dict = p_dict;
|
dict = p_dict;
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,6 @@ class EditorPropertyFontMetaObject : public RefCounted {
|
|||||||
protected:
|
protected:
|
||||||
bool _set(const StringName &p_name, const Variant &p_value);
|
bool _set(const StringName &p_name, const Variant &p_value);
|
||||||
bool _get(const StringName &p_name, Variant &r_ret) const;
|
bool _get(const StringName &p_name, Variant &r_ret) const;
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void set_dict(const Dictionary &p_dict);
|
void set_dict(const Dictionary &p_dict);
|
||||||
|
@ -360,9 +360,6 @@ void GPUParticles2DEditorPlugin::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPUParticles2DEditorPlugin::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
GPUParticles2DEditorPlugin::GPUParticles2DEditorPlugin() {
|
GPUParticles2DEditorPlugin::GPUParticles2DEditorPlugin() {
|
||||||
particles = nullptr;
|
particles = nullptr;
|
||||||
|
|
||||||
|
@ -86,7 +86,6 @@ class GPUParticles2DEditorPlugin : public EditorPlugin {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual String get_name() const override { return "GPUParticles2D"; }
|
virtual String get_name() const override { return "GPUParticles2D"; }
|
||||||
|
@ -198,9 +198,6 @@ void GPUParticles3DEditorBase::_node_selected(const NodePath &p_path) {
|
|||||||
emission_dialog->popup_centered(Size2(300, 130));
|
emission_dialog->popup_centered(Size2(300, 130));
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPUParticles3DEditorBase::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
GPUParticles3DEditorBase::GPUParticles3DEditorBase() {
|
GPUParticles3DEditorBase::GPUParticles3DEditorBase() {
|
||||||
emission_dialog = memnew(ConfirmationDialog);
|
emission_dialog = memnew(ConfirmationDialog);
|
||||||
emission_dialog->set_title(TTR("Create Emitter"));
|
emission_dialog->set_title(TTR("Create Emitter"));
|
||||||
@ -402,9 +399,6 @@ void GPUParticles3DEditor::_generate_emission_points() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPUParticles3DEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
GPUParticles3DEditor::GPUParticles3DEditor() {
|
GPUParticles3DEditor::GPUParticles3DEditor() {
|
||||||
node = nullptr;
|
node = nullptr;
|
||||||
particles_editor_hb = memnew(HBoxContainer);
|
particles_editor_hb = memnew(HBoxContainer);
|
||||||
|
@ -62,8 +62,6 @@ protected:
|
|||||||
virtual void _generate_emission_points(){};
|
virtual void _generate_emission_points(){};
|
||||||
void _node_selected(const NodePath &p_path);
|
void _node_selected(const NodePath &p_path);
|
||||||
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GPUParticles3DEditorBase();
|
GPUParticles3DEditorBase();
|
||||||
};
|
};
|
||||||
@ -95,7 +93,6 @@ class GPUParticles3DEditor : public GPUParticles3DEditorBase {
|
|||||||
protected:
|
protected:
|
||||||
void _notification(int p_notification);
|
void _notification(int p_notification);
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void edit(GPUParticles3D *p_particles);
|
void edit(GPUParticles3D *p_particles);
|
||||||
|
@ -175,9 +175,6 @@ void GPUParticlesCollisionSDF3DEditorPlugin::_sdf_save_path_and_bake(const Strin
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPUParticlesCollisionSDF3DEditorPlugin::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
GPUParticlesCollisionSDF3DEditorPlugin::GPUParticlesCollisionSDF3DEditorPlugin() {
|
GPUParticlesCollisionSDF3DEditorPlugin::GPUParticlesCollisionSDF3DEditorPlugin() {
|
||||||
bake_hb = memnew(HBoxContainer);
|
bake_hb = memnew(HBoxContainer);
|
||||||
bake_hb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
bake_hb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
|
@ -58,7 +58,6 @@ class GPUParticlesCollisionSDF3DEditorPlugin : public EditorPlugin {
|
|||||||
void _sdf_save_path_and_bake(const String &p_path);
|
void _sdf_save_path_and_bake(const String &p_path);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -33,9 +33,6 @@
|
|||||||
#include "editor/event_listener_line_edit.h"
|
#include "editor/event_listener_line_edit.h"
|
||||||
#include "editor/input_event_configuration_dialog.h"
|
#include "editor/input_event_configuration_dialog.h"
|
||||||
|
|
||||||
void InputEventConfigContainer::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void InputEventConfigContainer::_notification(int p_what) {
|
void InputEventConfigContainer::_notification(int p_what) {
|
||||||
switch (p_what) {
|
switch (p_what) {
|
||||||
case NOTIFICATION_ENTER_TREE:
|
case NOTIFICATION_ENTER_TREE:
|
||||||
|
@ -51,7 +51,6 @@ class InputEventConfigContainer : public VBoxContainer {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void set_event(const Ref<InputEvent> &p_event);
|
void set_event(const Ref<InputEvent> &p_event);
|
||||||
|
@ -242,9 +242,6 @@ void MeshLibraryEditor::_menu_cbk(int p_option) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MeshLibraryEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
MeshLibraryEditor::MeshLibraryEditor() {
|
MeshLibraryEditor::MeshLibraryEditor() {
|
||||||
file = memnew(EditorFileDialog);
|
file = memnew(EditorFileDialog);
|
||||||
file->set_file_mode(EditorFileDialog::FILE_MODE_OPEN_FILE);
|
file->set_file_mode(EditorFileDialog::FILE_MODE_OPEN_FILE);
|
||||||
|
@ -68,9 +68,6 @@ class MeshLibraryEditor : public Control {
|
|||||||
static void _import_scene(Node *p_scene, Ref<MeshLibrary> p_library, bool p_merge, bool p_apply_xforms);
|
static void _import_scene(Node *p_scene, Ref<MeshLibrary> p_library, bool p_merge, bool p_apply_xforms);
|
||||||
static void _import_scene_parse_node(Ref<MeshLibrary> p_library, HashMap<int, MeshInstance3D *> &p_mesh_instances, Node *p_node, bool p_merge, bool p_apply_xforms);
|
static void _import_scene_parse_node(Ref<MeshLibrary> p_library, HashMap<int, MeshInstance3D *> &p_mesh_instances, Node *p_node, bool p_merge, bool p_apply_xforms);
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MenuButton *get_menu_button() const { return menu; }
|
MenuButton *get_menu_button() const { return menu; }
|
||||||
|
|
||||||
|
@ -266,9 +266,6 @@ void MultiMeshEditor::_browse(bool p_source) {
|
|||||||
std->popup_scenetree_dialog(browsed_node);
|
std->popup_scenetree_dialog(browsed_node);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MultiMeshEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
MultiMeshEditor::MultiMeshEditor() {
|
MultiMeshEditor::MultiMeshEditor() {
|
||||||
options = memnew(MenuButton);
|
options = memnew(MenuButton);
|
||||||
options->set_switch_on_hover(true);
|
options->set_switch_on_hover(true);
|
||||||
|
@ -79,7 +79,6 @@ class MultiMeshEditor : public Control {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void edit(MultiMeshInstance3D *p_multimesh);
|
void edit(MultiMeshInstance3D *p_multimesh);
|
||||||
|
@ -36,9 +36,6 @@
|
|||||||
#include "scene/3d/physics/physical_bone_3d.h"
|
#include "scene/3d/physics/physical_bone_3d.h"
|
||||||
#include "scene/gui/separator.h"
|
#include "scene/gui/separator.h"
|
||||||
|
|
||||||
void PhysicalBone3DEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void PhysicalBone3DEditor::_on_toggle_button_transform_joint(bool p_is_pressed) {
|
void PhysicalBone3DEditor::_on_toggle_button_transform_joint(bool p_is_pressed) {
|
||||||
_set_move_joint();
|
_set_move_joint();
|
||||||
}
|
}
|
||||||
|
@ -45,9 +45,6 @@ class PhysicalBone3DEditor : public Object {
|
|||||||
|
|
||||||
PhysicalBone3D *selected = nullptr;
|
PhysicalBone3D *selected = nullptr;
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void _on_toggle_button_transform_joint(bool p_is_pressed);
|
void _on_toggle_button_transform_joint(bool p_is_pressed);
|
||||||
void _set_move_joint();
|
void _set_move_joint();
|
||||||
|
@ -193,9 +193,6 @@ void EditorPropertyRootMotion::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyRootMotion::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyRootMotion::EditorPropertyRootMotion() {
|
EditorPropertyRootMotion::EditorPropertyRootMotion() {
|
||||||
HBoxContainer *hbc = memnew(HBoxContainer);
|
HBoxContainer *hbc = memnew(HBoxContainer);
|
||||||
add_child(hbc);
|
add_child(hbc);
|
||||||
|
@ -52,7 +52,6 @@ class EditorPropertyRootMotion : public EditorProperty {
|
|||||||
void _node_clear();
|
void _node_clear();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -218,9 +218,6 @@ void ShaderFileEditor::_editor_settings_changed() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ShaderFileEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void ShaderFileEditor::edit(const Ref<RDShaderFile> &p_shader) {
|
void ShaderFileEditor::edit(const Ref<RDShaderFile> &p_shader) {
|
||||||
if (p_shader.is_null()) {
|
if (p_shader.is_null()) {
|
||||||
if (shader_file.is_valid()) {
|
if (shader_file.is_valid()) {
|
||||||
|
@ -62,7 +62,6 @@ class ShaderFileEditor : public PanelContainer {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static ShaderFileEditor *singleton;
|
static ShaderFileEditor *singleton;
|
||||||
|
@ -90,9 +90,6 @@ void Skeleton2DEditor::_menu_option(int p_option) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Skeleton2DEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
Skeleton2DEditor::Skeleton2DEditor() {
|
Skeleton2DEditor::Skeleton2DEditor() {
|
||||||
options = memnew(MenuButton);
|
options = memnew(MenuButton);
|
||||||
|
|
||||||
|
@ -57,7 +57,6 @@ class Skeleton2DEditor : public Control {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void edit(Skeleton2D *p_sprite);
|
void edit(Skeleton2D *p_sprite);
|
||||||
|
@ -73,9 +73,6 @@ void SkeletonIK3DEditorPlugin::make_visible(bool p_visible) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SkeletonIK3DEditorPlugin::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
SkeletonIK3DEditorPlugin::SkeletonIK3DEditorPlugin() {
|
SkeletonIK3DEditorPlugin::SkeletonIK3DEditorPlugin() {
|
||||||
play_btn = memnew(Button);
|
play_btn = memnew(Button);
|
||||||
play_btn->set_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("Play"), EditorStringName(EditorIcons)));
|
play_btn->set_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("Play"), EditorStringName(EditorIcons)));
|
||||||
|
@ -45,9 +45,6 @@ class SkeletonIK3DEditorPlugin : public EditorPlugin {
|
|||||||
|
|
||||||
void _play();
|
void _play();
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual String get_name() const override { return "SkeletonIK3D"; }
|
virtual String get_name() const override { return "SkeletonIK3D"; }
|
||||||
bool has_main_screen() const override { return false; }
|
bool has_main_screen() const override { return false; }
|
||||||
|
@ -7653,9 +7653,6 @@ void EditorPropertyVisualShaderMode::set_option_button_clip(bool p_enable) {
|
|||||||
options->set_clip_text(p_enable);
|
options->set_clip_text(p_enable);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorPropertyVisualShaderMode::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
EditorPropertyVisualShaderMode::EditorPropertyVisualShaderMode() {
|
EditorPropertyVisualShaderMode::EditorPropertyVisualShaderMode() {
|
||||||
options = memnew(OptionButton);
|
options = memnew(OptionButton);
|
||||||
options->set_clip_text(true);
|
options->set_clip_text(true);
|
||||||
@ -7787,9 +7784,6 @@ void VisualShaderNodePortPreview::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void VisualShaderNodePortPreview::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
//////////////////////////////////
|
//////////////////////////////////
|
||||||
|
|
||||||
String VisualShaderConversionPlugin::converts_to() const {
|
String VisualShaderConversionPlugin::converts_to() const {
|
||||||
|
@ -630,9 +630,6 @@ class EditorPropertyVisualShaderMode : public EditorProperty {
|
|||||||
|
|
||||||
void _option_selected(int p_which);
|
void _option_selected(int p_which);
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void setup(const Vector<String> &p_options);
|
void setup(const Vector<String> &p_options);
|
||||||
virtual void update_property() override;
|
virtual void update_property() override;
|
||||||
@ -658,7 +655,6 @@ class VisualShaderNodePortPreview : public Control {
|
|||||||
void _shader_changed(); //must regen
|
void _shader_changed(); //must regen
|
||||||
protected:
|
protected:
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual Size2 get_minimum_size() const override;
|
virtual Size2 get_minimum_size() const override;
|
||||||
|
@ -177,9 +177,6 @@ void VoxelGIEditorPlugin::_voxel_gi_save_path_and_bake(const String &p_path) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void VoxelGIEditorPlugin::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
VoxelGIEditorPlugin::VoxelGIEditorPlugin() {
|
VoxelGIEditorPlugin::VoxelGIEditorPlugin() {
|
||||||
bake_hb = memnew(HBoxContainer);
|
bake_hb = memnew(HBoxContainer);
|
||||||
bake_hb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
bake_hb->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||||
|
@ -58,7 +58,6 @@ class VoxelGIEditorPlugin : public EditorPlugin {
|
|||||||
void _voxel_gi_save_path_and_bake(const String &p_path);
|
void _voxel_gi_save_path_and_bake(const String &p_path);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -2114,9 +2114,6 @@ Error FBXDocument::_parse(Ref<FBXState> p_state, String p_path, Ref<FileAccess>
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FBXDocument::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
Node *FBXDocument::generate_scene(Ref<GLTFState> p_state, float p_bake_fps, bool p_trimming, bool p_remove_immutable_tracks) {
|
Node *FBXDocument::generate_scene(Ref<GLTFState> p_state, float p_bake_fps, bool p_trimming, bool p_remove_immutable_tracks) {
|
||||||
Ref<FBXState> state = p_state;
|
Ref<FBXState> state = p_state;
|
||||||
ERR_FAIL_COND_V(state.is_null(), nullptr);
|
ERR_FAIL_COND_V(state.is_null(), nullptr);
|
||||||
|
@ -61,9 +61,6 @@ public:
|
|||||||
PackedByteArray generate_buffer(Ref<GLTFState> p_state) override;
|
PackedByteArray generate_buffer(Ref<GLTFState> p_state) override;
|
||||||
Error write_to_filesystem(Ref<GLTFState> p_state, const String &p_path) override;
|
Error write_to_filesystem(Ref<GLTFState> p_state, const String &p_path) override;
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
String _get_texture_path(const String &p_base_directory, const String &p_source_file_path) const;
|
String _get_texture_path(const String &p_base_directory, const String &p_source_file_path) const;
|
||||||
void _process_uv_set(PackedVector2Array &uv_array);
|
void _process_uv_set(PackedVector2Array &uv_array);
|
||||||
|
@ -34,9 +34,6 @@
|
|||||||
#include "scene/3d/mesh_instance_3d.h"
|
#include "scene/3d/mesh_instance_3d.h"
|
||||||
#include "scene/resources/3d/importer_mesh.h"
|
#include "scene/resources/3d/importer_mesh.h"
|
||||||
|
|
||||||
void GLTFDocumentExtensionConvertImporterMesh::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLTFDocumentExtensionConvertImporterMesh::_copy_meta(Object *p_src_object, Object *p_dst_object) {
|
void GLTFDocumentExtensionConvertImporterMesh::_copy_meta(Object *p_src_object, Object *p_dst_object) {
|
||||||
List<StringName> meta_list;
|
List<StringName> meta_list;
|
||||||
p_src_object->get_meta_list(&meta_list);
|
p_src_object->get_meta_list(&meta_list);
|
||||||
|
@ -37,7 +37,6 @@ class GLTFDocumentExtensionConvertImporterMesh : public GLTFDocumentExtension {
|
|||||||
GDCLASS(GLTFDocumentExtensionConvertImporterMesh, GLTFDocumentExtension);
|
GDCLASS(GLTFDocumentExtensionConvertImporterMesh, GLTFDocumentExtension);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
static void _copy_meta(Object *p_src_object, Object *p_dst_object);
|
static void _copy_meta(Object *p_src_object, Object *p_dst_object);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -126,9 +126,6 @@ void NavigationMeshEditor::edit(NavigationRegion3D *p_nav_region) {
|
|||||||
node = p_nav_region;
|
node = p_nav_region;
|
||||||
}
|
}
|
||||||
|
|
||||||
void NavigationMeshEditor::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
NavigationMeshEditor::NavigationMeshEditor() {
|
NavigationMeshEditor::NavigationMeshEditor() {
|
||||||
bake_hbox = memnew(HBoxContainer);
|
bake_hbox = memnew(HBoxContainer);
|
||||||
|
|
||||||
|
@ -60,7 +60,6 @@ class NavigationMeshEditor : public Control {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
void _node_removed(Node *p_node);
|
void _node_removed(Node *p_node);
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -35,9 +35,6 @@
|
|||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
#include "editor/editor_string_names.h"
|
#include "editor/editor_string_names.h"
|
||||||
|
|
||||||
void OpenXRSelectRuntime::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void OpenXRSelectRuntime::_update_items() {
|
void OpenXRSelectRuntime::_update_items() {
|
||||||
Ref<DirAccess> da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
|
Ref<DirAccess> da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
|
||||||
OS *os = OS::get_singleton();
|
OS *os = OS::get_singleton();
|
||||||
|
@ -40,7 +40,6 @@ public:
|
|||||||
OpenXRSelectRuntime();
|
OpenXRSelectRuntime();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_notification);
|
void _notification(int p_notification);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -129,9 +129,6 @@ void Occluder3D::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Occluder3D::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
Occluder3D::Occluder3D() {
|
Occluder3D::Occluder3D() {
|
||||||
occluder = RS::get_singleton()->occluder_create();
|
occluder = RS::get_singleton()->occluder_create();
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,6 @@ protected:
|
|||||||
void _update();
|
void _update();
|
||||||
virtual void _update_arrays(PackedVector3Array &r_vertices, PackedInt32Array &r_indices) = 0;
|
virtual void _update_arrays(PackedVector3Array &r_vertices, PackedInt32Array &r_indices) = 0;
|
||||||
|
|
||||||
static void _bind_methods();
|
|
||||||
void _notification(int p_what);
|
void _notification(int p_what);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -754,9 +754,6 @@ AnimationNode::NodeTimeInfo AnimationNodeAdd2::_process(const AnimationMixer::Pl
|
|||||||
return nti;
|
return nti;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationNodeAdd2::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationNodeAdd2::AnimationNodeAdd2() {
|
AnimationNodeAdd2::AnimationNodeAdd2() {
|
||||||
add_input("in");
|
add_input("in");
|
||||||
add_input("add");
|
add_input("add");
|
||||||
@ -800,9 +797,6 @@ AnimationNode::NodeTimeInfo AnimationNodeAdd3::_process(const AnimationMixer::Pl
|
|||||||
return nti;
|
return nti;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationNodeAdd3::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationNodeAdd3::AnimationNodeAdd3() {
|
AnimationNodeAdd3::AnimationNodeAdd3() {
|
||||||
add_input("-add");
|
add_input("-add");
|
||||||
add_input("in");
|
add_input("in");
|
||||||
@ -845,9 +839,6 @@ bool AnimationNodeBlend2::has_filter() const {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationNodeBlend2::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationNodeBlend2::AnimationNodeBlend2() {
|
AnimationNodeBlend2::AnimationNodeBlend2() {
|
||||||
add_input("in");
|
add_input("in");
|
||||||
add_input("blend");
|
add_input("blend");
|
||||||
@ -887,9 +878,6 @@ AnimationNode::NodeTimeInfo AnimationNodeBlend3::_process(const AnimationMixer::
|
|||||||
return amount > 0.5 ? nti2 : (amount < -0.5 ? nti0 : nti1); // Hacky but good enough.
|
return amount > 0.5 ? nti2 : (amount < -0.5 ? nti0 : nti1); // Hacky but good enough.
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationNodeBlend3::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationNodeBlend3::AnimationNodeBlend3() {
|
AnimationNodeBlend3::AnimationNodeBlend3() {
|
||||||
add_input("-blend");
|
add_input("-blend");
|
||||||
add_input("in");
|
add_input("in");
|
||||||
@ -932,9 +920,6 @@ AnimationNode::NodeTimeInfo AnimationNodeSub2::_process(const AnimationMixer::Pl
|
|||||||
return blend_input(0, pi, FILTER_IGNORE, sync, p_test_only);
|
return blend_input(0, pi, FILTER_IGNORE, sync, p_test_only);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationNodeSub2::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationNodeSub2::AnimationNodeSub2() {
|
AnimationNodeSub2::AnimationNodeSub2() {
|
||||||
add_input("in");
|
add_input("in");
|
||||||
add_input("sub");
|
add_input("sub");
|
||||||
@ -972,9 +957,6 @@ AnimationNode::NodeTimeInfo AnimationNodeTimeScale::_process(const AnimationMixe
|
|||||||
return blend_input(0, pi, FILTER_IGNORE, true, p_test_only);
|
return blend_input(0, pi, FILTER_IGNORE, true, p_test_only);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationNodeTimeScale::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationNodeTimeScale::AnimationNodeTimeScale() {
|
AnimationNodeTimeScale::AnimationNodeTimeScale() {
|
||||||
add_input("in");
|
add_input("in");
|
||||||
}
|
}
|
||||||
@ -1014,9 +996,6 @@ AnimationNode::NodeTimeInfo AnimationNodeTimeSeek::_process(const AnimationMixer
|
|||||||
return blend_input(0, pi, FILTER_IGNORE, true, p_test_only);
|
return blend_input(0, pi, FILTER_IGNORE, true, p_test_only);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationNodeTimeSeek::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AnimationNodeTimeSeek::AnimationNodeTimeSeek() {
|
AnimationNodeTimeSeek::AnimationNodeTimeSeek() {
|
||||||
add_input("in");
|
add_input("in");
|
||||||
}
|
}
|
||||||
|
@ -200,9 +200,6 @@ class AnimationNodeAdd2 : public AnimationNodeSync {
|
|||||||
|
|
||||||
StringName add_amount = PNAME("add_amount");
|
StringName add_amount = PNAME("add_amount");
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
||||||
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
||||||
@ -220,9 +217,6 @@ class AnimationNodeAdd3 : public AnimationNodeSync {
|
|||||||
|
|
||||||
StringName add_amount = PNAME("add_amount");
|
StringName add_amount = PNAME("add_amount");
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
||||||
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
||||||
@ -240,9 +234,6 @@ class AnimationNodeBlend2 : public AnimationNodeSync {
|
|||||||
|
|
||||||
StringName blend_amount = PNAME("blend_amount");
|
StringName blend_amount = PNAME("blend_amount");
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
virtual void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
||||||
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
||||||
@ -259,9 +250,6 @@ class AnimationNodeBlend3 : public AnimationNodeSync {
|
|||||||
|
|
||||||
StringName blend_amount = PNAME("blend_amount");
|
StringName blend_amount = PNAME("blend_amount");
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
virtual void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
||||||
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
||||||
@ -277,9 +265,6 @@ class AnimationNodeSub2 : public AnimationNodeSync {
|
|||||||
|
|
||||||
StringName sub_amount = PNAME("sub_amount");
|
StringName sub_amount = PNAME("sub_amount");
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
||||||
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
||||||
@ -297,9 +282,6 @@ class AnimationNodeTimeScale : public AnimationNode {
|
|||||||
|
|
||||||
StringName scale = PNAME("scale");
|
StringName scale = PNAME("scale");
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
virtual void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
||||||
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
||||||
@ -316,9 +298,6 @@ class AnimationNodeTimeSeek : public AnimationNode {
|
|||||||
|
|
||||||
StringName seek_pos_request = PNAME("seek_request");
|
StringName seek_pos_request = PNAME("seek_request");
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
virtual void get_parameter_list(List<PropertyInfo> *r_list) const override;
|
||||||
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
virtual Variant get_parameter_default_value(const StringName &p_parameter) const override;
|
||||||
|
@ -342,12 +342,6 @@ bool AudioStreamMicrophone::is_monophonic() const {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudioStreamMicrophone::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
AudioStreamMicrophone::AudioStreamMicrophone() {
|
|
||||||
}
|
|
||||||
|
|
||||||
int AudioStreamPlaybackMicrophone::_mix_internal(AudioFrame *p_buffer, int p_frames) {
|
int AudioStreamPlaybackMicrophone::_mix_internal(AudioFrame *p_buffer, int p_frames) {
|
||||||
AudioDriver::get_singleton()->lock();
|
AudioDriver::get_singleton()->lock();
|
||||||
|
|
||||||
|
@ -219,9 +219,6 @@ class AudioStreamMicrophone : public AudioStream {
|
|||||||
|
|
||||||
HashSet<AudioStreamPlaybackMicrophone *> playbacks;
|
HashSet<AudioStreamPlaybackMicrophone *> playbacks;
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual Ref<AudioStreamPlayback> instantiate_playback() override;
|
virtual Ref<AudioStreamPlayback> instantiate_playback() override;
|
||||||
virtual String get_stream_name() const override;
|
virtual String get_stream_name() const override;
|
||||||
@ -229,8 +226,6 @@ public:
|
|||||||
virtual double get_length() const override; //if supported, otherwise return 0
|
virtual double get_length() const override; //if supported, otherwise return 0
|
||||||
|
|
||||||
virtual bool is_monophonic() const override;
|
virtual bool is_monophonic() const override;
|
||||||
|
|
||||||
AudioStreamMicrophone();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class AudioStreamPlaybackMicrophone : public AudioStreamPlaybackResampled {
|
class AudioStreamPlaybackMicrophone : public AudioStreamPlaybackResampled {
|
||||||
|
@ -30,9 +30,6 @@
|
|||||||
|
|
||||||
#include "render_data_rd.h"
|
#include "render_data_rd.h"
|
||||||
|
|
||||||
void RenderDataRD::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
Ref<RenderSceneBuffers> RenderDataRD::get_render_scene_buffers() const {
|
Ref<RenderSceneBuffers> RenderDataRD::get_render_scene_buffers() const {
|
||||||
return render_buffers;
|
return render_buffers;
|
||||||
}
|
}
|
||||||
|
@ -38,9 +38,6 @@
|
|||||||
class RenderDataRD : public RenderData {
|
class RenderDataRD : public RenderData {
|
||||||
GDCLASS(RenderDataRD, RenderData);
|
GDCLASS(RenderDataRD, RenderData);
|
||||||
|
|
||||||
protected:
|
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Access methods to expose data externally
|
// Access methods to expose data externally
|
||||||
virtual Ref<RenderSceneBuffers> get_render_scene_buffers() const override;
|
virtual Ref<RenderSceneBuffers> get_render_scene_buffers() const override;
|
||||||
|
@ -34,9 +34,6 @@
|
|||||||
#include "servers/rendering/renderer_rd/storage_rd/texture_storage.h"
|
#include "servers/rendering/renderer_rd/storage_rd/texture_storage.h"
|
||||||
#include "servers/rendering/rendering_server_default.h"
|
#include "servers/rendering/rendering_server_default.h"
|
||||||
|
|
||||||
void RenderSceneDataRD::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
|
||||||
Transform3D RenderSceneDataRD::get_cam_transform() const {
|
Transform3D RenderSceneDataRD::get_cam_transform() const {
|
||||||
return cam_transform;
|
return cam_transform;
|
||||||
}
|
}
|
||||||
|
@ -95,8 +95,6 @@ public:
|
|||||||
virtual RID get_uniform_buffer() const override;
|
virtual RID get_uniform_buffer() const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
RID uniform_buffer; // loaded into this uniform buffer (supplied externally)
|
RID uniform_buffer; // loaded into this uniform buffer (supplied externally)
|
||||||
|
|
||||||
// This struct is loaded into Set 1 - Binding 0, populated at start of rendering a frame, must match with shader code
|
// This struct is loaded into Set 1 - Binding 0, populated at start of rendering a frame, must match with shader code
|
||||||
|
Loading…
Reference in New Issue
Block a user