Constructs a new SkyGradientTexture
.
Initial GradientSky configuration.
MapView's projection type.
Optional height parameter.
SkyGradientTexture
's texture resource (simple texture or cubemap depending on
MapView's projection).
Disposes allocated resources.
This method updates the position of the texture depending on the camera frustum.
The camera used in the map view.
Updates the SkyGradientTexture
with new parameters.
Generated using TypeDoc
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, andgroundColor
fills the bottom hemisphere..