get_landscape_spline_control_point
Read one landscape spline control point by index to get local location, rotation, half-width, falloff, and connected segment count. Use it to inspect road or river point placement.
Instructions
Read ONE landscape spline control point by index: its landscape-local location and rotation, half-width, side/end falloff, and how many segments connect to it. The per-point reader that pairs with set_landscape_spline_control_point; get_landscape_splines only gives component-level counts, so this is the only way to see where a road or river point actually sits. connected_segment_count = 0 marks a dangling point that draws nothing.
Returns: { landscape_name: string, control_point_index: int, control_point_count: int, location: [number], rotation: [number], width: number, side_falloff: number, end_falloff: number, connected_segment_count: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| landscape_name | No | Optional landscape actor name, defaults to first found | |
| control_point_index | Yes | Index into the splines component's ControlPoints (required) |