The mesh scatter layout module places randomly agents on a mesh.
Attributes
Attributes | Type | Overridable | Description |
---|---|---|---|
agentType | string | yes | The agent type name. |
direction | vector3 | yes | The agent directions. |
upVector | vector3 | yes | Agent up vector. |
scale | vector3 | yes | Agent scale. |
iterations | int | no | The number of iterations used for building the agents. |
mesh | mesh | no | The reference mesh. |
meshMatrix | matrix | no | The reference mesh world matrix. |
radius | double | no | The minimum distance between each agent. |
maxRadius | double | no | The maximum distance between each agents |
randomSeed | int | no | Random seed |
randomizeRadius | bool | no | If true, the radius value is randomized per agent. |
spacingMap | image | no | Texture used to modulate the radius between the radius and max radius value. |
eraseMap | image | no | Texture used to erase agents. Value above the erase threshold will erase the agents. |
eraseThreshold | double | no | Erase threshold. |