add_get_spline_length_node
Add a GetSplineLength node to a Blueprint to retrieve total spline length, enabling instance count calculations along the spline at specified spacing.
Instructions
Add a GetSplineLength node to get the total length of a Spline.
From Ch. 19: Used in the CalculateNumberOfInstances macro to determine how many instances fit along the spline at a given spacing.
Args: blueprint_name: Blueprint containing the Spline component spline_component_variable: Spline component reference name node_position: [X, Y] graph position
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: add_get_spline_length_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_position | No | ||
| blueprint_name | Yes | ||
| spline_component_variable | No | Spline |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |