godot/scene/2d/physics/shape_cast_2d.cpp

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

#include "core/config/engine.h"
#include "scene/2d/physics/collision_object_2d.h"
#include "scene/2d/physics/physics_body_2d.h"
#include "scene/resources/2d/circle_shape_2d.h"
#include "servers/physics_server_2d.h"

void ShapeCast2D::set_target_position(const Vector2 &p_point) {}

Vector2 ShapeCast2D::get_target_position() const {}

void ShapeCast2D::set_margin(real_t p_margin) {}

real_t ShapeCast2D::get_margin() const {}

void ShapeCast2D::set_max_results(int p_max_results) {}

int ShapeCast2D::get_max_results() const {}

void ShapeCast2D::set_collision_mask(uint32_t p_mask) {}

uint32_t ShapeCast2D::get_collision_mask() const {}

void ShapeCast2D::set_collision_mask_value(int p_layer_number, bool p_value) {}

bool ShapeCast2D::get_collision_mask_value(int p_layer_number) const {}

int ShapeCast2D::get_collision_count() const {}

bool ShapeCast2D::is_colliding() const {}

Object *ShapeCast2D::get_collider(int p_idx) const {}

RID ShapeCast2D::get_collider_rid(int p_idx) const {}

int ShapeCast2D::get_collider_shape(int p_idx) const {}

Vector2 ShapeCast2D::get_collision_point(int p_idx) const {}

Vector2 ShapeCast2D::get_collision_normal(int p_idx) const {}

real_t ShapeCast2D::get_closest_collision_safe_fraction() const {}

real_t ShapeCast2D::get_closest_collision_unsafe_fraction() const {}

void ShapeCast2D::set_enabled(bool p_enabled) {}

bool ShapeCast2D::is_enabled() const {}

void ShapeCast2D::set_shape(const Ref<Shape2D> &p_shape) {}

Ref<Shape2D> ShapeCast2D::get_shape() const {}

void ShapeCast2D::set_exclude_parent_body(bool p_exclude_parent_body) {}

bool ShapeCast2D::get_exclude_parent_body() const {}

void ShapeCast2D::_shape_changed() {}

void ShapeCast2D::_notification(int p_what) {}

void ShapeCast2D::_update_shapecast_state() {}

void ShapeCast2D::force_shapecast_update() {}

void ShapeCast2D::add_exception_rid(const RID &p_rid) {}

void ShapeCast2D::add_exception(const CollisionObject2D *p_node) {}

void ShapeCast2D::remove_exception_rid(const RID &p_rid) {}

void ShapeCast2D::remove_exception(const CollisionObject2D *p_node) {}

void ShapeCast2D::clear_exceptions() {}

void ShapeCast2D::set_collide_with_areas(bool p_clip) {}

bool ShapeCast2D::is_collide_with_areas_enabled() const {}

void ShapeCast2D::set_collide_with_bodies(bool p_clip) {}

bool ShapeCast2D::is_collide_with_bodies_enabled() const {}

Array ShapeCast2D::get_collision_result() const {}

PackedStringArray ShapeCast2D::get_configuration_warnings() const {}

void ShapeCast2D::_bind_methods() {}

ShapeCast2D::ShapeCast2D() {}