add_instanced_static_mesh_component
Add an Instanced Static Mesh component to a Blueprint, enabling efficient rendering of many mesh copies for procedural generation and environment population.
Instructions
Add an Instanced Static Mesh component to a Blueprint.
From Ch. 19: The Instanced Static Mesh (ISM) component is optimized to render many copies of the same mesh efficiently. It's the core tool for procedural generation and environment population.
Note: There is also HISM (Hierarchical ISM) for meshes with LOD.
Args: blueprint_name: Blueprint to add the component to component_name: Component name in the Components panel static_mesh_path: Static Mesh asset to assign (can be set later) attach_to_root: Attach to root component (True) or as child
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: add_instanced_static_mesh_component(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attach_to_root | No | ||
| blueprint_name | Yes | ||
| component_name | No | InstancedStaticMesh | |
| static_mesh_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |