Installation
Usage
usePanoData to true to derive the visible range from cropped panorama data.
Configuration
Visible horizontal range as a two-element array of angles (radians or degree strings). Not updatable after init — use
setHorizontalRange() instead.Visible vertical range as a two-element array of angles (radians or degree strings). Not updatable after init — use
setVerticalRange() instead.Immediately apply the cropped panorama data as the visible range after each panorama load. Updatable.
Methods
setHorizontalRange(range) / setVerticalRange(range)
Update or remove a range at runtime. Pass null to remove the restriction.
setRangesFromPanoData()
Derive and apply both ranges from the current panorama’s crop data. Equivalent to calling usePanoData: true after a panorama load.