clear_procedural_mesh
Empty one or all geometry sections of a UProceduralMeshComponent on an editor actor found by label, then rebuild its bounds and collision.
Instructions
Empty the geometry of one section, or drop every section, of a UProceduralMeshComponent on an editor-world actor found by label, then rebuild its bounds and collision. A single cleared section keeps its slot (remaining_sections unchanged); with section_index omitted or -1 all sections go. Transient: nothing is marked dirty, saved or undoable. A missing actor or component_index is an error, and so is a section_index past the end or below -1. remove_procedural_mesh_component deletes the component itself.
Returns: { actor_label: string, section_cleared: int, remaining_sections: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_label | Yes | Editor label of the actor carrying the PMC | |
| section_index | No | Optional 0-based section to empty; omit it, or pass -1, to drop all sections | |
| component_index | No | Optional 0-based PMC index on the actor; defaults to 0 |