unreal.DataprepSetMaxTextureSizeOperation

class unreal.DataprepSetMaxTextureSizeOperation(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: DataprepOperation

Set max size (width or height) each input texture

C++ Source:

  • Plugin: DataprepEditor

  • Module: DataprepLibraries

  • File: DataprepOperations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allow_padding (bool): [Read-Write] Allow Padding: If true, original texture size will be enforced to power of two before resizing (if it’s a non-power of two size), else only POT textures will be affected.

  • max_texture_size (int32): [Read-Write] Max Texture Size

property allow_padding: bool

[Read-Write] Allow Padding: If true, original texture size will be enforced to power of two before resizing (if it’s a non-power of two size), else only POT textures will be affected.

Type:

(bool)

property max_texture_size: int

[Read-Write] Max Texture Size

Type:

(int32)