Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Factories/TextureFactory.h |
Include |
#include "Factories/TextureFactory.h" |
class UTextureFactory :
public UFactory,
public IImportSettingsParser
Name | Description | ||
---|---|---|---|
|
AlphaCoverageThresholds |
Channel values to compare to when preserving alpha coverage from a mask. |
|
|
uint32: 1 |
bAlphaToEmissive |
If enabled, link the texture's alpha to the created material's emissive color |
|
uint32: 1 |
bAlphaToOpacity |
If enabled, link the texture's alpha to the created material's opacity |
|
uint32: 1 |
bAlphaToOpacityMask |
If enabled, link the texture's alpha to the created material's opacity mask |
|
uint32: 1 |
bAlphaToRoughness |
If enabled, link the texture's alpha to the created material's specular color |
|
uint32: 1 |
bCreateMaterial |
If enabled, a material will automatically be created for the texture |
|
uint32: 1 |
bDeferCompression |
If enabled, compression is deferred until the texture is saved |
|
uint32: 1 |
bDitherMipMapAlpha |
If enabled, mip-map alpha values will be dithered for smooth transitions |
|
uint32: 1 |
bFlipNormalMapGreenChannel |
If enabled, the texture's green channel will be inverted. This is useful for some normal maps |
|
TEnumAsByte< en... |
Blending |
The blend mode of the created material |
|
uint32: 1 |
bPreserveBorder |
If enabled, preserve the value of border pixels when creating mip-maps |
|
uint32: 1 |
bRGBToBaseColor |
If enabled, link the texture to the created material's base color |
|
uint32: 1 |
bRGBToEmissive |
If enabled, link the texture to the created material's emissive color |
|
uint32: 1 |
bTwoSided |
If enabled, the created material will be two-sided |
|
uint32: 1 |
bUseHashAsGuid |
If enabled, we are using the texture content hash as the guid. |
|
uint32: 1 |
bUsingExistingSettings |
If enabled, we are using the existing settings for a texture that already existed. |
|
TEnumAsByte< en... |
CompressionSettings |
Compression settings for the texture |
|
TEnumAsByte< en... |
LODGroup |
The group the texture belongs to |
|
TEnumAsByte< en... |
MipGenSettings |
The mip-map generation settings for the texture; Allows customization of the content of the mip-map chain |
|
uint32: 1 |
NoAlpha |
If enabled, the texture's alpha channel will be discarded during compression |
|
uint32: 1 |
NoCompression |
|
|
TEnumAsByte< en... |
ShadingModel |
The shading model of the created material |
|
UdimRegexPattern |
The pattern to use to match UDIM files to indices. |
Name | Description | |
---|---|---|
|
UTextureFactory ( |
|
|
UTextureFactory ( |
Name | Description | ||
---|---|---|---|
|
UTexture2D &... |
CreateTexture2D ( |
Create a texture given the appropriate input parameters |
|
UTexture2DAr... |
CreateTexture2DArray ( |
|
|
UTextureCube... |
CreateTextureCube ( |
|
|
FindCubeMapFace ( |
||
|
InitializeFromT3DTexture2DDataText ( |
||
|
InitializeFromT3DTextureCubeDataText ( |
||
|
InitializeFromT3DTextureDataText ( |
Initializes the given texture from the TextureData text block supplied. |
|
|
SuppressImportOverwriteDialog ( |
Suppresses the dialog box that, when importing over an existing texture, asks if the users wishes to overwrite its settings. |
Name | Description | ||
---|---|---|---|
|
DoesSupportClass ( |
||
|
FactoryCanImport ( |
Whether the specified file can be imported by this factory. |
|
|
UObject *... |
FactoryCreateBinary ( |
Create a new object by importing it from a binary buffer. |
|
IImportSetti... |
GetImportSettingsParser() |
Name | Description | ||
---|---|---|---|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
Name | Description | ||
---|---|---|---|
|
ParseFromJson ( |
IImportSettingsParser interface |
Name |
Description |
---|---|
bForceOverwriteExistingSettings |
Force overwriting the existing texture without the dialog box |
bSuppressImportOverwriteDialog |
This variable is static because in StaticImportObject() the type of the factory is not known. |