Class WorldMesh
Describes a mesh with global coordinates.
Inheritance
System.Object
WorldMesh
Namespace: AlchemyBow.Navigation.HighLevel
Assembly: AlchemyBow.Navigation.dll
Syntax
public sealed class WorldMesh
Fields
| Improve this Doc View SourcetriangleNormals
The normals of the Mesh traingles.
Declaration
public readonly Vector3[] triangleNormals
Field Value
Type | Description |
---|---|
UnityEngine.Vector3[] | The normals of the Mesh traingles. |
triangles
The triangles of the Mesh.
Declaration
public readonly int[] triangles
Field Value
Type | Description |
---|---|
System.Int32[] | The triangles of the Mesh. |
vertices
The vertices of the Mesh.
Declaration
public readonly Vector3[] vertices
Field Value
Type | Description |
---|---|
UnityEngine.Vector3[] | The vertices of the Mesh. |
Methods
| Improve this Doc View SourceCreate(MeshFilter)
Creates the instance of the WorldMesh class.
Declaration
public static WorldMesh Create(MeshFilter meshFilter)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.MeshFilter | meshFilter | A source of the mesh. |
Returns
Type | Description |
---|---|
WorldMesh | The instance of the NavigationSettings class |