mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00

Allows connecting unknown signals to MissingNode so they aren't lost when the Node type is missing.
26 lines
1.8 KiB
XML
26 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="MissingNode" inherits="Node" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
An internal editor class intended for keeping the data of unrecognized nodes.
|
|
</brief_description>
|
|
<description>
|
|
This is an internal editor class intended for keeping data of nodes of unknown type (most likely this type was supplied by an extension that is no longer loaded). It can't be manually instantiated or placed in a scene.
|
|
[b]Warning:[/b] Ignore missing nodes unless you know what you are doing. Existing properties on a missing node can be freely modified in code, regardless of the type they are intended to be.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="original_class" type="String" setter="set_original_class" getter="get_original_class">
|
|
The name of the class this node was supposed to be (see [method Object.get_class]).
|
|
</member>
|
|
<member name="original_scene" type="String" setter="set_original_scene" getter="get_original_scene">
|
|
Returns the path of the scene this node was instance of originally.
|
|
</member>
|
|
<member name="recording_properties" type="bool" setter="set_recording_properties" getter="is_recording_properties">
|
|
If [code]true[/code], allows new properties to be set along with existing ones. If [code]false[/code], only existing properties' values can be set, and new properties cannot be added.
|
|
</member>
|
|
<member name="recording_signals" type="bool" setter="set_recording_signals" getter="is_recording_signals">
|
|
If [code]true[/code], allows new signals to be connected to along with existing ones. If [code]false[/code], only existing signals can be connected to, and new signals cannot be added.
|
|
</member>
|
|
</members>
|
|
</class>
|