# Placement contraint parameters for foliages

### Slope

Slope is based on the DotProduct between the normal of the ground, and the up vector can capped between 0 and 1. This allow to contraint the generation to only be on planar surface or only on cliff sides.

### Humidity & Temperature

The temperature and Humidity also influences the generation of foliage. This allow to contraint the generations of foliages to the humidity and temperature data you generated in the noise.

### Spawn in Water

If true, force the foliage to spawn insode water body (if the ocean height is lower than land height). else it force spawn the foliage outside of water body.

### Allign to Surface and Ground Influence.

Allign to surface force the foliage to allign with the normal of the ground, Ground influence customise how much the folaige is alligned to the ground surface, the value is randomised between the min and max values.

*For now, random rotation is not compatible with align to surface*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://iolacorp-1.gitbook.io/worldscape-plugin/getting-started/procedural-foliage/detail-parameter-foliage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
