Each polygon is a collection of vertices. It is the basic unit of the PolyMesh
More...
Each polygon is a collection of vertices. It is the basic unit of the PolyMesh
Definition at line 1377 of file PolyMesh.cs.
◆ Polygon()
SharpNav.PolyMesh.Polygon.Polygon |
( |
int |
numVertsPerPoly, |
|
|
Area |
area, |
|
|
RegionId |
regionId, |
|
|
int |
flags |
|
) |
| |
Initializes a new instance of the Polygon class.
- Parameters
-
numVertsPerPoly | The number of vertices per polygon. |
area | The AreaId |
regionId | The RegionId |
flags | Polygon flags |
Definition at line 1392 of file PolyMesh.cs.
◆ ContainsVertex()
bool SharpNav.PolyMesh.Polygon.ContainsVertex |
( |
int |
vertex | ) |
|
Determine if the vertex is in polygon.
- Returns
true
, if vertex was containsed, false
otherwise.
- Parameters
-
Definition at line 1502 of file PolyMesh.cs.
◆ Area
Area SharpNav.PolyMesh.Polygon.Area |
|
getset |
◆ Flags
int SharpNav.PolyMesh.Polygon.Flags |
|
getset |
Gets or sets the flags.
The flags.
Definition at line 1468 of file PolyMesh.cs.
◆ NeighborEdges
int [] SharpNav.PolyMesh.Polygon.NeighborEdges |
|
get |
Gets the neighbor edges.
The neighbor edges.
Definition at line 1423 of file PolyMesh.cs.
◆ RegionId
RegionId SharpNav.PolyMesh.Polygon.RegionId |
|
getset |
Gets or sets the region identifier.
The region identifier.
Definition at line 1451 of file PolyMesh.cs.
◆ VertexCount
int SharpNav.PolyMesh.Polygon.VertexCount |
|
get |
Gets the the number of vertex.
The vertex count.
Definition at line 1485 of file PolyMesh.cs.
◆ Vertices
int [] SharpNav.PolyMesh.Polygon.Vertices |
|
get |
Gets the indices for the vertices.
The vertices.
Definition at line 1411 of file PolyMesh.cs.
The documentation for this class was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/ThirdParty/SharpNav/PolyMesh.cs