|
| static bool | TEMP_SaveImageDataWrapper (string filePath, int width, int height, notnull array< int > data) |
| |
| static array< int > | GetImageDataBlackAndWhite (notnull array< float > greyscaleValues01) |
| |
| static array< int > | GetImageDataAlphaColour (notnull array< float > greyscaleValues01, Color colour=null) |
| |
| static bool | IncreaseResolution (notnull inout array< int > imageData, int width, int height, int factor) |
| | Increase resolution - each pixel will take factor × factor pixels, e.g 64×64 factor 4 = 256×256.
|
| |
| static bool | SaveImageDataToPNG (string filePath, int width, int height, notnull array< int > imageData) |
| |
◆ GetImageDataAlphaColour()
| static array< int > SCR_ImageHelper.GetImageDataAlphaColour |
( |
notnull array< float > | greyscaleValues01, |
|
|
Color | colour = null ) |
|
static |
- Parameters
-
| [in] | greyscaleValues01 | |
| [in] | color | if null, uses full white |
- Returns
◆ GetImageDataBlackAndWhite()
| static array< int > SCR_ImageHelper.GetImageDataBlackAndWhite |
( |
notnull array< float > | greyscaleValues01 | ) |
|
|
static |
- Parameters
-
- Returns
- int array of ARGB values
◆ GetTextureRawDataCallbackMethod()
| static void SCR_ImageHelper.GetTextureRawDataCallbackMethod |
( |
PixelRawData | data, |
|
|
int | imageWidth, |
|
|
int | imageHeight, |
|
|
int | stride ) |
|
staticprotected |
◆ IncreaseResolution()
| static bool SCR_ImageHelper.IncreaseResolution |
( |
notnull inout array< int > | imageData, |
|
|
int | width, |
|
|
int | height, |
|
|
int | factor ) |
|
static |
Increase resolution - each pixel will take factor × factor pixels, e.g 64×64 factor 4 = 256×256.
- Parameters
-
| [in,out] | imageData | |
| [in] | factor | |
- Returns
- true on success, false otherwise
◆ SaveImageDataToPNG()
| static bool SCR_ImageHelper.SaveImageDataToPNG |
( |
string | filePath, |
|
|
int | width, |
|
|
int | height, |
|
|
notnull array< int > | imageData ) |
|
static |
- Parameters
-
| [in] | filePath | |
| [in] | width | |
| [in] | height | |
| [in] | imageData | ARGB int raw pixels |
- Returns
- true on success, false otherwise
◆ TEMP_SaveImageDataWrapper()
| static bool SCR_ImageHelper.TEMP_SaveImageDataWrapper |
( |
string | filePath, |
|
|
int | width, |
|
|
int | height, |
|
|
notnull array< int > | data ) |
|
static |
- Parameters
-
| [in] | filePath | |
| [in] | width | |
| [in] | height | |
| [in] | data | in ARGB format (0xAARRGGBB, e.g 0xFF0000FF for blue) |
- Returns
- true on success, false otherwise
◆ DDS_DOTTED_EXTENSION
| const string SCR_ImageHelper.DDS_DOTTED_EXTENSION = ".dds" |
|
staticprotected |
◆ DEFAULT_FILE_PATH
| const string SCR_ImageHelper.DEFAULT_FILE_PATH = "image.png" |
|
staticprotected |
◆ EDDS_DOTTED_EXTENSION
| const string SCR_ImageHelper.EDDS_DOTTED_EXTENSION = ".edds" |
|
staticprotected |
◆ META_DOTTED_EXTENSION
| const string SCR_ImageHelper.META_DOTTED_EXTENSION = ".meta" |
|
staticprotected |
◆ PNG_DOTTED_EXTENSION
| const string SCR_ImageHelper.PNG_DOTTED_EXTENSION = ".png" |
|
staticprotected |
◆ s_sImageFilePath
| string SCR_ImageHelper.s_sImageFilePath |
|
staticprotected |
The documentation for this interface was generated from the following file:
- WorkbenchGame/WorldEditor/Helpers/SCR_ImageHelper.c