Operator Reference

set_scene_3d_camera_poseT_set_scene_3d_camera_poseSetScene3dCameraPoseSetScene3dCameraPoseset_scene_3d_camera_pose (Operator)

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

set_scene_3d_camera_pose( : : Scene3D, CameraIndex, Pose : )

Herror T_set_scene_3d_camera_pose(const Htuple Scene3D, const Htuple CameraIndex, const Htuple Pose)

void SetScene3dCameraPose(const HTuple& Scene3D, const HTuple& CameraIndex, const HTuple& Pose)

void HScene3D::SetScene3dCameraPose(Hlong CameraIndex, const HPose& Pose) const

static void HOperatorSet.SetScene3dCameraPose(HTuple scene3D, HTuple cameraIndex, HTuple pose)

void HScene3D.SetScene3dCameraPose(int cameraIndex, HPose pose)

def set_scene_3d_camera_pose(scene_3d: HHandle, camera_index: int, pose: MaybeSequence[Union[float, int]]) -> None

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