CubemapProjectionOptions
Since version 4.0.0
Options for CubemapProjection
interface CubemapProjectionOptions extends ProjectionOptions
Extends
Properties
Whether to flip cubemap image horizontally.
Order of the cubemap images.
Source URL to panorama image/video.
Properties for the video element.
Setting false
will treat panorama source as an image, true
will use default properties.
Properties
cubemapFlipX
>=4.0.0
cubemapFlipXboolean
false
Whether to flip cubemap image horizontally.
cubemapOrder
>=4.0.0
cubemapOrderstring
"RLUDFB" (Right - Left - Up - Down - Front - Back)
Order of the cubemap images.
src
>=4.0.0
inheritedsrcstring | HTMLElement | (string | HTMLElement)[]
Source URL to panorama image/video.
video
>=4.0.0
inheritedvideoboolean | Partial<VideoConfig>
Properties for the video element.
Setting false
will treat panorama source as an image, true
will use default properties.
Example
Default properties
autoplay: true
muted: true
loop: false
volume: 1