unreal.PVSlopeParams¶
- class unreal.PVSlopeParams¶
Bases:
StructBasePVSlope Params
C++ Source:
Plugin: ProceduralVegetationEditor
Module: ProceduralVegetation
File: PVSlope.h
Editor Properties: (see get_editor_property/set_editor_property)
bend_strength(float): [Read-Write] How strongly the plant bends back toward vertical as it grows.0 = no bending (plant grows perpendicular to slope and stays angled). Higher values = aggressive uprighting.
slope_angle(float): [Read-Write] Slope angle in degrees (positive = uphill, negative = downhill).The angle of the ground the plant is growing on. 0 = flat. Positive = sloping up in the slope direction. Negative = sloping down.
slope_direction(float): [Read-Write] Compass direction of the slope’s downhill side.Heading angle of the slope’s downhill direction in degrees. 0 = north, 90 = east, -90 = west, ±180 = south.
trunk_pivot_point(PVSlopeTrunkPivotPoint): [Read-Write] Rotate around world origin or plant base (useful with multi seed plants)Origin = Pivot the ground rotation around the world origin. Trunk = Pivot the ground rotation around the plant base (does not move plant base).