Protected_Protected Optional_Protected_ReadonlyactionsThe actions of the selection, registered in viewer.actions while the plugin is added (a UI lists them, the app
changes their keys there). The edit keys (Mod+A, Mod+D, Mod+C, Mod+X, Mod+V) are letters, as in other apps: they
follow the printed key on any layout. The other keys are places on the keyboard (KeyboardEvent.code). Mod is Cmd
on a Mac and Ctrl on other platforms.
Duplicate offset mode:
simple: position/rotation/scale applied independently (Figma-style, straight lines)compound: full matrix delta (circular arrays, spirals)The keys of actions. Off: the actions have no keys (a UI still lists and runs them).
The UI of the plugin shows the settings of the selection: its uiConfig, its geometry and materials, and the Focus
button. Off: it shows only the picking settings, for an app that shows the selection in another place, like the
InspectorPlugin of @threepipe/plugin-tweakpane-editor (a uiConfig renders in one UI at a time).
Note: this is for runtime use only, not serialized
Note: this is for runtime use only, not serialized
Static ReadonlyOldStatic ReadonlyPluginProtected_Protected_Protected_Optionalprefix: stringProtected_Copy selected objects to internal clipboard. No scene mutation.
Cut selected objects to internal clipboard. No scene mutation.
Delete selected objects. Always shows a confirmation dialog.
Duplicate selected objects with smart offset support.
Optionalmode: DuplicateMode
override the duplicateMode setting for this operation
Optionalselected: Object3D<Object3DEventMap> | Object3D<Object3DEventMap>[] | nullFocus/zoom camera to fit the selected object(s). When multiple objects are selected, fits the camera to encompass all of them.
Optionalmeta: SerializationMetaTypePaste from internal clipboard.
Reset position, rotation, or scale of selected objects to identity. All resets are in local space and undoable.
Toggle visibility of selected objects based on primary selected object's state. If primary is visible → hide all selected. If primary is hidden → show all selected.
Optionalmeta: SerializationMetaTypeUnhide all hidden objects in the model root.
Base Class for Sync Viewer Plugins