add_instanced_mesh_add_instance_node
Add an AddInstance node to a Blueprint's Instanced Static Mesh component, enabling procedural placement of mesh instances at specified transforms.
Instructions
Add an AddInstance node for an Instanced Static Mesh component.
From Ch. 19: The core of procedural generation. AddInstance takes an Instance Transform (Location, Rotation, Scale) and adds a new mesh instance at that transform. Called in loops to batch-create many instances.
Args: blueprint_name: Blueprint to add the node to instanced_mesh_variable: Instanced Static Mesh component variable name node_position: [X, Y] graph position
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: add_instanced_mesh_add_instance_node(blueprint_name="/Game/MCP_Test/BP_Example")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"blueprint_name": "<blueprint_name>"
},
"name": "add_instanced_mesh_add_instance_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_position | No | ||
| blueprint_name | Yes | ||
| instanced_mesh_variable | No | InstancedStaticMesh |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |