2023-01-05 13:25:55 +01:00
|
|
|
/**************************************************************************/
|
|
|
|
/* scene_string_names.h */
|
|
|
|
/**************************************************************************/
|
|
|
|
/* 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. */
|
|
|
|
/**************************************************************************/
|
2018-01-05 00:50:27 +01:00
|
|
|
|
2014-02-10 02:10:30 +01:00
|
|
|
#ifndef SCENE_STRING_NAMES_H
|
|
|
|
#define SCENE_STRING_NAMES_H
|
|
|
|
|
2020-11-07 23:33:38 +01:00
|
|
|
#include "core/string/node_path.h"
|
|
|
|
#include "core/string/string_name.h"
|
2020-02-21 23:26:13 +01:00
|
|
|
|
2014-02-10 02:10:30 +01:00
|
|
|
class SceneStringNames {
|
2017-03-05 16:44:50 +01:00
|
|
|
friend void register_scene_types();
|
|
|
|
friend void unregister_scene_types();
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2017-03-05 16:44:50 +01:00
|
|
|
static SceneStringNames *singleton;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
static void create() { singleton = memnew(SceneStringNames); }
|
2017-03-05 16:44:50 +01:00
|
|
|
static void free() {
|
|
|
|
memdelete(singleton);
|
2020-04-02 01:20:12 +02:00
|
|
|
singleton = nullptr;
|
2017-03-05 16:44:50 +01:00
|
|
|
}
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
SceneStringNames();
|
|
|
|
|
2017-03-05 16:44:50 +01:00
|
|
|
public:
|
|
|
|
_FORCE_INLINE_ static SceneStringNames *get_singleton() { return singleton; }
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2017-03-25 10:44:41 +01:00
|
|
|
StringName _estimate_cost;
|
|
|
|
StringName _compute_cost;
|
|
|
|
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName resized;
|
|
|
|
StringName dot;
|
|
|
|
StringName doubledot;
|
|
|
|
StringName draw;
|
2020-12-08 11:02:17 +01:00
|
|
|
StringName hidden;
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName visibility_changed;
|
|
|
|
StringName input_event;
|
|
|
|
StringName _input_event;
|
2017-01-08 20:28:12 +01:00
|
|
|
StringName gui_input;
|
|
|
|
StringName _gui_input;
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName item_rect_changed;
|
2017-06-28 22:00:18 +02:00
|
|
|
StringName shader;
|
2015-03-02 04:54:10 +01:00
|
|
|
StringName shader_unshaded;
|
2015-04-03 06:43:37 +02:00
|
|
|
StringName shading_mode;
|
2017-01-12 04:51:08 +01:00
|
|
|
StringName tree_entered;
|
2018-01-12 12:28:39 +01:00
|
|
|
StringName tree_exiting;
|
2017-01-12 04:51:08 +01:00
|
|
|
StringName tree_exited;
|
2018-01-20 22:57:59 +01:00
|
|
|
StringName ready;
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName size_flags_changed;
|
|
|
|
StringName minimum_size_changed;
|
2016-04-06 16:14:38 +02:00
|
|
|
StringName sleeping_state_changed;
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName idle;
|
|
|
|
StringName iteration;
|
|
|
|
StringName update;
|
2015-01-08 04:41:34 +01:00
|
|
|
StringName updated;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
StringName line_separation;
|
|
|
|
|
2017-01-12 04:51:08 +01:00
|
|
|
StringName mouse_entered;
|
|
|
|
StringName mouse_exited;
|
2021-03-26 18:39:05 +01:00
|
|
|
StringName mouse_shape_entered;
|
|
|
|
StringName mouse_shape_exited;
|
2017-01-12 04:51:08 +01:00
|
|
|
StringName focus_entered;
|
|
|
|
StringName focus_exited;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2021-10-05 22:09:01 +02:00
|
|
|
StringName pre_sort_children;
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName sort_children;
|
|
|
|
|
|
|
|
StringName finished;
|
2017-01-08 21:35:11 +01:00
|
|
|
StringName animation_finished;
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName animation_changed;
|
2016-04-14 17:19:20 +02:00
|
|
|
StringName animation_started;
|
2021-12-06 01:46:03 +01:00
|
|
|
StringName RESET;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2020-02-19 20:48:20 +01:00
|
|
|
StringName pose_updated;
|
New and improved IK system for Skeleton3D
This PR and commit adds a new IK system for 3D with the Skeleton3D node
that adds several new IK solvers, as well as additional changes and functionality
for making bone manipulation in Godot easier.
This work was sponsored by GSoC 2020 and TwistedTwigleg
Full list of changes:
* Adds a SkeletonModification3D resource
* This resource is the base where all IK code is written and executed
* Adds a SkeletonModificationStack3D resource
* This node oversees the execution of the modifications and acts as a bridge of sorts for the modifications to the Skeleton3D node
* Adds SkeletonModification3D resources for LookAt, CCDIK, FABRIK, Jiggle, and TwoBoneIK
* Each modification is in it's own file
* Several changes to Skeletons, listed below:
* Added local_pose_override, which acts just like global_pose_override but keeps bone-child relationships intract
* So if you move a bone using local_pose_override, all of the bones that are children will also be moved. This is different than global_pose_override, which only affects the individual bone
* Internally bones keep track of their children. This removes the need of a processing list, makes it possible to update just a few select bones at a time, and makes it easier to traverse down the bone chain
* Additional functions added for converting from world transform to global poses, global poses to local poses, and all the same changes but backwards (local to global, global to world). This makes it much easier to work with bone transforms without needing to think too much about how to convert them.
* New signal added, bone_pose_changed, that can be used to tell if a specific bone changed its transform. Needed for BoneAttachment3D
* Added functions for getting the forward position of a bone
* BoneAttachment3D node refactored heavily
* BoneAttachment3D node is now completely standalone in its functionality.
* This makes the code easier and less interconnected, as well as allowing them to function properly without being direct children of Skeleton3D nodes
* BoneAttachment3D now can be set either using the index or the bone name.
* BoneAttachment3D nodes can now set the bone transform instead of just following it. This is disabled by default for compatibility
* BoneAttachment3D now shows a warning when not configured correctly
* Added rotate_to_align function in Basis
* Added class reference documentation for all changes
2020-08-03 23:22:34 +02:00
|
|
|
StringName bone_pose_changed;
|
2021-02-04 09:20:26 +01:00
|
|
|
StringName bone_enabled_changed;
|
|
|
|
StringName show_rest_only_changed;
|
2020-02-19 20:48:20 +01:00
|
|
|
|
2017-01-12 04:51:08 +01:00
|
|
|
StringName body_shape_entered;
|
|
|
|
StringName body_entered;
|
|
|
|
StringName body_shape_exited;
|
|
|
|
StringName body_exited;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2017-01-12 04:51:08 +01:00
|
|
|
StringName area_shape_entered;
|
|
|
|
StringName area_shape_exited;
|
2015-03-17 04:45:25 +01:00
|
|
|
|
2015-06-29 05:29:49 +02:00
|
|
|
StringName _body_inout;
|
|
|
|
StringName _area_inout;
|
2015-03-17 04:45:25 +01:00
|
|
|
|
2017-09-30 16:19:07 +02:00
|
|
|
StringName _physics_process;
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName _process;
|
|
|
|
StringName _enter_world;
|
|
|
|
StringName _exit_world;
|
2014-11-06 01:20:42 +01:00
|
|
|
StringName _enter_tree;
|
|
|
|
StringName _exit_tree;
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName _draw;
|
|
|
|
StringName _input;
|
|
|
|
StringName _ready;
|
2017-01-10 22:02:19 +01:00
|
|
|
StringName _unhandled_input;
|
|
|
|
StringName _unhandled_key_input;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2014-12-02 21:26:56 +01:00
|
|
|
StringName _pressed;
|
|
|
|
StringName _toggled;
|
|
|
|
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName _update_scroll;
|
|
|
|
StringName _update_xform;
|
|
|
|
|
2020-09-03 13:22:16 +02:00
|
|
|
StringName _structured_text_parser;
|
2018-07-29 17:46:53 +02:00
|
|
|
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName _proxgroup_add;
|
|
|
|
StringName _proxgroup_remove;
|
|
|
|
|
|
|
|
StringName grouped;
|
|
|
|
StringName ungrouped;
|
|
|
|
|
2021-05-15 23:48:59 +02:00
|
|
|
StringName _has_point;
|
|
|
|
StringName _get_drag_data;
|
|
|
|
StringName _can_drop_data;
|
|
|
|
StringName _drop_data;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2017-01-12 04:51:08 +01:00
|
|
|
StringName screen_entered;
|
|
|
|
StringName screen_exited;
|
|
|
|
StringName viewport_entered;
|
|
|
|
StringName viewport_exited;
|
|
|
|
StringName camera_entered;
|
|
|
|
StringName camera_exited;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
StringName changed;
|
|
|
|
StringName _shader_changed;
|
|
|
|
|
|
|
|
StringName _spatial_editor_group;
|
|
|
|
StringName _request_gizmo;
|
2021-02-04 09:20:26 +01:00
|
|
|
StringName _set_subgizmo_selection;
|
2021-06-23 16:49:50 +02:00
|
|
|
StringName _clear_subgizmo_selection;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
|
|
|
StringName offset;
|
|
|
|
StringName unit_offset;
|
|
|
|
StringName rotation_mode;
|
2014-07-06 16:49:27 +02:00
|
|
|
StringName rotate;
|
2014-02-10 02:10:30 +01:00
|
|
|
StringName v_offset;
|
|
|
|
StringName h_offset;
|
|
|
|
|
|
|
|
StringName transform_pos;
|
|
|
|
StringName transform_rot;
|
|
|
|
StringName transform_scale;
|
|
|
|
|
|
|
|
StringName _update_remote;
|
|
|
|
StringName _update_pairs;
|
|
|
|
|
2017-01-12 04:51:08 +01:00
|
|
|
StringName area_entered;
|
|
|
|
StringName area_exited;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2017-03-13 16:45:27 +01:00
|
|
|
StringName _get_minimum_size;
|
2014-02-10 02:10:30 +01:00
|
|
|
|
2014-06-11 15:41:03 +02:00
|
|
|
StringName baked_light_changed;
|
|
|
|
StringName _baked_light_changed;
|
|
|
|
|
2014-09-15 16:33:30 +02:00
|
|
|
StringName _mouse_enter;
|
|
|
|
StringName _mouse_exit;
|
2021-03-26 18:39:05 +01:00
|
|
|
StringName _mouse_shape_enter;
|
|
|
|
StringName _mouse_shape_exit;
|
2014-09-15 16:33:30 +02:00
|
|
|
|
2014-12-07 06:04:20 +01:00
|
|
|
StringName frame_changed;
|
2021-06-12 06:44:38 +02:00
|
|
|
StringName texture_changed;
|
2014-09-15 16:33:30 +02:00
|
|
|
|
2015-06-29 05:29:49 +02:00
|
|
|
StringName playback_speed;
|
|
|
|
StringName playback_active;
|
|
|
|
StringName autoplay;
|
|
|
|
StringName blend_times;
|
|
|
|
StringName speed;
|
|
|
|
|
|
|
|
NodePath path_pp;
|
|
|
|
|
2016-05-15 04:48:23 +02:00
|
|
|
StringName _default;
|
2014-05-29 15:56:39 +02:00
|
|
|
|
2016-05-17 23:27:15 +02:00
|
|
|
StringName node_configuration_warning_changed;
|
|
|
|
|
2018-06-19 03:10:48 +02:00
|
|
|
StringName output;
|
|
|
|
|
2023-08-07 17:33:07 +02:00
|
|
|
StringName Master;
|
|
|
|
|
2018-08-20 18:38:18 +02:00
|
|
|
StringName parameters_base_path;
|
|
|
|
|
2020-03-04 17:36:09 +01:00
|
|
|
StringName _window_group;
|
|
|
|
StringName _window_input;
|
|
|
|
StringName _window_unhandled_input;
|
2020-03-06 18:00:16 +01:00
|
|
|
StringName window_input;
|
2023-08-02 18:53:37 +02:00
|
|
|
StringName _get_contents_minimum_size;
|
2020-03-06 18:00:16 +01:00
|
|
|
|
|
|
|
StringName theme_changed;
|
2020-04-17 04:52:00 +02:00
|
|
|
StringName shader_overrides_group;
|
|
|
|
StringName shader_overrides_group_active;
|
2020-03-04 17:36:09 +01:00
|
|
|
|
2020-05-01 14:34:23 +02:00
|
|
|
#ifndef DISABLE_DEPRECATED
|
|
|
|
StringName use_in_baked_light;
|
|
|
|
StringName use_dynamic_gi;
|
|
|
|
#endif
|
2014-02-10 02:10:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SCENE_STRING_NAMES_H
|