set_view_target
Direct the active PIE session's player controller camera at a named actor, instantly or with a linear blend, to frame captures without spawning a camera manually.
Instructions
Point the active PIE session's PlayerController camera at an actor (APlayerController::SetViewTargetWithBlend). blend_time=0 cuts instantly; >0 blends linearly. PIE-gated: clean error if no PIE session. Frames captures without spawning a camera by hand.
Returns: { applied: bool, view_target: string, blend_time: float, pie_client_index: int, note?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blend_time | No | Optional number (default 0). Seconds to blend from the current view target. | |
| pie_client_index | No | Optional int (default 0). | |
| target_actor_name | Yes | Required. Name/label of the actor to view through (its camera/eyes) in the PIE world. |