unreal.CustomizableObjectPopulationConstraint

class unreal.CustomizableObjectPopulationConstraint

Bases: StructBase

Customizable Object Population Constraint

C++ Source:

  • Plugin: Mutable

  • Module: CustomizableObjectPopulation

  • File: CustomizableObjectPopulationConstraint.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allowlist (Array[str]): [Read-Write] List of tags that force a parameter

  • blocklist (Array[str]): [Read-Write] List of tags that exclude a parameter

  • constraint_weight (int32): [Read-Write] Integer used to decide which constraint to apply when multiple constraints are used for the same characteristic

  • curve (CurveBase): [Read-Write] Curve Constraint

  • curve_color (CurveColor): [Read-Write]

  • discrete_color (LinearColor): [Read-Write] Color chosen *

  • discrete_value (str): [Read-Write] Name of the int parameter option chosen

  • false_weight (int32): [Read-Write]

  • ranges (Array[ConstraintRanges]): [Read-Write] Ranges Constraint

  • true_weight (int32): [Read-Write] Bool Constraint (Zero to only one of them if we want to force one option.Can’t contain two zeroes)

  • type (PopulationConstraintType): [Read-Write]