unreal.PVParametricPhyllotaxySettings

class unreal.PVParametricPhyllotaxySettings

Bases: StructBase

PVParametric Phyllotaxy Settings

C++ Source:

  • Plugin: ProceduralVegetationEditor

  • Module: ProceduralVegetation

  • File: PVDistributionParams.h

Editor Properties: (see get_editor_property/set_editor_property)

  • maximum_node_buds (int32): [Read-Write] Maximum buds per node for Whorled phyllotaxy.

    Caps the number of instances spawned at each node. Use in unison with MinimumNodeBuds to set upper and lower bounds.

  • minimum_node_buds (int32): [Read-Write] Minimum buds per node for Whorled phyllotaxy.

    Sets the lower bound on instances at each node. Guarantees at least this many. Should be ≤ MaximumNodeBuds.

  • phyllotaxy_additional_angle (float): [Read-Write] Extra rotation added to each node’s phyllotaxy angle.

    Adds to the base angle picked by PhyllotaxyType/PhyllotaxyFormation. Use to break perfect regularity, or for Parastichous patterns where base = 0°.

  • phyllotaxy_formation (PhyllotaxyFormation): [Read-Write] Spiral sub-formation angle.

    This is the number of branches that occur in a full 360° revolve. E.g. Distichous is two and by extension; Distichous (180°), Tristichous (120°), Pentastichous (144°), Octastichous (135°), Parastichous (0°).

  • phyllotaxy_offset (float): [Read-Write] Initial rotation of the phyllotaxy pattern.

    Phase-shifts the entire pattern. Useful when the default rotation doesn’t align with how your scene’s other plants look.

  • phyllotaxy_type (PhyllotaxyType): [Read-Write] Foliage arrangement pattern around the stem.

    Alternate (180° flip), Opposite (paired), Whorled (3+ at same node), Spiral (continuous rotation).

  • reset_phyllotaxy (bool): [Read-Write] Restart the phyllotaxy pattern at each branch.

    When enabled, each branch’s foliage starts the phyllotaxy pattern from rotation 0 in relation to the branch up direction. When disabled the rotation is inherited from the parent and carried over to the branches.

  • single_bud_tip (bool): [Read-Write] Place a single foliage instance at each branch tip.

    When enabled, the branch tip gets exactly one foliage instance. When disabled, the tip gets the same Min/Max bud count as other nodes.