pieView
Displays a pie view that shows the direction the current camera is pointing at.
If true
, it'll show the button & apply the default options.
If false
, it won't display the button.
You can also set detailed options by setting a object of type PieViewOptions.
Example
Below is an example of not displaying a pie view.
import { ControlBar } from "@egjs/view360";
new ControlBar({
pieView: false
})
Below is an example of not resetting the camera position when you click Pie View.
import { ControlBar } from "@egjs/view360";
new ControlBar({
pieView: {
resetCamera: false
}
})
Below is an example of a pie view displaying in a different location.
import { ControlBar } from "@egjs/view360";
new ControlBar({
pieView: {
position: ControlBar.POSITION.MAIN_RIGHT,
order: 0
}
})