clear_ism_instances
Remove all instances from an InstancedStaticMeshComponent while keeping the component, resetting a scatter before re-running it. Returns the post-clear instance count, expected to be 0.
Instructions
Wipe ALL instances from an InstancedStaticMeshComponent in one call (the component itself stays). Use it to reset a scatter before re-running it, rather than looping remove_ism_instance. Returns the post-clear num_instances, which should be 0.
Returns: { cleared: bool, num_instances: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_name | Yes | Display label or internal name of the actor carrying the ISM component (required) | |
| component_name | No | Optional ISM component name |