OptionalfovField of a view angle in degrees.
OptionalmodeCamera control mode: 'fps' for first-person or 'orbit' for orbital rotation around pivot.
OptionalpositionCamera position in 3D world space.
OptionalrestrictionsMin/max constraints applied to camera movement, zoom, and rotation.
OptionalrotationCamera rotation angles in degrees.
Payload for the SetCamera command describing the desired camera state in the Unreal scene. All fields are optional — only the provided values will be applied.
What does it unlock?
Defines the payload structure for camera commands. Contains camera-related parameters passed to SetCamera command.
Practical Application
Read-only interface defining camera parameters: fov (degrees), mode ('orbit'|'fps'), position ({x,y,z}), rotation ({horizontal: yaw, vertical: pitch}), and restrictions (distance/FOV/rotation limits). Both returned by getCameraResult event and accepted by SetCamera.
AI Coding Best Practices
This interface is bidirectional — returned from GetCamera and accepted by SetCamera. Capture a camera state via getCameraResult and replay it with SetCamera(payload). Only include restriction fields you want to enforce; omitted values keep current settings. In orbit mode, distance limits are relative to the orbit pivot.