Optionalcontainer: HTMLElement
the element that holds the panel while the plugin is added. Without it, the app puts
element in the page (in the editor frame: TweakpaneEditorPlugin.addPanel).
Protected_Protected Optional_Protected_Optional ReadonlycontainerReadonlyelementOff: the panel is hidden, and the enabledChange event tells the app (which can take it out of its place)
The Material tab shows a large live preview of the material. Off: only its head, which a click opens again.
The shape of the material preview: a sphere, a cube, or the selected mesh alone (mesh)
OptionaluiStaticAreaThe entry of the panel in the mode bar of the editor frame, for TweakpaneEditorPlugin.addPanel
StaticCardThe size in px of the previews in the material cards of the Object tab (twice the size on screen, for a sharp 2x screen)
StaticInjectAdd the CSS of the panel to the page when the first panel is made. Off: the app brings its own styles.
StaticLongThe time in ms of a touch on a setting that opens its menu (Reset to default)
Static Optional ReadonlyOldStatic ReadonlyPluginStaticPreviewThe size in px of the large preview of the material
Something is selected, and the inspector shows it
The open tab. A tab that the selection does not have opens when a selection has it.
Protected_Protected_Protected_Optionalprefix: stringOptionalmeta: SerializationMetaTypeCalled when enabled changes (and by enable / disable): shows or hides the panel, and sends enabledChange
Inspector Plugin
The settings of the selection of the PickingPlugin, like the inspector of Unity or the properties panel of Blender: a head with the name of the selection, tabs for its parts (Object, Material, Geometry; Texture for a selected texture), and the uiConfig of the open tab. A pick of another object keeps the open tab when the new selection has it.
Where the panel goes: in the
containergiven to the constructor, else the app puts element in the page. In the editor frame it is a panel in one of the three places, and the person can move it with the menu of its entry:On the
enabledChangeevent, the app takes the inspector out of its place or puts it back (editor.removePanel,editor.addPanel).