Skip to content

Mappers

Purpose

Owns mapping workflows between Unity Light components and serialized lighting settings models.

This territory converts runtime/editor light state into reusable data models without owning persistence or rendering behaviour.

Owns

  • Light-to-settings mapping
  • Lighting serialization preparation
  • Lighting data extraction workflows

Does NOT Own

  • Lighting persistence
  • Rendering implementation
  • Preview orchestration
  • Export workflows
  • Panel UI

Allowed Dependencies

Mappers may depend on:

  • Lighting models
  • Unity lighting APIs

Mappers should avoid depending on:

  • persistence services
  • rendering systems
  • preview orchestration systems

Notes

Mappers should remain lightweight translation layers between: - live light state - serialized/editor configuration models

They should not absorb workflow logic or persistence ownership.

Future Candidates

  • Keep mapping systems lightweight and stateless.
  • Avoid embedding workflow orchestration into mapping helpers.