unreal.TextureFactory
¶
- class unreal.TextureFactory(outer=None, name='None')¶
Bases:
unreal.Factory
Texture Factory
C++ Source:
Module: UnrealEd
File: TextureFactory.h
Editor Properties: (see get_editor_property/set_editor_property)
alpha_coverage_thresholds
(Vector4): [Read-Write] Alpha Coverage Thresholds: Channel values to compare to when preserving alpha coverage from a mask for mipsalpha_to_emissive
(bool): [Read-Write] Alpha to Emissive: If enabled, link the texture’s alpha to the created material’s emissive coloralpha_to_opacity
(bool): [Read-Write] Alpha to Opacity: If enabled, link the texture’s alpha to the created material’s opacityalpha_to_opacity_mask
(bool): [Read-Write] Alpha to Opacity Mask: If enabled, link the texture’s alpha to the created material’s opacity maskalpha_to_roughness
(bool): [Read-Write] Alpha to Roughness: If enabled, link the texture’s alpha to the created material’s roughnessasset_import_task
(AssetImportTask): [Read-Write] Asset Import Task: Task for importing file via script interfacesautomated_import_data
(AutomatedAssetImportData): [Read-Write] Automated Import Data: Data for how to import files via the automated command line importing interfaceblending
(BlendMode): [Read-Write] Blending: The blend mode of the created materialcompression_settings
(TextureCompressionSettings): [Read-Write] Compression Settings: Compression settings for the texturecontext_class
(type(Class)): [Read-Write] Context Class: Class of the context object used to help create the object.create_material
(bool): [Read-Write] Create Material: If enabled, a material will automatically be created for the texturecreate_new
(bool): [Read-Write] Create New: The default value to return from CanCreateNew()defer_compression
(bool): [Read-Write] Defer Compression: If enabled, compression is deferred until the texture is saveddither_mip_map_alpha
(bool): [Read-Write] Dither Mip Map Alpha: If enabled, mip-map alpha values will be dithered for smooth transitionsdo_scale_mips_for_alpha_coverage
(bool): [Read-Write] Do Scale Mips for Alpha Coverage: Whether mip RGBA should be scaled to preserve the number of pixels with Value >= AlphaCoverageThresholdsedit_after_new
(bool): [Read-Write] Edit After New: true if the associated editor should be opened after creating a new object.editor_import
(bool): [Read-Write] Editor Import: true if the factory imports objects from files.flip_normal_map_green_channel
(bool): [Read-Write] Flip Normal Map Green Channel: If enabled, the texture’s green channel will be inverted. This is useful for some normal mapsformats
(Array(str)): [Read-Write] Formats: List of formats supported by the factory. Each entry is of the form “ext;Description” where ext is the file extension.lod_group
(TextureGroup): [Read-Write] LODGroup: The group the texture belongs tomip_gen_settings
(TextureMipGenSettings): [Read-Write] Mip Gen Settings: The mip-map generation settings for the texture; Allows customization of the content of the mip-map chainno_alpha
(bool): [Read-Write] No Alpha: If enabled, the texture’s alpha channel will be discarded during compressionpreserve_border
(bool): [Read-Write] Preserve Border: If enabled, preserve the value of border pixels when creating mip-mapsrgb_to_base_color
(bool): [Read-Write] RGBTo Base Color: If enabled, link the texture to the created material’s base colorrgb_to_emissive
(bool): [Read-Write] RGBTo Emissive: If enabled, link the texture to the created material’s emissive colorshading_model
(MaterialShadingModel): [Read-Write] Shading Model: The shading model of the created materialsupported_class
(type(Class)): [Read-Write] Supported Class: The class manufactured by this factory.text
(bool): [Read-Write] Text: true if the factory imports objects from text.two_sided
(bool): [Read-Write] Two Sided: If enabled, the created material will be two-sided