SceneViewCameraManipulator#

class omni.kit.manipulator.camera.SceneViewCameraManipulator(center_of_interest, *args, **kwargs)#

Bases: CameraManipulatorBase

A simple camera manipulator for controlling the camera’s center of interest to omni.ui.scene view.

Methods

__init__(center_of_interest, *args, **kwargs)

Constructor.

on_model_updated(item)

Called whenever the model changes.

Attributes

__init__(
center_of_interest,
*args,
**kwargs,
)#

Constructor.

Parameters:

center_of_interest (Gf.Vec3d) – Set the center of interest for the camera

on_model_updated(item)#

Called whenever the model changes.

Parameters:

item (omni.ui.scene.AbstractManipulatorItem) – Identify which item in the model has changed.