godot/scene/3d/cpu_particles_3d.cpp

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

#include "scene/3d/camera_3d.h"
#include "scene/3d/gpu_particles_3d.h"
#include "scene/main/viewport.h"
#include "scene/resources/curve_texture.h"
#include "scene/resources/gradient_texture.h"
#include "scene/resources/image_texture.h"
#include "scene/resources/particle_process_material.h"

AABB CPUParticles3D::get_aabb() const {}

void CPUParticles3D::set_emitting(bool p_emitting) {}

void CPUParticles3D::set_amount(int p_amount) {}

void CPUParticles3D::set_lifetime(double p_lifetime) {}

void CPUParticles3D::set_one_shot(bool p_one_shot) {}

void CPUParticles3D::set_pre_process_time(double p_time) {}

void CPUParticles3D::set_explosiveness_ratio(real_t p_ratio) {}

void CPUParticles3D::set_randomness_ratio(real_t p_ratio) {}

void CPUParticles3D::set_visibility_aabb(const AABB &p_aabb) {}

void CPUParticles3D::set_lifetime_randomness(double p_random) {}

void CPUParticles3D::set_use_local_coordinates(bool p_enable) {}

void CPUParticles3D::set_speed_scale(double p_scale) {}

bool CPUParticles3D::is_emitting() const {}

int CPUParticles3D::get_amount() const {}

double CPUParticles3D::get_lifetime() const {}

bool CPUParticles3D::get_one_shot() const {}

double CPUParticles3D::get_pre_process_time() const {}

real_t CPUParticles3D::get_explosiveness_ratio() const {}

real_t CPUParticles3D::get_randomness_ratio() const {}

AABB CPUParticles3D::get_visibility_aabb() const {}

double CPUParticles3D::get_lifetime_randomness() const {}

bool CPUParticles3D::get_use_local_coordinates() const {}

double CPUParticles3D::get_speed_scale() const {}

void CPUParticles3D::set_draw_order(DrawOrder p_order) {}

CPUParticles3D::DrawOrder CPUParticles3D::get_draw_order() const {}

void CPUParticles3D::set_mesh(const Ref<Mesh> &p_mesh) {}

Ref<Mesh> CPUParticles3D::get_mesh() const {}

void CPUParticles3D::set_fixed_fps(int p_count) {}

int CPUParticles3D::get_fixed_fps() const {}

void CPUParticles3D::set_fractional_delta(bool p_enable) {}

bool CPUParticles3D::get_fractional_delta() const {}

PackedStringArray CPUParticles3D::get_configuration_warnings() const {}

void CPUParticles3D::restart() {}

void CPUParticles3D::set_direction(Vector3 p_direction) {}

Vector3 CPUParticles3D::get_direction() const {}

void CPUParticles3D::set_spread(real_t p_spread) {}

real_t CPUParticles3D::get_spread() const {}

void CPUParticles3D::set_flatness(real_t p_flatness) {}

real_t CPUParticles3D::get_flatness() const {}

void CPUParticles3D::set_param_min(Parameter p_param, real_t p_value) {}

real_t CPUParticles3D::get_param_min(Parameter p_param) const {}

void CPUParticles3D::set_param_max(Parameter p_param, real_t p_value) {}

real_t CPUParticles3D::get_param_max(Parameter p_param) const {}

static void _adjust_curve_range(const Ref<Curve> &p_curve, real_t p_min, real_t p_max) {}

void CPUParticles3D::set_param_curve(Parameter p_param, const Ref<Curve> &p_curve) {}

Ref<Curve> CPUParticles3D::get_param_curve(Parameter p_param) const {}

void CPUParticles3D::set_color(const Color &p_color) {}

Color CPUParticles3D::get_color() const {}

void CPUParticles3D::set_color_ramp(const Ref<Gradient> &p_ramp) {}

Ref<Gradient> CPUParticles3D::get_color_ramp() const {}

void CPUParticles3D::set_color_initial_ramp(const Ref<Gradient> &p_ramp) {}

Ref<Gradient> CPUParticles3D::get_color_initial_ramp() const {}

void CPUParticles3D::set_particle_flag(ParticleFlags p_particle_flag, bool p_enable) {}

bool CPUParticles3D::get_particle_flag(ParticleFlags p_particle_flag) const {}

void CPUParticles3D::set_emission_shape(EmissionShape p_shape) {}

void CPUParticles3D::set_emission_sphere_radius(real_t p_radius) {}

void CPUParticles3D::set_emission_box_extents(Vector3 p_extents) {}

void CPUParticles3D::set_emission_points(const Vector<Vector3> &p_points) {}

void CPUParticles3D::set_emission_normals(const Vector<Vector3> &p_normals) {}

void CPUParticles3D::set_emission_colors(const Vector<Color> &p_colors) {}

void CPUParticles3D::set_emission_ring_axis(Vector3 p_axis) {}

void CPUParticles3D::set_emission_ring_height(real_t p_height) {}

void CPUParticles3D::set_emission_ring_radius(real_t p_radius) {}

void CPUParticles3D::set_emission_ring_inner_radius(real_t p_radius) {}

void CPUParticles3D::set_emission_ring_cone_angle(real_t p_angle) {}

void CPUParticles3D::set_scale_curve_x(Ref<Curve> p_scale_curve) {}

void CPUParticles3D::set_scale_curve_y(Ref<Curve> p_scale_curve) {}

void CPUParticles3D::set_scale_curve_z(Ref<Curve> p_scale_curve) {}

void CPUParticles3D::set_split_scale(bool p_split_scale) {}

real_t CPUParticles3D::get_emission_sphere_radius() const {}

Vector3 CPUParticles3D::get_emission_box_extents() const {}

Vector<Vector3> CPUParticles3D::get_emission_points() const {}

Vector<Vector3> CPUParticles3D::get_emission_normals() const {}

Vector<Color> CPUParticles3D::get_emission_colors() const {}

Vector3 CPUParticles3D::get_emission_ring_axis() const {}

real_t CPUParticles3D::get_emission_ring_height() const {}

real_t CPUParticles3D::get_emission_ring_radius() const {}

real_t CPUParticles3D::get_emission_ring_inner_radius() const {}

real_t CPUParticles3D::get_emission_ring_cone_angle() const {}

CPUParticles3D::EmissionShape CPUParticles3D::get_emission_shape() const {}

void CPUParticles3D::set_gravity(const Vector3 &p_gravity) {}

Vector3 CPUParticles3D::get_gravity() const {}

Ref<Curve> CPUParticles3D::get_scale_curve_x() const {}

Ref<Curve> CPUParticles3D::get_scale_curve_y() const {}

Ref<Curve> CPUParticles3D::get_scale_curve_z() const {}

bool CPUParticles3D::get_split_scale() {}

AABB CPUParticles3D::capture_aabb() const {}

void CPUParticles3D::_validate_property(PropertyInfo &p_property) const {}

static uint32_t idhash(uint32_t x) {}

static real_t rand_from_seed(uint32_t &seed) {}

void CPUParticles3D::_update_internal() {}

void CPUParticles3D::_particles_process(double p_delta) {}

void CPUParticles3D::_update_particle_data_buffer() {}

void CPUParticles3D::_set_redraw(bool p_redraw) {}

void CPUParticles3D::_update_render_thread() {}

void CPUParticles3D::_notification(int p_what) {}

void CPUParticles3D::convert_from_particles(Node *p_particles) {}

void CPUParticles3D::_bind_methods() {}

CPUParticles3D::CPUParticles3D() {}

CPUParticles3D::~CPUParticles3D() {}