Threepipe Tweakpane Editor Plugin
    Preparing search index...

    Interface EditorCameraPluginEventMap

    interface EditorCameraPluginEventMap {
        deserialize: { data: ISerializedConfig; meta?: SerializationMetaType };
        editingChange: { editing: boolean };
        hotkeyChange: { hotkey: string };
        serialize: { data: ISerializedConfig };
        startViewChange: { camera: ICamera };
        startViewMovedChange: { moved: boolean };
        syncStartViewChange: { sync: boolean };
    }

    Hierarchy

    • AViewerPluginEventMap
      • EditorCameraPluginEventMap
    Index
    deserialize: { data: ISerializedConfig; meta?: SerializationMetaType }
    editingChange: { editing: boolean }

    The view changed between Edit (editing true: the editor camera) and View (the start view), or the plugin was turned off or on (disabled, enabled, added, removed; editing is false while it is off)

    hotkeyChange: { hotkey: string }

    The key of the switch changed (EditorCameraPlugin.hotkey, or its key in viewer.actions): a UI that shows the key (EditorCameraPlugin.shortcut) updates it

    serialize: { data: ISerializedConfig }
    startViewChange: { camera: ICamera }

    The saved start view (the pose of the scene's default camera) changed: a save, a sync, an undo, a load, or a change in the camera panel. With EditorCameraPlugin.syncStartView, it is sent on each frame of a move.

    startViewMovedChange: { moved: boolean }

    EditorCameraPlugin.startViewMoved changed: in View, the view was moved away from the start view, saved or put back

    syncStartViewChange: { sync: boolean }

    EditorCameraPlugin.syncStartView changed (in the code, a panel, a UI)