unreal.DataprepSetMaxTextureSizeOperation

class unreal.DataprepSetMaxTextureSizeOperation(outer=None, name='None')

Bases: unreal.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] 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

[Read-Write] 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

[Read-Write] Max Texture Size

Type

(int32)