MTSpacePreset
public enum MTSpacePreset : String, Sendable, Codable, CaseIterable
Predefined cubemap presets for space backgrounds.
-
Dark blue hsl(210, 100%, 4%) background and white stars (transparent background image). Space color changes the background color, stars always stay white.
Declaration
Swift
case space -
(default): Black background (image mask), space color changes the stars color, background always stays black.
Declaration
Swift
case stars -
Black half-transparent background with standard milkyway and stars. Space color changes the stars and milkyway color, background always stays black.
Declaration
Swift
case milkyway -
Black half-transparent background with subtle milkyway and less stars. Space color changes the stars and milkyway color, background always stays black. Black half-transparent background with standard milkyway and stars. Space color changes the stars and milkyway color, background always stays black.
Declaration
Swift
case milkywaySubtle = "milkyway-subtle" -
Black half-transparent background with bright milkyway and more stars. Space color changes the stars and milkyway color, background always stays black.
Declaration
Swift
case milkywayBright = "milkyway-bright" -
Full background image with natural space colors. Space color doesn’t change anything (non transparent image).
Declaration
Swift
case milkywayColored = "milkyway-colored"