set_scene_3d_camera_poseT_set_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPoseset_scene_3d_camera_pose (Operator)
Name
set_scene_3d_camera_poseT_set_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPoseset_scene_3d_camera_pose
— Set the pose of a camera in a 3D scene.
Signature
Description
set_scene_3d_camera_poseset_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPoseset_scene_3d_camera_pose
sets the PosePosePoseposepose
of the camera
CameraIndexCameraIndexCameraIndexcameraIndexcamera_index
in the 3D scene Scene3DScene3DScene3Dscene3Dscene_3d
.
See create_scene_3dcreate_scene_3dCreateScene3dCreateScene3dcreate_scene_3d
for more details on the coordinate systems used
in 3D scenes.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
Scene3DScene3DScene3Dscene3Dscene_3d
(input_control) scene_3d →
HScene3D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the 3D scene.
CameraIndexCameraIndexCameraIndexcameraIndexcamera_index
(input_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Index of the camera.
PosePosePoseposepose
(input_control) pose →
HPose, HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
New pose of the camera.
Result
set_scene_3d_camera_poseset_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPoseset_scene_3d_camera_pose
returns 2 (
H_MSG_TRUE)
if all parameters are
correct. If necessary, an exception is raised.
Possible Predecessors
add_scene_3d_cameraadd_scene_3d_cameraAddScene3dCameraAddScene3dCameraadd_scene_3d_camera
See also
set_scene_3d_to_world_poseset_scene_3d_to_world_poseSetScene3dToWorldPoseSetScene3dToWorldPoseset_scene_3d_to_world_pose
,
set_scene_3d_instance_poseset_scene_3d_instance_poseSetScene3dInstancePoseSetScene3dInstancePoseset_scene_3d_instance_pose
Module
3D Metrology