MCPcopy Create free account

hub / github.com/yomotsu/camera-controls / functions

Functions111 in github.com/yomotsu/camera-controls

MethodrotatePolarTo
* Rotate polar angle(vertical) to the given angle and keep the same azimuthal angle(horizontal) target. * * e.g. * ``` * cameraControls.rotate
src/CameraControls.ts:1589
MethodsaveState
* Set current camera position as the default position. * @category Methods
src/CameraControls.ts:2581
MethodsetBoundary
* Set the boundary box that encloses the target of the camera. box3 is in THREE.Box3 * @param box3 * @category Methods
src/CameraControls.ts:2369
MethodsetOrbitPoint
* Set orbit point without moving the camera. * SHOULD NOT RUN DURING ANIMATIONS. `setOrbitPoint()` will immediately fix the positions. * @param ta
src/CameraControls.ts:2341
MethodsetTarget
* Set the target position where gaze at. * An alias of `setLookAt()`, without position change. Thus keep the same position. * @param targetX * @
src/CameraControls.ts:2291
MethodsetViewport
* Set (or unset) the current viewport. * Set this when you want to use renderer viewport and .dollyToCursor feature at the same time. * @param vie
src/CameraControls.ts:2396
MethodstartDragging
( event?: PointerEvent )
src/CameraControls.ts:865
Methodstop
* stop all transitions.
src/CameraControls.ts:2529
MethodtoJSON
* Get all state in JSON string * @category Methods
src/CameraControls.ts:2919
MethodverticalDragToForward
* @deprecated Use `cameraControls.mouseButtons.left = CameraControls.ACTION.SCREEN_PAN` instead.
src/CameraControls.ts:440
Methodzoom
* Zoom in/out camera. The value is added to camera zoom. * Limits set with `.minZoom` and `.maxZoom` * @param zoomStep zoom scale * @param enabl
src/CameraControls.ts:1757
← previous101–111 of 111, ranked by callers