GrassClump
A class in Root.Township, Alta.Environmental.Vegetation.
Picks a random mesh for a grass clump at start and writes height-based vertex colours for the wind shader.
- Listed in World, chunks and saving
- Inherits or implements
MonoBehaviour - Attributes
RequireComponent
Constructors
| Member | What it is |
|---|---|
GrassClump() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
Properties
| Member | What it is |
|---|---|
Mesh[] AvailableMeshes { get; set; } | Meshes to pick from. |