Module dagon.graphics.world

Provides the World class and related entity group classes for managing collections of entities in a scene.

Description

The World class stores entities, manages their root transformation, and provides various entity groups for efficient queries based on entity type (such as spatial, opaque, transparent, background, foreground, lights, decals, and probes). The MultiWorld class allows hierarchical composition of multiple worlds. Entity group classes implement filtering and iteration for specific entity types or properties.

Classes

NameDescription
EntityGroupAreaLights Entity group for area and spot lights.
EntityGroupBackground Entity group for background entities.
EntityGroupDecals Entity group for decal entities.
EntityGroupForeground Entity group for foreground entities.
EntityGroupLights Entity group for all light entities.
EntityGroupProbes Entity group for probe entities.
EntityGroupSpatial Entity group for spatial entities (excluding decals and probes).
EntityGroupSpatialOpaque Entity group for opaque spatial entities (static or dynamic).
EntityGroupSpatialTransparent Entity group for transparent spatial entities.
EntityGroupSunLights Entity group for sun (directional) lights.
MultiWorld A world that can contain multiple sub-worlds. Allows hierarchical composition of worlds for complex scenes.
World Stores entities and provides entity groups for organization and queries.