Skip to main content

CubestripProjectionOptions

Since version 4.0.0
interface CubestripProjectionOptions 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
cubemapFlipX

boolean

false

Whether to flip cubemap image horizontally.

cubemapOrder

>=4.0.0
cubemapOrder

string

"RLUDFB" (Right - Left - Up - Down - Front - Back)

Order of the cubemap images.

src

>=4.0.0
inherited
src

string | HTMLElement | (string | HTMLElement)[]

Source URL to panorama image/video.

video

>=4.0.0
inherited
video

boolean | 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