Vegetation Sphere Struct - sk-zk/md155 GitHub Wiki

Structure

Field(s) Description
float3 center

The position of the sphere.

X is the position along the road in percent (so 0.75 means 3/4 of the way towards the forward node).

Y describes the Y position of the sphere in meters relative to the terrain height at the sphere's X/Z coordinates (so 1 means 1 meter above ground).

Z describes the position on the axis perpendicular to the road in meters (so 20 means 20 meters into the terrain at X).

float radius The radius of the sphere.
u32 type

The vegetation modifier to apply inside the sphere.
    1: No vegetation
    2: Low poly vegetation
    3: High poly vegetation

⚠️ **GitHub.com Fallback** ⚠️