unreal.ImageWriteOptions
¶
-
class
unreal.
ImageWriteOptions
(format=DesiredImageFormat.EXR, on_complete=<unreal.OnImageWriteComplete object>, compression_quality=0, overwrite_file=True, async_=True)¶ Bases:
unreal.StructBase
Options specific to writing image files to disk
C++ Source:
Module: ImageWriteQueue
File: ImageWriteBlueprintLibrary.h
Editor Properties: (see get_editor_property/set_editor_property)
async_
(bool): [Read-Write] Whether to perform the writing asynchronously, or to block the game thread until it is completecompression_quality
(int32): [Read-Write] An image format specific compression setting. Either 0 (Default) or 1 (Uncompressed) for EXRs, or a value between 0 and 100.format
(DesiredImageFormat): [Read-Write] The desired output image format to write to diskon_complete
(OnImageWriteComplete): [Read-Write] A callback to invoke when the image has been written, or there was an erroroverwrite_file
(bool): [Read-Write] Whether to overwrite the image if it already exists
-
property
async_
¶ [Read-Write] Whether to perform the writing asynchronously, or to block the game thread until it is complete
- Type
(bool)
-
property
compression_quality
¶ [Read-Write] An image format specific compression setting. Either 0 (Default) or 1 (Uncompressed) for EXRs, or a value between 0 and 100.
- Type
(int32)
-
property
format
¶ [Read-Write] The desired output image format to write to disk
- Type
-
property
on_complete
¶ [Read-Write] A callback to invoke when the image has been written, or there was an error
- Type