unreal.InterchangeTexture2DNode

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

Bases: unreal.InterchangeTextureNode

ns UE

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeNodes

  • File: InterchangeTexture2DNode.h

clear_source_blocks_data() None

Remove the source block data from texture node This is a easy way to stop a texture from being imported as a UDIM

get_source_blocks()

Get the source blocks for the texture If the map is empty then the texture will be simply be imported as normal texture using the payload key

Return type

Map(int32, str)

set_source_blocks(source_blocks) None

Set the source blocks Using this will force the texture factory to consider this texture as UDIM.

Parameters

source_blocks (Map(int32, str)) – The blocks and their source image that compose the whole texture. The textures must be of the same format and use the same pixel format The first block inserted in the map be used to determine the accepted texture format and pixel format