SkyDome class final
An inside-out sphere, which is a sky the camera sits at the centre of.
Small on purpose — see the library docstring: a large one is eaten by the fog. Ten metres clears any sensible near plane and is far short of any sensible far plane, so it neither clips at the eye nor sorts oddly.
rings and segments decide how smooth the gradient is, and smooth is all they buy: the colour is per vertex, so a coarse dome gives visible bands exactly where the gradient changes fastest.
Constructors
Properties
Methods
-
build(
{VertexLayout layout = VertexLayout.standard}) → MeshData -
Generates the geometry for the requested
layout.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited