RandomColorRamp
Base Type: ColorRamp
A class that defines a random color ramp, where ramp is a list of randomly picked colors.
|
Property |
Type |
Description |
|---|---|---|
|
EndHue |
short |
The end hue (0-360). |
|
EndHueSpecified |
bool |
Indicates if EndHue is specified. |
|
MaxSaturation |
short |
The maximum saturation (0-100). |
|
MaxSaturationSpecified |
bool |
Indicates if MaxSaturation is specified. |
|
MaxValue |
short |
The maximum value (0-100). |
|
MaxValueSpecified |
bool |
Indicates if MaxValue is specified. |
|
MinSaturation |
short |
The minimum saturation (0-100). |
|
MinSaturationSpecified |
bool |
Indicates if MinSaturation is specified. |
|
MinValue |
short |
The minimum value (0-100). |
|
MinValueSpecified |
bool |
Indicates if MinValue is specified. |
|
NumColors |
int |
The number of colors that will be generated. |
|
NumColorsSpecified |
bool |
Indicates if NumColors is specified. |
|
Seed |
int |
The seed of the random number generator. |
|
SeedSpecified |
bool |
Indicates if SeedSpecified is specified. |
|
StartHue |
short |
The start hue (0-360). |
|
StartHueSpecified |
bool |
Indicates if StartHue is specified. |
|
UseSeed |
bool |
Indicates if a seed is used when the ramp is generated. Set this property to True without changing the Seed to generate identical color ramps in succession. |
|
UseSeedSpecified |
bool |
Indicates if UseSeed is specified. |
Remarks
Use this to create a set of colors that is randomly determined based on potential restrictions to the Hue, Saturation, and Value ranges.