GrassBladeMesh
A class in Root.Township, Alta.Environmental.Vegetation.
A ScriptableObject holding one grass blade's mesh data and base colour, used by the grass system.
- Listed in World, chunks and saving
- Inherits or implements
ScriptableObject - Derived types
GrassBladeMesh.Create - Nested types
Create
Constructors
| Member | What it is |
|---|---|
GrassBladeMesh() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private Color baseColor | Base colour of the blade. Backing field for Color. |
private bool isAvailable | Backing field for IsAvailable. |
private int[] triangles | Triangle indices of the blade mesh. Backing field for Triangles. |
private Vector3[] vertices | Vertices of the blade mesh. Backing field for Vertices. |
Properties
Used in
Members of other types that take, return or hold a GrassBladeMesh: