Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/yomotsu/camera-controls
/ functions
Functions
111 in github.com/yomotsu/camera-controls
⨍
Functions
111
◇
Types & classes
15
Method
rotatePolarTo
* Rotate polar angle(vertical) to the given angle and keep the same azimuthal angle(horizontal) target. * * e.g. * ``` * cameraControls.rotate
src/CameraControls.ts:1589
Method
saveState
* Set current camera position as the default position. * @category Methods
src/CameraControls.ts:2581
Method
setBoundary
* Set the boundary box that encloses the target of the camera. box3 is in THREE.Box3 * @param box3 * @category Methods
src/CameraControls.ts:2369
Method
setOrbitPoint
* Set orbit point without moving the camera. * SHOULD NOT RUN DURING ANIMATIONS. `setOrbitPoint()` will immediately fix the positions. * @param ta
src/CameraControls.ts:2341
Method
setTarget
* 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
Method
setViewport
* 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
Method
startDragging
( event?: PointerEvent )
src/CameraControls.ts:865
Method
stop
* stop all transitions.
src/CameraControls.ts:2529
Method
toJSON
* Get all state in JSON string * @category Methods
src/CameraControls.ts:2919
Method
verticalDragToForward
* @deprecated Use `cameraControls.mouseButtons.left = CameraControls.ACTION.SCREEN_PAN` instead.
src/CameraControls.ts:440
Method
zoom
* 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
← previous
101–111 of 111, ranked by callers