camera_frame
Frames the scene or given camera to the scene's bounding box or a supplied one.
arguments
- "apply_to_camera" : Boolean (default: false)
When true and a camera that exists on the server is used, the new camera transform is applied to that camera.
- "bounding_box" : Bbox3 (default: null)
The bounding box used to frame the camera. If this is supplied it is used instead of the scene's bounding box.
- "bounding_box_fit" : Float64 (default: 1.2)
Scales the bounding box for a closer or further fitted frame.
- "camera_details" : CameraDetails (default: null)
Defines a custom camera to be framed.
- "camera_instance" : String (default: null)
The name of the camera instance. If 'camera_name' is not defined the camera which this instance is linked to will be used.
- "camera_name" : String (default: null)
The name of the camera.
- "preserve_orientation" : Boolean (default: true)
When true the camera will keep pointing in the same direction, if false it will rotate to look at the bounding box center.
- "scene_name" : String (default: null)
The name of the scene. This will use the main camera, camera_instance and bounding box of this scene.