set_cine_camera_focus
Set the focus method, manual distance, and smoothing on a camera actor found by name or label; other focus fields reset to defaults, and read-back values are returned.
Instructions
Replace the focus settings of the CineCameraComponent on an editor-world actor found by name or label: method, manual focus distance and smoothing; other focus fields, including the tracked actor, reset to defaults. Returns the read-back focus_method and focus_distance; no undo, nothing saved.
Returns: { camera_actor_name: string, focus_method: string, focus_distance: number, success: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| focus_method | Yes | Focus method — one of "Manual", "Tracking", or "Disable". | |
| focus_distance | No | Manual focus distance in cm (optional, default 1000.0) | |
| smoothing_speed | No | Focus smoothing interpolation speed; 0 disables smoothing (optional, default 4.0) | |
| camera_actor_name | Yes | Name or label of the CineCameraActor to modify. |