OptionaldefaultDefault color of unselected edges
OptionaldefaultDefault color of unselected faces
OptionaldefaultDefault color of unselected vertices
OptionaledgeWidth of edge lines in pixels
OptionaleditCurrent edit sub-mode. When provided, component is controlled.
OptionaleditorExternal editor instance for controlled mode. When provided, the component uses this editor instead of creating its own. This is useful for accessing editor methods like extrudeFace from parent components.
The Three.js BufferGeometry to edit (modified by reference)
OptionalhoverColor of hovered elements
OptionalmodeCurrent editor mode. When provided, component is controlled.
OptionalonCallback fired when edit mode changes (for controlled usage)
OptionalonCallback fired when geometry vertices are modified
OptionalonCallback fired when mode changes (for controlled usage)
OptionaloutlineColor of the selection outline (defaults to selectedColor)
OptionaloutlineThickness of the selection outline
OptionaloverlayColor of the mesh overlay in edit mode
OptionalrenderRender function for custom edge controls. Supports translation, rotation, and scale.
OptionalrenderRender function for custom face controls. Supports translation, rotation, and scale.
OptionalrenderRender function for custom vertex controls. For vertices, only translation makes sense (no rotation/scale).
OptionalselectedWhether the object is selected (shows outline in object mode)
OptionalselectedColor of selected elements
OptionalshowWhether to show the selection outline
OptionaltransparentOpacity of semi-transparent elements
OptionalvertexSize of vertex handle cubes in world units
OptionalwireframeColor of the wireframe in edit mode
Props for the MeshEditor component.