Entity assembly class that is instantiated by a FuncGodotMap node.
#Signals
Signal
Description
declarestep
Emitted when a step in the entity assembly process is completed. It is connected to FuncGodotUtil's print_profile_info() method if the FuncGodotMap's Show Profiling Info build flag is set.
#Methods
Method
Description
Return type
getscriptbyclassname(nameofclass: String)
Attempts to retrieve a script via class name, to allow for GDScript class instantiation.
Script
generategroupnode(groupdata: GroupData)
Generates a Node3D for a group's SceneTree representation and links the new Node3D to that group.
Generates and assembles a new Node based upon processed entity data. Depending upon provided data, additional MeshInstance3D, CollisionShape3D, and OccluderInstance3D nodes may also be generated.
Converts the String values of the entity data's properties Dictionary to various Variant formats based upon the entity definition's class properties, then attempts to send those properties to a funcgodotproperties Dictionary and an applyfuncgodotproperties() method on the node. A deferred call to buildcomplete() is also made.
Main entity assembly process called by the map node. Generates and sorts group nodes in the SceneTree first. Then generates and assembles nodes based upon the provided entity data and adds them to the SceneTree.