CameraManipulator.kl

Types

CameraManipulator (object)

バージョン 1.14.0 で追加.

The CameraManipulator provides camera manpulations services for the Camera interface.

The CameraManipulator can only be used with standalone tools and cannot be used within the DCC Splice integrations.

Usage: - Hold the Left mouse button and drag with the mouse to cause camera orbiting. - Hold the Middle mouse button and drag with the mouse to cause camera panning. - Hold the Left mouse button, the Alt key, and drag with the mouse to cause camera dollying. - Use the mouse wheel to cause camera dollying.

参考

Camera

Members

Camera camera The camera that is the subject of this manipulator.
Scalar orbitRate The rate at which the mouse drag correlates to orbit velocity of the camera.
Scalar mouseWheelDollySpeed The factor at which mouse wheel actions are converted to dolly motion.

Methods

  CameraManipulator ( in Camera camera )
  CameraManipulator ( in CameraManipulator other )
  CameraManipulator ()
CameraManipulator clone ? ()
  dolly ! ( in Scalar delta )
  init ! ()
  onDisable ! ()
  onEnable ! ()
  onEvent ! ( io Event event )
  onEvent ! ( io KeyEvent keyEvent )
  onEvent ! ( io MouseEvent mouseEvent )
  onEvent ! ( io MouseWheelEvent mouseWheelEvent )
  orbit ! ( in Vec2 mouseDelta )
  pan ! ( in Vec2 mouseDelta, in Viewport viewport )
  setCamera ! ( in Camera camera )