TransRange
A single 'part' of a custom
Derived Types
The following types inherit all
Constants
Name | Value |
---|---|
TYPE_PALETTE |
0 |
TYPE_COLOUR |
1 |
TYPE_DESAT |
2 |
TYPE_BLEND |
3 |
TYPE_TINT |
4 |
TYPE_SPECIAL |
5 |
Properties
Property | Type | Description |
---|---|---|
The type of translation for this range (see TYPE_ constants) |
||
The first palette index of the range (0 - 255 ) |
||
The last palette index of the range (0 - 255 ) |
Constructors
No Constructors
This type can not be created directly in scripts.
See:
Functions
Overview
General
Derived Type Casts
AsText
Gets the text definition for this translation range (in ZDoom format).
string : A text representation of the translation range
AsPaletteRange
Casts to a
TransRangePalette : The range as a 'palette' type range, ornil
if it is not that type
AsColourRange
Casts to a
TransRangeColour : The range as a 'colour' type range, ornil
if it is not that type
AsDesatRange
Casts to a
TransRangeDesat : The range as a 'desat' type range, ornil
if it is not that type
AsBlendRange
Casts to a
TransRangeBlend : The range as a 'blend' type range, ornil
if it is not that type
AsTintRange
Casts to a
TransRangeTint : The range as a 'tint' type range, ornil
if it is not that type
AsSpecialRange
Casts to a
TransRangeSpecial : The range as a 'special' type range, ornil
if it is not that type