The start view UI of the EditorCameraPlugin: a pill at the top centre of the canvas, in the style of the
PerfPanelPlugin pill, that names the camera ("Editor camera" or "Scene camera", with a camera icon: grey in Edit,
blue in View, green in View with EditorCameraPlugin.syncStartView; an amber corner when a move in View is not
saved) and shows the key of EditorCameraPlugin.hotkey, and a frame around the canvas in View. The pill and
the frame are hidden while the plugin is disabled.
A card under the pill opens on hover (a moment on the pill or the card, with a mouse), on a tap on a touch screen or
on keyboard focus, and stays open until a press outside it or Escape. It shows:
a picture of the saved start view (what visitors see first). A click on it looks through the start view (View); in
View after a move, it goes back to it (EditorCameraPlugin.resetStartView). The picture is taken from the
canvas when the view shows the saved start view (EditorCameraPlugin.showsStartView): after a load, in View
before a move, after a save, a sync or "Set as start view".
The start view UI of the EditorCameraPlugin: a pill at the top centre of the canvas, in the style of the
PerfPanelPluginpill, that names the camera ("Editor camera" or "Scene camera", with a camera icon: grey in Edit, blue in View, green in View with EditorCameraPlugin.syncStartView; an amber corner when a move in View is not saved) and shows the key of EditorCameraPlugin.hotkey, and a frame around the canvas in View. The pill and the frame are hidden while the plugin is disabled.A card under the pill opens on hover (a moment on the pill or the card, with a mouse), on a tap on a touch screen or on keyboard focus, and stays open until a press outside it or Escape. It shows:
The
TweakpaneEditorPluginadds it while the plugin is added to its viewer. Each call adds its own style element.