2023-01-05 12:25:55 +00: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-04 23:50:27 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
#ifndef SCENE_STRING_NAMES_H
|
|
|
|
#define SCENE_STRING_NAMES_H
|
|
|
|
|
2020-11-07 22:33:38 +00:00
|
|
|
#include "core/string/node_path.h"
|
|
|
|
#include "core/string/string_name.h"
|
2020-02-21 22:26:13 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
class SceneStringNames {
|
|
|
|
friend void register_scene_types();
|
|
|
|
friend void unregister_scene_types();
|
|
|
|
|
|
|
|
static SceneStringNames *singleton;
|
|
|
|
|
|
|
|
static void create() { singleton = memnew(SceneStringNames); }
|
|
|
|
static void free() {
|
|
|
|
memdelete(singleton);
|
2020-04-01 23:20:12 +00:00
|
|
|
singleton = nullptr;
|
2014-02-10 01:10:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
SceneStringNames();
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
public:
|
2014-02-10 01:10:30 +00:00
|
|
|
_FORCE_INLINE_ static SceneStringNames *get_singleton() { return singleton; }
|
|
|
|
|
2017-03-25 09:44:41 +00:00
|
|
|
StringName _estimate_cost;
|
|
|
|
StringName _compute_cost;
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName resized;
|
|
|
|
StringName dot;
|
|
|
|
StringName doubledot;
|
|
|
|
StringName draw;
|
2020-12-08 10:02:17 +00:00
|
|
|
StringName hidden;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName visibility_changed;
|
|
|
|
StringName input_event;
|
|
|
|
StringName _input_event;
|
2017-01-08 19:28:12 +00:00
|
|
|
StringName gui_input;
|
|
|
|
StringName _gui_input;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName item_rect_changed;
|
2017-06-28 20:00:18 +00:00
|
|
|
StringName shader;
|
2015-03-02 03:54:10 +00:00
|
|
|
StringName shader_unshaded;
|
2015-04-03 04:43:37 +00:00
|
|
|
StringName shading_mode;
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName tree_entered;
|
2018-01-12 11:28:39 +00:00
|
|
|
StringName tree_exiting;
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName tree_exited;
|
2018-01-20 21:57:59 +00:00
|
|
|
StringName ready;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName size_flags_changed;
|
|
|
|
StringName minimum_size_changed;
|
2016-04-06 14:14:38 +00:00
|
|
|
StringName sleeping_state_changed;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName idle;
|
|
|
|
StringName iteration;
|
|
|
|
StringName update;
|
2015-01-08 03:41:34 +00:00
|
|
|
StringName updated;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
StringName line_separation;
|
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName mouse_entered;
|
|
|
|
StringName mouse_exited;
|
2021-03-26 17:39:05 +00:00
|
|
|
StringName mouse_shape_entered;
|
|
|
|
StringName mouse_shape_exited;
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName focus_entered;
|
|
|
|
StringName focus_exited;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2021-10-05 20:09:01 +00:00
|
|
|
StringName pre_sort_children;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName sort_children;
|
|
|
|
|
|
|
|
StringName finished;
|
2017-01-08 20:35:11 +00:00
|
|
|
StringName animation_finished;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName animation_changed;
|
2016-04-14 15:19:20 +00:00
|
|
|
StringName animation_started;
|
2021-12-06 00:46:03 +00:00
|
|
|
StringName RESET;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2020-02-19 19:48:20 +00: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 21:22:34 +00:00
|
|
|
StringName bone_pose_changed;
|
2021-02-04 08:20:26 +00:00
|
|
|
StringName bone_enabled_changed;
|
|
|
|
StringName show_rest_only_changed;
|
2020-02-19 19:48:20 +00:00
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName body_shape_entered;
|
|
|
|
StringName body_entered;
|
|
|
|
StringName body_shape_exited;
|
|
|
|
StringName body_exited;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName area_shape_entered;
|
|
|
|
StringName area_shape_exited;
|
2015-03-17 03:45:25 +00:00
|
|
|
|
2015-06-29 03:29:49 +00:00
|
|
|
StringName _body_inout;
|
|
|
|
StringName _area_inout;
|
2015-03-17 03:45:25 +00:00
|
|
|
|
2017-09-30 14:19:07 +00:00
|
|
|
StringName _physics_process;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName _process;
|
|
|
|
StringName _enter_world;
|
|
|
|
StringName _exit_world;
|
2014-11-06 00:20:42 +00:00
|
|
|
StringName _enter_tree;
|
|
|
|
StringName _exit_tree;
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName _draw;
|
|
|
|
StringName _input;
|
|
|
|
StringName _ready;
|
2017-01-10 21:02:19 +00:00
|
|
|
StringName _unhandled_input;
|
|
|
|
StringName _unhandled_key_input;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2014-12-02 20:26:56 +00:00
|
|
|
StringName _pressed;
|
|
|
|
StringName _toggled;
|
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName _update_scroll;
|
|
|
|
StringName _update_xform;
|
|
|
|
|
2020-09-03 11:22:16 +00:00
|
|
|
StringName _structured_text_parser;
|
2018-07-29 15:46:53 +00:00
|
|
|
|
2014-02-10 01:10:30 +00:00
|
|
|
StringName _proxgroup_add;
|
|
|
|
StringName _proxgroup_remove;
|
|
|
|
|
|
|
|
StringName grouped;
|
|
|
|
StringName ungrouped;
|
|
|
|
|
2021-05-15 21:48:59 +00:00
|
|
|
StringName _has_point;
|
|
|
|
StringName _get_drag_data;
|
|
|
|
StringName _can_drop_data;
|
|
|
|
StringName _drop_data;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
StringName screen_entered;
|
|
|
|
StringName screen_exited;
|
|
|
|
StringName viewport_entered;
|
|
|
|
StringName viewport_exited;
|
|
|
|
StringName camera_entered;
|
|
|
|
StringName camera_exited;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
StringName changed;
|
|
|
|
StringName _shader_changed;
|
|
|
|
|
|
|
|
StringName _spatial_editor_group;
|
|
|
|
StringName _request_gizmo;
|
2021-02-04 08:20:26 +00:00
|
|
|
StringName _set_subgizmo_selection;
|
2021-06-23 14:49:50 +00:00
|
|
|
StringName _clear_subgizmo_selection;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
StringName offset;
|
|
|
|
StringName unit_offset;
|
|
|
|
StringName rotation_mode;
|
2014-07-06 14:49:27 +00:00
|
|
|
StringName rotate;
|
2014-02-10 01:10:30 +00: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 03:51:08 +00:00
|
|
|
StringName area_entered;
|
|
|
|
StringName area_exited;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-13 15:45:27 +00:00
|
|
|
StringName _get_minimum_size;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2014-06-11 13:41:03 +00:00
|
|
|
StringName baked_light_changed;
|
|
|
|
StringName _baked_light_changed;
|
|
|
|
|
2014-09-15 14:33:30 +00:00
|
|
|
StringName _mouse_enter;
|
|
|
|
StringName _mouse_exit;
|
2021-03-26 17:39:05 +00:00
|
|
|
StringName _mouse_shape_enter;
|
|
|
|
StringName _mouse_shape_exit;
|
2014-09-15 14:33:30 +00:00
|
|
|
|
2014-12-07 05:04:20 +00:00
|
|
|
StringName frame_changed;
|
2021-06-12 04:44:38 +00:00
|
|
|
StringName texture_changed;
|
2014-09-15 14:33:30 +00:00
|
|
|
|
2015-06-29 03:29:49 +00:00
|
|
|
StringName playback_speed;
|
|
|
|
StringName playback_active;
|
|
|
|
StringName autoplay;
|
|
|
|
StringName blend_times;
|
|
|
|
StringName speed;
|
|
|
|
|
|
|
|
NodePath path_pp;
|
|
|
|
|
2016-05-15 02:48:23 +00:00
|
|
|
StringName _default;
|
2014-05-29 13:56:39 +00:00
|
|
|
|
2016-05-17 21:27:15 +00:00
|
|
|
StringName node_configuration_warning_changed;
|
|
|
|
|
2018-06-19 01:10:48 +00:00
|
|
|
StringName output;
|
|
|
|
|
2018-08-20 16:38:18 +00:00
|
|
|
StringName parameters_base_path;
|
|
|
|
|
2020-03-04 16:36:09 +00:00
|
|
|
StringName _window_group;
|
|
|
|
StringName _window_input;
|
|
|
|
StringName _window_unhandled_input;
|
2020-03-06 17:00:16 +00:00
|
|
|
StringName window_input;
|
2023-08-02 16:53:37 +00:00
|
|
|
StringName _get_contents_minimum_size;
|
2020-03-06 17:00:16 +00:00
|
|
|
|
|
|
|
StringName theme_changed;
|
2020-04-17 02:52:00 +00:00
|
|
|
StringName shader_overrides_group;
|
|
|
|
StringName shader_overrides_group_active;
|
2020-03-04 16:36:09 +00:00
|
|
|
|
2020-05-01 12:34:23 +00:00
|
|
|
#ifndef DISABLE_DEPRECATED
|
|
|
|
StringName use_in_baked_light;
|
|
|
|
StringName use_dynamic_gi;
|
|
|
|
#endif
|
2014-02-10 01:10:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SCENE_STRING_NAMES_H
|