Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SkyGradientTexture

Class tha generates a texture containing a linear gradient, to be used with SkyBackground.

The gradient is mapped onto a sphere, where topColor maps to the top of the upper hemisphere, bottomColor to the bottom of the upper hemisphere, and groundColor fills the bottom hemisphere..

Hierarchy

  • SkyGradientTexture

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

texture

  • get texture(): Texture

Methods

dispose

  • dispose(): void

update

  • update(camera: Camera): void

updateTexture

Generated using TypeDoc