58 static void _bind_methods();
61#ifndef DISABLE_DEBUG_RENDERING
62 friend _DD3D_PhysicsWatcher;
67 String root_settings_section;
68 const static char *s_initial_state;
69 const static char *s_manager_aliases;
70 const static char *s_dd2d_aliases;
71 const static char *s_dd3d_aliases;
73 double log_flush_time = 0;
74 bool debug_enabled =
true;
75 bool is_closing =
false;
76 bool is_current_scene_is_null =
true;
81 TypedArray<StringName> manager_aliases;
82 TypedArray<StringName> dd2d_aliases;
83 TypedArray<StringName> dd3d_aliases;
85 Node *_get_current_scene();
86 void _connect_scene_changed();
87 void _on_scene_changed(
bool p_is_scene_null);
89 void _integrate_into_engine();
91 void _register_singleton_aliases(
const TypedArray<StringName> &p_names, Object *p_instance);
92 void _unregister_singleton_aliases(
const TypedArray<StringName> &p_names);
95 void _try_to_update_cs_bindings();
101 enum DevTestEnum :
int {
107 static Object *default_arg_obj;
110 void api_test1(Variant, Object *,
bool,
int,
float, String, StringName, NodePath){};
111 void api_test2(Color, Vector2, Vector2i, Vector3, Vector3i, Vector4, Vector4i, Rect2, Rect2i){};
112 void api_test3(Transform2D, Transform3D, Plane, Quaternion, AABB, Basis, Projection){};
113 void api_test4(RID, Callable, Signal, Dictionary, Array){};
114 void api_test5(PackedByteArray, PackedInt32Array, PackedInt64Array, PackedFloat32Array, PackedFloat64Array, PackedStringArray, PackedVector2Array, PackedVector3Array, PackedColorArray){};
116 Variant api_test6(Object *, Variant, Variant,
bool,
int, DevTestEnum,
float, String, StringName, NodePath) {
return "test var"; };
117 Color api_test7(Color, Vector2, Vector2i, Vector3, Vector3i, Vector4, Vector4i, Rect2, Rect2i) {
return Color(4, 3, 2, 1); };
118 DevTestEnum api_test8(Transform2D, Transform3D, Plane, Quaternion, AABB, Basis, Projection) {
return (DevTestEnum)1; };
119 Object *api_test9(RID, Callable, Signal, Dictionary, Array) {
return this; };
120 void api_test10(PackedByteArray, PackedInt32Array, PackedInt64Array, PackedFloat32Array, PackedFloat64Array, PackedStringArray, PackedVector2Array, PackedVector3Array, PackedColorArray){};
127 static const char *s_extension_unloading;
139#pragma region Exposed Methods
160 void _process_start(
double p_delta);
162 virtual void _process(
double p_delta)
override;
164 void _physics_process_start(
double p_delta);
166 virtual void _physics_process(
double p_delta)
override;