godot/scene/3d/occluder_instance_3d.cpp

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

#include "core/config/project_settings.h"
#include "core/io/marshalls.h"
#include "core/math/geometry_2d.h"
#include "core/math/triangulate.h"
#include "scene/3d/importer_mesh_instance_3d.h"
#include "scene/3d/mesh_instance_3d.h"
#include "scene/resources/3d/importer_mesh.h"
#include "scene/resources/surface_tool.h"

#ifdef TOOLS_ENABLED
#include "editor/editor_node.h"
#endif

RID Occluder3D::get_rid() const {}

void Occluder3D::_update() {}

PackedVector3Array Occluder3D::get_vertices() const {}

PackedInt32Array Occluder3D::get_indices() const {}

Vector<Vector3> Occluder3D::get_debug_lines() const {}

Ref<ArrayMesh> Occluder3D::get_debug_mesh() const {}

AABB Occluder3D::get_aabb() const {}

void Occluder3D::_notification(int p_what) {}

Occluder3D::Occluder3D() {}

Occluder3D::~Occluder3D() {}

/////////////////////////////////////////////////

void ArrayOccluder3D::set_arrays(PackedVector3Array p_vertices, PackedInt32Array p_indices) {}

void ArrayOccluder3D::set_vertices(PackedVector3Array p_vertices) {}

void ArrayOccluder3D::set_indices(PackedInt32Array p_indices) {}

void ArrayOccluder3D::_update_arrays(PackedVector3Array &r_vertices, PackedInt32Array &r_indices) {}

void ArrayOccluder3D::_bind_methods() {}

ArrayOccluder3D::ArrayOccluder3D() {}

ArrayOccluder3D::~ArrayOccluder3D() {}

/////////////////////////////////////////////////

void QuadOccluder3D::set_size(const Size2 &p_size) {}

Size2 QuadOccluder3D::get_size() const {}

void QuadOccluder3D::_update_arrays(PackedVector3Array &r_vertices, PackedInt32Array &r_indices) {}

void QuadOccluder3D::_bind_methods() {}

QuadOccluder3D::QuadOccluder3D() {}

QuadOccluder3D::~QuadOccluder3D() {}

/////////////////////////////////////////////////

void BoxOccluder3D::set_size(const Vector3 &p_size) {}

Vector3 BoxOccluder3D::get_size() const {}

void BoxOccluder3D::_update_arrays(PackedVector3Array &r_vertices, PackedInt32Array &r_indices) {}

void BoxOccluder3D::_bind_methods() {}

BoxOccluder3D::BoxOccluder3D() {}

BoxOccluder3D::~BoxOccluder3D() {}

/////////////////////////////////////////////////

void SphereOccluder3D::set_radius(float p_radius) {}

float SphereOccluder3D::get_radius() const {}

void SphereOccluder3D::_update_arrays(PackedVector3Array &r_vertices, PackedInt32Array &r_indices) {}

void SphereOccluder3D::_bind_methods() {}

SphereOccluder3D::SphereOccluder3D() {}

SphereOccluder3D::~SphereOccluder3D() {}

/////////////////////////////////////////////////

void PolygonOccluder3D::set_polygon(const Vector<Vector2> &p_polygon) {}

Vector<Vector2> PolygonOccluder3D::get_polygon() const {}

void PolygonOccluder3D::_update_arrays(PackedVector3Array &r_vertices, PackedInt32Array &r_indices) {}

bool PolygonOccluder3D::_has_editable_3d_polygon_no_depth() const {}

void PolygonOccluder3D::_bind_methods() {}

PolygonOccluder3D::PolygonOccluder3D() {}

PolygonOccluder3D::~PolygonOccluder3D() {}

/////////////////////////////////////////////////

AABB OccluderInstance3D::get_aabb() const {}

void OccluderInstance3D::set_occluder(const Ref<Occluder3D> &p_occluder) {}

void OccluderInstance3D::_occluder_changed() {}

Ref<Occluder3D> OccluderInstance3D::get_occluder() const {}

void OccluderInstance3D::set_bake_mask(uint32_t p_mask) {}

uint32_t OccluderInstance3D::get_bake_mask() const {}

void OccluderInstance3D::set_bake_simplification_distance(float p_dist) {}

float OccluderInstance3D::get_bake_simplification_distance() const {}

void OccluderInstance3D::set_bake_mask_value(int p_layer_number, bool p_value) {}

bool OccluderInstance3D::get_bake_mask_value(int p_layer_number) const {}

bool OccluderInstance3D::_bake_material_check(Ref<Material> p_material) {}

void OccluderInstance3D::_bake_surface(const Transform3D &p_transform, Array p_surface_arrays, Ref<Material> p_material, float p_simplification_dist, PackedVector3Array &r_vertices, PackedInt32Array &r_indices) {}

void OccluderInstance3D::_bake_node(Node *p_node, PackedVector3Array &r_vertices, PackedInt32Array &r_indices) {}

void OccluderInstance3D::bake_single_node(const Node3D *p_node, float p_simplification_distance, PackedVector3Array &r_vertices, PackedInt32Array &r_indices) {}

OccluderInstance3D::BakeError OccluderInstance3D::bake_scene(Node *p_from_node, String p_occluder_path) {}

PackedStringArray OccluderInstance3D::get_configuration_warnings() const {}

bool OccluderInstance3D::_is_editable_3d_polygon() const {}

Ref<Resource> OccluderInstance3D::_get_editable_3d_polygon_resource() const {}

void OccluderInstance3D::_bind_methods() {}

OccluderInstance3D::OccluderInstance3D() {}

OccluderInstance3D::~OccluderInstance3D() {}