Utilities¶
Purpose¶
Owns reusable camera helper logic for camera fitting and camera-related calculations.
This territory contains camera-domain utility methods that are useful across preview, capture, and editor workflows without owning those workflows directly.
Owns¶
- Camera fitting helpers
- Camera bounds calculations
- Reusable camera math utilities
- Camera-domain calculation helpers
Does NOT Own¶
- Preview camera lifecycle
- Rendering implementation
- Export workflow orchestration
- Panel UI
- Persistent camera settings
- Pipeline-specific camera behaviour
Allowed Dependencies¶
Utilities may depend on:
- Unity camera/math APIs
- Lightweight models/enums where required
Utilities should avoid depending on:
- Preview orchestration
- Rendering implementation
- Panel UI
- Export workflow systems
Notes¶
Utilities should remain focused, reusable, and stateless where possible.
They may calculate or apply narrow camera-domain behaviour, but should not become workflow coordinators.
Future Candidates¶
- Keep helpers small and camera-specific.
- Avoid turning Utilities into a dumping ground.
- Move logic out only if it becomes a real workflow service.