Random Placement Using the Vegetation Distribution Filter

The Vegetation Distribution Filter component creates the look of random placement by limiting the amount of vegetation that the Vegetation Layer Spawner component produces.

Before completing the following procedure, you must have the following:

  • At least one asset defined in your vegetation layer.
  • An entity that contains a gradient component. For instructions, see Creating a Gradient Entity .

To create random distribution

  1. In the Entity Outliner, select the entity that contains the Vegetation Layer Spawner component.

  2. In the Entity Inspector, click Add Component and select Vegetation Distribution Filter.

  3. In the Vegetation Distribution Filter component’s properties, next to Gradient Entity Id, click the target button.

  4. In the Entity Outliner, select the Gradient entity.

  5. (Optional) Adjust the values for Threshold Min and Threshold Max to specify how much of the gradient can appear in the vegetation.


Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.


The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.