Click or drag to resize

ObjectSetMeta Method

Adds, changes or removes a given entry in the object's metadata. Metadata are serialized and can take any Variant value.

To remove a given entry from the object's metadata, use RemoveMeta(String). Metadata is also removed if its value is set to null. This means you can also use set_meta("name", null) to remove metadata for "name".

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetMeta(
	string name,
	Object value
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.Object.SetMeta(System.String,System.Object)"]

value
Type: SystemObject

[Missing <param name="value"/> documentation for "M:Godot.Object.SetMeta(System.String,System.Object)"]

See Also