OrbitControls_v3 Op

OrbitControls

rotate your object by clicking and dragging the mouse


Adds mouse-interactivity to your patch. After you added the OrbitControls-op you can rotate the viewport my dragging with the mouse and zoom in / out using the mouse wheel.

When upgrading from an old version: add +2 to your initial radius to get the same distance!


Full Name
  • Ops.Graphics.OrbitControls_v3
Visibility
  • Core Op - visible for everyone
License
  • MIT
AuthorgithubMaintained by Team


INPUT PORTS


render (Trigger)

Executes the op

Boundaries

min distance (Number)

Minimum distance to scroll in, once you hit that distance scrolling in has no effect

max distance (Number)
min rot y (Number)
max rot y (Number)

Initial Values

initial radius (Number)
initial axis y (Number)

The starting point from where to look at the scene in the y-axis

initial axis x (Number)

The starting point from where to look at the scene in the x-axis

Interaction

Smoothness (Number)
Speed X (Number)
Speed Y (Number)
Active (Number: boolean)
Allow Panning (Number: boolean)
Allow Zooming (Number: boolean)
Allow Rotation (Number: boolean)
restricted (Number: boolean)
Identity (Number: boolean)
Reset (Trigger)

OUTPUT PORTS


trigger (Trigger)

Triggers the next op

radius (Number)
Rot X (Number)
Rot Y (Number)

Changelog

Patches using OrbitControls_v3

  • Examples
  • Public
  • My Patches