unreal.PVAgeSenescenceParams¶
- class unreal.PVAgeSenescenceParams¶
Bases:
StructBasePVAge Senescence Params
C++ Source:
Plugin: ProceduralVegetationEditor
Module: ProceduralVegetation
File: PVGrowerParams.h
Editor Properties: (see get_editor_property/set_editor_property)
degradation_amount(float): [Read-Write] How much a senescent branch weakens each cycle.Each cycle past SenescenceAge, the branch’s brittleness increases by this amount. Eventually the branch becomes more susceptible to break under gravity. Higher = faster weakening. 0 = no degradation (branch lingers indefinitely).
mode(PVAbscissionMode): [Read-Write] How aged branches are removed: Degrade (gradual) or Kill (instant).Degrade = the branch’s brittleness increases each cycle until a gravity break occurs (natural-looking). Kill = the branch is fully removed after the senescence delay (clean and predictable).
reset_on_resume_growth(bool): [Read-Write] Reset branch age when resuming growth from an input skeleton.When chaining Growers, this controls whether inherited branches start aging fresh (true) or continue from where they left off (false). Use false for true ‘resumed growth’; use true when chaining for stylistic effect without aging continuity.
retention_radius(float): [Read-Write] Fraction of expected radius that immunizes a branch from age-death.Same concept as Light Senescence’s RetentionRadius. Branches thicker than this fraction × expected radius survive past their senescence age.
senescence_age(int32): [Read-Write] Cycle age after which branches become vulnerable to age-abscission.Branches younger than this are immune. After this age, they enter the senescent state and are subject to DegradationAmount (Degrade mode) or SenescenceMin/Max countdown (Kill mode).
senescence_max(int32): [Read-Write] Maximum random range of cycles a senescent branch survives before removal.After SenescenceAge, a random duration between Min and Max is rolled per branch. The branch survives that many additional cycles, then is removed.
senescence_min(int32): [Read-Write] Minimum random range of cycles a senescent branch survives before removal.After SenescenceAge, a random duration between Min and Max is rolled per branch. The branch survives that many additional cycles, then is removed.