unreal.ProjectModifierWeightEntry

class unreal.ProjectModifierWeightEntry

Bases: StructBase

Project Modifier Weight Entry

C++ Source:

  • Plugin: MeshPartition

  • Module: MeshPartition

  • File: MeshPartitionProjectModifierTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • apply_height_min_max_blend (bool): [Read-Write] Only relevant when Raise or Lower blend mode is used for positions. When true, the weights are not applied in

    areas where the position data was ignored due to being above/below the current values in Raise/Lower blend mode.

  • blend_mode (ProjectModifierBlendMode): [Read-Write]

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

  • falloff_overrides (Optional[ProjectModifierFalloffSettings]): [Read-Write] If set, the falloff settings for attributes will be different from the falloff settings used for positions

  • height_min_max_blend_distance (double): [Read-Write] When using “Apply Height Min Max Blend,” this parameter sets the range of heights across which the weights will blend. If this parameter is equal to softness parameter, then heights blended by the softness parameter will also have their weights linearly blended.

  • source_mode (ProjectModifierChannelSourceMode): [Read-Write] Determines where the values to write are acquired.

  • source_weight_channel_name (Name): [Read-Write] Vertex color channel name to use for the source data

  • vertex_color_index (int32): [Read-Write] Which channel of a vertex color to use as source data (0 through 3 for RGBA)