unreal.SculptLayerModifierWeightAttributeEntry

class unreal.SculptLayerModifierWeightAttributeEntry

Bases: StructBase

Sculpt Layer Modifier Weight Attribute Entry

C++ Source:

  • Plugin: MeshPartition

  • Module: MeshPartitionEditor

  • File: MeshPartitionProjectSculptLayersModifier.h

Editor Properties: (see get_editor_property/set_editor_property)

  • blend_weight (float): [Read-Write] Scale the effect of the modifier on this channel. Note that for an internal channel, this directly scales the channel values.

  • channel_name (ChannelName): [Read-Write] The destination attribute channel to write.

  • clamp_range (bool): [Read-Write] Whether to clamp the channel weights to the zero-to-one range

  • internal_channel (bool): [Read-Write] Whether to isolate this weight channel to this modifier – and not read/write from the target mesh. For example, use this to define a channel that is solely used for scaling sculpt layers on this modifier.

  • method (SculptLayerSetWeightChannelMethod): [Read-Write] How to apply weight channel values. Note that for an internal channel, Set and Add are equivalent.

  • scale_sculpt_layers (bool): [Read-Write] Whether to use the channel weights to scale the displacement applied by sculpt layers