-
Notifications
You must be signed in to change notification settings - Fork 68
class_WorldECS
GodexBot edited this page Feb 8, 2021
·
1 revision
This file is automatically generated. To make changes, please edit the corresponding XML file in the doc_classes/ folder instead.
Scripting API: Please edit XML with descriptions.
- StringName active_pipeline
Default | @"" |
Setter | set_active_pipeline(value) |
Getter | get_active_pipeline() |
- Dictionary system_dispatchers_map
Default | {} |
Setter | set_system_dispatchers_map(value) |
Getter | get_system_dispatchers_map() |
- void add_component ( int component_id, int data, Dictionary arg2 )
Add a component to an Entity of this world.
func _ready():
add_component(ECS.TransformComponent, 0)
- void add_component_by_name ( int component_name, StringName data, Dictionary arg2 )
Add a component to an Entity of this world, by name.
func _ready():
add_component("TransformComponent", 0)
- void add_pipeline ( PipelineECS pipeline )
- int create_entity ( )
- int create_entity_from_prefab ( Object entity_node )
- void destroy_entity ( int entity_id )
- Object get_databag ( int databag_name )
- Object get_databag_by_name ( StringName databag_name )
- Object get_entity_component ( int entity_id, int component_id )
- Object get_entity_component_by_name ( int entity_id, StringName component_name )
- bool has_entity_component ( int entity_id, int component_id )
- bool has_entity_component_by_name ( int entity_id, StringName component_name )
- void remove_component ( int component_id, int data )
- void remove_component_by_name ( int component_name, StringName data )
- void remove_pipeline ( PipelineECS pipeline )
- void set_system_dispatchers_pipeline ( StringName arg0, StringName arg1 )
Community & Support
- Open an issue
- Join the Discord Community
- Start a new discussion
- Home
- Getting Started
- Concepts
- Godot & Godex communication
- Godex Importer
- Bullet Physics Engine
- Classes
Support
Useful links