unreal.MaterialExpressionMeshPartitionChannelSampleIndex

class unreal.MaterialExpressionMeshPartitionChannelSampleIndex(outer: Object | None = None, name: Name | str = 'None')

Bases: MaterialExpression

Core MeshPartition expression allowing to sample one of the channels at a texcoord location

C++ Source:

  • Plugin: MeshPartition

  • Module: MeshPartitionEditor

  • File: MeshPartitionMaterialExpressionUtils.h

Editor Properties: (see get_editor_property/set_editor_property)

  • const_channel_index (int32): [Read-Write] only used if A is not hooked up

  • desc (str): [Read-Write] A description that level designers can add (shows in the material editor UI).

  • material_expression_editor_x (int32): [Read-Write]

  • material_expression_editor_y (int32): [Read-Write]