unreal.PVFoliageParams¶
- class unreal.PVFoliageParams¶
Bases:
StructBasePVFoliage Params
C++ Source:
Plugin: ProceduralVegetationEditor
Module: ProceduralVegetation
File: PVGrowerParams.h
Editor Properties: (see get_editor_property/set_editor_property)
abscisic_acid(float): [Read-Write] Stress-driven random leaf shedding.Independent of ethylene. Each cycle, this fraction of leaves is randomly removed regardless of phyllotaxy. Use to simulate stressed plants (drought, salt) or to artistically thin the canopy.
auxin_retention(float): [Read-Write] High amounts of auxin counteracts the effect of ethylene-driven shedding.Higher = leaves cling longer despite ethylene buildup. Useful for plants where leaves persist through stress.
density(int32): [Read-Write] Leaf density multiplier.Higher = more leaves per branch point. Affects gravity load (heavier canopy = more sag) and light occlusion (denser canopy = more shade on lower branches).
development_time(float): [Read-Write] Fraction of total cycles for a leaf to reach full scale.0 = leaves spawn at EndScale immediately. 1 = leaves take all GrowthCycles to reach EndScale. Useful when modeling young saplings (low value) or simulating short summer-only growth (high value).
end_scale(float): [Read-Write] Final leaf scale once fully grown.Scale a leaf reaches once it has accumulated enough ethylene to be fully mature. Functions as the upper bounds for how large leaf can get during its life span.
ethylene_buildup(float): [Read-Write] How fast ethylene accumulates on each leaf per cycle.Higher = leaves drop sooner. Lower = leaves persist longer.
ethylene_threshold(float): [Read-Write] Ethylene level at which leaves drop.When per-leaf ethylene exceeds this value, the leaf is shed. Combine with EthyleneBuildup for the leaf-life cycle: high threshold + low buildup = long-lived leaves; vice versa for short-lived.
start_scale(float): [Read-Write] Initial leaf scale when a leaf spawns.Scale multiplier for a newly-spawned leaf, before ethylene-driven growth. Smaller = young leaves grow visibly over time. Combine with EndScale and DevelopmentTime for the growth curve.