Loading...
Searching...
No Matches
realvirtual.MeshToolsWindow Class Reference
Tabbed editor window combining Correct Pivots and Mesh Separator tools. More...
Inheritance diagram for realvirtual.MeshToolsWindow:
Classes | |
| class | PivotCorrectionInfo |
Detailed Description
Tabbed editor window combining Correct Pivots and Mesh Separator tools.
The Mesh Tools window consolidates mesh-related editor utilities into a single tabbed interface. Tab 1 – Correct Pivots: scans a hierarchy for MeshFilters whose mesh bounds center is offset from the local origin, then offsets the vertices and compensates the transform so world positions remain unchanged. Full Undo support. Tab 2 – Mesh Separator: separates combined meshes into individual disconnected mesh islands, or merges child meshes into one combined mesh.
Key Features:
- Correct Pivots: batch-correct off-center CAD pivots with world-position preservation
- Shared mesh deduplication (dictionary cache avoids duplicate clones)
- MeshCollider update when collider references the corrected mesh
- Full Undo group (Ctrl+Z reverts entire batch)
- Mesh Separator with color-coded island preview in Scene view
- All context menu entries preserved (Separate Mesh, Merge Child Meshes)
For detailed documentation see: https://doc.realvirtual.io/components-and-scripts/tools/mesh-separator