ColorRamp
Description
- Derived from
-
ColorRampBase abstract
This class represents a color ramp.
A color ramp consists of one or more color ramp slots; each slot holds an X-coordinate and a color value.
Public / Constants
Earth
A color ramp for Earth with intuitive colors.
Use ellipsoid/geoid heights as input for the color ramp: -1000m .. 8000m.
Mars
A rainbow color ramp for Mars.
Use areoid heights as input for the color ramp: -7500m .. 15000m.
- See also
Moon
A rainbow color ramp for the Moon.
Use reference sphere heights as input for the color ramp: -9000m .. 10000m.
- See also
Outline
Default color ramp for outlines.
The outline color ramp looks like this:
X | Y ---+------------------ -1 | opaque white 0 | opaque gray +1 | transparent gray
- See also
Planet
A rainbow color ramp for a planet.
Use normalized heights as input for the color ramp: -1 .. +1.
- See also
Public / Constructors
ForInterior
Creates a color ramp with two colors for interior rendering.
The returned color ramps contains two colors:
X | Y ---+-------- 0 | inside +1 | outside
where outside
is the same color as inside opt with its alpha channel set to zero.