unreal.PVDistributionConditionParams

class unreal.PVDistributionConditionParams

Bases: StructBase

PVDistribution Condition Params

C++ Source:

  • Plugin: ProceduralVegetationEditor

  • Module: ProceduralVegetation

  • File: PVDistributionParams.h

Editor Properties: (see get_editor_property/set_editor_property)

  • activate_generation (bool): [Read-Write] Enable Generation as a placement filter.

    When on, exposes the Generation influence with Weight and Offset fields.

  • activate_health (bool): [Read-Write] Enable Health as a placement filter.

    When on, exposes the Health influence with Weight and Offset fields.

  • activate_height (bool): [Read-Write] Enable Height as a placement filter.

    When on, exposes the Height influence with Weight and Offset fields.

  • activate_light (bool): [Read-Write] Enable Light as a placement filter.

    When on, exposes the Light influence with Weight and Offset fields.

  • activate_scale (bool): [Read-Write] Enable Scale as a placement filter.

    When on, exposes the Scale influence with Weight and Offset fields.

  • activate_tip (bool): [Read-Write] Enable Tip as a placement filter.

    When on, exposes the Tip influence with Weight and Offset fields.

  • activate_up_alignment (bool): [Read-Write] Enable UpAlignment as a placement filter.

    When on, exposes the UpAlignment influence with Weight and Offset fields.

  • cutoff_threshold (float): [Read-Write] Minimum combined condition score required for placement.

    Each active condition contributes a 0-1 score; scores are combined (weighted) and compared to this threshold. Instances below the threshold are skipped. Higher = stricter filtering; lower = more permissive.

  • generation (PVDistributionConditionInfluence): [Read-Write] Generation influence configuration: Weight + Offset.

  • health (PVDistributionConditionInfluence): [Read-Write] Health influence configuration: Weight + Offset.

  • height (PVDistributionConditionInfluence): [Read-Write] Height influence configuration: Weight + Offset.

  • light (PVDistributionConditionInfluence): [Read-Write] Light influence configuration: Weight + Offset.

  • minimum_candidates (int32): [Read-Write] Minimum instances to place per branch regardless of conditions.

    Safety net: even if conditions reject everything, this many instances are considered viable candidates on each branch. Prevents bare branches when filtering is too aggressive.

  • scale (PVDistributionConditionInfluence): [Read-Write] Scale influence configuration: Weight + Offset.

  • tip (PVDistributionConditionInfluence): [Read-Write] Tip influence configuration: Weight + Offset.

  • up_alignment (PVDistributionConditionInfluence): [Read-Write] UpAlignment influence configuration: Weight + Offset.