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.
This node can be used to create an Entity via editor. Under the hood an Entity is just an ID.
- Dictionary __component_data
Default | {} |
- void add_component ( StringName component_name, Dictionary values={} )
- int clone ( Object world ) |const|
- Variant get_component_value ( StringName component, StringName property ) |const|
- int get_entity_id ( ) |const|
- bool has_component ( StringName component_name ) |const|
- void remove_component ( StringName component_name )
- bool set_component_value ( StringName component, StringName property, Variant value )