fix: 装备属性面板避让逻辑 + 多项功能更新
- item_tooltip_view.gd: 新增 avoid_rect 属性,tooltip 与装备窗口重叠时自动推到左侧 - inventory_ui.gd: 悬停装备时传入窗口矩形作为避让区域 - 包含其他累积的功能开发和测试文件
This commit is contained in:
@@ -0,0 +1,265 @@
|
||||
/**************************************************************************/
|
||||
/* a_star2d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/a_star2d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
int64_t AStar2D::get_available_point_id() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_available_point_id")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStar2D::add_point(int64_t p_id, const Vector2 &p_position, float p_weight_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("add_point")._native_ptr(), 4074201818);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
double p_weight_scale_encoded;
|
||||
PtrToArg<double>::encode(p_weight_scale, &p_weight_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_position, &p_weight_scale_encoded);
|
||||
}
|
||||
|
||||
Vector2 AStar2D::get_point_position(int64_t p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_point_position")._native_ptr(), 2299179447);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
void AStar2D::set_point_position(int64_t p_id, const Vector2 &p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("set_point_position")._native_ptr(), 163021252);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_position);
|
||||
}
|
||||
|
||||
float AStar2D::get_point_weight_scale(int64_t p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_point_weight_scale")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
void AStar2D::set_point_weight_scale(int64_t p_id, float p_weight_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("set_point_weight_scale")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
double p_weight_scale_encoded;
|
||||
PtrToArg<double>::encode(p_weight_scale, &p_weight_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_weight_scale_encoded);
|
||||
}
|
||||
|
||||
void AStar2D::remove_point(int64_t p_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("remove_point")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
bool AStar2D::has_point(int64_t p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("has_point")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
PackedInt64Array AStar2D::get_point_connections(int64_t p_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_point_connections")._native_ptr(), 2865087369);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedInt64Array()));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedInt64Array>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
PackedInt64Array AStar2D::get_point_ids() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_point_ids")._native_ptr(), 3851388692);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedInt64Array()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedInt64Array>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStar2D::set_neighbor_filter_enabled(bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("set_neighbor_filter_enabled")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AStar2D::is_neighbor_filter_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("is_neighbor_filter_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStar2D::set_point_disabled(int64_t p_id, bool p_disabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("set_point_disabled")._native_ptr(), 972357352);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
int8_t p_disabled_encoded;
|
||||
PtrToArg<bool>::encode(p_disabled, &p_disabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_disabled_encoded);
|
||||
}
|
||||
|
||||
bool AStar2D::is_point_disabled(int64_t p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("is_point_disabled")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
void AStar2D::connect_points(int64_t p_id, int64_t p_to_id, bool p_bidirectional) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("connect_points")._native_ptr(), 3710494224);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_bidirectional_encoded;
|
||||
PtrToArg<bool>::encode(p_bidirectional, &p_bidirectional_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_to_id_encoded, &p_bidirectional_encoded);
|
||||
}
|
||||
|
||||
void AStar2D::disconnect_points(int64_t p_id, int64_t p_to_id, bool p_bidirectional) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("disconnect_points")._native_ptr(), 3710494224);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_bidirectional_encoded;
|
||||
PtrToArg<bool>::encode(p_bidirectional, &p_bidirectional_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_to_id_encoded, &p_bidirectional_encoded);
|
||||
}
|
||||
|
||||
bool AStar2D::are_points_connected(int64_t p_id, int64_t p_to_id, bool p_bidirectional) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("are_points_connected")._native_ptr(), 2288175859);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_bidirectional_encoded;
|
||||
PtrToArg<bool>::encode(p_bidirectional, &p_bidirectional_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_id_encoded, &p_to_id_encoded, &p_bidirectional_encoded);
|
||||
}
|
||||
|
||||
int64_t AStar2D::get_point_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_point_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int64_t AStar2D::get_point_capacity() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_point_capacity")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStar2D::reserve_space(int64_t p_num_nodes) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("reserve_space")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_num_nodes_encoded;
|
||||
PtrToArg<int64_t>::encode(p_num_nodes, &p_num_nodes_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_num_nodes_encoded);
|
||||
}
|
||||
|
||||
void AStar2D::clear() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("clear")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int64_t AStar2D::get_closest_point(const Vector2 &p_to_position, bool p_include_disabled) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_closest_point")._native_ptr(), 2300324924);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int8_t p_include_disabled_encoded;
|
||||
PtrToArg<bool>::encode(p_include_disabled, &p_include_disabled_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_to_position, &p_include_disabled_encoded);
|
||||
}
|
||||
|
||||
Vector2 AStar2D::get_closest_position_in_segment(const Vector2 &p_to_position) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_closest_position_in_segment")._native_ptr(), 2656412154);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner, &p_to_position);
|
||||
}
|
||||
|
||||
PackedVector2Array AStar2D::get_point_path(int64_t p_from_id, int64_t p_to_id, bool p_allow_partial_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_point_path")._native_ptr(), 3427490392);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedVector2Array()));
|
||||
int64_t p_from_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_id, &p_from_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_allow_partial_path_encoded;
|
||||
PtrToArg<bool>::encode(p_allow_partial_path, &p_allow_partial_path_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedVector2Array>(_gde_method_bind, _owner, &p_from_id_encoded, &p_to_id_encoded, &p_allow_partial_path_encoded);
|
||||
}
|
||||
|
||||
PackedInt64Array AStar2D::get_id_path(int64_t p_from_id, int64_t p_to_id, bool p_allow_partial_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar2D::get_class_static()._native_ptr(), StringName("get_id_path")._native_ptr(), 3136199648);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedInt64Array()));
|
||||
int64_t p_from_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_id, &p_from_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_allow_partial_path_encoded;
|
||||
PtrToArg<bool>::encode(p_allow_partial_path, &p_allow_partial_path_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedInt64Array>(_gde_method_bind, _owner, &p_from_id_encoded, &p_to_id_encoded, &p_allow_partial_path_encoded);
|
||||
}
|
||||
|
||||
bool AStar2D::_filter_neighbor(int64_t p_from_id, int64_t p_neighbor_id) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
float AStar2D::_estimate_cost(int64_t p_from_id, int64_t p_end_id) const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
float AStar2D::_compute_cost(int64_t p_from_id, int64_t p_to_id) const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,265 @@
|
||||
/**************************************************************************/
|
||||
/* a_star3d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/a_star3d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
int64_t AStar3D::get_available_point_id() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_available_point_id")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStar3D::add_point(int64_t p_id, const Vector3 &p_position, float p_weight_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("add_point")._native_ptr(), 1038703438);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
double p_weight_scale_encoded;
|
||||
PtrToArg<double>::encode(p_weight_scale, &p_weight_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_position, &p_weight_scale_encoded);
|
||||
}
|
||||
|
||||
Vector3 AStar3D::get_point_position(int64_t p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_point_position")._native_ptr(), 711720468);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
void AStar3D::set_point_position(int64_t p_id, const Vector3 &p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("set_point_position")._native_ptr(), 1530502735);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_position);
|
||||
}
|
||||
|
||||
float AStar3D::get_point_weight_scale(int64_t p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_point_weight_scale")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
void AStar3D::set_point_weight_scale(int64_t p_id, float p_weight_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("set_point_weight_scale")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
double p_weight_scale_encoded;
|
||||
PtrToArg<double>::encode(p_weight_scale, &p_weight_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_weight_scale_encoded);
|
||||
}
|
||||
|
||||
void AStar3D::remove_point(int64_t p_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("remove_point")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
bool AStar3D::has_point(int64_t p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("has_point")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
PackedInt64Array AStar3D::get_point_connections(int64_t p_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_point_connections")._native_ptr(), 2865087369);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedInt64Array()));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedInt64Array>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
PackedInt64Array AStar3D::get_point_ids() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_point_ids")._native_ptr(), 3851388692);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedInt64Array()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedInt64Array>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStar3D::set_point_disabled(int64_t p_id, bool p_disabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("set_point_disabled")._native_ptr(), 972357352);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
int8_t p_disabled_encoded;
|
||||
PtrToArg<bool>::encode(p_disabled, &p_disabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_disabled_encoded);
|
||||
}
|
||||
|
||||
bool AStar3D::is_point_disabled(int64_t p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("is_point_disabled")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_id_encoded);
|
||||
}
|
||||
|
||||
void AStar3D::set_neighbor_filter_enabled(bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("set_neighbor_filter_enabled")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AStar3D::is_neighbor_filter_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("is_neighbor_filter_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStar3D::connect_points(int64_t p_id, int64_t p_to_id, bool p_bidirectional) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("connect_points")._native_ptr(), 3710494224);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_bidirectional_encoded;
|
||||
PtrToArg<bool>::encode(p_bidirectional, &p_bidirectional_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_to_id_encoded, &p_bidirectional_encoded);
|
||||
}
|
||||
|
||||
void AStar3D::disconnect_points(int64_t p_id, int64_t p_to_id, bool p_bidirectional) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("disconnect_points")._native_ptr(), 3710494224);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_bidirectional_encoded;
|
||||
PtrToArg<bool>::encode(p_bidirectional, &p_bidirectional_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id_encoded, &p_to_id_encoded, &p_bidirectional_encoded);
|
||||
}
|
||||
|
||||
bool AStar3D::are_points_connected(int64_t p_id, int64_t p_to_id, bool p_bidirectional) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("are_points_connected")._native_ptr(), 2288175859);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_id, &p_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_bidirectional_encoded;
|
||||
PtrToArg<bool>::encode(p_bidirectional, &p_bidirectional_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_id_encoded, &p_to_id_encoded, &p_bidirectional_encoded);
|
||||
}
|
||||
|
||||
int64_t AStar3D::get_point_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_point_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int64_t AStar3D::get_point_capacity() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_point_capacity")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStar3D::reserve_space(int64_t p_num_nodes) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("reserve_space")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_num_nodes_encoded;
|
||||
PtrToArg<int64_t>::encode(p_num_nodes, &p_num_nodes_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_num_nodes_encoded);
|
||||
}
|
||||
|
||||
void AStar3D::clear() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("clear")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int64_t AStar3D::get_closest_point(const Vector3 &p_to_position, bool p_include_disabled) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_closest_point")._native_ptr(), 3241074317);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int8_t p_include_disabled_encoded;
|
||||
PtrToArg<bool>::encode(p_include_disabled, &p_include_disabled_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_to_position, &p_include_disabled_encoded);
|
||||
}
|
||||
|
||||
Vector3 AStar3D::get_closest_position_in_segment(const Vector3 &p_to_position) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_closest_position_in_segment")._native_ptr(), 192990374);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner, &p_to_position);
|
||||
}
|
||||
|
||||
PackedVector3Array AStar3D::get_point_path(int64_t p_from_id, int64_t p_to_id, bool p_allow_partial_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_point_path")._native_ptr(), 1562654675);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedVector3Array()));
|
||||
int64_t p_from_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_id, &p_from_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_allow_partial_path_encoded;
|
||||
PtrToArg<bool>::encode(p_allow_partial_path, &p_allow_partial_path_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedVector3Array>(_gde_method_bind, _owner, &p_from_id_encoded, &p_to_id_encoded, &p_allow_partial_path_encoded);
|
||||
}
|
||||
|
||||
PackedInt64Array AStar3D::get_id_path(int64_t p_from_id, int64_t p_to_id, bool p_allow_partial_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStar3D::get_class_static()._native_ptr(), StringName("get_id_path")._native_ptr(), 3136199648);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedInt64Array()));
|
||||
int64_t p_from_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_id, &p_from_id_encoded);
|
||||
int64_t p_to_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_id, &p_to_id_encoded);
|
||||
int8_t p_allow_partial_path_encoded;
|
||||
PtrToArg<bool>::encode(p_allow_partial_path, &p_allow_partial_path_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedInt64Array>(_gde_method_bind, _owner, &p_from_id_encoded, &p_to_id_encoded, &p_allow_partial_path_encoded);
|
||||
}
|
||||
|
||||
bool AStar3D::_filter_neighbor(int64_t p_from_id, int64_t p_neighbor_id) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
float AStar3D::_estimate_cost(int64_t p_from_id, int64_t p_end_id) const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
float AStar3D::_compute_cost(int64_t p_from_id, int64_t p_to_id) const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,273 @@
|
||||
/**************************************************************************/
|
||||
/* a_star_grid2d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/a_star_grid2d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AStarGrid2D::set_region(const Rect2i &p_region) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_region")._native_ptr(), 1763793166);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_region);
|
||||
}
|
||||
|
||||
Rect2i AStarGrid2D::get_region() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_region")._native_ptr(), 410525958);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Rect2i()));
|
||||
return ::godot::internal::_call_native_mb_ret<Rect2i>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_size(const Vector2i &p_size) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_size")._native_ptr(), 1130785943);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_size);
|
||||
}
|
||||
|
||||
Vector2i AStarGrid2D::get_size() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_size")._native_ptr(), 3690982128);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2i()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2i>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_offset(const Vector2 &p_offset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_offset")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_offset);
|
||||
}
|
||||
|
||||
Vector2 AStarGrid2D::get_offset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_offset")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_cell_size(const Vector2 &p_cell_size) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_cell_size")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_cell_size);
|
||||
}
|
||||
|
||||
Vector2 AStarGrid2D::get_cell_size() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_cell_size")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_cell_shape(AStarGrid2D::CellShape p_cell_shape) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_cell_shape")._native_ptr(), 4130591146);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_cell_shape_encoded;
|
||||
PtrToArg<int64_t>::encode(p_cell_shape, &p_cell_shape_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_cell_shape_encoded);
|
||||
}
|
||||
|
||||
AStarGrid2D::CellShape AStarGrid2D::get_cell_shape() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_cell_shape")._native_ptr(), 3293463634);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AStarGrid2D::CellShape(0)));
|
||||
return (AStarGrid2D::CellShape)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AStarGrid2D::is_in_bounds(int32_t p_x, int32_t p_y) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("is_in_bounds")._native_ptr(), 2522259332);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_x_encoded;
|
||||
PtrToArg<int64_t>::encode(p_x, &p_x_encoded);
|
||||
int64_t p_y_encoded;
|
||||
PtrToArg<int64_t>::encode(p_y, &p_y_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_x_encoded, &p_y_encoded);
|
||||
}
|
||||
|
||||
bool AStarGrid2D::is_in_boundsv(const Vector2i &p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("is_in_boundsv")._native_ptr(), 3900751641);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_id);
|
||||
}
|
||||
|
||||
bool AStarGrid2D::is_dirty() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("is_dirty")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::update() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("update")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_jumping_enabled(bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_jumping_enabled")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AStarGrid2D::is_jumping_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("is_jumping_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_diagonal_mode(AStarGrid2D::DiagonalMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_diagonal_mode")._native_ptr(), 1017829798);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AStarGrid2D::DiagonalMode AStarGrid2D::get_diagonal_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_diagonal_mode")._native_ptr(), 3129282674);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AStarGrid2D::DiagonalMode(0)));
|
||||
return (AStarGrid2D::DiagonalMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_default_compute_heuristic(AStarGrid2D::Heuristic p_heuristic) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_default_compute_heuristic")._native_ptr(), 1044375519);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_heuristic_encoded;
|
||||
PtrToArg<int64_t>::encode(p_heuristic, &p_heuristic_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_heuristic_encoded);
|
||||
}
|
||||
|
||||
AStarGrid2D::Heuristic AStarGrid2D::get_default_compute_heuristic() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_default_compute_heuristic")._native_ptr(), 2074731422);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AStarGrid2D::Heuristic(0)));
|
||||
return (AStarGrid2D::Heuristic)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_default_estimate_heuristic(AStarGrid2D::Heuristic p_heuristic) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_default_estimate_heuristic")._native_ptr(), 1044375519);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_heuristic_encoded;
|
||||
PtrToArg<int64_t>::encode(p_heuristic, &p_heuristic_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_heuristic_encoded);
|
||||
}
|
||||
|
||||
AStarGrid2D::Heuristic AStarGrid2D::get_default_estimate_heuristic() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_default_estimate_heuristic")._native_ptr(), 2074731422);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AStarGrid2D::Heuristic(0)));
|
||||
return (AStarGrid2D::Heuristic)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_point_solid(const Vector2i &p_id, bool p_solid) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_point_solid")._native_ptr(), 1765703753);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_solid_encoded;
|
||||
PtrToArg<bool>::encode(p_solid, &p_solid_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_solid_encoded);
|
||||
}
|
||||
|
||||
bool AStarGrid2D::is_point_solid(const Vector2i &p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("is_point_solid")._native_ptr(), 3900751641);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_id);
|
||||
}
|
||||
|
||||
void AStarGrid2D::set_point_weight_scale(const Vector2i &p_id, float p_weight_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("set_point_weight_scale")._native_ptr(), 2262553149);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_weight_scale_encoded;
|
||||
PtrToArg<double>::encode(p_weight_scale, &p_weight_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_weight_scale_encoded);
|
||||
}
|
||||
|
||||
float AStarGrid2D::get_point_weight_scale(const Vector2i &p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_point_weight_scale")._native_ptr(), 719993801);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_id);
|
||||
}
|
||||
|
||||
void AStarGrid2D::fill_solid_region(const Rect2i &p_region, bool p_solid) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("fill_solid_region")._native_ptr(), 2261970063);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_solid_encoded;
|
||||
PtrToArg<bool>::encode(p_solid, &p_solid_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_region, &p_solid_encoded);
|
||||
}
|
||||
|
||||
void AStarGrid2D::fill_weight_scale_region(const Rect2i &p_region, float p_weight_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("fill_weight_scale_region")._native_ptr(), 2793244083);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_weight_scale_encoded;
|
||||
PtrToArg<double>::encode(p_weight_scale, &p_weight_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_region, &p_weight_scale_encoded);
|
||||
}
|
||||
|
||||
void AStarGrid2D::clear() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("clear")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Vector2 AStarGrid2D::get_point_position(const Vector2i &p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_point_position")._native_ptr(), 108438297);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner, &p_id);
|
||||
}
|
||||
|
||||
TypedArray<Dictionary> AStarGrid2D::get_point_data_in_region(const Rect2i &p_region) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_point_data_in_region")._native_ptr(), 3893818462);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<Dictionary>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<Dictionary>>(_gde_method_bind, _owner, &p_region);
|
||||
}
|
||||
|
||||
PackedVector2Array AStarGrid2D::get_point_path(const Vector2i &p_from_id, const Vector2i &p_to_id, bool p_allow_partial_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_point_path")._native_ptr(), 1641925693);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedVector2Array()));
|
||||
int8_t p_allow_partial_path_encoded;
|
||||
PtrToArg<bool>::encode(p_allow_partial_path, &p_allow_partial_path_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedVector2Array>(_gde_method_bind, _owner, &p_from_id, &p_to_id, &p_allow_partial_path_encoded);
|
||||
}
|
||||
|
||||
TypedArray<Vector2i> AStarGrid2D::get_id_path(const Vector2i &p_from_id, const Vector2i &p_to_id, bool p_allow_partial_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AStarGrid2D::get_class_static()._native_ptr(), StringName("get_id_path")._native_ptr(), 1918132273);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<Vector2i>()));
|
||||
int8_t p_allow_partial_path_encoded;
|
||||
PtrToArg<bool>::encode(p_allow_partial_path, &p_allow_partial_path_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<Vector2i>>(_gde_method_bind, _owner, &p_from_id, &p_to_id, &p_allow_partial_path_encoded);
|
||||
}
|
||||
|
||||
float AStarGrid2D::_estimate_cost(const Vector2i &p_from_id, const Vector2i &p_end_id) const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
float AStarGrid2D::_compute_cost(const Vector2i &p_from_id, const Vector2i &p_to_id) const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,149 @@
|
||||
/**************************************************************************/
|
||||
/* accept_dialog.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/accept_dialog.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/button.hpp>
|
||||
#include <godot_cpp/classes/label.hpp>
|
||||
#include <godot_cpp/classes/line_edit.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
Button *AcceptDialog::get_ok_button() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("get_ok_button")._native_ptr(), 1856205918);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (nullptr));
|
||||
return ::godot::internal::_call_native_mb_ret_obj<Button>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Label *AcceptDialog::get_label() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("get_label")._native_ptr(), 566733104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (nullptr));
|
||||
return ::godot::internal::_call_native_mb_ret_obj<Label>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AcceptDialog::set_hide_on_ok(bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("set_hide_on_ok")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AcceptDialog::get_hide_on_ok() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("get_hide_on_ok")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AcceptDialog::set_close_on_escape(bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("set_close_on_escape")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AcceptDialog::get_close_on_escape() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("get_close_on_escape")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Button *AcceptDialog::add_button(const String &p_text, bool p_right, const String &p_action) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("add_button")._native_ptr(), 3328440682);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (nullptr));
|
||||
int8_t p_right_encoded;
|
||||
PtrToArg<bool>::encode(p_right, &p_right_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret_obj<Button>(_gde_method_bind, _owner, &p_text, &p_right_encoded, &p_action);
|
||||
}
|
||||
|
||||
Button *AcceptDialog::add_cancel_button(const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("add_cancel_button")._native_ptr(), 242045556);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (nullptr));
|
||||
return ::godot::internal::_call_native_mb_ret_obj<Button>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AcceptDialog::remove_button(Button *p_button) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("remove_button")._native_ptr(), 2068354942);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_button != nullptr ? &p_button->_owner : nullptr));
|
||||
}
|
||||
|
||||
void AcceptDialog::register_text_enter(LineEdit *p_line_edit) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("register_text_enter")._native_ptr(), 3714008017);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_line_edit != nullptr ? &p_line_edit->_owner : nullptr));
|
||||
}
|
||||
|
||||
void AcceptDialog::set_text(const String &p_text) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("set_text")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_text);
|
||||
}
|
||||
|
||||
String AcceptDialog::get_text() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("get_text")._native_ptr(), 201670096);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AcceptDialog::set_autowrap(bool p_autowrap) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("set_autowrap")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_autowrap_encoded;
|
||||
PtrToArg<bool>::encode(p_autowrap, &p_autowrap_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_autowrap_encoded);
|
||||
}
|
||||
|
||||
bool AcceptDialog::has_autowrap() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("has_autowrap")._native_ptr(), 2240911060);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AcceptDialog::set_ok_button_text(const String &p_text) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("set_ok_button_text")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_text);
|
||||
}
|
||||
|
||||
String AcceptDialog::get_ok_button_text() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AcceptDialog::get_class_static()._native_ptr(), StringName("get_ok_button_text")._native_ptr(), 201670096);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,624 @@
|
||||
/**************************************************************************/
|
||||
/* accessibility_server.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/accessibility_server.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/variant/callable.hpp>
|
||||
#include <godot_cpp/variant/rect2.hpp>
|
||||
#include <godot_cpp/variant/string.hpp>
|
||||
#include <godot_cpp/variant/transform2d.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
AccessibilityServer *AccessibilityServer::singleton = nullptr;
|
||||
|
||||
AccessibilityServer *AccessibilityServer::get_singleton() {
|
||||
if (unlikely(singleton == nullptr)) {
|
||||
GDExtensionObjectPtr singleton_obj = ::godot::gdextension_interface::global_get_singleton(AccessibilityServer::get_class_static()._native_ptr());
|
||||
#ifdef DEBUG_ENABLED
|
||||
ERR_FAIL_NULL_V(singleton_obj, nullptr);
|
||||
#endif // DEBUG_ENABLED
|
||||
singleton = reinterpret_cast<AccessibilityServer *>(::godot::gdextension_interface::object_get_instance_binding(singleton_obj, ::godot::gdextension_interface::token, &AccessibilityServer::_gde_binding_callbacks));
|
||||
#ifdef DEBUG_ENABLED
|
||||
ERR_FAIL_NULL_V(singleton, nullptr);
|
||||
#endif // DEBUG_ENABLED
|
||||
if (likely(singleton)) {
|
||||
ClassDB::_register_engine_singleton(AccessibilityServer::get_class_static(), singleton);
|
||||
}
|
||||
}
|
||||
return singleton;
|
||||
}
|
||||
|
||||
AccessibilityServer::~AccessibilityServer() {
|
||||
if (singleton == this) {
|
||||
ClassDB::_unregister_engine_singleton(AccessibilityServer::get_class_static());
|
||||
singleton = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
bool AccessibilityServer::is_supported() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("is_supported")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
RID AccessibilityServer::create_element(int32_t p_window_id, AccessibilityServer::AccessibilityRole p_role) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("create_element")._native_ptr(), 3846965249);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (RID()));
|
||||
int64_t p_window_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_window_id, &p_window_id_encoded);
|
||||
int64_t p_role_encoded;
|
||||
PtrToArg<int64_t>::encode(p_role, &p_role_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<RID>(_gde_method_bind, _owner, &p_window_id_encoded, &p_role_encoded);
|
||||
}
|
||||
|
||||
RID AccessibilityServer::create_sub_element(const RID &p_parent_rid, AccessibilityServer::AccessibilityRole p_role, int32_t p_insert_pos) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("create_sub_element")._native_ptr(), 1151690429);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (RID()));
|
||||
int64_t p_role_encoded;
|
||||
PtrToArg<int64_t>::encode(p_role, &p_role_encoded);
|
||||
int64_t p_insert_pos_encoded;
|
||||
PtrToArg<int64_t>::encode(p_insert_pos, &p_insert_pos_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<RID>(_gde_method_bind, _owner, &p_parent_rid, &p_role_encoded, &p_insert_pos_encoded);
|
||||
}
|
||||
|
||||
RID AccessibilityServer::create_sub_text_edit_elements(const RID &p_parent_rid, const RID &p_shaped_text, float p_min_height, int32_t p_insert_pos, bool p_is_last_line) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("create_sub_text_edit_elements")._native_ptr(), 2702009895);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (RID()));
|
||||
double p_min_height_encoded;
|
||||
PtrToArg<double>::encode(p_min_height, &p_min_height_encoded);
|
||||
int64_t p_insert_pos_encoded;
|
||||
PtrToArg<int64_t>::encode(p_insert_pos, &p_insert_pos_encoded);
|
||||
int8_t p_is_last_line_encoded;
|
||||
PtrToArg<bool>::encode(p_is_last_line, &p_is_last_line_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<RID>(_gde_method_bind, _owner, &p_parent_rid, &p_shaped_text, &p_min_height_encoded, &p_insert_pos_encoded, &p_is_last_line_encoded);
|
||||
}
|
||||
|
||||
bool AccessibilityServer::has_element(const RID &p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("has_element")._native_ptr(), 4155700596);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::free_element(const RID &p_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("free_element")._native_ptr(), 2722037293);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::element_set_meta(const RID &p_id, const Variant &p_meta) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("element_set_meta")._native_ptr(), 3175752987);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_meta);
|
||||
}
|
||||
|
||||
Variant AccessibilityServer::element_get_meta(const RID &p_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("element_get_meta")._native_ptr(), 4171304767);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Variant()));
|
||||
return ::godot::internal::_call_native_mb_ret<Variant>(_gde_method_bind, _owner, &p_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::set_window_rect(int32_t p_window_id, const Rect2 &p_rect_out, const Rect2 &p_rect_in) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("set_window_rect")._native_ptr(), 2386961724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_window_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_window_id, &p_window_id_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_window_id_encoded, &p_rect_out, &p_rect_in);
|
||||
}
|
||||
|
||||
void AccessibilityServer::set_window_focused(int32_t p_window_id, bool p_focused) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("set_window_focused")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_window_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_window_id, &p_window_id_encoded);
|
||||
int8_t p_focused_encoded;
|
||||
PtrToArg<bool>::encode(p_focused, &p_focused_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_window_id_encoded, &p_focused_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_focus(const RID &p_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_focus")._native_ptr(), 2722037293);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id);
|
||||
}
|
||||
|
||||
RID AccessibilityServer::get_window_root(int32_t p_window_id) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("get_window_root")._native_ptr(), 495598643);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (RID()));
|
||||
int64_t p_window_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_window_id, &p_window_id_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<RID>(_gde_method_bind, _owner, &p_window_id_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_role(const RID &p_id, AccessibilityServer::AccessibilityRole p_role) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_role")._native_ptr(), 3747886520);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_role_encoded;
|
||||
PtrToArg<int64_t>::encode(p_role, &p_role_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_role_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_name(const RID &p_id, const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_name")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_name);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_braille_label(const RID &p_id, const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_braille_label")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_name);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_braille_role_description(const RID &p_id, const String &p_description) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_braille_role_description")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_description);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_extra_info(const RID &p_id, const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_extra_info")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_name);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_description(const RID &p_id, const String &p_description) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_description")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_description);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_value(const RID &p_id, const String &p_value) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_value")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_value);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_tooltip(const RID &p_id, const String &p_tooltip) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_tooltip")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_tooltip);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_bounds(const RID &p_id, const Rect2 &p_rect) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_bounds")._native_ptr(), 1378122625);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_rect);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_transform(const RID &p_id, const Transform2D &p_transform) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_transform")._native_ptr(), 1246044741);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_transform);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_add_child(const RID &p_id, const RID &p_child_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_add_child")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_child_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_add_related_controls(const RID &p_id, const RID &p_related_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_add_related_controls")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_related_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_add_related_details(const RID &p_id, const RID &p_related_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_add_related_details")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_related_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_add_related_described_by(const RID &p_id, const RID &p_related_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_add_related_described_by")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_related_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_add_related_flow_to(const RID &p_id, const RID &p_related_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_add_related_flow_to")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_related_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_add_related_labeled_by(const RID &p_id, const RID &p_related_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_add_related_labeled_by")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_related_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_add_related_radio_group(const RID &p_id, const RID &p_related_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_add_related_radio_group")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_related_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_active_descendant(const RID &p_id, const RID &p_other_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_active_descendant")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_other_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_next_on_line(const RID &p_id, const RID &p_other_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_next_on_line")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_other_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_previous_on_line(const RID &p_id, const RID &p_other_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_previous_on_line")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_other_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_member_of(const RID &p_id, const RID &p_group_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_member_of")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_group_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_in_page_link_target(const RID &p_id, const RID &p_other_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_in_page_link_target")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_other_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_error_message(const RID &p_id, const RID &p_other_id) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_error_message")._native_ptr(), 395945892);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_other_id);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_live(const RID &p_id, AccessibilityServer::AccessibilityLiveMode p_live) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_live")._native_ptr(), 2993365237);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_live_encoded;
|
||||
PtrToArg<int64_t>::encode(p_live, &p_live_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_live_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_add_action(const RID &p_id, AccessibilityServer::AccessibilityAction p_action, const Callable &p_callable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_add_action")._native_ptr(), 3960092835);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_action_encoded;
|
||||
PtrToArg<int64_t>::encode(p_action, &p_action_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_action_encoded, &p_callable);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_add_custom_action(const RID &p_id, int32_t p_action_id, const String &p_action_description) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_add_custom_action")._native_ptr(), 4153150897);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_action_id_encoded;
|
||||
PtrToArg<int64_t>::encode(p_action_id, &p_action_id_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_action_id_encoded, &p_action_description);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_table_row_count(const RID &p_id, int32_t p_count) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_table_row_count")._native_ptr(), 3411492887);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_count_encoded;
|
||||
PtrToArg<int64_t>::encode(p_count, &p_count_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_count_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_table_column_count(const RID &p_id, int32_t p_count) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_table_column_count")._native_ptr(), 3411492887);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_count_encoded;
|
||||
PtrToArg<int64_t>::encode(p_count, &p_count_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_count_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_table_row_index(const RID &p_id, int32_t p_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_table_row_index")._native_ptr(), 3411492887);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_index_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_table_column_index(const RID &p_id, int32_t p_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_table_column_index")._native_ptr(), 3411492887);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_index_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_table_cell_position(const RID &p_id, int32_t p_row_index, int32_t p_column_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_table_cell_position")._native_ptr(), 4288446313);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_row_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_row_index, &p_row_index_encoded);
|
||||
int64_t p_column_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_column_index, &p_column_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_row_index_encoded, &p_column_index_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_table_cell_span(const RID &p_id, int32_t p_row_span, int32_t p_column_span) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_table_cell_span")._native_ptr(), 4288446313);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_row_span_encoded;
|
||||
PtrToArg<int64_t>::encode(p_row_span, &p_row_span_encoded);
|
||||
int64_t p_column_span_encoded;
|
||||
PtrToArg<int64_t>::encode(p_column_span, &p_column_span_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_row_span_encoded, &p_column_span_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_list_item_count(const RID &p_id, int32_t p_size) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_list_item_count")._native_ptr(), 3411492887);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_size_encoded;
|
||||
PtrToArg<int64_t>::encode(p_size, &p_size_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_size_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_list_item_index(const RID &p_id, int32_t p_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_list_item_index")._native_ptr(), 3411492887);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_index_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_list_item_level(const RID &p_id, int32_t p_level) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_list_item_level")._native_ptr(), 3411492887);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_level_encoded;
|
||||
PtrToArg<int64_t>::encode(p_level, &p_level_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_level_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_list_item_selected(const RID &p_id, bool p_selected) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_list_item_selected")._native_ptr(), 1265174801);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_selected_encoded;
|
||||
PtrToArg<bool>::encode(p_selected, &p_selected_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_selected_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_list_item_expanded(const RID &p_id, bool p_expanded) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_list_item_expanded")._native_ptr(), 1265174801);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_expanded_encoded;
|
||||
PtrToArg<bool>::encode(p_expanded, &p_expanded_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_expanded_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_popup_type(const RID &p_id, AccessibilityServer::AccessibilityPopupType p_popup) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_popup_type")._native_ptr(), 690307634);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_popup_encoded;
|
||||
PtrToArg<int64_t>::encode(p_popup, &p_popup_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_popup_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_checked(const RID &p_id, bool p_checekd) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_checked")._native_ptr(), 1265174801);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_checekd_encoded;
|
||||
PtrToArg<bool>::encode(p_checekd, &p_checekd_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_checekd_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_num_value(const RID &p_id, double p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_num_value")._native_ptr(), 1794382983);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_position_encoded;
|
||||
PtrToArg<double>::encode(p_position, &p_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_position_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_num_range(const RID &p_id, double p_min, double p_max) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_num_range")._native_ptr(), 2513314492);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_min_encoded;
|
||||
PtrToArg<double>::encode(p_min, &p_min_encoded);
|
||||
double p_max_encoded;
|
||||
PtrToArg<double>::encode(p_max, &p_max_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_min_encoded, &p_max_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_num_step(const RID &p_id, double p_step) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_num_step")._native_ptr(), 1794382983);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_step_encoded;
|
||||
PtrToArg<double>::encode(p_step, &p_step_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_step_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_num_jump(const RID &p_id, double p_jump) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_num_jump")._native_ptr(), 1794382983);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_jump_encoded;
|
||||
PtrToArg<double>::encode(p_jump, &p_jump_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_jump_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_scroll_x(const RID &p_id, double p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_scroll_x")._native_ptr(), 1794382983);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_position_encoded;
|
||||
PtrToArg<double>::encode(p_position, &p_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_position_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_scroll_x_range(const RID &p_id, double p_min, double p_max) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_scroll_x_range")._native_ptr(), 2513314492);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_min_encoded;
|
||||
PtrToArg<double>::encode(p_min, &p_min_encoded);
|
||||
double p_max_encoded;
|
||||
PtrToArg<double>::encode(p_max, &p_max_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_min_encoded, &p_max_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_scroll_y(const RID &p_id, double p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_scroll_y")._native_ptr(), 1794382983);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_position_encoded;
|
||||
PtrToArg<double>::encode(p_position, &p_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_position_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_scroll_y_range(const RID &p_id, double p_min, double p_max) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_scroll_y_range")._native_ptr(), 2513314492);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_min_encoded;
|
||||
PtrToArg<double>::encode(p_min, &p_min_encoded);
|
||||
double p_max_encoded;
|
||||
PtrToArg<double>::encode(p_max, &p_max_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_min_encoded, &p_max_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_text_decorations(const RID &p_id, bool p_underline, bool p_strikethrough, bool p_overline, const Color &p_color) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_text_decorations")._native_ptr(), 457503484);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_underline_encoded;
|
||||
PtrToArg<bool>::encode(p_underline, &p_underline_encoded);
|
||||
int8_t p_strikethrough_encoded;
|
||||
PtrToArg<bool>::encode(p_strikethrough, &p_strikethrough_encoded);
|
||||
int8_t p_overline_encoded;
|
||||
PtrToArg<bool>::encode(p_overline, &p_overline_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_underline_encoded, &p_strikethrough_encoded, &p_overline_encoded, &p_color);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_text_align(const RID &p_id, HorizontalAlignment p_align) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_text_align")._native_ptr(), 3725995085);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_align_encoded;
|
||||
PtrToArg<int64_t>::encode(p_align, &p_align_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_align_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_text_selection(const RID &p_id, const RID &p_text_start_id, int32_t p_start_char, const RID &p_text_end_id, int32_t p_end_char) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_text_selection")._native_ptr(), 3119144029);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_start_char_encoded;
|
||||
PtrToArg<int64_t>::encode(p_start_char, &p_start_char_encoded);
|
||||
int64_t p_end_char_encoded;
|
||||
PtrToArg<int64_t>::encode(p_end_char, &p_end_char_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_text_start_id, &p_start_char_encoded, &p_text_end_id, &p_end_char_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_flag(const RID &p_id, AccessibilityServer::AccessibilityFlags p_flag, bool p_value) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_flag")._native_ptr(), 1473043386);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_flag_encoded;
|
||||
PtrToArg<int64_t>::encode(p_flag, &p_flag_encoded);
|
||||
int8_t p_value_encoded;
|
||||
PtrToArg<bool>::encode(p_value, &p_value_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_flag_encoded, &p_value_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_classname(const RID &p_id, const String &p_classname) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_classname")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_classname);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_placeholder(const RID &p_id, const String &p_placeholder) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_placeholder")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_placeholder);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_language(const RID &p_id, const String &p_language) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_language")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_language);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_text_orientation(const RID &p_id, bool p_vertical) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_text_orientation")._native_ptr(), 1265174801);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_vertical_encoded;
|
||||
PtrToArg<bool>::encode(p_vertical, &p_vertical_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_vertical_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_list_orientation(const RID &p_id, bool p_vertical) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_list_orientation")._native_ptr(), 1265174801);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_vertical_encoded;
|
||||
PtrToArg<bool>::encode(p_vertical, &p_vertical_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_vertical_encoded);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_shortcut(const RID &p_id, const String &p_shortcut) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_shortcut")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_shortcut);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_url(const RID &p_id, const String &p_url) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_url")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_url);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_role_description(const RID &p_id, const String &p_description) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_role_description")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_description);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_state_description(const RID &p_id, const String &p_description) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_state_description")._native_ptr(), 2726140452);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_description);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_color_value(const RID &p_id, const Color &p_color) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_color_value")._native_ptr(), 2948539648);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_color);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_background_color(const RID &p_id, const Color &p_color) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_background_color")._native_ptr(), 2948539648);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_color);
|
||||
}
|
||||
|
||||
void AccessibilityServer::update_set_foreground_color(const RID &p_id, const Color &p_color) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AccessibilityServer::get_class_static()._native_ptr(), StringName("update_set_foreground_color")._native_ptr(), 2948539648);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_id, &p_color);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,67 @@
|
||||
/**************************************************************************/
|
||||
/* aes_context.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/aes_context.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
Error AESContext::start(AESContext::Mode p_mode, const PackedByteArray &p_key, const PackedByteArray &p_iv) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AESContext::get_class_static()._native_ptr(), StringName("start")._native_ptr(), 3122411423);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Error(0)));
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
return (Error)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_mode_encoded, &p_key, &p_iv);
|
||||
}
|
||||
|
||||
PackedByteArray AESContext::update(const PackedByteArray &p_src) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AESContext::get_class_static()._native_ptr(), StringName("update")._native_ptr(), 527836100);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedByteArray()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedByteArray>(_gde_method_bind, _owner, &p_src);
|
||||
}
|
||||
|
||||
PackedByteArray AESContext::get_iv_state() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AESContext::get_class_static()._native_ptr(), StringName("get_iv_state")._native_ptr(), 2115431945);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedByteArray()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedByteArray>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AESContext::finish() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AESContext::get_class_static()._native_ptr(), StringName("finish")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,131 @@
|
||||
/**************************************************************************/
|
||||
/* aim_modifier3d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/aim_modifier3d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AimModifier3D::set_forward_axis(int32_t p_index, SkeletonModifier3D::BoneAxis p_axis) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("set_forward_axis")._native_ptr(), 2496831085);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
int64_t p_axis_encoded;
|
||||
PtrToArg<int64_t>::encode(p_axis, &p_axis_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_index_encoded, &p_axis_encoded);
|
||||
}
|
||||
|
||||
SkeletonModifier3D::BoneAxis AimModifier3D::get_forward_axis(int32_t p_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("get_forward_axis")._native_ptr(), 3949866735);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (SkeletonModifier3D::BoneAxis(0)));
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
return (SkeletonModifier3D::BoneAxis)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_index_encoded);
|
||||
}
|
||||
|
||||
void AimModifier3D::set_use_euler(int32_t p_index, bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("set_use_euler")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_index_encoded, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AimModifier3D::is_using_euler(int32_t p_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("is_using_euler")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_index_encoded);
|
||||
}
|
||||
|
||||
void AimModifier3D::set_primary_rotation_axis(int32_t p_index, Vector3::Axis p_axis) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("set_primary_rotation_axis")._native_ptr(), 776736805);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
int64_t p_axis_encoded;
|
||||
PtrToArg<int64_t>::encode(p_axis, &p_axis_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_index_encoded, &p_axis_encoded);
|
||||
}
|
||||
|
||||
Vector3::Axis AimModifier3D::get_primary_rotation_axis(int32_t p_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("get_primary_rotation_axis")._native_ptr(), 4131134770);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3::Axis(0)));
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
return (Vector3::Axis)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_index_encoded);
|
||||
}
|
||||
|
||||
void AimModifier3D::set_use_secondary_rotation(int32_t p_index, bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("set_use_secondary_rotation")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_index_encoded, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AimModifier3D::is_using_secondary_rotation(int32_t p_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("is_using_secondary_rotation")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_index_encoded);
|
||||
}
|
||||
|
||||
void AimModifier3D::set_relative(int32_t p_index, bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("set_relative")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_index_encoded, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AimModifier3D::is_relative(int32_t p_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AimModifier3D::get_class_static()._native_ptr(), StringName("is_relative")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_index_encoded);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,55 @@
|
||||
/**************************************************************************/
|
||||
/* animatable_body2d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animatable_body2d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimatableBody2D::set_sync_to_physics(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatableBody2D::get_class_static()._native_ptr(), StringName("set_sync_to_physics")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimatableBody2D::is_sync_to_physics_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatableBody2D::get_class_static()._native_ptr(), StringName("is_sync_to_physics_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,55 @@
|
||||
/**************************************************************************/
|
||||
/* animatable_body3d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animatable_body3d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimatableBody3D::set_sync_to_physics(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatableBody3D::get_class_static()._native_ptr(), StringName("set_sync_to_physics")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimatableBody3D::is_sync_to_physics_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatableBody3D::get_class_static()._native_ptr(), StringName("is_sync_to_physics_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,225 @@
|
||||
/**************************************************************************/
|
||||
/* animated_sprite2d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animated_sprite2d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/sprite_frames.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimatedSprite2D::set_sprite_frames(const Ref<SpriteFrames> &p_sprite_frames) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_sprite_frames")._native_ptr(), 905781144);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_sprite_frames != nullptr ? &p_sprite_frames->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<SpriteFrames> AnimatedSprite2D::get_sprite_frames() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("get_sprite_frames")._native_ptr(), 3804851214);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<SpriteFrames>()));
|
||||
return Ref<SpriteFrames>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<SpriteFrames>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_animation(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_animation")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName AnimatedSprite2D::get_animation() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("get_animation")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_autoplay(const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_autoplay")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
String AnimatedSprite2D::get_autoplay() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("get_autoplay")._native_ptr(), 201670096);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AnimatedSprite2D::is_playing() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("is_playing")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::play(const StringName &p_name, float p_custom_speed, bool p_from_end) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("play")._native_ptr(), 3269405555);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_custom_speed_encoded;
|
||||
PtrToArg<double>::encode(p_custom_speed, &p_custom_speed_encoded);
|
||||
int8_t p_from_end_encoded;
|
||||
PtrToArg<bool>::encode(p_from_end, &p_from_end_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_custom_speed_encoded, &p_from_end_encoded);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::play_backwards(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("play_backwards")._native_ptr(), 3323268493);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::pause() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("pause")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::stop() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("stop")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_centered(bool p_centered) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_centered")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_centered_encoded;
|
||||
PtrToArg<bool>::encode(p_centered, &p_centered_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_centered_encoded);
|
||||
}
|
||||
|
||||
bool AnimatedSprite2D::is_centered() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("is_centered")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_offset(const Vector2 &p_offset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_offset")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_offset);
|
||||
}
|
||||
|
||||
Vector2 AnimatedSprite2D::get_offset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("get_offset")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_flip_h(bool p_flip_h) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_flip_h")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_flip_h_encoded;
|
||||
PtrToArg<bool>::encode(p_flip_h, &p_flip_h_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_flip_h_encoded);
|
||||
}
|
||||
|
||||
bool AnimatedSprite2D::is_flipped_h() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("is_flipped_h")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_flip_v(bool p_flip_v) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_flip_v")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_flip_v_encoded;
|
||||
PtrToArg<bool>::encode(p_flip_v, &p_flip_v_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_flip_v_encoded);
|
||||
}
|
||||
|
||||
bool AnimatedSprite2D::is_flipped_v() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("is_flipped_v")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_frame(int32_t p_frame) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_frame")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_frame_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frame, &p_frame_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_frame_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimatedSprite2D::get_frame() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("get_frame")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_frame_progress(float p_progress) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_frame_progress")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_progress_encoded;
|
||||
PtrToArg<double>::encode(p_progress, &p_progress_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_progress_encoded);
|
||||
}
|
||||
|
||||
float AnimatedSprite2D::get_frame_progress() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("get_frame_progress")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_frame_and_progress(int32_t p_frame, float p_progress) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_frame_and_progress")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_frame_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frame, &p_frame_encoded);
|
||||
double p_progress_encoded;
|
||||
PtrToArg<double>::encode(p_progress, &p_progress_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_frame_encoded, &p_progress_encoded);
|
||||
}
|
||||
|
||||
void AnimatedSprite2D::set_speed_scale(float p_speed_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("set_speed_scale")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_speed_scale_encoded;
|
||||
PtrToArg<double>::encode(p_speed_scale, &p_speed_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_speed_scale_encoded);
|
||||
}
|
||||
|
||||
float AnimatedSprite2D::get_speed_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("get_speed_scale")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AnimatedSprite2D::get_playing_speed() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite2D::get_class_static()._native_ptr(), StringName("get_playing_speed")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,171 @@
|
||||
/**************************************************************************/
|
||||
/* animated_sprite3d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animated_sprite3d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/sprite_frames.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimatedSprite3D::set_sprite_frames(const Ref<SpriteFrames> &p_sprite_frames) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("set_sprite_frames")._native_ptr(), 905781144);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_sprite_frames != nullptr ? &p_sprite_frames->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<SpriteFrames> AnimatedSprite3D::get_sprite_frames() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("get_sprite_frames")._native_ptr(), 3804851214);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<SpriteFrames>()));
|
||||
return Ref<SpriteFrames>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<SpriteFrames>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::set_animation(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("set_animation")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName AnimatedSprite3D::get_animation() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("get_animation")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::set_autoplay(const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("set_autoplay")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
String AnimatedSprite3D::get_autoplay() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("get_autoplay")._native_ptr(), 201670096);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AnimatedSprite3D::is_playing() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("is_playing")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::play(const StringName &p_name, float p_custom_speed, bool p_from_end) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("play")._native_ptr(), 3269405555);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_custom_speed_encoded;
|
||||
PtrToArg<double>::encode(p_custom_speed, &p_custom_speed_encoded);
|
||||
int8_t p_from_end_encoded;
|
||||
PtrToArg<bool>::encode(p_from_end, &p_from_end_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_custom_speed_encoded, &p_from_end_encoded);
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::play_backwards(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("play_backwards")._native_ptr(), 3323268493);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::pause() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("pause")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::stop() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("stop")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::set_frame(int32_t p_frame) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("set_frame")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_frame_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frame, &p_frame_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_frame_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimatedSprite3D::get_frame() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("get_frame")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::set_frame_progress(float p_progress) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("set_frame_progress")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_progress_encoded;
|
||||
PtrToArg<double>::encode(p_progress, &p_progress_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_progress_encoded);
|
||||
}
|
||||
|
||||
float AnimatedSprite3D::get_frame_progress() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("get_frame_progress")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::set_frame_and_progress(int32_t p_frame, float p_progress) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("set_frame_and_progress")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_frame_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frame, &p_frame_encoded);
|
||||
double p_progress_encoded;
|
||||
PtrToArg<double>::encode(p_progress, &p_progress_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_frame_encoded, &p_progress_encoded);
|
||||
}
|
||||
|
||||
void AnimatedSprite3D::set_speed_scale(float p_speed_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("set_speed_scale")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_speed_scale_encoded;
|
||||
PtrToArg<double>::encode(p_speed_scale, &p_speed_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_speed_scale_encoded);
|
||||
}
|
||||
|
||||
float AnimatedSprite3D::get_speed_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("get_speed_scale")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AnimatedSprite3D::get_playing_speed() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedSprite3D::get_class_static()._native_ptr(), StringName("get_playing_speed")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,145 @@
|
||||
/**************************************************************************/
|
||||
/* animated_texture.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animated_texture.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimatedTexture::set_frames(int32_t p_frames) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("set_frames")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_frames_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frames, &p_frames_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_frames_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimatedTexture::get_frames() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("get_frames")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedTexture::set_current_frame(int32_t p_frame) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("set_current_frame")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_frame_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frame, &p_frame_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_frame_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimatedTexture::get_current_frame() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("get_current_frame")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedTexture::set_pause(bool p_pause) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("set_pause")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_pause_encoded;
|
||||
PtrToArg<bool>::encode(p_pause, &p_pause_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pause_encoded);
|
||||
}
|
||||
|
||||
bool AnimatedTexture::get_pause() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("get_pause")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedTexture::set_one_shot(bool p_one_shot) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("set_one_shot")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_one_shot_encoded;
|
||||
PtrToArg<bool>::encode(p_one_shot, &p_one_shot_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_one_shot_encoded);
|
||||
}
|
||||
|
||||
bool AnimatedTexture::get_one_shot() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("get_one_shot")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedTexture::set_speed_scale(float p_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("set_speed_scale")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_scale_encoded;
|
||||
PtrToArg<double>::encode(p_scale, &p_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_scale_encoded);
|
||||
}
|
||||
|
||||
float AnimatedTexture::get_speed_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("get_speed_scale")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimatedTexture::set_frame_texture(int32_t p_frame, const Ref<Texture2D> &p_texture) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("set_frame_texture")._native_ptr(), 666127730);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_frame_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frame, &p_frame_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_frame_encoded, (p_texture != nullptr ? &p_texture->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<Texture2D> AnimatedTexture::get_frame_texture(int32_t p_frame) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("get_frame_texture")._native_ptr(), 3536238170);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Texture2D>()));
|
||||
int64_t p_frame_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frame, &p_frame_encoded);
|
||||
return Ref<Texture2D>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Texture2D>(_gde_method_bind, _owner, &p_frame_encoded));
|
||||
}
|
||||
|
||||
void AnimatedTexture::set_frame_duration(int32_t p_frame, float p_duration) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("set_frame_duration")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_frame_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frame, &p_frame_encoded);
|
||||
double p_duration_encoded;
|
||||
PtrToArg<double>::encode(p_duration, &p_duration_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_frame_encoded, &p_duration_encoded);
|
||||
}
|
||||
|
||||
float AnimatedTexture::get_frame_duration(int32_t p_frame) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimatedTexture::get_class_static()._native_ptr(), StringName("get_frame_duration")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_frame_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frame, &p_frame_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_frame_encoded);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,841 @@
|
||||
/**************************************************************************/
|
||||
/* animation.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
int32_t Animation::add_track(Animation::TrackType p_type, int32_t p_at_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("add_track")._native_ptr(), 3843682357);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_type, &p_type_encoded);
|
||||
int64_t p_at_position_encoded;
|
||||
PtrToArg<int64_t>::encode(p_at_position, &p_at_position_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_type_encoded, &p_at_position_encoded);
|
||||
}
|
||||
|
||||
void Animation::remove_track(int32_t p_track_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("remove_track")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t Animation::get_track_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_track_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Animation::TrackType Animation::track_get_type(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_get_type")._native_ptr(), 3445944217);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Animation::TrackType(0)));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return (Animation::TrackType)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
NodePath Animation::track_get_path(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_get_path")._native_ptr(), 408788394);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (NodePath()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<NodePath>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_set_path(int32_t p_track_idx, const NodePath &p_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_set_path")._native_ptr(), 2761262315);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_path);
|
||||
}
|
||||
|
||||
int32_t Animation::find_track(const NodePath &p_path, Animation::TrackType p_type) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("find_track")._native_ptr(), 245376003);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_type, &p_type_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_path, &p_type_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_move_up(int32_t p_track_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_move_up")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_move_down(int32_t p_track_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_move_down")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_move_to(int32_t p_track_idx, int32_t p_to_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_move_to")._native_ptr(), 3937882851);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_to_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_idx, &p_to_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_to_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_swap(int32_t p_track_idx, int32_t p_with_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_swap")._native_ptr(), 3937882851);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_with_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_with_idx, &p_with_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_with_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_set_imported(int32_t p_track_idx, bool p_imported) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_set_imported")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int8_t p_imported_encoded;
|
||||
PtrToArg<bool>::encode(p_imported, &p_imported_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_imported_encoded);
|
||||
}
|
||||
|
||||
bool Animation::track_is_imported(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_is_imported")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_set_enabled(int32_t p_track_idx, bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_set_enabled")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool Animation::track_is_enabled(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_is_enabled")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t Animation::position_track_insert_key(int32_t p_track_idx, double p_time, const Vector3 &p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("position_track_insert_key")._native_ptr(), 2540608232);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded, &p_position);
|
||||
}
|
||||
|
||||
int32_t Animation::rotation_track_insert_key(int32_t p_track_idx, double p_time, const Quaternion &p_rotation) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("rotation_track_insert_key")._native_ptr(), 4165004800);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded, &p_rotation);
|
||||
}
|
||||
|
||||
int32_t Animation::scale_track_insert_key(int32_t p_track_idx, double p_time, const Vector3 &p_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("scale_track_insert_key")._native_ptr(), 2540608232);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded, &p_scale);
|
||||
}
|
||||
|
||||
int32_t Animation::blend_shape_track_insert_key(int32_t p_track_idx, double p_time, float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("blend_shape_track_insert_key")._native_ptr(), 1534913637);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded, &p_amount_encoded);
|
||||
}
|
||||
|
||||
Vector3 Animation::position_track_interpolate(int32_t p_track_idx, double p_time_sec, bool p_backward) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("position_track_interpolate")._native_ptr(), 3530011197);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_sec_encoded;
|
||||
PtrToArg<double>::encode(p_time_sec, &p_time_sec_encoded);
|
||||
int8_t p_backward_encoded;
|
||||
PtrToArg<bool>::encode(p_backward, &p_backward_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_sec_encoded, &p_backward_encoded);
|
||||
}
|
||||
|
||||
Quaternion Animation::rotation_track_interpolate(int32_t p_track_idx, double p_time_sec, bool p_backward) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("rotation_track_interpolate")._native_ptr(), 2915876792);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Quaternion()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_sec_encoded;
|
||||
PtrToArg<double>::encode(p_time_sec, &p_time_sec_encoded);
|
||||
int8_t p_backward_encoded;
|
||||
PtrToArg<bool>::encode(p_backward, &p_backward_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Quaternion>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_sec_encoded, &p_backward_encoded);
|
||||
}
|
||||
|
||||
Vector3 Animation::scale_track_interpolate(int32_t p_track_idx, double p_time_sec, bool p_backward) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("scale_track_interpolate")._native_ptr(), 3530011197);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_sec_encoded;
|
||||
PtrToArg<double>::encode(p_time_sec, &p_time_sec_encoded);
|
||||
int8_t p_backward_encoded;
|
||||
PtrToArg<bool>::encode(p_backward, &p_backward_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_sec_encoded, &p_backward_encoded);
|
||||
}
|
||||
|
||||
float Animation::blend_shape_track_interpolate(int32_t p_track_idx, double p_time_sec, bool p_backward) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("blend_shape_track_interpolate")._native_ptr(), 2482365182);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_sec_encoded;
|
||||
PtrToArg<double>::encode(p_time_sec, &p_time_sec_encoded);
|
||||
int8_t p_backward_encoded;
|
||||
PtrToArg<bool>::encode(p_backward, &p_backward_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_sec_encoded, &p_backward_encoded);
|
||||
}
|
||||
|
||||
int32_t Animation::track_insert_key(int32_t p_track_idx, double p_time, const Variant &p_key, float p_transition) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_insert_key")._native_ptr(), 808952278);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
double p_transition_encoded;
|
||||
PtrToArg<double>::encode(p_transition, &p_transition_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded, &p_key, &p_transition_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_remove_key(int32_t p_track_idx, int32_t p_key_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_remove_key")._native_ptr(), 3937882851);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_remove_key_at_time(int32_t p_track_idx, double p_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_remove_key_at_time")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_set_key_value(int32_t p_track_idx, int32_t p_key, const Variant &p_value) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_set_key_value")._native_ptr(), 2060538656);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key, &p_key_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_encoded, &p_value);
|
||||
}
|
||||
|
||||
void Animation::track_set_key_transition(int32_t p_track_idx, int32_t p_key_idx, float p_transition) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_set_key_transition")._native_ptr(), 3506521499);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
double p_transition_encoded;
|
||||
PtrToArg<double>::encode(p_transition, &p_transition_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded, &p_transition_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_set_key_time(int32_t p_track_idx, int32_t p_key_idx, double p_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_set_key_time")._native_ptr(), 3506521499);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded, &p_time_encoded);
|
||||
}
|
||||
|
||||
float Animation::track_get_key_transition(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_get_key_transition")._native_ptr(), 3085491603);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t Animation::track_get_key_count(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_get_key_count")._native_ptr(), 923996154);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
Variant Animation::track_get_key_value(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_get_key_value")._native_ptr(), 678354945);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Variant()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Variant>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
double Animation::track_get_key_time(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_get_key_time")._native_ptr(), 3085491603);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t Animation::track_find_key(int32_t p_track_idx, double p_time, Animation::FindMode p_find_mode, bool p_limit, bool p_backward) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_find_key")._native_ptr(), 4230953007);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
int64_t p_find_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_find_mode, &p_find_mode_encoded);
|
||||
int8_t p_limit_encoded;
|
||||
PtrToArg<bool>::encode(p_limit, &p_limit_encoded);
|
||||
int8_t p_backward_encoded;
|
||||
PtrToArg<bool>::encode(p_backward, &p_backward_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded, &p_find_mode_encoded, &p_limit_encoded, &p_backward_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_set_interpolation_type(int32_t p_track_idx, Animation::InterpolationType p_interpolation) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_set_interpolation_type")._native_ptr(), 4112932513);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_interpolation_encoded;
|
||||
PtrToArg<int64_t>::encode(p_interpolation, &p_interpolation_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_interpolation_encoded);
|
||||
}
|
||||
|
||||
Animation::InterpolationType Animation::track_get_interpolation_type(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_get_interpolation_type")._native_ptr(), 1530756894);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Animation::InterpolationType(0)));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return (Animation::InterpolationType)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::track_set_interpolation_loop_wrap(int32_t p_track_idx, bool p_interpolation) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_set_interpolation_loop_wrap")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int8_t p_interpolation_encoded;
|
||||
PtrToArg<bool>::encode(p_interpolation, &p_interpolation_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_interpolation_encoded);
|
||||
}
|
||||
|
||||
bool Animation::track_get_interpolation_loop_wrap(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_get_interpolation_loop_wrap")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
bool Animation::track_is_compressed(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("track_is_compressed")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::value_track_set_update_mode(int32_t p_track_idx, Animation::UpdateMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("value_track_set_update_mode")._native_ptr(), 2854058312);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_mode_encoded);
|
||||
}
|
||||
|
||||
Animation::UpdateMode Animation::value_track_get_update_mode(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("value_track_get_update_mode")._native_ptr(), 1440326473);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Animation::UpdateMode(0)));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return (Animation::UpdateMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
Variant Animation::value_track_interpolate(int32_t p_track_idx, double p_time_sec, bool p_backward) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("value_track_interpolate")._native_ptr(), 747269075);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Variant()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_sec_encoded;
|
||||
PtrToArg<double>::encode(p_time_sec, &p_time_sec_encoded);
|
||||
int8_t p_backward_encoded;
|
||||
PtrToArg<bool>::encode(p_backward, &p_backward_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Variant>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_sec_encoded, &p_backward_encoded);
|
||||
}
|
||||
|
||||
StringName Animation::method_track_get_name(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("method_track_get_name")._native_ptr(), 351665558);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
Array Animation::method_track_get_params(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("method_track_get_params")._native_ptr(), 2345056839);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Array()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Array>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t Animation::bezier_track_insert_key(int32_t p_track_idx, double p_time, float p_value, const Vector2 &p_in_handle, const Vector2 &p_out_handle) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("bezier_track_insert_key")._native_ptr(), 3656773645);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
double p_value_encoded;
|
||||
PtrToArg<double>::encode(p_value, &p_value_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded, &p_value_encoded, &p_in_handle, &p_out_handle);
|
||||
}
|
||||
|
||||
void Animation::bezier_track_set_key_value(int32_t p_track_idx, int32_t p_key_idx, float p_value) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("bezier_track_set_key_value")._native_ptr(), 3506521499);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
double p_value_encoded;
|
||||
PtrToArg<double>::encode(p_value, &p_value_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded, &p_value_encoded);
|
||||
}
|
||||
|
||||
void Animation::bezier_track_set_key_in_handle(int32_t p_track_idx, int32_t p_key_idx, const Vector2 &p_in_handle, float p_balanced_value_time_ratio) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("bezier_track_set_key_in_handle")._native_ptr(), 1719223284);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
double p_balanced_value_time_ratio_encoded;
|
||||
PtrToArg<double>::encode(p_balanced_value_time_ratio, &p_balanced_value_time_ratio_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded, &p_in_handle, &p_balanced_value_time_ratio_encoded);
|
||||
}
|
||||
|
||||
void Animation::bezier_track_set_key_out_handle(int32_t p_track_idx, int32_t p_key_idx, const Vector2 &p_out_handle, float p_balanced_value_time_ratio) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("bezier_track_set_key_out_handle")._native_ptr(), 1719223284);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
double p_balanced_value_time_ratio_encoded;
|
||||
PtrToArg<double>::encode(p_balanced_value_time_ratio, &p_balanced_value_time_ratio_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded, &p_out_handle, &p_balanced_value_time_ratio_encoded);
|
||||
}
|
||||
|
||||
float Animation::bezier_track_get_key_value(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("bezier_track_get_key_value")._native_ptr(), 3085491603);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
Vector2 Animation::bezier_track_get_key_in_handle(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("bezier_track_get_key_in_handle")._native_ptr(), 3016396712);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
Vector2 Animation::bezier_track_get_key_out_handle(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("bezier_track_get_key_out_handle")._native_ptr(), 3016396712);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
float Animation::bezier_track_interpolate(int32_t p_track_idx, double p_time) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("bezier_track_interpolate")._native_ptr(), 1900462983);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded);
|
||||
}
|
||||
|
||||
int32_t Animation::audio_track_insert_key(int32_t p_track_idx, double p_time, const Ref<Resource> &p_stream, float p_start_offset, float p_end_offset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("audio_track_insert_key")._native_ptr(), 4021027286);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
double p_start_offset_encoded;
|
||||
PtrToArg<double>::encode(p_start_offset, &p_start_offset_encoded);
|
||||
double p_end_offset_encoded;
|
||||
PtrToArg<double>::encode(p_end_offset, &p_end_offset_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded, (p_stream != nullptr ? &p_stream->_owner : nullptr), &p_start_offset_encoded, &p_end_offset_encoded);
|
||||
}
|
||||
|
||||
void Animation::audio_track_set_key_stream(int32_t p_track_idx, int32_t p_key_idx, const Ref<Resource> &p_stream) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("audio_track_set_key_stream")._native_ptr(), 3886397084);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded, (p_stream != nullptr ? &p_stream->_owner : nullptr));
|
||||
}
|
||||
|
||||
void Animation::audio_track_set_key_start_offset(int32_t p_track_idx, int32_t p_key_idx, float p_offset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("audio_track_set_key_start_offset")._native_ptr(), 3506521499);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
double p_offset_encoded;
|
||||
PtrToArg<double>::encode(p_offset, &p_offset_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded, &p_offset_encoded);
|
||||
}
|
||||
|
||||
void Animation::audio_track_set_key_end_offset(int32_t p_track_idx, int32_t p_key_idx, float p_offset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("audio_track_set_key_end_offset")._native_ptr(), 3506521499);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
double p_offset_encoded;
|
||||
PtrToArg<double>::encode(p_offset, &p_offset_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded, &p_offset_encoded);
|
||||
}
|
||||
|
||||
Ref<Resource> Animation::audio_track_get_key_stream(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("audio_track_get_key_stream")._native_ptr(), 635277205);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Resource>()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return Ref<Resource>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Resource>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded));
|
||||
}
|
||||
|
||||
float Animation::audio_track_get_key_start_offset(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("audio_track_get_key_start_offset")._native_ptr(), 3085491603);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
float Animation::audio_track_get_key_end_offset(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("audio_track_get_key_end_offset")._native_ptr(), 3085491603);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::audio_track_set_use_blend(int32_t p_track_idx, bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("audio_track_set_use_blend")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Animation::audio_track_is_use_blend(int32_t p_track_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("audio_track_is_use_blend")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_track_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t Animation::animation_track_insert_key(int32_t p_track_idx, double p_time, const StringName &p_animation) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("animation_track_insert_key")._native_ptr(), 158676774);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_time_encoded, &p_animation);
|
||||
}
|
||||
|
||||
void Animation::animation_track_set_key_animation(int32_t p_track_idx, int32_t p_key_idx, const StringName &p_animation) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("animation_track_set_key_animation")._native_ptr(), 117615382);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded, &p_animation);
|
||||
}
|
||||
|
||||
StringName Animation::animation_track_get_key_animation(int32_t p_track_idx, int32_t p_key_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("animation_track_get_key_animation")._native_ptr(), 351665558);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
int64_t p_key_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_key_idx, &p_key_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_track_idx_encoded, &p_key_idx_encoded);
|
||||
}
|
||||
|
||||
void Animation::add_marker(const StringName &p_name, double p_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("add_marker")._native_ptr(), 4135858297);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_time_encoded);
|
||||
}
|
||||
|
||||
void Animation::remove_marker(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("remove_marker")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
bool Animation::has_marker(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("has_marker")._native_ptr(), 2619796661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName Animation::get_marker_at_time(double p_time) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_marker_at_time")._native_ptr(), 4079494655);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_time_encoded);
|
||||
}
|
||||
|
||||
StringName Animation::get_next_marker(double p_time) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_next_marker")._native_ptr(), 4079494655);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_time_encoded);
|
||||
}
|
||||
|
||||
StringName Animation::get_prev_marker(double p_time) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_prev_marker")._native_ptr(), 4079494655);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_time_encoded);
|
||||
}
|
||||
|
||||
double Animation::get_marker_time(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_marker_time")._native_ptr(), 2349060816);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
PackedStringArray Animation::get_marker_names() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_marker_names")._native_ptr(), 1139954409);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedStringArray()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedStringArray>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Color Animation::get_marker_color(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_marker_color")._native_ptr(), 3742943038);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Color()));
|
||||
return ::godot::internal::_call_native_mb_ret<Color>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void Animation::set_marker_color(const StringName &p_name, const Color &p_color) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("set_marker_color")._native_ptr(), 4260178595);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_color);
|
||||
}
|
||||
|
||||
void Animation::set_length(double p_time_sec) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("set_length")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_time_sec_encoded;
|
||||
PtrToArg<double>::encode(p_time_sec, &p_time_sec_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_time_sec_encoded);
|
||||
}
|
||||
|
||||
double Animation::get_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Animation::set_loop_mode(Animation::LoopMode p_loop_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("set_loop_mode")._native_ptr(), 3155355575);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_loop_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_loop_mode, &p_loop_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_loop_mode_encoded);
|
||||
}
|
||||
|
||||
Animation::LoopMode Animation::get_loop_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_loop_mode")._native_ptr(), 1988889481);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Animation::LoopMode(0)));
|
||||
return (Animation::LoopMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Animation::set_step(float p_size_sec) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("set_step")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_size_sec_encoded;
|
||||
PtrToArg<double>::encode(p_size_sec, &p_size_sec_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_size_sec_encoded);
|
||||
}
|
||||
|
||||
float Animation::get_step() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("get_step")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Animation::clear() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("clear")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Animation::copy_track(int32_t p_track_idx, const Ref<Animation> &p_to_animation) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("copy_track")._native_ptr(), 148001024);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_track_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_track_idx, &p_track_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_track_idx_encoded, (p_to_animation != nullptr ? &p_to_animation->_owner : nullptr));
|
||||
}
|
||||
|
||||
void Animation::optimize(float p_allowed_velocity_err, float p_allowed_angular_err, int32_t p_precision) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("optimize")._native_ptr(), 3303583852);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_allowed_velocity_err_encoded;
|
||||
PtrToArg<double>::encode(p_allowed_velocity_err, &p_allowed_velocity_err_encoded);
|
||||
double p_allowed_angular_err_encoded;
|
||||
PtrToArg<double>::encode(p_allowed_angular_err, &p_allowed_angular_err_encoded);
|
||||
int64_t p_precision_encoded;
|
||||
PtrToArg<int64_t>::encode(p_precision, &p_precision_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_allowed_velocity_err_encoded, &p_allowed_angular_err_encoded, &p_precision_encoded);
|
||||
}
|
||||
|
||||
void Animation::compress(uint32_t p_page_size, uint32_t p_fps, float p_split_tolerance) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("compress")._native_ptr(), 3608408117);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_page_size_encoded;
|
||||
PtrToArg<int64_t>::encode(p_page_size, &p_page_size_encoded);
|
||||
int64_t p_fps_encoded;
|
||||
PtrToArg<int64_t>::encode(p_fps, &p_fps_encoded);
|
||||
double p_split_tolerance_encoded;
|
||||
PtrToArg<double>::encode(p_split_tolerance, &p_split_tolerance_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_page_size_encoded, &p_fps_encoded, &p_split_tolerance_encoded);
|
||||
}
|
||||
|
||||
bool Animation::is_capture_included() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Animation::get_class_static()._native_ptr(), StringName("is_capture_included")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,85 @@
|
||||
/**************************************************************************/
|
||||
/* animation_library.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_library.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/animation.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
Error AnimationLibrary::add_animation(const StringName &p_name, const Ref<Animation> &p_animation) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationLibrary::get_class_static()._native_ptr(), StringName("add_animation")._native_ptr(), 1811855551);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Error(0)));
|
||||
return (Error)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_name, (p_animation != nullptr ? &p_animation->_owner : nullptr));
|
||||
}
|
||||
|
||||
void AnimationLibrary::remove_animation(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationLibrary::get_class_static()._native_ptr(), StringName("remove_animation")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationLibrary::rename_animation(const StringName &p_name, const StringName &p_newname) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationLibrary::get_class_static()._native_ptr(), StringName("rename_animation")._native_ptr(), 3740211285);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_newname);
|
||||
}
|
||||
|
||||
bool AnimationLibrary::has_animation(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationLibrary::get_class_static()._native_ptr(), StringName("has_animation")._native_ptr(), 2619796661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
Ref<Animation> AnimationLibrary::get_animation(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationLibrary::get_class_static()._native_ptr(), StringName("get_animation")._native_ptr(), 2933122410);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Animation>()));
|
||||
return Ref<Animation>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Animation>(_gde_method_bind, _owner, &p_name));
|
||||
}
|
||||
|
||||
TypedArray<StringName> AnimationLibrary::get_animation_list() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationLibrary::get_class_static()._native_ptr(), StringName("get_animation_list")._native_ptr(), 3995934104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<StringName>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<StringName>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int32_t AnimationLibrary::get_animation_list_size() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationLibrary::get_class_static()._native_ptr(), StringName("get_animation_list_size")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,312 @@
|
||||
/**************************************************************************/
|
||||
/* animation_mixer.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_mixer.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/animation.hpp>
|
||||
#include <godot_cpp/classes/animation_library.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
Error AnimationMixer::add_animation_library(const StringName &p_name, const Ref<AnimationLibrary> &p_library) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("add_animation_library")._native_ptr(), 618909818);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Error(0)));
|
||||
return (Error)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_name, (p_library != nullptr ? &p_library->_owner : nullptr));
|
||||
}
|
||||
|
||||
void AnimationMixer::remove_animation_library(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("remove_animation_library")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationMixer::rename_animation_library(const StringName &p_name, const StringName &p_newname) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("rename_animation_library")._native_ptr(), 3740211285);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_newname);
|
||||
}
|
||||
|
||||
bool AnimationMixer::has_animation_library(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("has_animation_library")._native_ptr(), 2619796661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
Ref<AnimationLibrary> AnimationMixer::get_animation_library(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_animation_library")._native_ptr(), 147342321);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AnimationLibrary>()));
|
||||
return Ref<AnimationLibrary>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AnimationLibrary>(_gde_method_bind, _owner, &p_name));
|
||||
}
|
||||
|
||||
TypedArray<StringName> AnimationMixer::get_animation_library_list() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_animation_library_list")._native_ptr(), 3995934104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<StringName>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<StringName>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AnimationMixer::has_animation(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("has_animation")._native_ptr(), 2619796661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
Ref<Animation> AnimationMixer::get_animation(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_animation")._native_ptr(), 2933122410);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Animation>()));
|
||||
return Ref<Animation>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Animation>(_gde_method_bind, _owner, &p_name));
|
||||
}
|
||||
|
||||
PackedStringArray AnimationMixer::get_animation_list() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_animation_list")._native_ptr(), 1139954409);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedStringArray()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedStringArray>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_active(bool p_active) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_active")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_active_encoded;
|
||||
PtrToArg<bool>::encode(p_active, &p_active_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_active_encoded);
|
||||
}
|
||||
|
||||
bool AnimationMixer::is_active() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("is_active")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_deterministic(bool p_deterministic) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_deterministic")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_deterministic_encoded;
|
||||
PtrToArg<bool>::encode(p_deterministic, &p_deterministic_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_deterministic_encoded);
|
||||
}
|
||||
|
||||
bool AnimationMixer::is_deterministic() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("is_deterministic")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_root_node(const NodePath &p_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_root_node")._native_ptr(), 1348162250);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_path);
|
||||
}
|
||||
|
||||
NodePath AnimationMixer::get_root_node() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_root_node")._native_ptr(), 4075236667);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (NodePath()));
|
||||
return ::godot::internal::_call_native_mb_ret<NodePath>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_callback_mode_process(AnimationMixer::AnimationCallbackModeProcess p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_callback_mode_process")._native_ptr(), 2153733086);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationMixer::AnimationCallbackModeProcess AnimationMixer::get_callback_mode_process() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_callback_mode_process")._native_ptr(), 1394468472);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationMixer::AnimationCallbackModeProcess(0)));
|
||||
return (AnimationMixer::AnimationCallbackModeProcess)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_callback_mode_method(AnimationMixer::AnimationCallbackModeMethod p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_callback_mode_method")._native_ptr(), 742218271);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationMixer::AnimationCallbackModeMethod AnimationMixer::get_callback_mode_method() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_callback_mode_method")._native_ptr(), 489449656);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationMixer::AnimationCallbackModeMethod(0)));
|
||||
return (AnimationMixer::AnimationCallbackModeMethod)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_callback_mode_discrete(AnimationMixer::AnimationCallbackModeDiscrete p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_callback_mode_discrete")._native_ptr(), 1998944670);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationMixer::AnimationCallbackModeDiscrete AnimationMixer::get_callback_mode_discrete() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_callback_mode_discrete")._native_ptr(), 3493168860);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationMixer::AnimationCallbackModeDiscrete(0)));
|
||||
return (AnimationMixer::AnimationCallbackModeDiscrete)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_audio_max_polyphony(int32_t p_max_polyphony) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_audio_max_polyphony")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_max_polyphony_encoded;
|
||||
PtrToArg<int64_t>::encode(p_max_polyphony, &p_max_polyphony_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_max_polyphony_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationMixer::get_audio_max_polyphony() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_audio_max_polyphony")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_root_motion_track(const NodePath &p_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_root_motion_track")._native_ptr(), 1348162250);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_path);
|
||||
}
|
||||
|
||||
NodePath AnimationMixer::get_root_motion_track() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_root_motion_track")._native_ptr(), 4075236667);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (NodePath()));
|
||||
return ::godot::internal::_call_native_mb_ret<NodePath>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_root_motion_local(bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_root_motion_local")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AnimationMixer::is_root_motion_local() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("is_root_motion_local")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Vector3 AnimationMixer::get_root_motion_position() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_root_motion_position")._native_ptr(), 3360562783);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Quaternion AnimationMixer::get_root_motion_rotation() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_root_motion_rotation")._native_ptr(), 1222331677);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Quaternion()));
|
||||
return ::godot::internal::_call_native_mb_ret<Quaternion>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Vector3 AnimationMixer::get_root_motion_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_root_motion_scale")._native_ptr(), 3360562783);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Vector3 AnimationMixer::get_root_motion_position_accumulator() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_root_motion_position_accumulator")._native_ptr(), 3360562783);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Quaternion AnimationMixer::get_root_motion_rotation_accumulator() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_root_motion_rotation_accumulator")._native_ptr(), 1222331677);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Quaternion()));
|
||||
return ::godot::internal::_call_native_mb_ret<Quaternion>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Vector3 AnimationMixer::get_root_motion_scale_accumulator() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("get_root_motion_scale_accumulator")._native_ptr(), 3360562783);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::clear_caches() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("clear_caches")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationMixer::advance(double p_delta) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("advance")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_delta_encoded;
|
||||
PtrToArg<double>::encode(p_delta, &p_delta_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_delta_encoded);
|
||||
}
|
||||
|
||||
void AnimationMixer::capture(const StringName &p_name, double p_duration, Tween::TransitionType p_trans_type, Tween::EaseType p_ease_type) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("capture")._native_ptr(), 1333632127);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_duration_encoded;
|
||||
PtrToArg<double>::encode(p_duration, &p_duration_encoded);
|
||||
int64_t p_trans_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_trans_type, &p_trans_type_encoded);
|
||||
int64_t p_ease_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_ease_type, &p_ease_type_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_duration_encoded, &p_trans_type_encoded, &p_ease_type_encoded);
|
||||
}
|
||||
|
||||
void AnimationMixer::set_reset_on_save_enabled(bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("set_reset_on_save_enabled")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AnimationMixer::is_reset_on_save_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("is_reset_on_save_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
StringName AnimationMixer::find_animation(const Ref<Animation> &p_animation) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("find_animation")._native_ptr(), 1559484580);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, (p_animation != nullptr ? &p_animation->_owner : nullptr));
|
||||
}
|
||||
|
||||
StringName AnimationMixer::find_animation_library(const Ref<Animation> &p_animation) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationMixer::get_class_static()._native_ptr(), StringName("find_animation_library")._native_ptr(), 1559484580);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, (p_animation != nullptr ? &p_animation->_owner : nullptr));
|
||||
}
|
||||
|
||||
Variant AnimationMixer::_post_process_key_value(const Ref<Animation> &p_animation, int32_t p_track, const Variant &p_value, uint64_t p_object_id, int32_t p_object_sub_idx) const {
|
||||
return Variant();
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,230 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/variant/node_path.hpp>
|
||||
#include <godot_cpp/variant/string_name.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
bool AnimationNode::add_input(const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("add_input")._native_ptr(), 2323990056);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNode::remove_input(int32_t p_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("remove_input")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_index_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNode::set_input_name(int32_t p_input, const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("set_input_name")._native_ptr(), 215573526);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_input_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input, &p_input_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_input_encoded, &p_name);
|
||||
}
|
||||
|
||||
String AnimationNode::get_input_name(int32_t p_input) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("get_input_name")._native_ptr(), 844755477);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
int64_t p_input_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input, &p_input_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner, &p_input_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationNode::get_input_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("get_input_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int32_t AnimationNode::find_input(const String &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("find_input")._native_ptr(), 1321353865);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNode::set_filter_path(const NodePath &p_path, bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("set_filter_path")._native_ptr(), 3868023870);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_path, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNode::is_path_filtered(const NodePath &p_path) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("is_path_filtered")._native_ptr(), 861721659);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_path);
|
||||
}
|
||||
|
||||
void AnimationNode::set_filter_enabled(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("set_filter_enabled")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNode::is_filter_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("is_filter_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
uint64_t AnimationNode::get_processing_animation_tree_instance_id() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("get_processing_animation_tree_instance_id")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<uint64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AnimationNode::is_process_testing() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("is_process_testing")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNode::blend_animation(const StringName &p_animation, double p_time, double p_delta, bool p_seeked, bool p_is_external_seeking, float p_blend, Animation::LoopedFlag p_looped_flag) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("blend_animation")._native_ptr(), 1630801826);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
double p_delta_encoded;
|
||||
PtrToArg<double>::encode(p_delta, &p_delta_encoded);
|
||||
int8_t p_seeked_encoded;
|
||||
PtrToArg<bool>::encode(p_seeked, &p_seeked_encoded);
|
||||
int8_t p_is_external_seeking_encoded;
|
||||
PtrToArg<bool>::encode(p_is_external_seeking, &p_is_external_seeking_encoded);
|
||||
double p_blend_encoded;
|
||||
PtrToArg<double>::encode(p_blend, &p_blend_encoded);
|
||||
int64_t p_looped_flag_encoded;
|
||||
PtrToArg<int64_t>::encode(p_looped_flag, &p_looped_flag_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_animation, &p_time_encoded, &p_delta_encoded, &p_seeked_encoded, &p_is_external_seeking_encoded, &p_blend_encoded, &p_looped_flag_encoded);
|
||||
}
|
||||
|
||||
double AnimationNode::blend_node(const StringName &p_name, const Ref<AnimationNode> &p_node, double p_time, bool p_seek, bool p_is_external_seeking, float p_blend, AnimationNode::FilterAction p_filter, bool p_sync, bool p_test_only) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("blend_node")._native_ptr(), 1746075988);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
int8_t p_seek_encoded;
|
||||
PtrToArg<bool>::encode(p_seek, &p_seek_encoded);
|
||||
int8_t p_is_external_seeking_encoded;
|
||||
PtrToArg<bool>::encode(p_is_external_seeking, &p_is_external_seeking_encoded);
|
||||
double p_blend_encoded;
|
||||
PtrToArg<double>::encode(p_blend, &p_blend_encoded);
|
||||
int64_t p_filter_encoded;
|
||||
PtrToArg<int64_t>::encode(p_filter, &p_filter_encoded);
|
||||
int8_t p_sync_encoded;
|
||||
PtrToArg<bool>::encode(p_sync, &p_sync_encoded);
|
||||
int8_t p_test_only_encoded;
|
||||
PtrToArg<bool>::encode(p_test_only, &p_test_only_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_name, (p_node != nullptr ? &p_node->_owner : nullptr), &p_time_encoded, &p_seek_encoded, &p_is_external_seeking_encoded, &p_blend_encoded, &p_filter_encoded, &p_sync_encoded, &p_test_only_encoded);
|
||||
}
|
||||
|
||||
double AnimationNode::blend_input(int32_t p_input_index, double p_time, bool p_seek, bool p_is_external_seeking, float p_blend, AnimationNode::FilterAction p_filter, bool p_sync, bool p_test_only) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("blend_input")._native_ptr(), 1361527350);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_input_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input_index, &p_input_index_encoded);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
int8_t p_seek_encoded;
|
||||
PtrToArg<bool>::encode(p_seek, &p_seek_encoded);
|
||||
int8_t p_is_external_seeking_encoded;
|
||||
PtrToArg<bool>::encode(p_is_external_seeking, &p_is_external_seeking_encoded);
|
||||
double p_blend_encoded;
|
||||
PtrToArg<double>::encode(p_blend, &p_blend_encoded);
|
||||
int64_t p_filter_encoded;
|
||||
PtrToArg<int64_t>::encode(p_filter, &p_filter_encoded);
|
||||
int8_t p_sync_encoded;
|
||||
PtrToArg<bool>::encode(p_sync, &p_sync_encoded);
|
||||
int8_t p_test_only_encoded;
|
||||
PtrToArg<bool>::encode(p_test_only, &p_test_only_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_input_index_encoded, &p_time_encoded, &p_seek_encoded, &p_is_external_seeking_encoded, &p_blend_encoded, &p_filter_encoded, &p_sync_encoded, &p_test_only_encoded);
|
||||
}
|
||||
|
||||
void AnimationNode::set_parameter(const StringName &p_name, const Variant &p_value) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("set_parameter")._native_ptr(), 3776071444);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_value);
|
||||
}
|
||||
|
||||
Variant AnimationNode::get_parameter(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNode::get_class_static()._native_ptr(), StringName("get_parameter")._native_ptr(), 2760726917);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Variant()));
|
||||
return ::godot::internal::_call_native_mb_ret<Variant>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
Dictionary AnimationNode::_get_child_nodes() const {
|
||||
return Dictionary();
|
||||
}
|
||||
|
||||
Array AnimationNode::_get_parameter_list() const {
|
||||
return Array();
|
||||
}
|
||||
|
||||
Ref<AnimationNode> AnimationNode::_get_child_by_name(const StringName &p_name) const {
|
||||
return Ref<AnimationNode>();
|
||||
}
|
||||
|
||||
Variant AnimationNode::_get_parameter_default_value(const StringName &p_parameter) const {
|
||||
return Variant();
|
||||
}
|
||||
|
||||
bool AnimationNode::_is_parameter_read_only(const StringName &p_parameter) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
double AnimationNode::_process(double p_time, bool p_seek, bool p_is_external_seeking, bool p_test_only) {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
String AnimationNode::_get_caption() const {
|
||||
return String();
|
||||
}
|
||||
|
||||
bool AnimationNode::_has_filter() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_add2.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_add2.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_add3.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_add3.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,151 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_animation.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_animation.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeAnimation::set_animation(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("set_animation")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName AnimationNodeAnimation::get_animation() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("get_animation")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeAnimation::set_play_mode(AnimationNodeAnimation::PlayMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("set_play_mode")._native_ptr(), 3347718873);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationNodeAnimation::PlayMode AnimationNodeAnimation::get_play_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("get_play_mode")._native_ptr(), 2061244637);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationNodeAnimation::PlayMode(0)));
|
||||
return (AnimationNodeAnimation::PlayMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeAnimation::set_advance_on_start(bool p_advance_on_start) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("set_advance_on_start")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_advance_on_start_encoded;
|
||||
PtrToArg<bool>::encode(p_advance_on_start, &p_advance_on_start_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_advance_on_start_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeAnimation::is_advance_on_start() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("is_advance_on_start")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeAnimation::set_use_custom_timeline(bool p_use_custom_timeline) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("set_use_custom_timeline")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_use_custom_timeline_encoded;
|
||||
PtrToArg<bool>::encode(p_use_custom_timeline, &p_use_custom_timeline_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_use_custom_timeline_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeAnimation::is_using_custom_timeline() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("is_using_custom_timeline")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeAnimation::set_timeline_length(double p_timeline_length) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("set_timeline_length")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_timeline_length_encoded;
|
||||
PtrToArg<double>::encode(p_timeline_length, &p_timeline_length_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_timeline_length_encoded);
|
||||
}
|
||||
|
||||
double AnimationNodeAnimation::get_timeline_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("get_timeline_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeAnimation::set_stretch_time_scale(bool p_stretch_time_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("set_stretch_time_scale")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_stretch_time_scale_encoded;
|
||||
PtrToArg<bool>::encode(p_stretch_time_scale, &p_stretch_time_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_stretch_time_scale_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeAnimation::is_stretching_time_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("is_stretching_time_scale")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeAnimation::set_start_offset(double p_start_offset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("set_start_offset")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_start_offset_encoded;
|
||||
PtrToArg<double>::encode(p_start_offset, &p_start_offset_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_start_offset_encoded);
|
||||
}
|
||||
|
||||
double AnimationNodeAnimation::get_start_offset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("get_start_offset")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeAnimation::set_loop_mode(Animation::LoopMode p_loop_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("set_loop_mode")._native_ptr(), 3155355575);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_loop_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_loop_mode, &p_loop_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_loop_mode_encoded);
|
||||
}
|
||||
|
||||
Animation::LoopMode AnimationNodeAnimation::get_loop_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeAnimation::get_class_static()._native_ptr(), StringName("get_loop_mode")._native_ptr(), 1988889481);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Animation::LoopMode(0)));
|
||||
return (Animation::LoopMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_blend2.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_blend2.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_blend3.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_blend3.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,241 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_blend_space1_d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_blend_space1_d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeBlendSpace1D::add_blend_point(const Ref<AnimationRootNode> &p_node, float p_pos, int32_t p_at_index, const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("add_blend_point")._native_ptr(), 398361042);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_pos_encoded;
|
||||
PtrToArg<double>::encode(p_pos, &p_pos_encoded);
|
||||
int64_t p_at_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_at_index, &p_at_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_node != nullptr ? &p_node->_owner : nullptr), &p_pos_encoded, &p_at_index_encoded, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_blend_point_position(int32_t p_point, float p_pos) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_blend_point_position")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
double p_pos_encoded;
|
||||
PtrToArg<double>::encode(p_pos, &p_pos_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_point_encoded, &p_pos_encoded);
|
||||
}
|
||||
|
||||
float AnimationNodeBlendSpace1D::get_blend_point_position(int32_t p_point) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_blend_point_position")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_point_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_blend_point_node(int32_t p_point, const Ref<AnimationRootNode> &p_node) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_blend_point_node")._native_ptr(), 4240341528);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_point_encoded, (p_node != nullptr ? &p_node->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AnimationRootNode> AnimationNodeBlendSpace1D::get_blend_point_node(int32_t p_point) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_blend_point_node")._native_ptr(), 665599029);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AnimationRootNode>()));
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
return Ref<AnimationRootNode>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AnimationRootNode>(_gde_method_bind, _owner, &p_point_encoded));
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_blend_point_name(int32_t p_point, const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_blend_point_name")._native_ptr(), 3780747571);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_point_encoded, &p_name);
|
||||
}
|
||||
|
||||
StringName AnimationNodeBlendSpace1D::get_blend_point_name(int32_t p_point) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_blend_point_name")._native_ptr(), 659327637);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_point_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationNodeBlendSpace1D::find_blend_point_by_name(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("find_blend_point_by_name")._native_ptr(), 2458036349);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::remove_blend_point(int32_t p_point) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("remove_blend_point")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_point_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationNodeBlendSpace1D::get_blend_point_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_blend_point_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::reorder_blend_point(int32_t p_from_index, int32_t p_to_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("reorder_blend_point")._native_ptr(), 3937882851);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_from_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_index, &p_from_index_encoded);
|
||||
int64_t p_to_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_index, &p_to_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from_index_encoded, &p_to_index_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_min_space(float p_min_space) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_min_space")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_min_space_encoded;
|
||||
PtrToArg<double>::encode(p_min_space, &p_min_space_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_min_space_encoded);
|
||||
}
|
||||
|
||||
float AnimationNodeBlendSpace1D::get_min_space() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_min_space")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_max_space(float p_max_space) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_max_space")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_max_space_encoded;
|
||||
PtrToArg<double>::encode(p_max_space, &p_max_space_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_max_space_encoded);
|
||||
}
|
||||
|
||||
float AnimationNodeBlendSpace1D::get_max_space() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_max_space")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_snap(float p_snap) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_snap")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_snap_encoded;
|
||||
PtrToArg<double>::encode(p_snap, &p_snap_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_snap_encoded);
|
||||
}
|
||||
|
||||
float AnimationNodeBlendSpace1D::get_snap() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_snap")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_value_label(const String &p_text) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_value_label")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_text);
|
||||
}
|
||||
|
||||
String AnimationNodeBlendSpace1D::get_value_label() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_value_label")._native_ptr(), 201670096);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_blend_mode(AnimationNodeBlendSpace1D::BlendMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_blend_mode")._native_ptr(), 2600869457);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationNodeBlendSpace1D::BlendMode AnimationNodeBlendSpace1D::get_blend_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_blend_mode")._native_ptr(), 1547667849);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationNodeBlendSpace1D::BlendMode(0)));
|
||||
return (AnimationNodeBlendSpace1D::BlendMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_use_sync(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_use_sync")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeBlendSpace1D::is_using_sync() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("is_using_sync")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_sync_mode(AnimationNodeBlendSpace1D::SyncMode p_sync_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_sync_mode")._native_ptr(), 1065895142);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_sync_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_sync_mode, &p_sync_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_sync_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationNodeBlendSpace1D::SyncMode AnimationNodeBlendSpace1D::get_sync_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_sync_mode")._native_ptr(), 132474921);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationNodeBlendSpace1D::SyncMode(0)));
|
||||
return (AnimationNodeBlendSpace1D::SyncMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace1D::set_cyclic_length(double p_length) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("set_cyclic_length")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_length_encoded;
|
||||
PtrToArg<double>::encode(p_length, &p_length_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_length_encoded);
|
||||
}
|
||||
|
||||
double AnimationNodeBlendSpace1D::get_cyclic_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace1D::get_class_static()._native_ptr(), StringName("get_cyclic_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,295 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_blend_space2d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_blend_space2d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeBlendSpace2D::add_blend_point(const Ref<AnimationRootNode> &p_node, const Vector2 &p_pos, int32_t p_at_index, const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("add_blend_point")._native_ptr(), 768750458);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_at_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_at_index, &p_at_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_node != nullptr ? &p_node->_owner : nullptr), &p_pos, &p_at_index_encoded, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_blend_point_position(int32_t p_point, const Vector2 &p_pos) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_blend_point_position")._native_ptr(), 163021252);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_point_encoded, &p_pos);
|
||||
}
|
||||
|
||||
Vector2 AnimationNodeBlendSpace2D::get_blend_point_position(int32_t p_point) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_blend_point_position")._native_ptr(), 2299179447);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner, &p_point_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_blend_point_node(int32_t p_point, const Ref<AnimationRootNode> &p_node) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_blend_point_node")._native_ptr(), 4240341528);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_point_encoded, (p_node != nullptr ? &p_node->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AnimationRootNode> AnimationNodeBlendSpace2D::get_blend_point_node(int32_t p_point) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_blend_point_node")._native_ptr(), 665599029);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AnimationRootNode>()));
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
return Ref<AnimationRootNode>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AnimationRootNode>(_gde_method_bind, _owner, &p_point_encoded));
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_blend_point_name(int32_t p_point, const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_blend_point_name")._native_ptr(), 3780747571);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_point_encoded, &p_name);
|
||||
}
|
||||
|
||||
StringName AnimationNodeBlendSpace2D::get_blend_point_name(int32_t p_point) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_blend_point_name")._native_ptr(), 659327637);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_point_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationNodeBlendSpace2D::find_blend_point_by_name(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("find_blend_point_by_name")._native_ptr(), 2458036349);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::remove_blend_point(int32_t p_point) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("remove_blend_point")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_point_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationNodeBlendSpace2D::get_blend_point_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_blend_point_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::reorder_blend_point(int32_t p_from_index, int32_t p_to_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("reorder_blend_point")._native_ptr(), 3937882851);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_from_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_index, &p_from_index_encoded);
|
||||
int64_t p_to_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_index, &p_to_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from_index_encoded, &p_to_index_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::add_triangle(int32_t p_x, int32_t p_y, int32_t p_z, int32_t p_at_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("add_triangle")._native_ptr(), 753017335);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_x_encoded;
|
||||
PtrToArg<int64_t>::encode(p_x, &p_x_encoded);
|
||||
int64_t p_y_encoded;
|
||||
PtrToArg<int64_t>::encode(p_y, &p_y_encoded);
|
||||
int64_t p_z_encoded;
|
||||
PtrToArg<int64_t>::encode(p_z, &p_z_encoded);
|
||||
int64_t p_at_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_at_index, &p_at_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_x_encoded, &p_y_encoded, &p_z_encoded, &p_at_index_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationNodeBlendSpace2D::get_triangle_point(int32_t p_triangle, int32_t p_point) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_triangle_point")._native_ptr(), 50157827);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_triangle_encoded;
|
||||
PtrToArg<int64_t>::encode(p_triangle, &p_triangle_encoded);
|
||||
int64_t p_point_encoded;
|
||||
PtrToArg<int64_t>::encode(p_point, &p_point_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_triangle_encoded, &p_point_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::remove_triangle(int32_t p_triangle) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("remove_triangle")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_triangle_encoded;
|
||||
PtrToArg<int64_t>::encode(p_triangle, &p_triangle_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_triangle_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationNodeBlendSpace2D::get_triangle_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_triangle_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_min_space(const Vector2 &p_min_space) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_min_space")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_min_space);
|
||||
}
|
||||
|
||||
Vector2 AnimationNodeBlendSpace2D::get_min_space() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_min_space")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_max_space(const Vector2 &p_max_space) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_max_space")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_max_space);
|
||||
}
|
||||
|
||||
Vector2 AnimationNodeBlendSpace2D::get_max_space() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_max_space")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_snap(const Vector2 &p_snap) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_snap")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_snap);
|
||||
}
|
||||
|
||||
Vector2 AnimationNodeBlendSpace2D::get_snap() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_snap")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_x_label(const String &p_text) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_x_label")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_text);
|
||||
}
|
||||
|
||||
String AnimationNodeBlendSpace2D::get_x_label() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_x_label")._native_ptr(), 201670096);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_y_label(const String &p_text) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_y_label")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_text);
|
||||
}
|
||||
|
||||
String AnimationNodeBlendSpace2D::get_y_label() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_y_label")._native_ptr(), 201670096);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_auto_triangles(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_auto_triangles")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeBlendSpace2D::get_auto_triangles() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_auto_triangles")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_blend_mode(AnimationNodeBlendSpace2D::BlendMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_blend_mode")._native_ptr(), 81193520);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationNodeBlendSpace2D::BlendMode AnimationNodeBlendSpace2D::get_blend_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_blend_mode")._native_ptr(), 1398433632);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationNodeBlendSpace2D::BlendMode(0)));
|
||||
return (AnimationNodeBlendSpace2D::BlendMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_use_sync(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_use_sync")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeBlendSpace2D::is_using_sync() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("is_using_sync")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_sync_mode(AnimationNodeBlendSpace2D::SyncMode p_sync_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_sync_mode")._native_ptr(), 2615784488);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_sync_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_sync_mode, &p_sync_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_sync_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationNodeBlendSpace2D::SyncMode AnimationNodeBlendSpace2D::get_sync_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_sync_mode")._native_ptr(), 242032665);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationNodeBlendSpace2D::SyncMode(0)));
|
||||
return (AnimationNodeBlendSpace2D::SyncMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendSpace2D::set_cyclic_length(double p_length) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("set_cyclic_length")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_length_encoded;
|
||||
PtrToArg<double>::encode(p_length, &p_length_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_length_encoded);
|
||||
}
|
||||
|
||||
double AnimationNodeBlendSpace2D::get_cyclic_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendSpace2D::get_class_static()._native_ptr(), StringName("get_cyclic_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,119 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_blend_tree.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_blend_tree.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/animation_node.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeBlendTree::add_node(const StringName &p_name, const Ref<AnimationNode> &p_node, const Vector2 &p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("add_node")._native_ptr(), 1980270704);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, (p_node != nullptr ? &p_node->_owner : nullptr), &p_position);
|
||||
}
|
||||
|
||||
Ref<AnimationNode> AnimationNodeBlendTree::get_node(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("get_node")._native_ptr(), 625644256);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AnimationNode>()));
|
||||
return Ref<AnimationNode>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AnimationNode>(_gde_method_bind, _owner, &p_name));
|
||||
}
|
||||
|
||||
void AnimationNodeBlendTree::remove_node(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("remove_node")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendTree::rename_node(const StringName &p_name, const StringName &p_new_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("rename_node")._native_ptr(), 3740211285);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_new_name);
|
||||
}
|
||||
|
||||
bool AnimationNodeBlendTree::has_node(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("has_node")._native_ptr(), 2619796661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendTree::connect_node(const StringName &p_input_node, int32_t p_input_index, const StringName &p_output_node) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("connect_node")._native_ptr(), 2168001410);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_input_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input_index, &p_input_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_input_node, &p_input_index_encoded, &p_output_node);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendTree::disconnect_node(const StringName &p_input_node, int32_t p_input_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("disconnect_node")._native_ptr(), 2415702435);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_input_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input_index, &p_input_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_input_node, &p_input_index_encoded);
|
||||
}
|
||||
|
||||
TypedArray<StringName> AnimationNodeBlendTree::get_node_list() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("get_node_list")._native_ptr(), 3995934104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<StringName>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<StringName>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendTree::set_node_position(const StringName &p_name, const Vector2 &p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("set_node_position")._native_ptr(), 1999414630);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_position);
|
||||
}
|
||||
|
||||
Vector2 AnimationNodeBlendTree::get_node_position(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("get_node_position")._native_ptr(), 3100822709);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNodeBlendTree::set_graph_offset(const Vector2 &p_offset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("set_graph_offset")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_offset);
|
||||
}
|
||||
|
||||
Vector2 AnimationNodeBlendTree::get_graph_offset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeBlendTree::get_class_static()._native_ptr(), StringName("get_graph_offset")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,61 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_extension.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_extension.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/variant/packed_float64_array.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
bool AnimationNodeExtension::is_looping(const PackedFloat32Array &p_node_info) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeExtension::get_class_static()._native_ptr(), StringName("is_looping")._native_ptr(), 2035584311);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, nullptr, &p_node_info);
|
||||
}
|
||||
|
||||
double AnimationNodeExtension::get_remaining_time(const PackedFloat32Array &p_node_info, bool p_break_loop) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeExtension::get_class_static()._native_ptr(), StringName("get_remaining_time")._native_ptr(), 2851904656);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int8_t p_break_loop_encoded;
|
||||
PtrToArg<bool>::encode(p_break_loop, &p_break_loop_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, nullptr, &p_node_info, &p_break_loop_encoded);
|
||||
}
|
||||
|
||||
PackedFloat32Array AnimationNodeExtension::_process_animation_node(const PackedFloat64Array &p_playback_info, bool p_test_only) {
|
||||
return PackedFloat32Array();
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,179 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_one_shot.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_one_shot.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/curve.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeOneShot::set_fadein_time(double p_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_fadein_time")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_time_encoded);
|
||||
}
|
||||
|
||||
double AnimationNodeOneShot::get_fadein_time() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("get_fadein_time")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeOneShot::set_fadein_curve(const Ref<Curve> &p_curve) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_fadein_curve")._native_ptr(), 270443179);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_curve != nullptr ? &p_curve->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<Curve> AnimationNodeOneShot::get_fadein_curve() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("get_fadein_curve")._native_ptr(), 2460114913);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Curve>()));
|
||||
return Ref<Curve>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Curve>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AnimationNodeOneShot::set_fadeout_time(double p_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_fadeout_time")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_time_encoded);
|
||||
}
|
||||
|
||||
double AnimationNodeOneShot::get_fadeout_time() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("get_fadeout_time")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeOneShot::set_fadeout_curve(const Ref<Curve> &p_curve) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_fadeout_curve")._native_ptr(), 270443179);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_curve != nullptr ? &p_curve->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<Curve> AnimationNodeOneShot::get_fadeout_curve() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("get_fadeout_curve")._native_ptr(), 2460114913);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Curve>()));
|
||||
return Ref<Curve>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Curve>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AnimationNodeOneShot::set_break_loop_at_end(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_break_loop_at_end")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeOneShot::is_loop_broken_at_end() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("is_loop_broken_at_end")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeOneShot::set_abort_on_reset(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_abort_on_reset")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeOneShot::is_aborted_on_reset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("is_aborted_on_reset")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeOneShot::set_autorestart(bool p_active) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_autorestart")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_active_encoded;
|
||||
PtrToArg<bool>::encode(p_active, &p_active_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_active_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeOneShot::has_autorestart() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("has_autorestart")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeOneShot::set_autorestart_delay(double p_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_autorestart_delay")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_time_encoded);
|
||||
}
|
||||
|
||||
double AnimationNodeOneShot::get_autorestart_delay() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("get_autorestart_delay")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeOneShot::set_autorestart_random_delay(double p_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_autorestart_random_delay")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_time_encoded);
|
||||
}
|
||||
|
||||
double AnimationNodeOneShot::get_autorestart_random_delay() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("get_autorestart_random_delay")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeOneShot::set_mix_mode(AnimationNodeOneShot::MixMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("set_mix_mode")._native_ptr(), 1018899799);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationNodeOneShot::MixMode AnimationNodeOneShot::get_mix_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeOneShot::get_class_static()._native_ptr(), StringName("get_mix_mode")._native_ptr(), 3076550526);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationNodeOneShot::MixMode(0)));
|
||||
return (AnimationNodeOneShot::MixMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_output.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_output.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,214 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_state_machine.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_state_machine.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/animation_node.hpp>
|
||||
#include <godot_cpp/classes/animation_node_state_machine_transition.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeStateMachine::add_node(const StringName &p_name, const Ref<AnimationNode> &p_node, const Vector2 &p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("add_node")._native_ptr(), 1980270704);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, (p_node != nullptr ? &p_node->_owner : nullptr), &p_position);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::replace_node(const StringName &p_name, const Ref<AnimationNode> &p_node) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("replace_node")._native_ptr(), 2559412862);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, (p_node != nullptr ? &p_node->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AnimationNode> AnimationNodeStateMachine::get_node(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_node")._native_ptr(), 625644256);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AnimationNode>()));
|
||||
return Ref<AnimationNode>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AnimationNode>(_gde_method_bind, _owner, &p_name));
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::remove_node(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("remove_node")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::rename_node(const StringName &p_name, const StringName &p_new_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("rename_node")._native_ptr(), 3740211285);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_new_name);
|
||||
}
|
||||
|
||||
bool AnimationNodeStateMachine::has_node(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("has_node")._native_ptr(), 2619796661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName AnimationNodeStateMachine::get_node_name(const Ref<AnimationNode> &p_node) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_node_name")._native_ptr(), 739213945);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, (p_node != nullptr ? &p_node->_owner : nullptr));
|
||||
}
|
||||
|
||||
TypedArray<StringName> AnimationNodeStateMachine::get_node_list() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_node_list")._native_ptr(), 3995934104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<StringName>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<StringName>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::set_node_position(const StringName &p_name, const Vector2 &p_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("set_node_position")._native_ptr(), 1999414630);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_position);
|
||||
}
|
||||
|
||||
Vector2 AnimationNodeStateMachine::get_node_position(const StringName &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_node_position")._native_ptr(), 3100822709);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
bool AnimationNodeStateMachine::has_transition(const StringName &p_from, const StringName &p_to) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("has_transition")._native_ptr(), 471820014);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_from, &p_to);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::add_transition(const StringName &p_from, const StringName &p_to, const Ref<AnimationNodeStateMachineTransition> &p_transition) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("add_transition")._native_ptr(), 795486887);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from, &p_to, (p_transition != nullptr ? &p_transition->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AnimationNodeStateMachineTransition> AnimationNodeStateMachine::get_transition(int32_t p_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_transition")._native_ptr(), 4192381260);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AnimationNodeStateMachineTransition>()));
|
||||
int64_t p_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_idx, &p_idx_encoded);
|
||||
return Ref<AnimationNodeStateMachineTransition>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AnimationNodeStateMachineTransition>(_gde_method_bind, _owner, &p_idx_encoded));
|
||||
}
|
||||
|
||||
StringName AnimationNodeStateMachine::get_transition_from(int32_t p_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_transition_from")._native_ptr(), 659327637);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
int64_t p_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_idx, &p_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_idx_encoded);
|
||||
}
|
||||
|
||||
StringName AnimationNodeStateMachine::get_transition_to(int32_t p_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_transition_to")._native_ptr(), 659327637);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
int64_t p_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_idx, &p_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationNodeStateMachine::get_transition_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_transition_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::remove_transition_by_index(int32_t p_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("remove_transition_by_index")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_idx, &p_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_idx_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::remove_transition(const StringName &p_from, const StringName &p_to) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("remove_transition")._native_ptr(), 3740211285);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from, &p_to);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::set_graph_offset(const Vector2 &p_offset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("set_graph_offset")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_offset);
|
||||
}
|
||||
|
||||
Vector2 AnimationNodeStateMachine::get_graph_offset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_graph_offset")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::set_state_machine_type(AnimationNodeStateMachine::StateMachineType p_state_machine_type) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("set_state_machine_type")._native_ptr(), 2584759088);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_state_machine_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_state_machine_type, &p_state_machine_type_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_state_machine_type_encoded);
|
||||
}
|
||||
|
||||
AnimationNodeStateMachine::StateMachineType AnimationNodeStateMachine::get_state_machine_type() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("get_state_machine_type")._native_ptr(), 1140726469);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationNodeStateMachine::StateMachineType(0)));
|
||||
return (AnimationNodeStateMachine::StateMachineType)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::set_allow_transition_to_self(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("set_allow_transition_to_self")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeStateMachine::is_allow_transition_to_self() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("is_allow_transition_to_self")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachine::set_reset_ends(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("set_reset_ends")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeStateMachine::are_ends_reset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachine::get_class_static()._native_ptr(), StringName("are_ends_reset")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_state_machine_playback.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_state_machine_playback.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeStateMachinePlayback::travel(const StringName &p_to_node, bool p_reset_on_teleport) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("travel")._native_ptr(), 3823612587);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_reset_on_teleport_encoded;
|
||||
PtrToArg<bool>::encode(p_reset_on_teleport, &p_reset_on_teleport_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_to_node, &p_reset_on_teleport_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachinePlayback::start(const StringName &p_node, bool p_reset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("start")._native_ptr(), 3823612587);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_reset_encoded;
|
||||
PtrToArg<bool>::encode(p_reset, &p_reset_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_node, &p_reset_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachinePlayback::next() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("next")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachinePlayback::stop() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("stop")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AnimationNodeStateMachinePlayback::is_playing() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("is_playing")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
StringName AnimationNodeStateMachinePlayback::get_current_node() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("get_current_node")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AnimationNodeStateMachinePlayback::get_current_play_position() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("get_current_play_position")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AnimationNodeStateMachinePlayback::get_current_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("get_current_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
StringName AnimationNodeStateMachinePlayback::get_fading_from_node() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("get_fading_from_node")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AnimationNodeStateMachinePlayback::get_fading_from_play_position() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("get_fading_from_play_position")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AnimationNodeStateMachinePlayback::get_fading_from_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("get_fading_from_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AnimationNodeStateMachinePlayback::get_fading_position() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("get_fading_position")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AnimationNodeStateMachinePlayback::get_fading_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("get_fading_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
TypedArray<StringName> AnimationNodeStateMachinePlayback::get_travel_path() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachinePlayback::get_class_static()._native_ptr(), StringName("get_travel_path")._native_ptr(), 3995934104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<StringName>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<StringName>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_state_machine_transition.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_state_machine_transition.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/curve.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeStateMachineTransition::set_switch_mode(AnimationNodeStateMachineTransition::SwitchMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("set_switch_mode")._native_ptr(), 2074906633);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationNodeStateMachineTransition::SwitchMode AnimationNodeStateMachineTransition::get_switch_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("get_switch_mode")._native_ptr(), 2138562085);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationNodeStateMachineTransition::SwitchMode(0)));
|
||||
return (AnimationNodeStateMachineTransition::SwitchMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachineTransition::set_advance_mode(AnimationNodeStateMachineTransition::AdvanceMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("set_advance_mode")._native_ptr(), 1210869868);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationNodeStateMachineTransition::AdvanceMode AnimationNodeStateMachineTransition::get_advance_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("get_advance_mode")._native_ptr(), 61101689);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationNodeStateMachineTransition::AdvanceMode(0)));
|
||||
return (AnimationNodeStateMachineTransition::AdvanceMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachineTransition::set_advance_condition(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("set_advance_condition")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName AnimationNodeStateMachineTransition::get_advance_condition() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("get_advance_condition")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachineTransition::set_xfade_time(float p_secs) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("set_xfade_time")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_secs_encoded;
|
||||
PtrToArg<double>::encode(p_secs, &p_secs_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_secs_encoded);
|
||||
}
|
||||
|
||||
float AnimationNodeStateMachineTransition::get_xfade_time() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("get_xfade_time")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachineTransition::set_xfade_curve(const Ref<Curve> &p_curve) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("set_xfade_curve")._native_ptr(), 270443179);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_curve != nullptr ? &p_curve->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<Curve> AnimationNodeStateMachineTransition::get_xfade_curve() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("get_xfade_curve")._native_ptr(), 2460114913);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Curve>()));
|
||||
return Ref<Curve>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Curve>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachineTransition::set_break_loop_at_end(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("set_break_loop_at_end")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeStateMachineTransition::is_loop_broken_at_end() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("is_loop_broken_at_end")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachineTransition::set_reset(bool p_reset) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("set_reset")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_reset_encoded;
|
||||
PtrToArg<bool>::encode(p_reset, &p_reset_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_reset_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeStateMachineTransition::is_reset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("is_reset")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachineTransition::set_priority(int32_t p_priority) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("set_priority")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_priority_encoded;
|
||||
PtrToArg<int64_t>::encode(p_priority, &p_priority_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_priority_encoded);
|
||||
}
|
||||
|
||||
int32_t AnimationNodeStateMachineTransition::get_priority() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("get_priority")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeStateMachineTransition::set_advance_expression(const String &p_text) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("set_advance_expression")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_text);
|
||||
}
|
||||
|
||||
String AnimationNodeStateMachineTransition::get_advance_expression() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeStateMachineTransition::get_class_static()._native_ptr(), StringName("get_advance_expression")._native_ptr(), 201670096);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_sub2.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_sub2.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,55 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_sync.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_sync.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeSync::set_use_sync(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeSync::get_class_static()._native_ptr(), StringName("set_use_sync")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeSync::is_using_sync() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeSync::get_class_static()._native_ptr(), StringName("is_using_sync")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_time_scale.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_time_scale.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,55 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_time_seek.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_time_seek.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeTimeSeek::set_explicit_elapse(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTimeSeek::get_class_static()._native_ptr(), StringName("set_explicit_elapse")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeTimeSeek::is_explicit_elapse() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTimeSeek::get_class_static()._native_ptr(), StringName("is_explicit_elapse")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,145 @@
|
||||
/**************************************************************************/
|
||||
/* animation_node_transition.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_node_transition.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/curve.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationNodeTransition::set_input_count(int32_t p_input_count) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("set_input_count")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_input_count_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input_count, &p_input_count_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_input_count_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeTransition::set_input_as_auto_advance(int32_t p_input, bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("set_input_as_auto_advance")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_input_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input, &p_input_encoded);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_input_encoded, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeTransition::is_input_set_as_auto_advance(int32_t p_input) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("is_input_set_as_auto_advance")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_input_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input, &p_input_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_input_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeTransition::set_input_break_loop_at_end(int32_t p_input, bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("set_input_break_loop_at_end")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_input_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input, &p_input_encoded);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_input_encoded, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeTransition::is_input_loop_broken_at_end(int32_t p_input) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("is_input_loop_broken_at_end")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_input_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input, &p_input_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_input_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeTransition::set_input_reset(int32_t p_input, bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("set_input_reset")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_input_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input, &p_input_encoded);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_input_encoded, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeTransition::is_input_reset(int32_t p_input) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("is_input_reset")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_input_encoded;
|
||||
PtrToArg<int64_t>::encode(p_input, &p_input_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_input_encoded);
|
||||
}
|
||||
|
||||
void AnimationNodeTransition::set_xfade_time(double p_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("set_xfade_time")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_time_encoded);
|
||||
}
|
||||
|
||||
double AnimationNodeTransition::get_xfade_time() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("get_xfade_time")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationNodeTransition::set_xfade_curve(const Ref<Curve> &p_curve) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("set_xfade_curve")._native_ptr(), 270443179);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_curve != nullptr ? &p_curve->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<Curve> AnimationNodeTransition::get_xfade_curve() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("get_xfade_curve")._native_ptr(), 2460114913);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Curve>()));
|
||||
return Ref<Curve>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Curve>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AnimationNodeTransition::set_allow_transition_to_self(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("set_allow_transition_to_self")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AnimationNodeTransition::is_allow_transition_to_self() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationNodeTransition::get_class_static()._native_ptr(), StringName("is_allow_transition_to_self")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,441 @@
|
||||
/**************************************************************************/
|
||||
/* animation_player.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_player.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationPlayer::animation_set_next(const StringName &p_animation_from, const StringName &p_animation_to) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("animation_set_next")._native_ptr(), 3740211285);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_animation_from, &p_animation_to);
|
||||
}
|
||||
|
||||
StringName AnimationPlayer::animation_get_next(const StringName &p_animation_from) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("animation_get_next")._native_ptr(), 1965194235);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_animation_from);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_blend_time(const StringName &p_animation_from, const StringName &p_animation_to, double p_sec) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_blend_time")._native_ptr(), 3231131886);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_sec_encoded;
|
||||
PtrToArg<double>::encode(p_sec, &p_sec_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_animation_from, &p_animation_to, &p_sec_encoded);
|
||||
}
|
||||
|
||||
double AnimationPlayer::get_blend_time(const StringName &p_animation_from, const StringName &p_animation_to) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_blend_time")._native_ptr(), 1958752504);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_animation_from, &p_animation_to);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_default_blend_time(double p_sec) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_default_blend_time")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_sec_encoded;
|
||||
PtrToArg<double>::encode(p_sec, &p_sec_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_sec_encoded);
|
||||
}
|
||||
|
||||
double AnimationPlayer::get_default_blend_time() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_default_blend_time")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_auto_capture(bool p_auto_capture) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_auto_capture")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_auto_capture_encoded;
|
||||
PtrToArg<bool>::encode(p_auto_capture, &p_auto_capture_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_auto_capture_encoded);
|
||||
}
|
||||
|
||||
bool AnimationPlayer::is_auto_capture() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("is_auto_capture")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_auto_capture_duration(double p_auto_capture_duration) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_auto_capture_duration")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_auto_capture_duration_encoded;
|
||||
PtrToArg<double>::encode(p_auto_capture_duration, &p_auto_capture_duration_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_auto_capture_duration_encoded);
|
||||
}
|
||||
|
||||
double AnimationPlayer::get_auto_capture_duration() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_auto_capture_duration")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_auto_capture_transition_type(Tween::TransitionType p_auto_capture_transition_type) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_auto_capture_transition_type")._native_ptr(), 1058637742);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_auto_capture_transition_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_auto_capture_transition_type, &p_auto_capture_transition_type_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_auto_capture_transition_type_encoded);
|
||||
}
|
||||
|
||||
Tween::TransitionType AnimationPlayer::get_auto_capture_transition_type() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_auto_capture_transition_type")._native_ptr(), 3842314528);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Tween::TransitionType(0)));
|
||||
return (Tween::TransitionType)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_auto_capture_ease_type(Tween::EaseType p_auto_capture_ease_type) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_auto_capture_ease_type")._native_ptr(), 1208105857);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_auto_capture_ease_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_auto_capture_ease_type, &p_auto_capture_ease_type_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_auto_capture_ease_type_encoded);
|
||||
}
|
||||
|
||||
Tween::EaseType AnimationPlayer::get_auto_capture_ease_type() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_auto_capture_ease_type")._native_ptr(), 631880200);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Tween::EaseType(0)));
|
||||
return (Tween::EaseType)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::play(const StringName &p_name, double p_custom_blend, float p_custom_speed, bool p_from_end) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("play")._native_ptr(), 3118260607);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_custom_blend_encoded;
|
||||
PtrToArg<double>::encode(p_custom_blend, &p_custom_blend_encoded);
|
||||
double p_custom_speed_encoded;
|
||||
PtrToArg<double>::encode(p_custom_speed, &p_custom_speed_encoded);
|
||||
int8_t p_from_end_encoded;
|
||||
PtrToArg<bool>::encode(p_from_end, &p_from_end_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_custom_blend_encoded, &p_custom_speed_encoded, &p_from_end_encoded);
|
||||
}
|
||||
|
||||
void AnimationPlayer::play_section_with_markers(const StringName &p_name, const StringName &p_start_marker, const StringName &p_end_marker, double p_custom_blend, float p_custom_speed, bool p_from_end) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("play_section_with_markers")._native_ptr(), 1421431412);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_custom_blend_encoded;
|
||||
PtrToArg<double>::encode(p_custom_blend, &p_custom_blend_encoded);
|
||||
double p_custom_speed_encoded;
|
||||
PtrToArg<double>::encode(p_custom_speed, &p_custom_speed_encoded);
|
||||
int8_t p_from_end_encoded;
|
||||
PtrToArg<bool>::encode(p_from_end, &p_from_end_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_start_marker, &p_end_marker, &p_custom_blend_encoded, &p_custom_speed_encoded, &p_from_end_encoded);
|
||||
}
|
||||
|
||||
void AnimationPlayer::play_section(const StringName &p_name, double p_start_time, double p_end_time, double p_custom_blend, float p_custom_speed, bool p_from_end) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("play_section")._native_ptr(), 284774635);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_start_time_encoded;
|
||||
PtrToArg<double>::encode(p_start_time, &p_start_time_encoded);
|
||||
double p_end_time_encoded;
|
||||
PtrToArg<double>::encode(p_end_time, &p_end_time_encoded);
|
||||
double p_custom_blend_encoded;
|
||||
PtrToArg<double>::encode(p_custom_blend, &p_custom_blend_encoded);
|
||||
double p_custom_speed_encoded;
|
||||
PtrToArg<double>::encode(p_custom_speed, &p_custom_speed_encoded);
|
||||
int8_t p_from_end_encoded;
|
||||
PtrToArg<bool>::encode(p_from_end, &p_from_end_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_start_time_encoded, &p_end_time_encoded, &p_custom_blend_encoded, &p_custom_speed_encoded, &p_from_end_encoded);
|
||||
}
|
||||
|
||||
void AnimationPlayer::play_backwards(const StringName &p_name, double p_custom_blend) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("play_backwards")._native_ptr(), 2787282401);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_custom_blend_encoded;
|
||||
PtrToArg<double>::encode(p_custom_blend, &p_custom_blend_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_custom_blend_encoded);
|
||||
}
|
||||
|
||||
void AnimationPlayer::play_section_with_markers_backwards(const StringName &p_name, const StringName &p_start_marker, const StringName &p_end_marker, double p_custom_blend) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("play_section_with_markers_backwards")._native_ptr(), 910195100);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_custom_blend_encoded;
|
||||
PtrToArg<double>::encode(p_custom_blend, &p_custom_blend_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_start_marker, &p_end_marker, &p_custom_blend_encoded);
|
||||
}
|
||||
|
||||
void AnimationPlayer::play_section_backwards(const StringName &p_name, double p_start_time, double p_end_time, double p_custom_blend) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("play_section_backwards")._native_ptr(), 831955981);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_start_time_encoded;
|
||||
PtrToArg<double>::encode(p_start_time, &p_start_time_encoded);
|
||||
double p_end_time_encoded;
|
||||
PtrToArg<double>::encode(p_end_time, &p_end_time_encoded);
|
||||
double p_custom_blend_encoded;
|
||||
PtrToArg<double>::encode(p_custom_blend, &p_custom_blend_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_start_time_encoded, &p_end_time_encoded, &p_custom_blend_encoded);
|
||||
}
|
||||
|
||||
void AnimationPlayer::play_with_capture(const StringName &p_name, double p_duration, double p_custom_blend, float p_custom_speed, bool p_from_end, Tween::TransitionType p_trans_type, Tween::EaseType p_ease_type) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("play_with_capture")._native_ptr(), 1572969103);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_duration_encoded;
|
||||
PtrToArg<double>::encode(p_duration, &p_duration_encoded);
|
||||
double p_custom_blend_encoded;
|
||||
PtrToArg<double>::encode(p_custom_blend, &p_custom_blend_encoded);
|
||||
double p_custom_speed_encoded;
|
||||
PtrToArg<double>::encode(p_custom_speed, &p_custom_speed_encoded);
|
||||
int8_t p_from_end_encoded;
|
||||
PtrToArg<bool>::encode(p_from_end, &p_from_end_encoded);
|
||||
int64_t p_trans_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_trans_type, &p_trans_type_encoded);
|
||||
int64_t p_ease_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_ease_type, &p_ease_type_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name, &p_duration_encoded, &p_custom_blend_encoded, &p_custom_speed_encoded, &p_from_end_encoded, &p_trans_type_encoded, &p_ease_type_encoded);
|
||||
}
|
||||
|
||||
void AnimationPlayer::pause() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("pause")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::stop(bool p_keep_state) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("stop")._native_ptr(), 107499316);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_keep_state_encoded;
|
||||
PtrToArg<bool>::encode(p_keep_state, &p_keep_state_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_keep_state_encoded);
|
||||
}
|
||||
|
||||
bool AnimationPlayer::is_playing() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("is_playing")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AnimationPlayer::is_animation_active() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("is_animation_active")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_current_animation(const StringName &p_animation) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_current_animation")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_animation);
|
||||
}
|
||||
|
||||
StringName AnimationPlayer::get_current_animation() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_current_animation")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_assigned_animation(const StringName &p_animation) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_assigned_animation")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_animation);
|
||||
}
|
||||
|
||||
StringName AnimationPlayer::get_assigned_animation() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_assigned_animation")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::queue(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("queue")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
TypedArray<StringName> AnimationPlayer::get_queue() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_queue")._native_ptr(), 2915620761);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<StringName>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<StringName>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::clear_queue() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("clear_queue")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_speed_scale(float p_speed) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_speed_scale")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_speed_encoded;
|
||||
PtrToArg<double>::encode(p_speed, &p_speed_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_speed_encoded);
|
||||
}
|
||||
|
||||
float AnimationPlayer::get_speed_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_speed_scale")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AnimationPlayer::get_playing_speed() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_playing_speed")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_autoplay(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_autoplay")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName AnimationPlayer::get_autoplay() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_autoplay")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_movie_quit_on_finish_enabled(bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_movie_quit_on_finish_enabled")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AnimationPlayer::is_movie_quit_on_finish_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("is_movie_quit_on_finish_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
double AnimationPlayer::get_current_animation_position() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_current_animation_position")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
double AnimationPlayer::get_current_animation_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_current_animation_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_section_with_markers(const StringName &p_start_marker, const StringName &p_end_marker) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_section_with_markers")._native_ptr(), 794792241);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_start_marker, &p_end_marker);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_section(double p_start_time, double p_end_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_section")._native_ptr(), 3749779719);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_start_time_encoded;
|
||||
PtrToArg<double>::encode(p_start_time, &p_start_time_encoded);
|
||||
double p_end_time_encoded;
|
||||
PtrToArg<double>::encode(p_end_time, &p_end_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_start_time_encoded, &p_end_time_encoded);
|
||||
}
|
||||
|
||||
void AnimationPlayer::reset_section() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("reset_section")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
double AnimationPlayer::get_section_start_time() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_section_start_time")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
double AnimationPlayer::get_section_end_time() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_section_end_time")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AnimationPlayer::has_section() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("has_section")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::seek(double p_seconds, bool p_update, bool p_update_only) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("seek")._native_ptr(), 1807872683);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_seconds_encoded;
|
||||
PtrToArg<double>::encode(p_seconds, &p_seconds_encoded);
|
||||
int8_t p_update_encoded;
|
||||
PtrToArg<bool>::encode(p_update, &p_update_encoded);
|
||||
int8_t p_update_only_encoded;
|
||||
PtrToArg<bool>::encode(p_update_only, &p_update_only_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_seconds_encoded, &p_update_encoded, &p_update_only_encoded);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_process_callback(AnimationPlayer::AnimationProcessCallback p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_process_callback")._native_ptr(), 1663839457);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationPlayer::AnimationProcessCallback AnimationPlayer::get_process_callback() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_process_callback")._native_ptr(), 4207496604);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationPlayer::AnimationProcessCallback(0)));
|
||||
return (AnimationPlayer::AnimationProcessCallback)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_method_call_mode(AnimationPlayer::AnimationMethodCallMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_method_call_mode")._native_ptr(), 3413514846);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationPlayer::AnimationMethodCallMode AnimationPlayer::get_method_call_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_method_call_mode")._native_ptr(), 3583380054);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationPlayer::AnimationMethodCallMode(0)));
|
||||
return (AnimationPlayer::AnimationMethodCallMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationPlayer::set_root(const NodePath &p_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("set_root")._native_ptr(), 1348162250);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_path);
|
||||
}
|
||||
|
||||
NodePath AnimationPlayer::get_root() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationPlayer::get_class_static()._native_ptr(), StringName("get_root")._native_ptr(), 4075236667);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (NodePath()));
|
||||
return ::godot::internal::_call_native_mb_ret<NodePath>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* animation_root_node.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_root_node.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,93 @@
|
||||
/**************************************************************************/
|
||||
/* animation_tree.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/animation_tree.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/animation_root_node.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AnimationTree::set_tree_root(const Ref<AnimationRootNode> &p_animation_node) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationTree::get_class_static()._native_ptr(), StringName("set_tree_root")._native_ptr(), 2581683800);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_animation_node != nullptr ? &p_animation_node->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AnimationRootNode> AnimationTree::get_tree_root() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationTree::get_class_static()._native_ptr(), StringName("get_tree_root")._native_ptr(), 4110384712);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AnimationRootNode>()));
|
||||
return Ref<AnimationRootNode>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AnimationRootNode>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AnimationTree::set_advance_expression_base_node(const NodePath &p_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationTree::get_class_static()._native_ptr(), StringName("set_advance_expression_base_node")._native_ptr(), 1348162250);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_path);
|
||||
}
|
||||
|
||||
NodePath AnimationTree::get_advance_expression_base_node() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationTree::get_class_static()._native_ptr(), StringName("get_advance_expression_base_node")._native_ptr(), 4075236667);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (NodePath()));
|
||||
return ::godot::internal::_call_native_mb_ret<NodePath>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationTree::set_animation_player(const NodePath &p_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationTree::get_class_static()._native_ptr(), StringName("set_animation_player")._native_ptr(), 1348162250);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_path);
|
||||
}
|
||||
|
||||
NodePath AnimationTree::get_animation_player() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationTree::get_class_static()._native_ptr(), StringName("get_animation_player")._native_ptr(), 4075236667);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (NodePath()));
|
||||
return ::godot::internal::_call_native_mb_ret<NodePath>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AnimationTree::set_process_callback(AnimationTree::AnimationProcessCallback p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationTree::get_class_static()._native_ptr(), StringName("set_process_callback")._native_ptr(), 1723352826);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AnimationTree::AnimationProcessCallback AnimationTree::get_process_callback() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AnimationTree::get_class_static()._native_ptr(), StringName("get_process_callback")._native_ptr(), 891317132);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AnimationTree::AnimationProcessCallback(0)));
|
||||
return (AnimationTree::AnimationProcessCallback)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,284 @@
|
||||
/**************************************************************************/
|
||||
/* area2d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/area2d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/node.hpp>
|
||||
#include <godot_cpp/classes/node2d.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void Area2D::set_gravity_space_override_mode(Area2D::SpaceOverride p_space_override_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_gravity_space_override_mode")._native_ptr(), 2879900038);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_space_override_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_space_override_mode, &p_space_override_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_space_override_mode_encoded);
|
||||
}
|
||||
|
||||
Area2D::SpaceOverride Area2D::get_gravity_space_override_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_gravity_space_override_mode")._native_ptr(), 3990256304);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Area2D::SpaceOverride(0)));
|
||||
return (Area2D::SpaceOverride)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_gravity_is_point(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_gravity_is_point")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Area2D::is_gravity_a_point() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("is_gravity_a_point")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_gravity_point_unit_distance(float p_distance_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_gravity_point_unit_distance")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_distance_scale_encoded;
|
||||
PtrToArg<double>::encode(p_distance_scale, &p_distance_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_distance_scale_encoded);
|
||||
}
|
||||
|
||||
float Area2D::get_gravity_point_unit_distance() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_gravity_point_unit_distance")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_gravity_point_center(const Vector2 &p_center) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_gravity_point_center")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_center);
|
||||
}
|
||||
|
||||
Vector2 Area2D::get_gravity_point_center() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_gravity_point_center")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_gravity_direction(const Vector2 &p_direction) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_gravity_direction")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_direction);
|
||||
}
|
||||
|
||||
Vector2 Area2D::get_gravity_direction() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_gravity_direction")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_gravity(float p_gravity) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_gravity")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_gravity_encoded;
|
||||
PtrToArg<double>::encode(p_gravity, &p_gravity_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_gravity_encoded);
|
||||
}
|
||||
|
||||
float Area2D::get_gravity() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_gravity")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_linear_damp_space_override_mode(Area2D::SpaceOverride p_space_override_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_linear_damp_space_override_mode")._native_ptr(), 2879900038);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_space_override_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_space_override_mode, &p_space_override_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_space_override_mode_encoded);
|
||||
}
|
||||
|
||||
Area2D::SpaceOverride Area2D::get_linear_damp_space_override_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_linear_damp_space_override_mode")._native_ptr(), 3990256304);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Area2D::SpaceOverride(0)));
|
||||
return (Area2D::SpaceOverride)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_angular_damp_space_override_mode(Area2D::SpaceOverride p_space_override_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_angular_damp_space_override_mode")._native_ptr(), 2879900038);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_space_override_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_space_override_mode, &p_space_override_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_space_override_mode_encoded);
|
||||
}
|
||||
|
||||
Area2D::SpaceOverride Area2D::get_angular_damp_space_override_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_angular_damp_space_override_mode")._native_ptr(), 3990256304);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Area2D::SpaceOverride(0)));
|
||||
return (Area2D::SpaceOverride)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_linear_damp(float p_linear_damp) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_linear_damp")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_linear_damp_encoded;
|
||||
PtrToArg<double>::encode(p_linear_damp, &p_linear_damp_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_linear_damp_encoded);
|
||||
}
|
||||
|
||||
float Area2D::get_linear_damp() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_linear_damp")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_angular_damp(float p_angular_damp) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_angular_damp")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_angular_damp_encoded;
|
||||
PtrToArg<double>::encode(p_angular_damp, &p_angular_damp_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_angular_damp_encoded);
|
||||
}
|
||||
|
||||
float Area2D::get_angular_damp() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_angular_damp")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_priority(int32_t p_priority) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_priority")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_priority_encoded;
|
||||
PtrToArg<int64_t>::encode(p_priority, &p_priority_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_priority_encoded);
|
||||
}
|
||||
|
||||
int32_t Area2D::get_priority() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_priority")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_monitoring(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_monitoring")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Area2D::is_monitoring() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("is_monitoring")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_monitorable(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_monitorable")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Area2D::is_monitorable() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("is_monitorable")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
TypedArray<Node2D> Area2D::get_overlapping_bodies() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_overlapping_bodies")._native_ptr(), 3995934104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<Node2D>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<Node2D>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
TypedArray<Area2D> Area2D::get_overlapping_areas() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_overlapping_areas")._native_ptr(), 3995934104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<Area2D>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<Area2D>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool Area2D::has_overlapping_bodies() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("has_overlapping_bodies")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool Area2D::has_overlapping_areas() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("has_overlapping_areas")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool Area2D::overlaps_body(Node *p_body) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("overlaps_body")._native_ptr(), 3093956946);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, (p_body != nullptr ? &p_body->_owner : nullptr));
|
||||
}
|
||||
|
||||
bool Area2D::overlaps_area(Node *p_area) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("overlaps_area")._native_ptr(), 3093956946);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, (p_area != nullptr ? &p_area->_owner : nullptr));
|
||||
}
|
||||
|
||||
void Area2D::set_audio_bus_name(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_audio_bus_name")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName Area2D::get_audio_bus_name() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("get_audio_bus_name")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area2D::set_audio_bus_override(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("set_audio_bus_override")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Area2D::is_overriding_audio_bus() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area2D::get_class_static()._native_ptr(), StringName("is_overriding_audio_bus")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,378 @@
|
||||
/**************************************************************************/
|
||||
/* area3d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/area3d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/node.hpp>
|
||||
#include <godot_cpp/classes/node3d.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void Area3D::set_gravity_space_override_mode(Area3D::SpaceOverride p_space_override_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_gravity_space_override_mode")._native_ptr(), 2311433571);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_space_override_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_space_override_mode, &p_space_override_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_space_override_mode_encoded);
|
||||
}
|
||||
|
||||
Area3D::SpaceOverride Area3D::get_gravity_space_override_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_gravity_space_override_mode")._native_ptr(), 958191869);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Area3D::SpaceOverride(0)));
|
||||
return (Area3D::SpaceOverride)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_gravity_is_point(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_gravity_is_point")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Area3D::is_gravity_a_point() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("is_gravity_a_point")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_gravity_point_unit_distance(float p_distance_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_gravity_point_unit_distance")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_distance_scale_encoded;
|
||||
PtrToArg<double>::encode(p_distance_scale, &p_distance_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_distance_scale_encoded);
|
||||
}
|
||||
|
||||
float Area3D::get_gravity_point_unit_distance() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_gravity_point_unit_distance")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_gravity_point_center(const Vector3 &p_center) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_gravity_point_center")._native_ptr(), 3460891852);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_center);
|
||||
}
|
||||
|
||||
Vector3 Area3D::get_gravity_point_center() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_gravity_point_center")._native_ptr(), 3360562783);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_gravity_direction(const Vector3 &p_direction) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_gravity_direction")._native_ptr(), 3460891852);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_direction);
|
||||
}
|
||||
|
||||
Vector3 Area3D::get_gravity_direction() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_gravity_direction")._native_ptr(), 3360562783);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector3()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector3>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_gravity(float p_gravity) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_gravity")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_gravity_encoded;
|
||||
PtrToArg<double>::encode(p_gravity, &p_gravity_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_gravity_encoded);
|
||||
}
|
||||
|
||||
float Area3D::get_gravity() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_gravity")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_linear_damp_space_override_mode(Area3D::SpaceOverride p_space_override_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_linear_damp_space_override_mode")._native_ptr(), 2311433571);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_space_override_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_space_override_mode, &p_space_override_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_space_override_mode_encoded);
|
||||
}
|
||||
|
||||
Area3D::SpaceOverride Area3D::get_linear_damp_space_override_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_linear_damp_space_override_mode")._native_ptr(), 958191869);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Area3D::SpaceOverride(0)));
|
||||
return (Area3D::SpaceOverride)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_angular_damp_space_override_mode(Area3D::SpaceOverride p_space_override_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_angular_damp_space_override_mode")._native_ptr(), 2311433571);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_space_override_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_space_override_mode, &p_space_override_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_space_override_mode_encoded);
|
||||
}
|
||||
|
||||
Area3D::SpaceOverride Area3D::get_angular_damp_space_override_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_angular_damp_space_override_mode")._native_ptr(), 958191869);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Area3D::SpaceOverride(0)));
|
||||
return (Area3D::SpaceOverride)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_angular_damp(float p_angular_damp) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_angular_damp")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_angular_damp_encoded;
|
||||
PtrToArg<double>::encode(p_angular_damp, &p_angular_damp_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_angular_damp_encoded);
|
||||
}
|
||||
|
||||
float Area3D::get_angular_damp() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_angular_damp")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_linear_damp(float p_linear_damp) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_linear_damp")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_linear_damp_encoded;
|
||||
PtrToArg<double>::encode(p_linear_damp, &p_linear_damp_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_linear_damp_encoded);
|
||||
}
|
||||
|
||||
float Area3D::get_linear_damp() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_linear_damp")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_priority(int32_t p_priority) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_priority")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_priority_encoded;
|
||||
PtrToArg<int64_t>::encode(p_priority, &p_priority_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_priority_encoded);
|
||||
}
|
||||
|
||||
int32_t Area3D::get_priority() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_priority")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_wind_force_magnitude(float p_wind_force_magnitude) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_wind_force_magnitude")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_wind_force_magnitude_encoded;
|
||||
PtrToArg<double>::encode(p_wind_force_magnitude, &p_wind_force_magnitude_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_wind_force_magnitude_encoded);
|
||||
}
|
||||
|
||||
float Area3D::get_wind_force_magnitude() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_wind_force_magnitude")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_wind_attenuation_factor(float p_wind_attenuation_factor) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_wind_attenuation_factor")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_wind_attenuation_factor_encoded;
|
||||
PtrToArg<double>::encode(p_wind_attenuation_factor, &p_wind_attenuation_factor_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_wind_attenuation_factor_encoded);
|
||||
}
|
||||
|
||||
float Area3D::get_wind_attenuation_factor() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_wind_attenuation_factor")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_wind_source_path(const NodePath &p_wind_source_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_wind_source_path")._native_ptr(), 1348162250);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_wind_source_path);
|
||||
}
|
||||
|
||||
NodePath Area3D::get_wind_source_path() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_wind_source_path")._native_ptr(), 4075236667);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (NodePath()));
|
||||
return ::godot::internal::_call_native_mb_ret<NodePath>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_monitorable(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_monitorable")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Area3D::is_monitorable() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("is_monitorable")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_monitoring(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_monitoring")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Area3D::is_monitoring() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("is_monitoring")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
TypedArray<Node3D> Area3D::get_overlapping_bodies() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_overlapping_bodies")._native_ptr(), 3995934104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<Node3D>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<Node3D>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
TypedArray<Area3D> Area3D::get_overlapping_areas() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_overlapping_areas")._native_ptr(), 3995934104);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (TypedArray<Area3D>()));
|
||||
return ::godot::internal::_call_native_mb_ret<TypedArray<Area3D>>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool Area3D::has_overlapping_bodies() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("has_overlapping_bodies")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool Area3D::has_overlapping_areas() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("has_overlapping_areas")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool Area3D::overlaps_body(Node *p_body) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("overlaps_body")._native_ptr(), 3093956946);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, (p_body != nullptr ? &p_body->_owner : nullptr));
|
||||
}
|
||||
|
||||
bool Area3D::overlaps_area(Node *p_area) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("overlaps_area")._native_ptr(), 3093956946);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, (p_area != nullptr ? &p_area->_owner : nullptr));
|
||||
}
|
||||
|
||||
void Area3D::set_audio_bus_override(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_audio_bus_override")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Area3D::is_overriding_audio_bus() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("is_overriding_audio_bus")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_audio_bus_name(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_audio_bus_name")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName Area3D::get_audio_bus_name() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_audio_bus_name")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_use_reverb_bus(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_use_reverb_bus")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool Area3D::is_using_reverb_bus() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("is_using_reverb_bus")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_reverb_bus_name(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_reverb_bus_name")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
StringName Area3D::get_reverb_bus_name() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_reverb_bus_name")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_reverb_amount(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_reverb_amount")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float Area3D::get_reverb_amount() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_reverb_amount")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void Area3D::set_reverb_uniformity(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("set_reverb_uniformity")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float Area3D::get_reverb_uniformity() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(Area3D::get_class_static()._native_ptr(), StringName("get_reverb_uniformity")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,81 @@
|
||||
/**************************************************************************/
|
||||
/* area_light3d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/area_light3d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/texture2d.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AreaLight3D::set_area_texture(const Ref<Texture2D> &p_texture) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AreaLight3D::get_class_static()._native_ptr(), StringName("set_area_texture")._native_ptr(), 4051416890);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_texture != nullptr ? &p_texture->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<Texture2D> AreaLight3D::get_area_texture() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AreaLight3D::get_class_static()._native_ptr(), StringName("get_area_texture")._native_ptr(), 3635182373);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Texture2D>()));
|
||||
return Ref<Texture2D>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Texture2D>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AreaLight3D::set_area_size(const Vector2 &p_area_size) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AreaLight3D::get_class_static()._native_ptr(), StringName("set_area_size")._native_ptr(), 743155724);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_area_size);
|
||||
}
|
||||
|
||||
Vector2 AreaLight3D::get_area_size() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AreaLight3D::get_class_static()._native_ptr(), StringName("get_area_size")._native_ptr(), 3341600327);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AreaLight3D::set_area_normalize_energy(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AreaLight3D::get_class_static()._native_ptr(), StringName("set_area_normalize_energy")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AreaLight3D::is_area_normalizing_energy() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AreaLight3D::get_class_static()._native_ptr(), StringName("is_area_normalizing_energy")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,236 @@
|
||||
/**************************************************************************/
|
||||
/* array_mesh.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/array_mesh.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/variant/packed_byte_array.hpp>
|
||||
#include <godot_cpp/variant/transform3d.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void ArrayMesh::add_blend_shape(const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("add_blend_shape")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
int32_t ArrayMesh::get_blend_shape_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("get_blend_shape_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
StringName ArrayMesh::get_blend_shape_name(int32_t p_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("get_blend_shape_name")._native_ptr(), 659327637);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_index_encoded);
|
||||
}
|
||||
|
||||
void ArrayMesh::set_blend_shape_name(int32_t p_index, const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("set_blend_shape_name")._native_ptr(), 3780747571);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_index_encoded, &p_name);
|
||||
}
|
||||
|
||||
void ArrayMesh::clear_blend_shapes() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("clear_blend_shapes")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void ArrayMesh::set_blend_shape_mode(Mesh::BlendShapeMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("set_blend_shape_mode")._native_ptr(), 227983991);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
Mesh::BlendShapeMode ArrayMesh::get_blend_shape_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("get_blend_shape_mode")._native_ptr(), 836485024);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Mesh::BlendShapeMode(0)));
|
||||
return (Mesh::BlendShapeMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void ArrayMesh::add_surface_from_arrays(Mesh::PrimitiveType p_primitive, const Array &p_arrays, const TypedArray<Array> &p_blend_shapes, const Dictionary &p_lods, BitField<Mesh::ArrayFormat> p_flags) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("add_surface_from_arrays")._native_ptr(), 1796411378);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_primitive_encoded;
|
||||
PtrToArg<int64_t>::encode(p_primitive, &p_primitive_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_primitive_encoded, &p_arrays, &p_blend_shapes, &p_lods, &p_flags);
|
||||
}
|
||||
|
||||
void ArrayMesh::clear_surfaces() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("clear_surfaces")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void ArrayMesh::surface_remove(int32_t p_surf_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_remove")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_surf_idx_encoded);
|
||||
}
|
||||
|
||||
void ArrayMesh::surface_update_vertex_region(int32_t p_surf_idx, int32_t p_offset, const PackedByteArray &p_data) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_update_vertex_region")._native_ptr(), 3837166854);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
int64_t p_offset_encoded;
|
||||
PtrToArg<int64_t>::encode(p_offset, &p_offset_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_surf_idx_encoded, &p_offset_encoded, &p_data);
|
||||
}
|
||||
|
||||
void ArrayMesh::surface_update_attribute_region(int32_t p_surf_idx, int32_t p_offset, const PackedByteArray &p_data) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_update_attribute_region")._native_ptr(), 3837166854);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
int64_t p_offset_encoded;
|
||||
PtrToArg<int64_t>::encode(p_offset, &p_offset_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_surf_idx_encoded, &p_offset_encoded, &p_data);
|
||||
}
|
||||
|
||||
void ArrayMesh::surface_update_skin_region(int32_t p_surf_idx, int32_t p_offset, const PackedByteArray &p_data) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_update_skin_region")._native_ptr(), 3837166854);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
int64_t p_offset_encoded;
|
||||
PtrToArg<int64_t>::encode(p_offset, &p_offset_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_surf_idx_encoded, &p_offset_encoded, &p_data);
|
||||
}
|
||||
|
||||
int32_t ArrayMesh::surface_get_array_len(int32_t p_surf_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_get_array_len")._native_ptr(), 923996154);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_surf_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t ArrayMesh::surface_get_array_index_len(int32_t p_surf_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_get_array_index_len")._native_ptr(), 923996154);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_surf_idx_encoded);
|
||||
}
|
||||
|
||||
BitField<Mesh::ArrayFormat> ArrayMesh::surface_get_format(int32_t p_surf_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_get_format")._native_ptr(), 3718287884);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (BitField<Mesh::ArrayFormat>(0)));
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
return (int64_t)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_surf_idx_encoded);
|
||||
}
|
||||
|
||||
Mesh::PrimitiveType ArrayMesh::surface_get_primitive_type(int32_t p_surf_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_get_primitive_type")._native_ptr(), 4141943888);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Mesh::PrimitiveType(0)));
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
return (Mesh::PrimitiveType)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_surf_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t ArrayMesh::surface_find_by_name(const String &p_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_find_by_name")._native_ptr(), 1321353865);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
void ArrayMesh::surface_set_name(int32_t p_surf_idx, const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_set_name")._native_ptr(), 501894301);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_surf_idx_encoded, &p_name);
|
||||
}
|
||||
|
||||
String ArrayMesh::surface_get_name(int32_t p_surf_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("surface_get_name")._native_ptr(), 844755477);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
int64_t p_surf_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_surf_idx, &p_surf_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner, &p_surf_idx_encoded);
|
||||
}
|
||||
|
||||
void ArrayMesh::regen_normal_maps() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("regen_normal_maps")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Error ArrayMesh::lightmap_unwrap(const Transform3D &p_transform, float p_texel_size) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("lightmap_unwrap")._native_ptr(), 1476641071);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Error(0)));
|
||||
double p_texel_size_encoded;
|
||||
PtrToArg<double>::encode(p_texel_size, &p_texel_size_encoded);
|
||||
return (Error)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_transform, &p_texel_size_encoded);
|
||||
}
|
||||
|
||||
void ArrayMesh::set_custom_aabb(const AABB &p_aabb) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("set_custom_aabb")._native_ptr(), 259215842);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_aabb);
|
||||
}
|
||||
|
||||
AABB ArrayMesh::get_custom_aabb() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("get_custom_aabb")._native_ptr(), 1068685055);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AABB()));
|
||||
return ::godot::internal::_call_native_mb_ret<AABB>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void ArrayMesh::set_shadow_mesh(const Ref<ArrayMesh> &p_mesh) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("set_shadow_mesh")._native_ptr(), 3377897901);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_mesh != nullptr ? &p_mesh->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<ArrayMesh> ArrayMesh::get_shadow_mesh() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayMesh::get_class_static()._native_ptr(), StringName("get_shadow_mesh")._native_ptr(), 3206942465);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<ArrayMesh>()));
|
||||
return Ref<ArrayMesh>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<ArrayMesh>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,62 @@
|
||||
/**************************************************************************/
|
||||
/* array_occluder3d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/array_occluder3d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/variant/packed_int32_array.hpp>
|
||||
#include <godot_cpp/variant/packed_vector3_array.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void ArrayOccluder3D::set_arrays(const PackedVector3Array &p_vertices, const PackedInt32Array &p_indices) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayOccluder3D::get_class_static()._native_ptr(), StringName("set_arrays")._native_ptr(), 3233972621);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_vertices, &p_indices);
|
||||
}
|
||||
|
||||
void ArrayOccluder3D::set_vertices(const PackedVector3Array &p_vertices) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayOccluder3D::get_class_static()._native_ptr(), StringName("set_vertices")._native_ptr(), 334873810);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_vertices);
|
||||
}
|
||||
|
||||
void ArrayOccluder3D::set_indices(const PackedInt32Array &p_indices) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(ArrayOccluder3D::get_class_static()._native_ptr(), StringName("set_indices")._native_ptr(), 3614634198);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_indices);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,97 @@
|
||||
/**************************************************************************/
|
||||
/* aspect_ratio_container.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/aspect_ratio_container.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AspectRatioContainer::set_ratio(float p_ratio) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AspectRatioContainer::get_class_static()._native_ptr(), StringName("set_ratio")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_ratio_encoded;
|
||||
PtrToArg<double>::encode(p_ratio, &p_ratio_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_ratio_encoded);
|
||||
}
|
||||
|
||||
float AspectRatioContainer::get_ratio() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AspectRatioContainer::get_class_static()._native_ptr(), StringName("get_ratio")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AspectRatioContainer::set_stretch_mode(AspectRatioContainer::StretchMode p_stretch_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AspectRatioContainer::get_class_static()._native_ptr(), StringName("set_stretch_mode")._native_ptr(), 1876743467);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_stretch_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_stretch_mode, &p_stretch_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_stretch_mode_encoded);
|
||||
}
|
||||
|
||||
AspectRatioContainer::StretchMode AspectRatioContainer::get_stretch_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AspectRatioContainer::get_class_static()._native_ptr(), StringName("get_stretch_mode")._native_ptr(), 3416449033);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AspectRatioContainer::StretchMode(0)));
|
||||
return (AspectRatioContainer::StretchMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AspectRatioContainer::set_alignment_horizontal(AspectRatioContainer::AlignmentMode p_alignment_horizontal) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AspectRatioContainer::get_class_static()._native_ptr(), StringName("set_alignment_horizontal")._native_ptr(), 2147829016);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_alignment_horizontal_encoded;
|
||||
PtrToArg<int64_t>::encode(p_alignment_horizontal, &p_alignment_horizontal_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_alignment_horizontal_encoded);
|
||||
}
|
||||
|
||||
AspectRatioContainer::AlignmentMode AspectRatioContainer::get_alignment_horizontal() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AspectRatioContainer::get_class_static()._native_ptr(), StringName("get_alignment_horizontal")._native_ptr(), 3838875429);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AspectRatioContainer::AlignmentMode(0)));
|
||||
return (AspectRatioContainer::AlignmentMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AspectRatioContainer::set_alignment_vertical(AspectRatioContainer::AlignmentMode p_alignment_vertical) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AspectRatioContainer::get_class_static()._native_ptr(), StringName("set_alignment_vertical")._native_ptr(), 2147829016);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_alignment_vertical_encoded;
|
||||
PtrToArg<int64_t>::encode(p_alignment_vertical, &p_alignment_vertical_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_alignment_vertical_encoded);
|
||||
}
|
||||
|
||||
AspectRatioContainer::AlignmentMode AspectRatioContainer::get_alignment_vertical() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AspectRatioContainer::get_class_static()._native_ptr(), StringName("get_alignment_vertical")._native_ptr(), 3838875429);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AspectRatioContainer::AlignmentMode(0)));
|
||||
return (AspectRatioContainer::AlignmentMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,91 @@
|
||||
/**************************************************************************/
|
||||
/* atlas_texture.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/atlas_texture.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AtlasTexture::set_atlas(const Ref<Texture2D> &p_atlas) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AtlasTexture::get_class_static()._native_ptr(), StringName("set_atlas")._native_ptr(), 4051416890);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_atlas != nullptr ? &p_atlas->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<Texture2D> AtlasTexture::get_atlas() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AtlasTexture::get_class_static()._native_ptr(), StringName("get_atlas")._native_ptr(), 3635182373);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<Texture2D>()));
|
||||
return Ref<Texture2D>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<Texture2D>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AtlasTexture::set_region(const Rect2 &p_region) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AtlasTexture::get_class_static()._native_ptr(), StringName("set_region")._native_ptr(), 2046264180);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_region);
|
||||
}
|
||||
|
||||
Rect2 AtlasTexture::get_region() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AtlasTexture::get_class_static()._native_ptr(), StringName("get_region")._native_ptr(), 1639390495);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Rect2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Rect2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AtlasTexture::set_margin(const Rect2 &p_margin) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AtlasTexture::get_class_static()._native_ptr(), StringName("set_margin")._native_ptr(), 2046264180);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_margin);
|
||||
}
|
||||
|
||||
Rect2 AtlasTexture::get_margin() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AtlasTexture::get_class_static()._native_ptr(), StringName("get_margin")._native_ptr(), 1639390495);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Rect2()));
|
||||
return ::godot::internal::_call_native_mb_ret<Rect2>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AtlasTexture::set_filter_clip(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AtlasTexture::get_class_static()._native_ptr(), StringName("set_filter_clip")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AtlasTexture::has_filter_clip() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AtlasTexture::get_class_static()._native_ptr(), StringName("has_filter_clip")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_bus_layout.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_bus_layout.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,47 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_instance.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
Ref<AudioEffectInstance> AudioEffect::_instantiate() {
|
||||
return Ref<AudioEffectInstance>();
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,69 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_amplify.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_amplify.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectAmplify::set_volume_db(float p_volume) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectAmplify::get_class_static()._native_ptr(), StringName("set_volume_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_volume_encoded;
|
||||
PtrToArg<double>::encode(p_volume, &p_volume_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_volume_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectAmplify::get_volume_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectAmplify::get_class_static()._native_ptr(), StringName("get_volume_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectAmplify::set_volume_linear(float p_volume) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectAmplify::get_class_static()._native_ptr(), StringName("set_volume_linear")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_volume_encoded;
|
||||
PtrToArg<double>::encode(p_volume, &p_volume_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_volume_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectAmplify::get_volume_linear() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectAmplify::get_class_static()._native_ptr(), StringName("get_volume_linear")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_band_limit_filter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_band_limit_filter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_band_pass_filter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_band_pass_filter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,101 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_capture.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_capture.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
bool AudioEffectCapture::can_get_buffer(int32_t p_frames) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCapture::get_class_static()._native_ptr(), StringName("can_get_buffer")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_frames_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frames, &p_frames_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_frames_encoded);
|
||||
}
|
||||
|
||||
PackedVector2Array AudioEffectCapture::get_buffer(int32_t p_frames) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCapture::get_class_static()._native_ptr(), StringName("get_buffer")._native_ptr(), 2649534757);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedVector2Array()));
|
||||
int64_t p_frames_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frames, &p_frames_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedVector2Array>(_gde_method_bind, _owner, &p_frames_encoded);
|
||||
}
|
||||
|
||||
void AudioEffectCapture::clear_buffer() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCapture::get_class_static()._native_ptr(), StringName("clear_buffer")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectCapture::set_buffer_length(float p_buffer_length_seconds) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCapture::get_class_static()._native_ptr(), StringName("set_buffer_length")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_buffer_length_seconds_encoded;
|
||||
PtrToArg<double>::encode(p_buffer_length_seconds, &p_buffer_length_seconds_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_buffer_length_seconds_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectCapture::get_buffer_length() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCapture::get_class_static()._native_ptr(), StringName("get_buffer_length")._native_ptr(), 191475506);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int32_t AudioEffectCapture::get_frames_available() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCapture::get_class_static()._native_ptr(), StringName("get_frames_available")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int64_t AudioEffectCapture::get_discarded_frames() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCapture::get_class_static()._native_ptr(), StringName("get_discarded_frames")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int32_t AudioEffectCapture::get_buffer_length_frames() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCapture::get_class_static()._native_ptr(), StringName("get_buffer_length_frames")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int64_t AudioEffectCapture::get_pushed_frames() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCapture::get_class_static()._native_ptr(), StringName("get_pushed_frames")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,191 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_chorus.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_chorus.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectChorus::set_voice_count(int32_t p_voices) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("set_voice_count")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_voices_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voices, &p_voices_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_voices_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioEffectChorus::get_voice_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("get_voice_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectChorus::set_voice_delay_ms(int32_t p_voice_idx, float p_delay_ms) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("set_voice_delay_ms")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
double p_delay_ms_encoded;
|
||||
PtrToArg<double>::encode(p_delay_ms, &p_delay_ms_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_voice_idx_encoded, &p_delay_ms_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectChorus::get_voice_delay_ms(int32_t p_voice_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("get_voice_delay_ms")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_voice_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioEffectChorus::set_voice_rate_hz(int32_t p_voice_idx, float p_rate_hz) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("set_voice_rate_hz")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
double p_rate_hz_encoded;
|
||||
PtrToArg<double>::encode(p_rate_hz, &p_rate_hz_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_voice_idx_encoded, &p_rate_hz_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectChorus::get_voice_rate_hz(int32_t p_voice_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("get_voice_rate_hz")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_voice_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioEffectChorus::set_voice_depth_ms(int32_t p_voice_idx, float p_depth_ms) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("set_voice_depth_ms")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
double p_depth_ms_encoded;
|
||||
PtrToArg<double>::encode(p_depth_ms, &p_depth_ms_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_voice_idx_encoded, &p_depth_ms_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectChorus::get_voice_depth_ms(int32_t p_voice_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("get_voice_depth_ms")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_voice_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioEffectChorus::set_voice_level_db(int32_t p_voice_idx, float p_level_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("set_voice_level_db")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
double p_level_db_encoded;
|
||||
PtrToArg<double>::encode(p_level_db, &p_level_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_voice_idx_encoded, &p_level_db_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectChorus::get_voice_level_db(int32_t p_voice_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("get_voice_level_db")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_voice_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioEffectChorus::set_voice_cutoff_hz(int32_t p_voice_idx, float p_cutoff_hz) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("set_voice_cutoff_hz")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
double p_cutoff_hz_encoded;
|
||||
PtrToArg<double>::encode(p_cutoff_hz, &p_cutoff_hz_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_voice_idx_encoded, &p_cutoff_hz_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectChorus::get_voice_cutoff_hz(int32_t p_voice_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("get_voice_cutoff_hz")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_voice_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioEffectChorus::set_voice_pan(int32_t p_voice_idx, float p_pan) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("set_voice_pan")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
double p_pan_encoded;
|
||||
PtrToArg<double>::encode(p_pan, &p_pan_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_voice_idx_encoded, &p_pan_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectChorus::get_voice_pan(int32_t p_voice_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("get_voice_pan")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_voice_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voice_idx, &p_voice_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_voice_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioEffectChorus::set_wet(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("set_wet")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectChorus::get_wet() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("get_wet")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectChorus::set_dry(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("set_dry")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectChorus::get_dry() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectChorus::get_class_static()._native_ptr(), StringName("get_dry")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,137 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_compressor.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_compressor.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectCompressor::set_threshold(float p_threshold) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("set_threshold")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_threshold_encoded;
|
||||
PtrToArg<double>::encode(p_threshold, &p_threshold_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_threshold_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectCompressor::get_threshold() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("get_threshold")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectCompressor::set_ratio(float p_ratio) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("set_ratio")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_ratio_encoded;
|
||||
PtrToArg<double>::encode(p_ratio, &p_ratio_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_ratio_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectCompressor::get_ratio() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("get_ratio")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectCompressor::set_gain(float p_gain) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("set_gain")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_gain_encoded;
|
||||
PtrToArg<double>::encode(p_gain, &p_gain_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_gain_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectCompressor::get_gain() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("get_gain")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectCompressor::set_attack_us(float p_attack_us) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("set_attack_us")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_attack_us_encoded;
|
||||
PtrToArg<double>::encode(p_attack_us, &p_attack_us_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_attack_us_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectCompressor::get_attack_us() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("get_attack_us")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectCompressor::set_release_ms(float p_release_ms) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("set_release_ms")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_release_ms_encoded;
|
||||
PtrToArg<double>::encode(p_release_ms, &p_release_ms_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_release_ms_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectCompressor::get_release_ms() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("get_release_ms")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectCompressor::set_mix(float p_mix) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("set_mix")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_mix_encoded;
|
||||
PtrToArg<double>::encode(p_mix, &p_mix_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mix_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectCompressor::get_mix() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("get_mix")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectCompressor::set_sidechain(const StringName &p_sidechain) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("set_sidechain")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_sidechain);
|
||||
}
|
||||
|
||||
StringName AudioEffectCompressor::get_sidechain() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectCompressor::get_class_static()._native_ptr(), StringName("get_sidechain")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,223 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_delay.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_delay.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectDelay::set_dry(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_dry")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_dry() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_dry")._native_ptr(), 191475506);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_tap1_active(bool p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_tap1_active")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_amount_encoded;
|
||||
PtrToArg<bool>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
bool AudioEffectDelay::is_tap1_active() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("is_tap1_active")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_tap1_delay_ms(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_tap1_delay_ms")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_tap1_delay_ms() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_tap1_delay_ms")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_tap1_level_db(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_tap1_level_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_tap1_level_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_tap1_level_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_tap1_pan(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_tap1_pan")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_tap1_pan() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_tap1_pan")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_tap2_active(bool p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_tap2_active")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_amount_encoded;
|
||||
PtrToArg<bool>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
bool AudioEffectDelay::is_tap2_active() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("is_tap2_active")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_tap2_delay_ms(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_tap2_delay_ms")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_tap2_delay_ms() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_tap2_delay_ms")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_tap2_level_db(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_tap2_level_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_tap2_level_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_tap2_level_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_tap2_pan(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_tap2_pan")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_tap2_pan() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_tap2_pan")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_feedback_active(bool p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_feedback_active")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_amount_encoded;
|
||||
PtrToArg<bool>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
bool AudioEffectDelay::is_feedback_active() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("is_feedback_active")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_feedback_delay_ms(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_feedback_delay_ms")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_feedback_delay_ms() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_feedback_delay_ms")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_feedback_level_db(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_feedback_level_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_feedback_level_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_feedback_level_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDelay::set_feedback_lowpass(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("set_feedback_lowpass")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDelay::get_feedback_lowpass() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDelay::get_class_static()._native_ptr(), StringName("get_feedback_lowpass")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,111 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_distortion.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_distortion.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectDistortion::set_mode(AudioEffectDistortion::Mode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("set_mode")._native_ptr(), 1314744793);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AudioEffectDistortion::Mode AudioEffectDistortion::get_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("get_mode")._native_ptr(), 809118343);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioEffectDistortion::Mode(0)));
|
||||
return (AudioEffectDistortion::Mode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDistortion::set_pre_gain(float p_pre_gain) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("set_pre_gain")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_pre_gain_encoded;
|
||||
PtrToArg<double>::encode(p_pre_gain, &p_pre_gain_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pre_gain_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDistortion::get_pre_gain() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("get_pre_gain")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDistortion::set_keep_hf_hz(float p_keep_hf_hz) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("set_keep_hf_hz")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_keep_hf_hz_encoded;
|
||||
PtrToArg<double>::encode(p_keep_hf_hz, &p_keep_hf_hz_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_keep_hf_hz_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDistortion::get_keep_hf_hz() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("get_keep_hf_hz")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDistortion::set_drive(float p_drive) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("set_drive")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_drive_encoded;
|
||||
PtrToArg<double>::encode(p_drive, &p_drive_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_drive_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDistortion::get_drive() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("get_drive")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectDistortion::set_post_gain(float p_post_gain) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("set_post_gain")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_post_gain_encoded;
|
||||
PtrToArg<double>::encode(p_post_gain, &p_post_gain_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_post_gain_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectDistortion::get_post_gain() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectDistortion::get_class_static()._native_ptr(), StringName("get_post_gain")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,65 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_eq.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_eq.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectEQ::set_band_gain_db(int32_t p_band_idx, float p_volume_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectEQ::get_class_static()._native_ptr(), StringName("set_band_gain_db")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_band_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_band_idx, &p_band_idx_encoded);
|
||||
double p_volume_db_encoded;
|
||||
PtrToArg<double>::encode(p_volume_db, &p_volume_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_band_idx_encoded, &p_volume_db_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectEQ::get_band_gain_db(int32_t p_band_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectEQ::get_class_static()._native_ptr(), StringName("get_band_gain_db")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_band_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_band_idx, &p_band_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_band_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioEffectEQ::get_band_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectEQ::get_class_static()._native_ptr(), StringName("get_band_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_eq10.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_eq10.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_eq21.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_eq21.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_eq6.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_eq6.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,97 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_filter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_filter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectFilter::set_cutoff(float p_freq) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectFilter::get_class_static()._native_ptr(), StringName("set_cutoff")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_freq_encoded;
|
||||
PtrToArg<double>::encode(p_freq, &p_freq_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_freq_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectFilter::get_cutoff() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectFilter::get_class_static()._native_ptr(), StringName("get_cutoff")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectFilter::set_resonance(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectFilter::get_class_static()._native_ptr(), StringName("set_resonance")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectFilter::get_resonance() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectFilter::get_class_static()._native_ptr(), StringName("get_resonance")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectFilter::set_gain(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectFilter::get_class_static()._native_ptr(), StringName("set_gain")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectFilter::get_gain() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectFilter::get_class_static()._native_ptr(), StringName("get_gain")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectFilter::set_db(AudioEffectFilter::FilterDB p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectFilter::get_class_static()._native_ptr(), StringName("set_db")._native_ptr(), 771740901);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_amount_encoded;
|
||||
PtrToArg<int64_t>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
AudioEffectFilter::FilterDB AudioEffectFilter::get_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectFilter::get_class_static()._native_ptr(), StringName("get_db")._native_ptr(), 3981721890);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioEffectFilter::FilterDB(0)));
|
||||
return (AudioEffectFilter::FilterDB)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,83 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_hard_limiter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_hard_limiter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectHardLimiter::set_ceiling_db(float p_ceiling) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectHardLimiter::get_class_static()._native_ptr(), StringName("set_ceiling_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_ceiling_encoded;
|
||||
PtrToArg<double>::encode(p_ceiling, &p_ceiling_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_ceiling_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectHardLimiter::get_ceiling_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectHardLimiter::get_class_static()._native_ptr(), StringName("get_ceiling_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectHardLimiter::set_pre_gain_db(float p_pre_gain) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectHardLimiter::get_class_static()._native_ptr(), StringName("set_pre_gain_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_pre_gain_encoded;
|
||||
PtrToArg<double>::encode(p_pre_gain, &p_pre_gain_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pre_gain_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectHardLimiter::get_pre_gain_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectHardLimiter::get_class_static()._native_ptr(), StringName("get_pre_gain_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectHardLimiter::set_release(float p_release) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectHardLimiter::get_class_static()._native_ptr(), StringName("set_release")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_release_encoded;
|
||||
PtrToArg<double>::encode(p_release, &p_release_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_release_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectHardLimiter::get_release() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectHardLimiter::get_class_static()._native_ptr(), StringName("get_release")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_high_pass_filter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_high_pass_filter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_high_shelf_filter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_high_shelf_filter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,47 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_instance.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_instance.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectInstance::_process(const void *p_src_buffer, AudioFrame *r_dst_buffer, int32_t p_frame_count) {}
|
||||
|
||||
bool AudioEffectInstance::_process_silence() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,97 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_limiter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_limiter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectLimiter::set_ceiling_db(float p_ceiling) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectLimiter::get_class_static()._native_ptr(), StringName("set_ceiling_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_ceiling_encoded;
|
||||
PtrToArg<double>::encode(p_ceiling, &p_ceiling_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_ceiling_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectLimiter::get_ceiling_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectLimiter::get_class_static()._native_ptr(), StringName("get_ceiling_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectLimiter::set_threshold_db(float p_threshold) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectLimiter::get_class_static()._native_ptr(), StringName("set_threshold_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_threshold_encoded;
|
||||
PtrToArg<double>::encode(p_threshold, &p_threshold_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_threshold_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectLimiter::get_threshold_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectLimiter::get_class_static()._native_ptr(), StringName("get_threshold_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectLimiter::set_soft_clip_db(float p_soft_clip) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectLimiter::get_class_static()._native_ptr(), StringName("set_soft_clip_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_soft_clip_encoded;
|
||||
PtrToArg<double>::encode(p_soft_clip, &p_soft_clip_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_soft_clip_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectLimiter::get_soft_clip_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectLimiter::get_class_static()._native_ptr(), StringName("get_soft_clip_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectLimiter::set_soft_clip_ratio(float p_soft_clip) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectLimiter::get_class_static()._native_ptr(), StringName("set_soft_clip_ratio")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_soft_clip_encoded;
|
||||
PtrToArg<double>::encode(p_soft_clip, &p_soft_clip_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_soft_clip_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectLimiter::get_soft_clip_ratio() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectLimiter::get_class_static()._native_ptr(), StringName("get_soft_clip_ratio")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_low_pass_filter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_low_pass_filter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_low_shelf_filter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_low_shelf_filter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_notch_filter.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_notch_filter.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,55 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_panner.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_panner.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectPanner::set_pan(float p_cpanume) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPanner::get_class_static()._native_ptr(), StringName("set_pan")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_cpanume_encoded;
|
||||
PtrToArg<double>::encode(p_cpanume, &p_cpanume_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_cpanume_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectPanner::get_pan() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPanner::get_class_static()._native_ptr(), StringName("get_pan")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,111 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_phaser.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_phaser.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectPhaser::set_range_min_hz(float p_hz) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("set_range_min_hz")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_hz_encoded;
|
||||
PtrToArg<double>::encode(p_hz, &p_hz_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_hz_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectPhaser::get_range_min_hz() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("get_range_min_hz")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectPhaser::set_range_max_hz(float p_hz) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("set_range_max_hz")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_hz_encoded;
|
||||
PtrToArg<double>::encode(p_hz, &p_hz_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_hz_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectPhaser::get_range_max_hz() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("get_range_max_hz")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectPhaser::set_rate_hz(float p_hz) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("set_rate_hz")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_hz_encoded;
|
||||
PtrToArg<double>::encode(p_hz, &p_hz_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_hz_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectPhaser::get_rate_hz() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("get_rate_hz")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectPhaser::set_feedback(float p_fbk) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("set_feedback")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_fbk_encoded;
|
||||
PtrToArg<double>::encode(p_fbk, &p_fbk_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_fbk_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectPhaser::get_feedback() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("get_feedback")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectPhaser::set_depth(float p_depth) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("set_depth")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_depth_encoded;
|
||||
PtrToArg<double>::encode(p_depth, &p_depth_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_depth_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectPhaser::get_depth() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPhaser::get_class_static()._native_ptr(), StringName("get_depth")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,83 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_pitch_shift.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_pitch_shift.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectPitchShift::set_pitch_scale(float p_rate) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPitchShift::get_class_static()._native_ptr(), StringName("set_pitch_scale")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_rate_encoded;
|
||||
PtrToArg<double>::encode(p_rate, &p_rate_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_rate_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectPitchShift::get_pitch_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPitchShift::get_class_static()._native_ptr(), StringName("get_pitch_scale")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectPitchShift::set_oversampling(int32_t p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPitchShift::get_class_static()._native_ptr(), StringName("set_oversampling")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_amount_encoded;
|
||||
PtrToArg<int64_t>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioEffectPitchShift::get_oversampling() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPitchShift::get_class_static()._native_ptr(), StringName("get_oversampling")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectPitchShift::set_fft_size(AudioEffectPitchShift::FFTSize p_size) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPitchShift::get_class_static()._native_ptr(), StringName("set_fft_size")._native_ptr(), 2323518741);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_size_encoded;
|
||||
PtrToArg<int64_t>::encode(p_size, &p_size_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_size_encoded);
|
||||
}
|
||||
|
||||
AudioEffectPitchShift::FFTSize AudioEffectPitchShift::get_fft_size() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectPitchShift::get_class_static()._native_ptr(), StringName("get_fft_size")._native_ptr(), 2361246789);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioEffectPitchShift::FFTSize(0)));
|
||||
return (AudioEffectPitchShift::FFTSize)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,75 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_record.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_record.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectRecord::set_recording_active(bool p_record) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectRecord::get_class_static()._native_ptr(), StringName("set_recording_active")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_record_encoded;
|
||||
PtrToArg<bool>::encode(p_record, &p_record_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_record_encoded);
|
||||
}
|
||||
|
||||
bool AudioEffectRecord::is_recording_active() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectRecord::get_class_static()._native_ptr(), StringName("is_recording_active")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectRecord::set_format(AudioStreamWAV::Format p_format) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectRecord::get_class_static()._native_ptr(), StringName("set_format")._native_ptr(), 60648488);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_format_encoded;
|
||||
PtrToArg<int64_t>::encode(p_format, &p_format_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_format_encoded);
|
||||
}
|
||||
|
||||
AudioStreamWAV::Format AudioEffectRecord::get_format() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectRecord::get_class_static()._native_ptr(), StringName("get_format")._native_ptr(), 3151724922);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioStreamWAV::Format(0)));
|
||||
return (AudioStreamWAV::Format)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Ref<AudioStreamWAV> AudioEffectRecord::get_recording() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectRecord::get_class_static()._native_ptr(), StringName("get_recording")._native_ptr(), 2964110865);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStreamWAV>()));
|
||||
return Ref<AudioStreamWAV>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStreamWAV>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,153 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_reverb.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_reverb.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectReverb::set_predelay_msec(float p_msec) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("set_predelay_msec")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_msec_encoded;
|
||||
PtrToArg<double>::encode(p_msec, &p_msec_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_msec_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectReverb::get_predelay_msec() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("get_predelay_msec")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectReverb::set_predelay_feedback(float p_feedback) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("set_predelay_feedback")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_feedback_encoded;
|
||||
PtrToArg<double>::encode(p_feedback, &p_feedback_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_feedback_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectReverb::get_predelay_feedback() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("get_predelay_feedback")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectReverb::set_room_size(float p_size) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("set_room_size")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_size_encoded;
|
||||
PtrToArg<double>::encode(p_size, &p_size_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_size_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectReverb::get_room_size() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("get_room_size")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectReverb::set_damping(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("set_damping")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectReverb::get_damping() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("get_damping")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectReverb::set_spread(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("set_spread")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectReverb::get_spread() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("get_spread")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectReverb::set_dry(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("set_dry")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectReverb::get_dry() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("get_dry")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectReverb::set_wet(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("set_wet")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectReverb::get_wet() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("get_wet")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectReverb::set_hpf(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("set_hpf")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectReverb::get_hpf() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectReverb::get_class_static()._native_ptr(), StringName("get_hpf")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,69 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_spectrum_analyzer.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_spectrum_analyzer.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectSpectrumAnalyzer::set_buffer_length(float p_seconds) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectSpectrumAnalyzer::get_class_static()._native_ptr(), StringName("set_buffer_length")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_seconds_encoded;
|
||||
PtrToArg<double>::encode(p_seconds, &p_seconds_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_seconds_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectSpectrumAnalyzer::get_buffer_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectSpectrumAnalyzer::get_class_static()._native_ptr(), StringName("get_buffer_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectSpectrumAnalyzer::set_fft_size(AudioEffectSpectrumAnalyzer::FFTSize p_size) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectSpectrumAnalyzer::get_class_static()._native_ptr(), StringName("set_fft_size")._native_ptr(), 1202879215);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_size_encoded;
|
||||
PtrToArg<int64_t>::encode(p_size, &p_size_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_size_encoded);
|
||||
}
|
||||
|
||||
AudioEffectSpectrumAnalyzer::FFTSize AudioEffectSpectrumAnalyzer::get_fft_size() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectSpectrumAnalyzer::get_class_static()._native_ptr(), StringName("get_fft_size")._native_ptr(), 3925405343);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioEffectSpectrumAnalyzer::FFTSize(0)));
|
||||
return (AudioEffectSpectrumAnalyzer::FFTSize)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_spectrum_analyzer_instance.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_spectrum_analyzer_instance.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
Vector2 AudioEffectSpectrumAnalyzerInstance::get_magnitude_for_frequency_range(float p_from_hz, float p_to_hz, AudioEffectSpectrumAnalyzerInstance::MagnitudeMode p_mode) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectSpectrumAnalyzerInstance::get_class_static()._native_ptr(), StringName("get_magnitude_for_frequency_range")._native_ptr(), 797993915);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Vector2()));
|
||||
double p_from_hz_encoded;
|
||||
PtrToArg<double>::encode(p_from_hz, &p_from_hz_encoded);
|
||||
double p_to_hz_encoded;
|
||||
PtrToArg<double>::encode(p_to_hz, &p_to_hz_encoded);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<Vector2>(_gde_method_bind, _owner, &p_from_hz_encoded, &p_to_hz_encoded, &p_mode_encoded);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,83 @@
|
||||
/**************************************************************************/
|
||||
/* audio_effect_stereo_enhance.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_effect_stereo_enhance.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioEffectStereoEnhance::set_pan_pullout(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectStereoEnhance::get_class_static()._native_ptr(), StringName("set_pan_pullout")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectStereoEnhance::get_pan_pullout() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectStereoEnhance::get_class_static()._native_ptr(), StringName("get_pan_pullout")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectStereoEnhance::set_time_pullout(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectStereoEnhance::get_class_static()._native_ptr(), StringName("set_time_pullout")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectStereoEnhance::get_time_pullout() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectStereoEnhance::get_class_static()._native_ptr(), StringName("get_time_pullout")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioEffectStereoEnhance::set_surround(float p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectStereoEnhance::get_class_static()._native_ptr(), StringName("set_surround")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_amount_encoded;
|
||||
PtrToArg<double>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
float AudioEffectStereoEnhance::get_surround() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioEffectStereoEnhance::get_class_static()._native_ptr(), StringName("get_surround")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,59 @@
|
||||
/**************************************************************************/
|
||||
/* audio_listener2d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_listener2d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioListener2D::make_current() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioListener2D::get_class_static()._native_ptr(), StringName("make_current")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioListener2D::clear_current() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioListener2D::get_class_static()._native_ptr(), StringName("clear_current")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioListener2D::is_current() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioListener2D::get_class_static()._native_ptr(), StringName("is_current")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,79 @@
|
||||
/**************************************************************************/
|
||||
/* audio_listener3d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_listener3d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioListener3D::make_current() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioListener3D::get_class_static()._native_ptr(), StringName("make_current")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioListener3D::clear_current() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioListener3D::get_class_static()._native_ptr(), StringName("clear_current")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioListener3D::is_current() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioListener3D::get_class_static()._native_ptr(), StringName("is_current")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Transform3D AudioListener3D::get_listener_transform() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioListener3D::get_class_static()._native_ptr(), StringName("get_listener_transform")._native_ptr(), 3229777777);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Transform3D()));
|
||||
return ::godot::internal::_call_native_mb_ret<Transform3D>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioListener3D::set_doppler_tracking(AudioListener3D::DopplerTracking p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioListener3D::get_class_static()._native_ptr(), StringName("set_doppler_tracking")._native_ptr(), 2365921740);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AudioListener3D::DopplerTracking AudioListener3D::get_doppler_tracking() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioListener3D::get_class_static()._native_ptr(), StringName("get_doppler_tracking")._native_ptr(), 550229039);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioListener3D::DopplerTracking(0)));
|
||||
return (AudioListener3D::DopplerTracking)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_sample.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_sample.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_sample_playback.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_sample_playback.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,516 @@
|
||||
/**************************************************************************/
|
||||
/* audio_server.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_server.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/audio_bus_layout.hpp>
|
||||
#include <godot_cpp/classes/audio_effect.hpp>
|
||||
#include <godot_cpp/classes/audio_effect_instance.hpp>
|
||||
#include <godot_cpp/classes/audio_stream.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
AudioServer *AudioServer::singleton = nullptr;
|
||||
|
||||
AudioServer *AudioServer::get_singleton() {
|
||||
if (unlikely(singleton == nullptr)) {
|
||||
GDExtensionObjectPtr singleton_obj = ::godot::gdextension_interface::global_get_singleton(AudioServer::get_class_static()._native_ptr());
|
||||
#ifdef DEBUG_ENABLED
|
||||
ERR_FAIL_NULL_V(singleton_obj, nullptr);
|
||||
#endif // DEBUG_ENABLED
|
||||
singleton = reinterpret_cast<AudioServer *>(::godot::gdextension_interface::object_get_instance_binding(singleton_obj, ::godot::gdextension_interface::token, &AudioServer::_gde_binding_callbacks));
|
||||
#ifdef DEBUG_ENABLED
|
||||
ERR_FAIL_NULL_V(singleton, nullptr);
|
||||
#endif // DEBUG_ENABLED
|
||||
if (likely(singleton)) {
|
||||
ClassDB::_register_engine_singleton(AudioServer::get_class_static(), singleton);
|
||||
}
|
||||
}
|
||||
return singleton;
|
||||
}
|
||||
|
||||
AudioServer::~AudioServer() {
|
||||
if (singleton == this) {
|
||||
ClassDB::_unregister_engine_singleton(AudioServer::get_class_static());
|
||||
singleton = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_count(int32_t p_amount) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_count")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_amount_encoded;
|
||||
PtrToArg<int64_t>::encode(p_amount, &p_amount_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioServer::get_bus_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioServer::remove_bus(int32_t p_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("remove_bus")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_index_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::add_bus(int32_t p_at_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("add_bus")._native_ptr(), 1025054187);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_at_position_encoded;
|
||||
PtrToArg<int64_t>::encode(p_at_position, &p_at_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_at_position_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::move_bus(int32_t p_index, int32_t p_to_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("move_bus")._native_ptr(), 3937882851);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_index, &p_index_encoded);
|
||||
int64_t p_to_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_index, &p_to_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_index_encoded, &p_to_index_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_name(int32_t p_bus_idx, const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_name")._native_ptr(), 501894301);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_name);
|
||||
}
|
||||
|
||||
String AudioServer::get_bus_name(int32_t p_bus_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_name")._native_ptr(), 844755477);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner, &p_bus_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioServer::get_bus_index(const StringName &p_bus_name) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_index")._native_ptr(), 2458036349);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_bus_name);
|
||||
}
|
||||
|
||||
int32_t AudioServer::get_bus_channels(int32_t p_bus_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_channels")._native_ptr(), 923996154);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_bus_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_volume_db(int32_t p_bus_idx, float p_volume_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_volume_db")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
double p_volume_db_encoded;
|
||||
PtrToArg<double>::encode(p_volume_db, &p_volume_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_volume_db_encoded);
|
||||
}
|
||||
|
||||
float AudioServer::get_bus_volume_db(int32_t p_bus_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_volume_db")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_bus_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_volume_linear(int32_t p_bus_idx, float p_volume_linear) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_volume_linear")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
double p_volume_linear_encoded;
|
||||
PtrToArg<double>::encode(p_volume_linear, &p_volume_linear_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_volume_linear_encoded);
|
||||
}
|
||||
|
||||
float AudioServer::get_bus_volume_linear(int32_t p_bus_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_volume_linear")._native_ptr(), 2339986948);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_bus_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_send(int32_t p_bus_idx, const StringName &p_send) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_send")._native_ptr(), 3780747571);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_send);
|
||||
}
|
||||
|
||||
StringName AudioServer::get_bus_send(int32_t p_bus_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_send")._native_ptr(), 659327637);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_bus_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_solo(int32_t p_bus_idx, bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_solo")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AudioServer::is_bus_solo(int32_t p_bus_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("is_bus_solo")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_bus_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_mute(int32_t p_bus_idx, bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_mute")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AudioServer::is_bus_mute(int32_t p_bus_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("is_bus_mute")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_bus_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_bypass_effects(int32_t p_bus_idx, bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_bypass_effects")._native_ptr(), 300928843);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AudioServer::is_bus_bypassing_effects(int32_t p_bus_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("is_bus_bypassing_effects")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_bus_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::add_bus_effect(int32_t p_bus_idx, const Ref<AudioEffect> &p_effect, int32_t p_at_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("add_bus_effect")._native_ptr(), 4068819785);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int64_t p_at_position_encoded;
|
||||
PtrToArg<int64_t>::encode(p_at_position, &p_at_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, (p_effect != nullptr ? &p_effect->_owner : nullptr), &p_at_position_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::remove_bus_effect(int32_t p_bus_idx, int32_t p_effect_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("remove_bus_effect")._native_ptr(), 3937882851);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int64_t p_effect_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_effect_idx, &p_effect_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_effect_idx_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioServer::get_bus_effect_count(int32_t p_bus_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_effect_count")._native_ptr(), 3744713108);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_bus_idx_encoded);
|
||||
}
|
||||
|
||||
Ref<AudioEffect> AudioServer::get_bus_effect(int32_t p_bus_idx, int32_t p_effect_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_effect")._native_ptr(), 726064442);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioEffect>()));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int64_t p_effect_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_effect_idx, &p_effect_idx_encoded);
|
||||
return Ref<AudioEffect>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioEffect>(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_effect_idx_encoded));
|
||||
}
|
||||
|
||||
Ref<AudioEffectInstance> AudioServer::get_bus_effect_instance(int32_t p_bus_idx, int32_t p_effect_idx, int32_t p_channel) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_effect_instance")._native_ptr(), 1829771234);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioEffectInstance>()));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int64_t p_effect_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_effect_idx, &p_effect_idx_encoded);
|
||||
int64_t p_channel_encoded;
|
||||
PtrToArg<int64_t>::encode(p_channel, &p_channel_encoded);
|
||||
return Ref<AudioEffectInstance>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioEffectInstance>(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_effect_idx_encoded, &p_channel_encoded));
|
||||
}
|
||||
|
||||
void AudioServer::swap_bus_effects(int32_t p_bus_idx, int32_t p_effect_idx, int32_t p_by_effect_idx) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("swap_bus_effects")._native_ptr(), 1649997291);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int64_t p_effect_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_effect_idx, &p_effect_idx_encoded);
|
||||
int64_t p_by_effect_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_by_effect_idx, &p_by_effect_idx_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_effect_idx_encoded, &p_by_effect_idx_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_effect_enabled(int32_t p_bus_idx, int32_t p_effect_idx, bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_effect_enabled")._native_ptr(), 1383440665);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int64_t p_effect_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_effect_idx, &p_effect_idx_encoded);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_effect_idx_encoded, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AudioServer::is_bus_effect_enabled(int32_t p_bus_idx, int32_t p_effect_idx) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("is_bus_effect_enabled")._native_ptr(), 2522259332);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int64_t p_effect_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_effect_idx, &p_effect_idx_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_effect_idx_encoded);
|
||||
}
|
||||
|
||||
float AudioServer::get_bus_peak_volume_left_db(int32_t p_bus_idx, int32_t p_channel) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_peak_volume_left_db")._native_ptr(), 3085491603);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int64_t p_channel_encoded;
|
||||
PtrToArg<int64_t>::encode(p_channel, &p_channel_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_channel_encoded);
|
||||
}
|
||||
|
||||
float AudioServer::get_bus_peak_volume_right_db(int32_t p_bus_idx, int32_t p_channel) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_bus_peak_volume_right_db")._native_ptr(), 3085491603);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_bus_idx_encoded;
|
||||
PtrToArg<int64_t>::encode(p_bus_idx, &p_bus_idx_encoded);
|
||||
int64_t p_channel_encoded;
|
||||
PtrToArg<int64_t>::encode(p_channel, &p_channel_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_bus_idx_encoded, &p_channel_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_playback_speed_scale(float p_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_playback_speed_scale")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_scale_encoded;
|
||||
PtrToArg<double>::encode(p_scale, &p_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_scale_encoded);
|
||||
}
|
||||
|
||||
float AudioServer::get_playback_speed_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_playback_speed_scale")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioServer::lock() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("lock")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioServer::unlock() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("unlock")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
AudioServer::SpeakerMode AudioServer::get_speaker_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_speaker_mode")._native_ptr(), 2549190337);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioServer::SpeakerMode(0)));
|
||||
return (AudioServer::SpeakerMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AudioServer::get_mix_rate() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_mix_rate")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AudioServer::get_input_mix_rate() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_input_mix_rate")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
String AudioServer::get_driver_name() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_driver_name")._native_ptr(), 201670096);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
PackedStringArray AudioServer::get_output_device_list() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_output_device_list")._native_ptr(), 2981934095);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedStringArray()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedStringArray>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
String AudioServer::get_output_device() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_output_device")._native_ptr(), 2841200299);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioServer::set_output_device(const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_output_device")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
double AudioServer::get_time_to_next_mix() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_time_to_next_mix")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
double AudioServer::get_time_since_last_mix() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_time_since_last_mix")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
double AudioServer::get_output_latency() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_output_latency")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
PackedStringArray AudioServer::get_input_device_list() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_input_device_list")._native_ptr(), 2981934095);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedStringArray()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedStringArray>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
String AudioServer::get_input_device() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_input_device")._native_ptr(), 2841200299);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (String()));
|
||||
return ::godot::internal::_call_native_mb_ret<String>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioServer::set_input_device(const String &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_input_device")._native_ptr(), 83702148);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_name);
|
||||
}
|
||||
|
||||
Error AudioServer::set_input_device_active(bool p_active) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_input_device_active")._native_ptr(), 1413768114);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Error(0)));
|
||||
int8_t p_active_encoded;
|
||||
PtrToArg<bool>::encode(p_active, &p_active_encoded);
|
||||
return (Error)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_active_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioServer::get_input_frames_available() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_input_frames_available")._native_ptr(), 2455072627);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int32_t AudioServer::get_input_buffer_length_frames() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_input_buffer_length_frames")._native_ptr(), 2455072627);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
PackedVector2Array AudioServer::get_input_frames(int32_t p_frames) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("get_input_frames")._native_ptr(), 2649534757);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedVector2Array()));
|
||||
int64_t p_frames_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frames, &p_frames_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedVector2Array>(_gde_method_bind, _owner, &p_frames_encoded);
|
||||
}
|
||||
|
||||
void AudioServer::set_bus_layout(const Ref<AudioBusLayout> &p_bus_layout) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_bus_layout")._native_ptr(), 3319058824);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_bus_layout != nullptr ? &p_bus_layout->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AudioBusLayout> AudioServer::generate_bus_layout() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("generate_bus_layout")._native_ptr(), 3769973890);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioBusLayout>()));
|
||||
return Ref<AudioBusLayout>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioBusLayout>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AudioServer::set_enable_tagging_used_audio_streams(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("set_enable_tagging_used_audio_streams")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AudioServer::is_stream_registered_as_sample(const Ref<AudioStream> &p_stream) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("is_stream_registered_as_sample")._native_ptr(), 500225754);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, (p_stream != nullptr ? &p_stream->_owner : nullptr));
|
||||
}
|
||||
|
||||
void AudioServer::register_stream_as_sample(const Ref<AudioStream> &p_stream) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioServer::get_class_static()._native_ptr(), StringName("register_stream_as_sample")._native_ptr(), 2210767741);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_stream != nullptr ? &p_stream->_owner : nullptr));
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,120 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/audio_sample.hpp>
|
||||
#include <godot_cpp/classes/audio_stream_playback.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
double AudioStream::get_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStream::get_class_static()._native_ptr(), StringName("get_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioStream::is_monophonic() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStream::get_class_static()._native_ptr(), StringName("is_monophonic")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Ref<AudioStreamPlayback> AudioStream::instantiate_playback() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStream::get_class_static()._native_ptr(), StringName("instantiate_playback")._native_ptr(), 210135309);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStreamPlayback>()));
|
||||
return Ref<AudioStreamPlayback>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStreamPlayback>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
bool AudioStream::can_be_sampled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStream::get_class_static()._native_ptr(), StringName("can_be_sampled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Ref<AudioSample> AudioStream::generate_sample() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStream::get_class_static()._native_ptr(), StringName("generate_sample")._native_ptr(), 2646048999);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioSample>()));
|
||||
return Ref<AudioSample>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioSample>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
bool AudioStream::is_meta_stream() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStream::get_class_static()._native_ptr(), StringName("is_meta_stream")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Ref<AudioStreamPlayback> AudioStream::_instantiate_playback() const {
|
||||
return Ref<AudioStreamPlayback>();
|
||||
}
|
||||
|
||||
String AudioStream::_get_stream_name() const {
|
||||
return String();
|
||||
}
|
||||
|
||||
double AudioStream::_get_length() const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
bool AudioStream::_is_monophonic() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
double AudioStream::_get_bpm() const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
int32_t AudioStream::_get_beat_count() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Dictionary AudioStream::_get_tags() const {
|
||||
return Dictionary();
|
||||
}
|
||||
|
||||
TypedArray<Dictionary> AudioStream::_get_parameter_list() const {
|
||||
return TypedArray<Dictionary>();
|
||||
}
|
||||
|
||||
bool AudioStream::_has_loop() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
int32_t AudioStream::_get_bar_beats() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,83 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_generator.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_generator.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamGenerator::set_mix_rate(float p_hz) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGenerator::get_class_static()._native_ptr(), StringName("set_mix_rate")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_hz_encoded;
|
||||
PtrToArg<double>::encode(p_hz, &p_hz_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_hz_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamGenerator::get_mix_rate() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGenerator::get_class_static()._native_ptr(), StringName("get_mix_rate")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamGenerator::set_mix_rate_mode(AudioStreamGenerator::AudioStreamGeneratorMixRate p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGenerator::get_class_static()._native_ptr(), StringName("set_mix_rate_mode")._native_ptr(), 3354885803);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AudioStreamGenerator::AudioStreamGeneratorMixRate AudioStreamGenerator::get_mix_rate_mode() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGenerator::get_class_static()._native_ptr(), StringName("get_mix_rate_mode")._native_ptr(), 3537132591);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioStreamGenerator::AudioStreamGeneratorMixRate(0)));
|
||||
return (AudioStreamGenerator::AudioStreamGeneratorMixRate)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamGenerator::set_buffer_length(float p_seconds) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGenerator::get_class_static()._native_ptr(), StringName("set_buffer_length")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_seconds_encoded;
|
||||
PtrToArg<double>::encode(p_seconds, &p_seconds_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_seconds_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamGenerator::get_buffer_length() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGenerator::get_class_static()._native_ptr(), StringName("get_buffer_length")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,82 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_generator_playback.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_generator_playback.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/variant/packed_vector2_array.hpp>
|
||||
#include <godot_cpp/variant/vector2.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
bool AudioStreamGeneratorPlayback::push_frame(const Vector2 &p_frame) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGeneratorPlayback::get_class_static()._native_ptr(), StringName("push_frame")._native_ptr(), 3975407249);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_frame);
|
||||
}
|
||||
|
||||
bool AudioStreamGeneratorPlayback::can_push_buffer(int32_t p_amount) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGeneratorPlayback::get_class_static()._native_ptr(), StringName("can_push_buffer")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_amount_encoded;
|
||||
PtrToArg<int64_t>::encode(p_amount, &p_amount_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_amount_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamGeneratorPlayback::push_buffer(const PackedVector2Array &p_frames) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGeneratorPlayback::get_class_static()._native_ptr(), StringName("push_buffer")._native_ptr(), 1361156557);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_frames);
|
||||
}
|
||||
|
||||
int32_t AudioStreamGeneratorPlayback::get_frames_available() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGeneratorPlayback::get_class_static()._native_ptr(), StringName("get_frames_available")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int32_t AudioStreamGeneratorPlayback::get_skips() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGeneratorPlayback::get_class_static()._native_ptr(), StringName("get_skips")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamGeneratorPlayback::clear_buffer() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamGeneratorPlayback::get_class_static()._native_ptr(), StringName("clear_buffer")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,257 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_interactive.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_interactive.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamInteractive::set_clip_count(int32_t p_clip_count) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("set_clip_count")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_clip_count_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_count, &p_clip_count_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_clip_count_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamInteractive::get_clip_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_clip_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamInteractive::set_initial_clip(int32_t p_clip_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("set_initial_clip")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_clip_index_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamInteractive::get_initial_clip() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_initial_clip")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamInteractive::set_clip_name(int32_t p_clip_index, const StringName &p_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("set_clip_name")._native_ptr(), 3780747571);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_clip_index_encoded, &p_name);
|
||||
}
|
||||
|
||||
StringName AudioStreamInteractive::get_clip_name(int32_t p_clip_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_clip_name")._native_ptr(), 659327637);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner, &p_clip_index_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamInteractive::set_clip_stream(int32_t p_clip_index, const Ref<AudioStream> &p_stream) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("set_clip_stream")._native_ptr(), 111075094);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_clip_index_encoded, (p_stream != nullptr ? &p_stream->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AudioStream> AudioStreamInteractive::get_clip_stream(int32_t p_clip_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_clip_stream")._native_ptr(), 2739380747);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStream>()));
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
return Ref<AudioStream>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStream>(_gde_method_bind, _owner, &p_clip_index_encoded));
|
||||
}
|
||||
|
||||
void AudioStreamInteractive::set_clip_auto_advance(int32_t p_clip_index, AudioStreamInteractive::AutoAdvanceMode p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("set_clip_auto_advance")._native_ptr(), 57217598);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_clip_index_encoded, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AudioStreamInteractive::AutoAdvanceMode AudioStreamInteractive::get_clip_auto_advance(int32_t p_clip_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_clip_auto_advance")._native_ptr(), 1778634807);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioStreamInteractive::AutoAdvanceMode(0)));
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
return (AudioStreamInteractive::AutoAdvanceMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_clip_index_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamInteractive::set_clip_auto_advance_next_clip(int32_t p_clip_index, int32_t p_auto_advance_next_clip) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("set_clip_auto_advance_next_clip")._native_ptr(), 3937882851);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
int64_t p_auto_advance_next_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_auto_advance_next_clip, &p_auto_advance_next_clip_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_clip_index_encoded, &p_auto_advance_next_clip_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamInteractive::get_clip_auto_advance_next_clip(int32_t p_clip_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_clip_auto_advance_next_clip")._native_ptr(), 923996154);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_clip_index_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamInteractive::add_transition(int32_t p_from_clip, int32_t p_to_clip, AudioStreamInteractive::TransitionFromTime p_from_time, AudioStreamInteractive::TransitionToTime p_to_time, AudioStreamInteractive::FadeMode p_fade_mode, float p_fade_beats, bool p_use_filler_clip, int32_t p_filler_clip, bool p_hold_previous) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("add_transition")._native_ptr(), 1630280552);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
int64_t p_from_time_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_time, &p_from_time_encoded);
|
||||
int64_t p_to_time_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_time, &p_to_time_encoded);
|
||||
int64_t p_fade_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_fade_mode, &p_fade_mode_encoded);
|
||||
double p_fade_beats_encoded;
|
||||
PtrToArg<double>::encode(p_fade_beats, &p_fade_beats_encoded);
|
||||
int8_t p_use_filler_clip_encoded;
|
||||
PtrToArg<bool>::encode(p_use_filler_clip, &p_use_filler_clip_encoded);
|
||||
int64_t p_filler_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_filler_clip, &p_filler_clip_encoded);
|
||||
int8_t p_hold_previous_encoded;
|
||||
PtrToArg<bool>::encode(p_hold_previous, &p_hold_previous_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded, &p_from_time_encoded, &p_to_time_encoded, &p_fade_mode_encoded, &p_fade_beats_encoded, &p_use_filler_clip_encoded, &p_filler_clip_encoded, &p_hold_previous_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamInteractive::has_transition(int32_t p_from_clip, int32_t p_to_clip) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("has_transition")._native_ptr(), 2522259332);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamInteractive::erase_transition(int32_t p_from_clip, int32_t p_to_clip) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("erase_transition")._native_ptr(), 3937882851);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded);
|
||||
}
|
||||
|
||||
PackedInt32Array AudioStreamInteractive::get_transition_list() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_transition_list")._native_ptr(), 1930428628);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedInt32Array()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedInt32Array>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
AudioStreamInteractive::TransitionFromTime AudioStreamInteractive::get_transition_from_time(int32_t p_from_clip, int32_t p_to_clip) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_transition_from_time")._native_ptr(), 3453338158);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioStreamInteractive::TransitionFromTime(0)));
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
return (AudioStreamInteractive::TransitionFromTime)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded);
|
||||
}
|
||||
|
||||
AudioStreamInteractive::TransitionToTime AudioStreamInteractive::get_transition_to_time(int32_t p_from_clip, int32_t p_to_clip) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_transition_to_time")._native_ptr(), 1369651373);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioStreamInteractive::TransitionToTime(0)));
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
return (AudioStreamInteractive::TransitionToTime)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded);
|
||||
}
|
||||
|
||||
AudioStreamInteractive::FadeMode AudioStreamInteractive::get_transition_fade_mode(int32_t p_from_clip, int32_t p_to_clip) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_transition_fade_mode")._native_ptr(), 4065396087);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioStreamInteractive::FadeMode(0)));
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
return (AudioStreamInteractive::FadeMode)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamInteractive::get_transition_fade_beats(int32_t p_from_clip, int32_t p_to_clip) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_transition_fade_beats")._native_ptr(), 3085491603);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamInteractive::is_transition_using_filler_clip(int32_t p_from_clip, int32_t p_to_clip) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("is_transition_using_filler_clip")._native_ptr(), 2522259332);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamInteractive::get_transition_filler_clip(int32_t p_from_clip, int32_t p_to_clip) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("get_transition_filler_clip")._native_ptr(), 3175239445);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamInteractive::is_transition_holding_previous(int32_t p_from_clip, int32_t p_to_clip) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamInteractive::get_class_static()._native_ptr(), StringName("is_transition_holding_previous")._native_ptr(), 2522259332);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_from_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_from_clip, &p_from_clip_encoded);
|
||||
int64_t p_to_clip_encoded;
|
||||
PtrToArg<int64_t>::encode(p_to_clip, &p_to_clip_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_from_clip_encoded, &p_to_clip_encoded);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_microphone.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_microphone.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,137 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_mp3.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_mp3.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/variant/string.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
Ref<AudioStreamMP3> AudioStreamMP3::load_from_buffer(const PackedByteArray &p_stream_data) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("load_from_buffer")._native_ptr(), 1674970313);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStreamMP3>()));
|
||||
return Ref<AudioStreamMP3>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStreamMP3>(_gde_method_bind, nullptr, &p_stream_data));
|
||||
}
|
||||
|
||||
Ref<AudioStreamMP3> AudioStreamMP3::load_from_file(const String &p_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("load_from_file")._native_ptr(), 4238362998);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStreamMP3>()));
|
||||
return Ref<AudioStreamMP3>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStreamMP3>(_gde_method_bind, nullptr, &p_path));
|
||||
}
|
||||
|
||||
void AudioStreamMP3::set_data(const PackedByteArray &p_data) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("set_data")._native_ptr(), 2971499966);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_data);
|
||||
}
|
||||
|
||||
PackedByteArray AudioStreamMP3::get_data() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("get_data")._native_ptr(), 2362200018);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedByteArray()));
|
||||
return ::godot::internal::_call_native_mb_ret<PackedByteArray>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamMP3::set_loop(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("set_loop")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamMP3::has_loop() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("has_loop")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamMP3::set_loop_offset(double p_seconds) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("set_loop_offset")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_seconds_encoded;
|
||||
PtrToArg<double>::encode(p_seconds, &p_seconds_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_seconds_encoded);
|
||||
}
|
||||
|
||||
double AudioStreamMP3::get_loop_offset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("get_loop_offset")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamMP3::set_bpm(double p_bpm) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("set_bpm")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_bpm_encoded;
|
||||
PtrToArg<double>::encode(p_bpm, &p_bpm_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bpm_encoded);
|
||||
}
|
||||
|
||||
double AudioStreamMP3::get_bpm() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("get_bpm")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamMP3::set_beat_count(int32_t p_count) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("set_beat_count")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_count_encoded;
|
||||
PtrToArg<int64_t>::encode(p_count, &p_count_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_count_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamMP3::get_beat_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("get_beat_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamMP3::set_bar_beats(int32_t p_count) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("set_bar_beats")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_count_encoded;
|
||||
PtrToArg<int64_t>::encode(p_count, &p_count_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_count_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamMP3::get_bar_beats() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamMP3::get_class_static()._native_ptr(), StringName("get_bar_beats")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,151 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_ogg_vorbis.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_ogg_vorbis.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/ogg_packet_sequence.hpp>
|
||||
#include <godot_cpp/variant/packed_byte_array.hpp>
|
||||
#include <godot_cpp/variant/string.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
Ref<AudioStreamOggVorbis> AudioStreamOggVorbis::load_from_buffer(const PackedByteArray &p_stream_data) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("load_from_buffer")._native_ptr(), 354904730);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStreamOggVorbis>()));
|
||||
return Ref<AudioStreamOggVorbis>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStreamOggVorbis>(_gde_method_bind, nullptr, &p_stream_data));
|
||||
}
|
||||
|
||||
Ref<AudioStreamOggVorbis> AudioStreamOggVorbis::load_from_file(const String &p_path) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("load_from_file")._native_ptr(), 797568536);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStreamOggVorbis>()));
|
||||
return Ref<AudioStreamOggVorbis>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStreamOggVorbis>(_gde_method_bind, nullptr, &p_path));
|
||||
}
|
||||
|
||||
void AudioStreamOggVorbis::set_packet_sequence(const Ref<OggPacketSequence> &p_packet_sequence) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("set_packet_sequence")._native_ptr(), 438882457);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_packet_sequence != nullptr ? &p_packet_sequence->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<OggPacketSequence> AudioStreamOggVorbis::get_packet_sequence() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("get_packet_sequence")._native_ptr(), 2801636033);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<OggPacketSequence>()));
|
||||
return Ref<OggPacketSequence>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<OggPacketSequence>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AudioStreamOggVorbis::set_loop(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("set_loop")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamOggVorbis::has_loop() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("has_loop")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamOggVorbis::set_loop_offset(double p_seconds) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("set_loop_offset")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_seconds_encoded;
|
||||
PtrToArg<double>::encode(p_seconds, &p_seconds_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_seconds_encoded);
|
||||
}
|
||||
|
||||
double AudioStreamOggVorbis::get_loop_offset() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("get_loop_offset")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamOggVorbis::set_bpm(double p_bpm) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("set_bpm")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_bpm_encoded;
|
||||
PtrToArg<double>::encode(p_bpm, &p_bpm_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bpm_encoded);
|
||||
}
|
||||
|
||||
double AudioStreamOggVorbis::get_bpm() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("get_bpm")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamOggVorbis::set_beat_count(int32_t p_count) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("set_beat_count")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_count_encoded;
|
||||
PtrToArg<int64_t>::encode(p_count, &p_count_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_count_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamOggVorbis::get_beat_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("get_beat_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamOggVorbis::set_bar_beats(int32_t p_count) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("set_bar_beats")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_count_encoded;
|
||||
PtrToArg<int64_t>::encode(p_count, &p_count_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_count_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamOggVorbis::get_bar_beats() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("get_bar_beats")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamOggVorbis::set_tags(const Dictionary &p_tags) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("set_tags")._native_ptr(), 4155329257);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_tags);
|
||||
}
|
||||
|
||||
Dictionary AudioStreamOggVorbis::get_tags() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamOggVorbis::get_class_static()._native_ptr(), StringName("get_tags")._native_ptr(), 3102165223);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Dictionary()));
|
||||
return ::godot::internal::_call_native_mb_ret<Dictionary>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,136 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_playback.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_playback.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/audio_sample_playback.hpp>
|
||||
#include <godot_cpp/variant/string_name.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamPlayback::set_sample_playback(const Ref<AudioSamplePlayback> &p_playback_sample) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayback::get_class_static()._native_ptr(), StringName("set_sample_playback")._native_ptr(), 3195455091);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_playback_sample != nullptr ? &p_playback_sample->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AudioSamplePlayback> AudioStreamPlayback::get_sample_playback() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayback::get_class_static()._native_ptr(), StringName("get_sample_playback")._native_ptr(), 3482738536);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioSamplePlayback>()));
|
||||
return Ref<AudioSamplePlayback>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioSamplePlayback>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
PackedVector2Array AudioStreamPlayback::mix_audio(float p_rate_scale, int32_t p_frames) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayback::get_class_static()._native_ptr(), StringName("mix_audio")._native_ptr(), 3341291446);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (PackedVector2Array()));
|
||||
double p_rate_scale_encoded;
|
||||
PtrToArg<double>::encode(p_rate_scale, &p_rate_scale_encoded);
|
||||
int64_t p_frames_encoded;
|
||||
PtrToArg<int64_t>::encode(p_frames, &p_frames_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<PackedVector2Array>(_gde_method_bind, _owner, &p_rate_scale_encoded, &p_frames_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayback::start(double p_from_pos) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayback::get_class_static()._native_ptr(), StringName("start")._native_ptr(), 1958160172);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_from_pos_encoded;
|
||||
PtrToArg<double>::encode(p_from_pos, &p_from_pos_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from_pos_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayback::seek(double p_time) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayback::get_class_static()._native_ptr(), StringName("seek")._native_ptr(), 1958160172);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_time_encoded;
|
||||
PtrToArg<double>::encode(p_time, &p_time_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_time_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayback::stop() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayback::get_class_static()._native_ptr(), StringName("stop")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int32_t AudioStreamPlayback::get_loop_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayback::get_class_static()._native_ptr(), StringName("get_loop_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
double AudioStreamPlayback::get_playback_position() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayback::get_class_static()._native_ptr(), StringName("get_playback_position")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayback::is_playing() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayback::get_class_static()._native_ptr(), StringName("is_playing")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayback::_start(double p_from_pos) {}
|
||||
|
||||
void AudioStreamPlayback::_stop() {}
|
||||
|
||||
bool AudioStreamPlayback::_is_playing() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
int32_t AudioStreamPlayback::_get_loop_count() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
double AudioStreamPlayback::_get_playback_position() const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
void AudioStreamPlayback::_seek(double p_position) {}
|
||||
|
||||
int32_t AudioStreamPlayback::_mix(AudioFrame *p_buffer, float p_rate_scale, int32_t p_frames) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void AudioStreamPlayback::_tag_used_streams() {}
|
||||
|
||||
void AudioStreamPlayback::_set_parameter(const StringName &p_name, const Variant &p_value) {}
|
||||
|
||||
Variant AudioStreamPlayback::_get_parameter(const StringName &p_name) const {
|
||||
return Variant();
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,63 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_playback_interactive.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_playback_interactive.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/variant/string_name.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamPlaybackInteractive::switch_to_clip_by_name(const StringName &p_clip_name) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaybackInteractive::get_class_static()._native_ptr(), StringName("switch_to_clip_by_name")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_clip_name);
|
||||
}
|
||||
|
||||
void AudioStreamPlaybackInteractive::switch_to_clip(int32_t p_clip_index) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaybackInteractive::get_class_static()._native_ptr(), StringName("switch_to_clip")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_clip_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_clip_index, &p_clip_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_clip_index_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamPlaybackInteractive::get_current_clip_index() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaybackInteractive::get_class_static()._native_ptr(), StringName("get_current_clip_index")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_playback_ogg_vorbis.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_playback_ogg_vorbis.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_playback_playlist.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_playback_playlist.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,93 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_playback_polyphonic.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_playback_polyphonic.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/audio_stream.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
int64_t AudioStreamPlaybackPolyphonic::play_stream(const Ref<AudioStream> &p_stream, float p_from_offset, float p_volume_db, float p_pitch_scale, AudioServer::PlaybackType p_playback_type, const StringName &p_bus) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaybackPolyphonic::get_class_static()._native_ptr(), StringName("play_stream")._native_ptr(), 1846744803);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
double p_from_offset_encoded;
|
||||
PtrToArg<double>::encode(p_from_offset, &p_from_offset_encoded);
|
||||
double p_volume_db_encoded;
|
||||
PtrToArg<double>::encode(p_volume_db, &p_volume_db_encoded);
|
||||
double p_pitch_scale_encoded;
|
||||
PtrToArg<double>::encode(p_pitch_scale, &p_pitch_scale_encoded);
|
||||
int64_t p_playback_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_playback_type, &p_playback_type_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner, (p_stream != nullptr ? &p_stream->_owner : nullptr), &p_from_offset_encoded, &p_volume_db_encoded, &p_pitch_scale_encoded, &p_playback_type_encoded, &p_bus);
|
||||
}
|
||||
|
||||
void AudioStreamPlaybackPolyphonic::set_stream_volume(int64_t p_stream, float p_volume_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaybackPolyphonic::get_class_static()._native_ptr(), StringName("set_stream_volume")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_stream_encoded;
|
||||
PtrToArg<int64_t>::encode(p_stream, &p_stream_encoded);
|
||||
double p_volume_db_encoded;
|
||||
PtrToArg<double>::encode(p_volume_db, &p_volume_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_stream_encoded, &p_volume_db_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlaybackPolyphonic::set_stream_pitch_scale(int64_t p_stream, float p_pitch_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaybackPolyphonic::get_class_static()._native_ptr(), StringName("set_stream_pitch_scale")._native_ptr(), 1602489585);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_stream_encoded;
|
||||
PtrToArg<int64_t>::encode(p_stream, &p_stream_encoded);
|
||||
double p_pitch_scale_encoded;
|
||||
PtrToArg<double>::encode(p_pitch_scale, &p_pitch_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_stream_encoded, &p_pitch_scale_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlaybackPolyphonic::is_stream_playing(int64_t p_stream) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaybackPolyphonic::get_class_static()._native_ptr(), StringName("is_stream_playing")._native_ptr(), 1116898809);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
int64_t p_stream_encoded;
|
||||
PtrToArg<int64_t>::encode(p_stream, &p_stream_encoded);
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner, &p_stream_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlaybackPolyphonic::stop_stream(int64_t p_stream) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaybackPolyphonic::get_class_static()._native_ptr(), StringName("stop_stream")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_stream_encoded;
|
||||
PtrToArg<int64_t>::encode(p_stream, &p_stream_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_stream_encoded);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,55 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_playback_resampled.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_playback_resampled.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamPlaybackResampled::begin_resample() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaybackResampled::get_class_static()._native_ptr(), StringName("begin_resample")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
int32_t AudioStreamPlaybackResampled::_mix_resampled(AudioFrame *p_dst_buffer, int32_t p_frame_count) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
float AudioStreamPlaybackResampled::_get_stream_sampling_rate() const {
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_playback_synchronized.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_playback_synchronized.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,234 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_player.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_player.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/audio_stream.hpp>
|
||||
#include <godot_cpp/classes/audio_stream_playback.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamPlayer::set_stream(const Ref<AudioStream> &p_stream) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_stream")._native_ptr(), 2210767741);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_stream != nullptr ? &p_stream->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AudioStream> AudioStreamPlayer::get_stream() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_stream")._native_ptr(), 160907539);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStream>()));
|
||||
return Ref<AudioStream>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStream>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_volume_db(float p_volume_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_volume_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_volume_db_encoded;
|
||||
PtrToArg<double>::encode(p_volume_db, &p_volume_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_volume_db_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer::get_volume_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_volume_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_volume_linear(float p_volume_linear) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_volume_linear")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_volume_linear_encoded;
|
||||
PtrToArg<double>::encode(p_volume_linear, &p_volume_linear_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_volume_linear_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer::get_volume_linear() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_volume_linear")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_pitch_scale(float p_pitch_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_pitch_scale")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_pitch_scale_encoded;
|
||||
PtrToArg<double>::encode(p_pitch_scale, &p_pitch_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pitch_scale_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer::get_pitch_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_pitch_scale")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::play(float p_from_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("play")._native_ptr(), 1958160172);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_from_position_encoded;
|
||||
PtrToArg<double>::encode(p_from_position, &p_from_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from_position_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::seek(float p_to_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("seek")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_to_position_encoded;
|
||||
PtrToArg<double>::encode(p_to_position, &p_to_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_to_position_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::stop() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("stop")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer::is_playing() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("is_playing")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer::get_playback_position() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_playback_position")._native_ptr(), 191475506);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_bus(const StringName &p_bus) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_bus")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus);
|
||||
}
|
||||
|
||||
StringName AudioStreamPlayer::get_bus() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_bus")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_autoplay(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_autoplay")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer::is_autoplay_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("is_autoplay_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_mix_target(AudioStreamPlayer::MixTarget p_mix_target) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_mix_target")._native_ptr(), 2300306138);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mix_target_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mix_target, &p_mix_target_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mix_target_encoded);
|
||||
}
|
||||
|
||||
AudioStreamPlayer::MixTarget AudioStreamPlayer::get_mix_target() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_mix_target")._native_ptr(), 172807476);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioStreamPlayer::MixTarget(0)));
|
||||
return (AudioStreamPlayer::MixTarget)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_playing(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_playing")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_stream_paused(bool p_pause) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_stream_paused")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_pause_encoded;
|
||||
PtrToArg<bool>::encode(p_pause, &p_pause_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pause_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer::get_stream_paused() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_stream_paused")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_max_polyphony(int32_t p_max_polyphony) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_max_polyphony")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_max_polyphony_encoded;
|
||||
PtrToArg<int64_t>::encode(p_max_polyphony, &p_max_polyphony_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_max_polyphony_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamPlayer::get_max_polyphony() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_max_polyphony")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer::has_stream_playback() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("has_stream_playback")._native_ptr(), 2240911060);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Ref<AudioStreamPlayback> AudioStreamPlayer::get_stream_playback() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_stream_playback")._native_ptr(), 210135309);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStreamPlayback>()));
|
||||
return Ref<AudioStreamPlayback>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStreamPlayback>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AudioStreamPlayer::set_playback_type(AudioServer::PlaybackType p_playback_type) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("set_playback_type")._native_ptr(), 725473817);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_playback_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_playback_type, &p_playback_type_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_playback_type_encoded);
|
||||
}
|
||||
|
||||
AudioServer::PlaybackType AudioStreamPlayer::get_playback_type() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer::get_class_static()._native_ptr(), StringName("get_playback_type")._native_ptr(), 4011264623);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioServer::PlaybackType(0)));
|
||||
return (AudioServer::PlaybackType)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,276 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_player2d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_player2d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/audio_stream.hpp>
|
||||
#include <godot_cpp/classes/audio_stream_playback.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamPlayer2D::set_stream(const Ref<AudioStream> &p_stream) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_stream")._native_ptr(), 2210767741);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_stream != nullptr ? &p_stream->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AudioStream> AudioStreamPlayer2D::get_stream() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_stream")._native_ptr(), 160907539);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStream>()));
|
||||
return Ref<AudioStream>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStream>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_volume_db(float p_volume_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_volume_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_volume_db_encoded;
|
||||
PtrToArg<double>::encode(p_volume_db, &p_volume_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_volume_db_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer2D::get_volume_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_volume_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_volume_linear(float p_volume_linear) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_volume_linear")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_volume_linear_encoded;
|
||||
PtrToArg<double>::encode(p_volume_linear, &p_volume_linear_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_volume_linear_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer2D::get_volume_linear() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_volume_linear")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_pitch_scale(float p_pitch_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_pitch_scale")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_pitch_scale_encoded;
|
||||
PtrToArg<double>::encode(p_pitch_scale, &p_pitch_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pitch_scale_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer2D::get_pitch_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_pitch_scale")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::play(float p_from_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("play")._native_ptr(), 1958160172);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_from_position_encoded;
|
||||
PtrToArg<double>::encode(p_from_position, &p_from_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from_position_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::seek(float p_to_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("seek")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_to_position_encoded;
|
||||
PtrToArg<double>::encode(p_to_position, &p_to_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_to_position_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::stop() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("stop")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer2D::is_playing() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("is_playing")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer2D::get_playback_position() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_playback_position")._native_ptr(), 191475506);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_bus(const StringName &p_bus) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_bus")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus);
|
||||
}
|
||||
|
||||
StringName AudioStreamPlayer2D::get_bus() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_bus")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_autoplay(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_autoplay")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer2D::is_autoplay_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("is_autoplay_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_playing(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_playing")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_max_distance(float p_pixels) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_max_distance")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_pixels_encoded;
|
||||
PtrToArg<double>::encode(p_pixels, &p_pixels_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pixels_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer2D::get_max_distance() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_max_distance")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_attenuation(float p_curve) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_attenuation")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_curve_encoded;
|
||||
PtrToArg<double>::encode(p_curve, &p_curve_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_curve_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer2D::get_attenuation() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_attenuation")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_area_mask(uint32_t p_mask) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_area_mask")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mask_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mask, &p_mask_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mask_encoded);
|
||||
}
|
||||
|
||||
uint32_t AudioStreamPlayer2D::get_area_mask() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_area_mask")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_stream_paused(bool p_pause) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_stream_paused")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_pause_encoded;
|
||||
PtrToArg<bool>::encode(p_pause, &p_pause_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pause_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer2D::get_stream_paused() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_stream_paused")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_max_polyphony(int32_t p_max_polyphony) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_max_polyphony")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_max_polyphony_encoded;
|
||||
PtrToArg<int64_t>::encode(p_max_polyphony, &p_max_polyphony_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_max_polyphony_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamPlayer2D::get_max_polyphony() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_max_polyphony")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_panning_strength(float p_panning_strength) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_panning_strength")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_panning_strength_encoded;
|
||||
PtrToArg<double>::encode(p_panning_strength, &p_panning_strength_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_panning_strength_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer2D::get_panning_strength() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_panning_strength")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer2D::has_stream_playback() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("has_stream_playback")._native_ptr(), 2240911060);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Ref<AudioStreamPlayback> AudioStreamPlayer2D::get_stream_playback() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_stream_playback")._native_ptr(), 210135309);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStreamPlayback>()));
|
||||
return Ref<AudioStreamPlayback>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStreamPlayback>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AudioStreamPlayer2D::set_playback_type(AudioServer::PlaybackType p_playback_type) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("set_playback_type")._native_ptr(), 725473817);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_playback_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_playback_type, &p_playback_type_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_playback_type_encoded);
|
||||
}
|
||||
|
||||
AudioServer::PlaybackType AudioStreamPlayer2D::get_playback_type() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer2D::get_class_static()._native_ptr(), StringName("get_playback_type")._native_ptr(), 4011264623);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioServer::PlaybackType(0)));
|
||||
return (AudioServer::PlaybackType)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,388 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_player3d.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_player3d.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
#include <godot_cpp/classes/audio_stream.hpp>
|
||||
#include <godot_cpp/classes/audio_stream_playback.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamPlayer3D::set_stream(const Ref<AudioStream> &p_stream) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_stream")._native_ptr(), 2210767741);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, (p_stream != nullptr ? &p_stream->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AudioStream> AudioStreamPlayer3D::get_stream() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_stream")._native_ptr(), 160907539);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStream>()));
|
||||
return Ref<AudioStream>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStream>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_volume_db(float p_volume_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_volume_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_volume_db_encoded;
|
||||
PtrToArg<double>::encode(p_volume_db, &p_volume_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_volume_db_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_volume_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_volume_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_volume_linear(float p_volume_linear) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_volume_linear")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_volume_linear_encoded;
|
||||
PtrToArg<double>::encode(p_volume_linear, &p_volume_linear_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_volume_linear_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_volume_linear() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_volume_linear")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_unit_size(float p_unit_size) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_unit_size")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_unit_size_encoded;
|
||||
PtrToArg<double>::encode(p_unit_size, &p_unit_size_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_unit_size_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_unit_size() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_unit_size")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_max_db(float p_max_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_max_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_max_db_encoded;
|
||||
PtrToArg<double>::encode(p_max_db, &p_max_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_max_db_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_max_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_max_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_pitch_scale(float p_pitch_scale) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_pitch_scale")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_pitch_scale_encoded;
|
||||
PtrToArg<double>::encode(p_pitch_scale, &p_pitch_scale_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pitch_scale_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_pitch_scale() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_pitch_scale")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::play(float p_from_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("play")._native_ptr(), 1958160172);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_from_position_encoded;
|
||||
PtrToArg<double>::encode(p_from_position, &p_from_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_from_position_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::seek(float p_to_position) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("seek")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_to_position_encoded;
|
||||
PtrToArg<double>::encode(p_to_position, &p_to_position_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_to_position_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::stop() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("stop")._native_ptr(), 3218959716);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer3D::is_playing() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("is_playing")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_playback_position() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_playback_position")._native_ptr(), 191475506);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_bus(const StringName &p_bus) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_bus")._native_ptr(), 3304788590);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_bus);
|
||||
}
|
||||
|
||||
StringName AudioStreamPlayer3D::get_bus() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_bus")._native_ptr(), 2002593661);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (StringName()));
|
||||
return ::godot::internal::_call_native_mb_ret<StringName>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_autoplay(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_autoplay")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer3D::is_autoplay_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("is_autoplay_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_playing(bool p_enable) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_playing")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enable_encoded;
|
||||
PtrToArg<bool>::encode(p_enable, &p_enable_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enable_encoded);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_max_distance(float p_meters) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_max_distance")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_meters_encoded;
|
||||
PtrToArg<double>::encode(p_meters, &p_meters_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_meters_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_max_distance() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_max_distance")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_area_mask(uint32_t p_mask) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_area_mask")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mask_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mask, &p_mask_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mask_encoded);
|
||||
}
|
||||
|
||||
uint32_t AudioStreamPlayer3D::get_area_mask() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_area_mask")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_emission_angle(float p_degrees) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_emission_angle")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_degrees_encoded;
|
||||
PtrToArg<double>::encode(p_degrees, &p_degrees_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_degrees_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_emission_angle() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_emission_angle")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_emission_angle_enabled(bool p_enabled) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_emission_angle_enabled")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_enabled_encoded;
|
||||
PtrToArg<bool>::encode(p_enabled, &p_enabled_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_enabled_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer3D::is_emission_angle_enabled() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("is_emission_angle_enabled")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_emission_angle_filter_attenuation_db(float p_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_emission_angle_filter_attenuation_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_db_encoded;
|
||||
PtrToArg<double>::encode(p_db, &p_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_db_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_emission_angle_filter_attenuation_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_emission_angle_filter_attenuation_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_attenuation_filter_cutoff_hz(float p_degrees) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_attenuation_filter_cutoff_hz")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_degrees_encoded;
|
||||
PtrToArg<double>::encode(p_degrees, &p_degrees_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_degrees_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_attenuation_filter_cutoff_hz() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_attenuation_filter_cutoff_hz")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_attenuation_filter_db(float p_db) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_attenuation_filter_db")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_db_encoded;
|
||||
PtrToArg<double>::encode(p_db, &p_db_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_db_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_attenuation_filter_db() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_attenuation_filter_db")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_attenuation_model(AudioStreamPlayer3D::AttenuationModel p_model) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_attenuation_model")._native_ptr(), 2988086229);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_model_encoded;
|
||||
PtrToArg<int64_t>::encode(p_model, &p_model_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_model_encoded);
|
||||
}
|
||||
|
||||
AudioStreamPlayer3D::AttenuationModel AudioStreamPlayer3D::get_attenuation_model() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_attenuation_model")._native_ptr(), 3035106060);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioStreamPlayer3D::AttenuationModel(0)));
|
||||
return (AudioStreamPlayer3D::AttenuationModel)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_doppler_tracking(AudioStreamPlayer3D::DopplerTracking p_mode) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_doppler_tracking")._native_ptr(), 3968161450);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_mode_encoded;
|
||||
PtrToArg<int64_t>::encode(p_mode, &p_mode_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_mode_encoded);
|
||||
}
|
||||
|
||||
AudioStreamPlayer3D::DopplerTracking AudioStreamPlayer3D::get_doppler_tracking() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_doppler_tracking")._native_ptr(), 1702418664);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioStreamPlayer3D::DopplerTracking(0)));
|
||||
return (AudioStreamPlayer3D::DopplerTracking)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_stream_paused(bool p_pause) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_stream_paused")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_pause_encoded;
|
||||
PtrToArg<bool>::encode(p_pause, &p_pause_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_pause_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer3D::get_stream_paused() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_stream_paused")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_max_polyphony(int32_t p_max_polyphony) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_max_polyphony")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_max_polyphony_encoded;
|
||||
PtrToArg<int64_t>::encode(p_max_polyphony, &p_max_polyphony_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_max_polyphony_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamPlayer3D::get_max_polyphony() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_max_polyphony")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_panning_strength(float p_panning_strength) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_panning_strength")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_panning_strength_encoded;
|
||||
PtrToArg<double>::encode(p_panning_strength, &p_panning_strength_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_panning_strength_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlayer3D::get_panning_strength() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_panning_strength")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
bool AudioStreamPlayer3D::has_stream_playback() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("has_stream_playback")._native_ptr(), 2240911060);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
Ref<AudioStreamPlayback> AudioStreamPlayer3D::get_stream_playback() {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_stream_playback")._native_ptr(), 210135309);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStreamPlayback>()));
|
||||
return Ref<AudioStreamPlayback>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStreamPlayback>(_gde_method_bind, _owner));
|
||||
}
|
||||
|
||||
void AudioStreamPlayer3D::set_playback_type(AudioServer::PlaybackType p_playback_type) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("set_playback_type")._native_ptr(), 725473817);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_playback_type_encoded;
|
||||
PtrToArg<int64_t>::encode(p_playback_type, &p_playback_type_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_playback_type_encoded);
|
||||
}
|
||||
|
||||
AudioServer::PlaybackType AudioStreamPlayer3D::get_playback_type() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlayer3D::get_class_static()._native_ptr(), StringName("get_playback_type")._native_ptr(), 4011264623);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (AudioServer::PlaybackType(0)));
|
||||
return (AudioServer::PlaybackType)::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,119 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_playlist.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_playlist.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamPlaylist::set_stream_count(int32_t p_stream_count) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("set_stream_count")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_stream_count_encoded;
|
||||
PtrToArg<int64_t>::encode(p_stream_count, &p_stream_count_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_stream_count_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamPlaylist::get_stream_count() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("get_stream_count")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
double AudioStreamPlaylist::get_bpm() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("get_bpm")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlaylist::set_list_stream(int32_t p_stream_index, const Ref<AudioStream> &p_audio_stream) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("set_list_stream")._native_ptr(), 111075094);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_stream_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_stream_index, &p_stream_index_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_stream_index_encoded, (p_audio_stream != nullptr ? &p_audio_stream->_owner : nullptr));
|
||||
}
|
||||
|
||||
Ref<AudioStream> AudioStreamPlaylist::get_list_stream(int32_t p_stream_index) const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("get_list_stream")._native_ptr(), 2739380747);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (Ref<AudioStream>()));
|
||||
int64_t p_stream_index_encoded;
|
||||
PtrToArg<int64_t>::encode(p_stream_index, &p_stream_index_encoded);
|
||||
return Ref<AudioStream>::_gde_internal_constructor(::godot::internal::_call_native_mb_ret_obj<AudioStream>(_gde_method_bind, _owner, &p_stream_index_encoded));
|
||||
}
|
||||
|
||||
void AudioStreamPlaylist::set_shuffle(bool p_shuffle) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("set_shuffle")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_shuffle_encoded;
|
||||
PtrToArg<bool>::encode(p_shuffle, &p_shuffle_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_shuffle_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlaylist::get_shuffle() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("get_shuffle")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlaylist::set_fade_time(float p_dec) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("set_fade_time")._native_ptr(), 373806689);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
double p_dec_encoded;
|
||||
PtrToArg<double>::encode(p_dec, &p_dec_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_dec_encoded);
|
||||
}
|
||||
|
||||
float AudioStreamPlaylist::get_fade_time() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("get_fade_time")._native_ptr(), 1740695150);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0.0));
|
||||
return ::godot::internal::_call_native_mb_ret<double>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
void AudioStreamPlaylist::set_loop(bool p_loop) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("set_loop")._native_ptr(), 2586408642);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int8_t p_loop_encoded;
|
||||
PtrToArg<bool>::encode(p_loop, &p_loop_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_loop_encoded);
|
||||
}
|
||||
|
||||
bool AudioStreamPlaylist::has_loop() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPlaylist::get_class_static()._native_ptr(), StringName("has_loop")._native_ptr(), 36873697);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (false));
|
||||
return ::godot::internal::_call_native_mb_ret<int8_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
@@ -0,0 +1,55 @@
|
||||
/**************************************************************************/
|
||||
/* audio_stream_polyphonic.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. */
|
||||
/**************************************************************************/
|
||||
|
||||
// THIS FILE IS GENERATED. EDITS WILL BE LOST.
|
||||
|
||||
#include <godot_cpp/classes/audio_stream_polyphonic.hpp>
|
||||
|
||||
#include <godot_cpp/core/class_db.hpp>
|
||||
#include <godot_cpp/core/engine_ptrcall.hpp>
|
||||
#include <godot_cpp/core/error_macros.hpp>
|
||||
|
||||
namespace godot {
|
||||
|
||||
void AudioStreamPolyphonic::set_polyphony(int32_t p_voices) {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPolyphonic::get_class_static()._native_ptr(), StringName("set_polyphony")._native_ptr(), 1286410249);
|
||||
CHECK_METHOD_BIND(_gde_method_bind);
|
||||
int64_t p_voices_encoded;
|
||||
PtrToArg<int64_t>::encode(p_voices, &p_voices_encoded);
|
||||
::godot::internal::_call_native_mb_no_ret(_gde_method_bind, _owner, &p_voices_encoded);
|
||||
}
|
||||
|
||||
int32_t AudioStreamPolyphonic::get_polyphony() const {
|
||||
static GDExtensionMethodBindPtr _gde_method_bind = ::godot::gdextension_interface::classdb_get_method_bind(AudioStreamPolyphonic::get_class_static()._native_ptr(), StringName("get_polyphony")._native_ptr(), 3905245786);
|
||||
CHECK_METHOD_BIND_RET(_gde_method_bind, (0));
|
||||
return ::godot::internal::_call_native_mb_ret<int64_t>(_gde_method_bind, _owner);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user