Skip to main content

Interface: SkyTexture

Defined in: webxr-environment/src/environment.ts:77

An authored sky: an equirectangular image wrapped around the world.

src is a STRING the adapter resolves, and that is the whole of this package's involvement with asset loading. three.js has its loaders, IWSDK has AssetManager and a DomeTexture component that takes a path; neither needs this package to fetch anything, and a portable asset layer is a different problem than a portable environment.

Properties

PropertyModifierTypeDescriptionDefined in
blur?readonlynumber0..1 softening, for a sky used as a backdrop rather than a subject.webxr-environment/src/environment.ts:85
intensity?readonlynumberBrightness multiplier. Default 1.webxr-environment/src/environment.ts:81
kindreadonly"texture"-webxr-environment/src/environment.ts:78
rotationY?readonlynumberSpin about the vertical axis, radians. Default 0.webxr-environment/src/environment.ts:83
srcreadonlystring-webxr-environment/src/environment.ts:79