class_Entity - reeseschultz/godex GitHub Wiki

This file is automatically generated. To make changes, please edit the corresponding XML file in the doc_classes/ folder instead.

Entity

This node can be used to create an Entity via editor. Under the hood an Entity is just an ID.

Properties

Methods

Property Descriptions

  • Dictionary __component_data
Default {}

Method Descriptions

  • void add_component ( StringName component_name, Dictionary values={} )

  • int clone ( Object world ) |const|

  • Variant get_component_value ( StringName component, StringName property ) |const|


  • bool has_component ( StringName component_name ) |const|

  • void remove_component ( StringName component_name )

  • bool set_component_value ( StringName component, StringName property, Variant value )
⚠️ **GitHub.com Fallback** ⚠️