← Back to Docs
  • index.html
  • Clayground
  • Clayground.World
  • SceneLoaderBase
  • Clayground 2025.2
  • SceneLoaderBase QML Type

    Base scene loader for parsing SVG files into game entities. More...

    Import Statement: import Clayground.World
    Inherited By:

    SceneLoader3d

    Detailed Description

    SceneLoaderBase reads SVG files and creates game entities based on registered components. It supports async loading and emits signals for unhandled shapes.

    Properties

    Whether the loader is active.

    Path to the SVG file to load.

    If true, entities are created asynchronously.

    Array of created entities.

    The world to populate with entities.

    Map of component names to QML Components.

    True when all entities have been created.

    Signals

    Emitted when scene loading is complete.