Class MissingNode
- Namespace
- Godot
- Assembly
- GodotSharp.dll
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.
Warning: 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.
public class MissingNode : Node, IDisposable
- Inheritance
-
MissingNode
- Implements
- Inherited Members
Constructors
MissingNode()
public MissingNode()
Properties
OriginalClass
The name of the class this node was supposed to be (see GetClass()).
public string OriginalClass { get; set; }
Property Value
OriginalScene
Returns the path of the scene this node was instance of originally.
public string OriginalScene { get; set; }
Property Value
RecordingProperties
If true, allows new properties to be set along with existing ones. If false, only existing properties' values can be set, and new properties cannot be added.
public bool RecordingProperties { get; set; }
Property Value
Methods
HasGodotClassMethod(in godot_string_name)
Check if the type contains a method with the given name. This method is used by Godot to check if a method exists before invoking it. Do not call or override this method.
protected override bool HasGodotClassMethod(in godot_string_name method)
Parameters
method
godot_string_nameName of the method to check for.
Returns
HasGodotClassSignal(in godot_string_name)
Check if the type contains a signal with the given name. This method is used by Godot to check if a signal exists before raising it. Do not call or override this method.
protected override bool HasGodotClassSignal(in godot_string_name signal)
Parameters
signal
godot_string_nameName of the signal to check for.
Returns
InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant)
Invokes the method with the given name, using the given arguments. This method is used by Godot to invoke methods from the engine side. Do not call or override this method.
protected override bool InvokeGodotClassMethod(in godot_string_name method, NativeVariantPtrArgs args, out godot_variant ret)
Parameters
method
godot_string_nameName of the method to invoke.
args
NativeVariantPtrArgsArguments to use with the invoked method.
ret
godot_variantValue returned by the invoked method.