API ReferenceGE Extensionseditor
Tool Manager
Centralized module for cross-tool removal of TSStatic meshes placed by spline tools - cleans up mesh and assembly spline objects when the editor is activated.
Centralized module for cross-tool removal of TSStatic meshes placed by spline tools - cleans up mesh and assembly spline objects when the editor is activated.
Public API
| Function | Signature | Description |
|---|---|---|
M.removeAllSplineToolMeshes | () | Removes all TSStatic meshes from mesh spline and assembly spline tools. Returns true if any were removed. |
M.onEditorActivated | () | Removes all spline tool meshes and reloads collision if needed |
Dependencies
| Module | Purpose |
|---|---|
editor/meshSpline/splineMgr | Mesh spline management |
editor/meshSpline/populate | Mesh spline TSStatic removal |
editor/assemblySpline/splineMgr | Assembly spline management |
editor/assemblySpline/populate | Assembly spline TSStatic removal |
Notes
- Called automatically when editor is activated to ensure clean state
- Only reloads collision (
be:reloadCollision()) if meshes were actually removed
See Also
- Editor AI Tests - Related reference
- Editor AI Visualization - Related reference
- Editor – Assembly Spline Tool - Related reference
- World Editor Guide - Guide