Specialized components
World editor
13 min
overview the world editor is a comprehensive component of the ir engine that provides a complete environment for creating and modifying 3d virtual worlds it enables users to import, arrange, and configure various assets within scenes through an intuitive interface by leveraging the entity component system (ecs) architecture and providing visual tools for manipulation and scripting, this component empowers creators to build complex interactive environments without extensive programming knowledge this documentation explores the architecture, features, and workflows of the world editor core components the world editor consists of several key components that work together to provide a complete editing experience editor panels and ui structure the user interface is organized into specialized panels that provide focused tools for specific tasks can be arranged and resized according to user preference include viewport, hierarchy, inspector, and other specialized panels support keyboard shortcuts and context menus for efficient workflows integrate with the underlying editor systems these panels create an intuitive and customizable editing environment asset handling and pipeline the asset management system handles importing and processing various asset types (models, textures, etc ) organizing assets in a browsable library previewing assets before use dragging and dropping assets into scenes managing asset metadata and properties this system streamlines the use of external resources in world creation scene operations and gltf management the scene management system enables creating, opening, and saving scene files managing the hierarchy of entities in the scene importing and exporting gltf models configuring scene wide settings and properties supporting undo/redo for scene modifications this system forms the core of the world building process entity component system integration the ecs integration provides a component based architecture for entity definition visual editing of component properties runtime behavior definition through components hierarchical organization of entities serialization and deserialization of entity data this integration connects the editor to the underlying engine architecture gizmos the gizmo system offers visual tools for manipulating objects in 3d space transform controls (move, rotate, scale) camera manipulation tools visual feedback for selections and operations customizable behavior for different editing contexts these tools enable precise control over objects in the scene visual scripting system the visual scripting integration provides node based programming interface visual representation of logic and data flow integration with the entity component system custom node creation and management script debugging and testing capabilities this system enables non programmers to create complex behaviors editor control functions the control functions handle user input processing command execution and routing tool state management selection and manipulation operations keyboard and mouse interaction these functions create a responsive and intuitive editing experience modal dialog management the modal dialog system provides focused interaction for important decisions standardized interface for user input blocking of background interaction when necessary consistent appearance and behavior across the editor support for various dialog types (confirmation, input, settings) this system ensures clear communication with users during critical operations editor state management the state management system using hyperflux maintains the current state of the editor provides reactivity for ui updates manages selection, tool modes, and editor preferences coordinates between different editor systems enables undo/redo functionality this system creates a cohesive and responsive editing environment documentation chapters editor panels and ui structure docid 0uf7lzbarit0tkpseuiloasset handling and pipeline docid\ jeqmbwfdvdv8ap1i9ya5fscene operations and gltf management docid\ h8xem1tx0z6jvy4diooj5entity component system integration docid\ fflzngptppkps0z6obxi gizmos docid\ ytyi0ifpnqxbjwb6ymjnlvisual scripting system docid\ gbz5litd5invam5xhovieeditor control functions docid 9sqkzef8j2gm rco9 wd modal dialog management docid\ xvquiahh8maso6ucv4jifeditor state management docid\ esvjl9vdjqwnfsengowho