A class in Root.Township, the global namespace.
Editor debug tool that shows only a range of a mesh's triangles on a mesh filter.
Constructors
| Member | What it is |
|---|
MeshFaceViewer() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
7 private and internal fields
| Member | What it is |
|---|
private int activeMax | Last applied end index. |
private int activeMin | Last applied start index. |
private Mesh clone | Preview mesh shown on the filter. |
private MeshFilter filter | Mesh filter that shows the preview. |
private int maxIndex | Triangle index to stop at. |
private int minIndex | First triangle to show. |
private Mesh testingMesh | Mesh being inspected. |
Methods
1 private and internal method
| Member | What it is |
|---|
private void OnValidate() | Rebuilds the preview mesh from triangles minIndex up to maxIndex of testingMesh. |