Readonly
centerCurrent center screen coordinates and scale
Gets the static image XY coordinates of a screen coordinate
The relative image XY coordinates
The screen X coordinate in pixels
The screen Y coordinate in pixels
Use absolute browser window coordinates
Allow to go out of image bounds
Gets the static screen XY coordinates of an image coordinate
The screen XY coordinates in pixels
The image X coordinate
The image Y coordinate
Use absolute browser window coordinates
Get a custom matrix for 360 placed embeds
The resulting 4x4 matrix
The X coordinate
The Y coordinate
Optional
scale: numberThe object scale
Optional
radius: numberThe object radius (default 10)
Optional
rotX: numberThe object X rotation in radians
Optional
rotY: numberThe object Y rotation in radians
Optional
rotZ: numberThe object Z rotation in radians
Optional
transY: numberOptional Y translation in 3d space
Fly to a specific view
Promise when the animation is done
The viewport to fly to
Optional settings
Optional
duration?: numberA forced duration in ms of the animation
Optional
speed?: numberA non-default camera speed
Optional
progress?: numberSet the starting animation progress percentage
Optional
prevBase the progress override on this starting view
Optional
isZoom out and in during the animation
Optional
limit?: booleanLimit the target viewport
Fly to the specific coordinates
Promise when the animation is done
The X, Y and scale coordinates to fly to
A forced duration in ms of the animation
A non-default camera speed
Limit the camera to the image boundaries
Do a "jump" animation to the specific view
Promise when the animation is done
The viewport to fly to
A forced duration in ms of the animation
A non-default camera speed
Do a zooming animation
Promise when the zoom animation is done
The amount to zoom
A forced duration in ms of the animation
Screen pixel X-coordinate as zoom focus
Screen pixel Y-coordinate as zoom focus
A non-default camera speed
Can zoom outside of the image boundaries
Zoom out a factor
Promise when the zoom animation is done
The amount to zoom in
A forced duration in ms of the animation
A non-default camera speed
Zoom out a factor
Promise when the zoom animation is done
The amount to zoom out
A forced duration in ms of the animation
A non-default camera speed
Generated using TypeDoc
The virtual Micrio camera
Author
Marcel Duin [email protected]
Copyright
Q42 Internet BV, Micrio, 2015 - 2023
Link
https://micr.io/ , https://q42.nl/en/