unreal.MaterialExpressionMeshPartitionChannelSample

class unreal.MaterialExpressionMeshPartitionChannelSample(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)

  • channel (Name): [Read-Write] The name of the channel sample by this expression

  • 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]

  • mesh_partition_definition (MeshPartitionDefinition): [Read-Write] The MeshPartition definition associated providing the list of channels

property channel: Name

[Read-Write] The name of the channel sample by this expression

Type:

(Name)

property mesh_partition_definition: MeshPartitionDefinition

[Read-Write] The MeshPartition definition associated providing the list of channels

Type:

(MeshPartitionDefinition)