unreal.PVGravityParams

class unreal.PVGravityParams

Bases: StructBase

PVGravity Params

C++ Source:

  • Plugin: ProceduralVegetationEditor

  • Module: ProceduralVegetation

  • File: PVGravity.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angle_correction (float): [Read-Write] Preserves the original branch angle during bending.

    Bias that resists over-bending by maintaining the original branching angle. Higher = branches keep more of their original orientation. 0 = full bend; 1 = no bend at all (overrides Gravity).

  • direction (Vector3f): [Read-Write] Direction vector for the gravity pull.

    World-space gravity direction. Default is straight down. Use custom directions for stylized effects (e.g. sideways wind-blown look).

  • gravity (float): [Read-Write] Strength of the gravity / phototropic effect.

    Higher values yield more pronounced curvature. 0 = no effect.

  • mode (GravityMode): [Read-Write] Gravity (downward pull) or Phototropic (growth toward light/up).

    Gravity = branches bend in the Direction vector (default downward). Phototropic = branches bend upward toward the sky.