CTPatchEx
An extended composite texture patch, with extra properties for use in ZDoom's TEXTURES lump.
Inherits CTPatch
All properties and functions of
Constants
Name | Value |
---|---|
TYPE_PATCH |
0 |
TYPE_GRAPHIC |
1 |
BLENDTYPE_NONE |
0 |
BLENDTYPE_TRANSLATION |
1 |
BLENDTYPE_BLEND |
2 |
BLENDTYPE_TINT |
3 |
Properties
Property | Type | Description |
---|---|---|
If true , the patch will be flipped horizontally |
||
If true , the patch will be flipped vertically |
||
If true , the patch graphic's offsets will be used in addition to the |
||
The rotation of the patch in degrees. Only supports right angles (0, 90, 180, 270) | ||
The blend colour to use. Only applicable if Blend or Tint |
||
The translucency of the patch, from 0.0 (invisible) to 1.0 (opaque) | ||
The style of translucency to use, if |
||
The type of colour blend to use for this patch (see BLENDTYPE_ constants). This combines the Translation and Blend properties for ZDoom TEXTURES patches, since they are mutually exclusive. If the blend type is set to BLENDTYPE_TINT , the alpha value of |
||
The colour translation to use if Translation |
Constructors
No Constructors
This type can not be created directly in scripts.
See:
Functions
Overview
AsText
Gets the ZDoom TEXTURES format text definition for this patch.
Returns
string : A text representation of the patch