Input¶
Purpose¶
Owns preview interaction input handling for the live preview environment.
This territory is responsible for translating editor mouse interaction into preview camera movement, prefab rotation, zooming, and interaction state changes.
Owns¶
- Preview mouse interaction handling
- Drag/orbit interaction workflows
- Rotation input coordination
- Camera orbit interaction
- Scroll-wheel zoom behaviour
- Preview interaction state tracking
Does NOT Own¶
- Rendering implementation
- Camera fitting logic
- Export workflows
- Editor panel UI
- Preview scene lifecycle ownership
- Persistent input preferences
Allowed Dependencies¶
Input may depend on:
- Preview facades
- Rotation abstractions
- Bounds utilities
- Unity editor event systems
Input should avoid: - rendering implementation dependencies - export orchestration dependencies - panel-specific UI logic
Notes¶
This folder exists to isolate preview interaction behaviour from preview orchestration and rendering systems.
Input systems should focus on: - interpreting editor interaction - updating preview-facing state - routing interaction intent
They should not become: - rendering coordinators - scene lifecycle managers - general-purpose editor workflow systems
The goal is predictable and self-contained preview interaction behaviour.
Future Candidates¶
- Continue separating interaction behaviour from rendering and scene lifecycle logic.
- Avoid pushing panel/UI concerns into preview input handling.
- Keep input systems lightweight and interaction-focused.