get_foliage_instance_count
Count how many instances of a specific Unreal Engine foliage type are placed across a level's InstancedFoliageActors, useful to verify scatter placements or removals.
Instructions
Count how many instances of one FoliageType are placed across the level's InstancedFoliageActors. The cheapest oracle for "did that scatter place anything / did the removal clear it" -- one number, no transform payload. Use get_foliage_in_radius when you need WHERE they are, has_foliage_instances for a plain yes/no.
Returns: { foliage_type_path: string, foliage_type: string, instance_count: int, placed_instance_count: int, foliage_actor_count: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| foliage_type_path | Yes | Full path of the UFoliageType asset |