TransRangeDesat
A custom translation range that maps to a desaturated colour gradient. See Translation for more info.
Inherits TransRange
All properties and functions of
Properties
Property | Type | Description |
---|---|---|
The red component of the starting colour (0.0 - 2.0 ) |
||
The green component of the starting colour (0.0 - 2.0 ) |
||
The blue component of the starting colour (0.0 - 2.0 ) |
||
The red component of the ending colour (0.0 - 2.0 ) |
||
The green component of the ending colour (0.0 - 2.0 ) |
||
The blue component of the ending colour (0.0 - 2.0 ) |
Constructors
No Constructors
This type can not be created directly in scripts.
See:
Functions
Overview
SetStartRGB
Sets the starting colour of the desaturated gradient.
Parameters
r (float ): Red component (0.0
-2.0
)g (float ): Green component (0.0
-2.0
)b (float ): Blue component (0.0
-2.0
)
SetEndRGB
Sets the ending colour of the desaturated gradient.
Parameters
r (float ): Red component (0.0
-2.0
)g (float ): Green component (0.0
-2.0
)b (float ): Blue component (0.0
-2.0
)