ForestCliffEvaluator.CliffPoint
A struct in Root.Township, Alta.Forests.
A sample point along a cliff found during forest generation, stepped along each cliff path at a fixed spacing.
- Listed in World generation
- Nested in
ForestCliffEvaluator
Constructors
| Member | What it is |
|---|---|
CliffPoint(List<Path> cliff, int pathIndex, Vector3 point, Vector2 direction, float height, float ray) | Creates a ForestCliffEvaluator.CliffPoint from cliff, pathIndex, point, direction, height and ray. |
Fields
| Member | What it is |
|---|---|
List<Path> cliff | The chain of paths that make up this cliff. |
Vector2 direction | Flat direction facing out from the cliff at this point. |
float height | Height drop of the cliff at this point. |
int pathIndex | Index of the path in cliff this point lies on. |
Vector3 position | World position of the sample. |
float ray | Horizontal width of the cliff slope at this point. |
Used in
Members of other types that take, return or hold a CliffPoint: