godot/editor/plugins/particles_editor_plugin.cpp

/**************************************************************************/
/*  particles_editor_plugin.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 "particles_editor_plugin.h"

#include "canvas_item_editor_plugin.h"
#include "core/io/image_loader.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/gui/editor_file_dialog.h"
#include "editor/scene_tree_dock.h"
#include "scene/2d/cpu_particles_2d.h"
#include "scene/2d/gpu_particles_2d.h"
#include "scene/3d/cpu_particles_3d.h"
#include "scene/3d/gpu_particles_3d.h"
#include "scene/3d/mesh_instance_3d.h"
#include "scene/gui/box_container.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/separator.h"
#include "scene/gui/spin_box.h"
#include "scene/resources/image_texture.h"
#include "scene/resources/particle_process_material.h"

void ParticlesEditorPlugin::_notification(int p_what) {}

bool ParticlesEditorPlugin::need_show_lifetime_dialog(SpinBox *p_seconds) {}

void ParticlesEditorPlugin::_menu_callback(int p_idx) {}

void ParticlesEditorPlugin::edit(Object *p_object) {}

bool ParticlesEditorPlugin::handles(Object *p_object) const {}

void ParticlesEditorPlugin::make_visible(bool p_visible) {}

ParticlesEditorPlugin::ParticlesEditorPlugin() {}

// 2D /////////////////////////////////////////////

void GPUParticles2DEditorPlugin::_menu_callback(int p_idx) {}

void GPUParticles2DEditorPlugin::_add_menu_options(PopupMenu *p_menu) {}

void Particles2DEditorPlugin::_file_selected(const String &p_file) {}

void Particles2DEditorPlugin::_get_base_emission_mask(PackedVector2Array &r_valid_positions, PackedVector2Array &r_valid_normals, PackedByteArray &r_valid_colors, Vector2i &r_image_size) {}

Particles2DEditorPlugin::Particles2DEditorPlugin() {}

void GPUParticles2DEditorPlugin::_selection_changed() {}

void GPUParticles2DEditorPlugin::_generate_visibility_rect() {}

void GPUParticles2DEditorPlugin::_notification(int p_what) {}

void Particles2DEditorPlugin::_menu_callback(int p_idx) {}

void Particles2DEditorPlugin::_add_menu_options(PopupMenu *p_menu) {}

Node *GPUParticles2DEditorPlugin::_convert_particles() {}

void GPUParticles2DEditorPlugin::_generate_emission_mask() {}

GPUParticles2DEditorPlugin::GPUParticles2DEditorPlugin() {}

Node *CPUParticles2DEditorPlugin::_convert_particles() {}

void CPUParticles2DEditorPlugin::_generate_emission_mask() {}

CPUParticles2DEditorPlugin::CPUParticles2DEditorPlugin() {}

// 3D /////////////////////////////////////////////

void Particles3DEditorPlugin::_generate_aabb() {}

void Particles3DEditorPlugin::_node_selected(const NodePath &p_path) {}

void Particles3DEditorPlugin::_menu_callback(int p_idx) {}

void Particles3DEditorPlugin::_add_menu_options(PopupMenu *p_menu) {}

bool Particles3DEditorPlugin::_generate(Vector<Vector3> &r_points, Vector<Vector3> &r_normals) {}

Particles3DEditorPlugin::Particles3DEditorPlugin() {}

Node *GPUParticles3DEditorPlugin::_convert_particles() {}

bool GPUParticles3DEditorPlugin::_can_generate_points() const {}

void GPUParticles3DEditorPlugin::_generate_emission_points() {}

GPUParticles3DEditorPlugin::GPUParticles3DEditorPlugin() {}

Node *CPUParticles3DEditorPlugin::_convert_particles() {}

void CPUParticles3DEditorPlugin::_generate_emission_points() {}

CPUParticles3DEditorPlugin::CPUParticles3DEditorPlugin() {}