The triangle info contains three vertex hashes and a flag  
 More...
|  | 
| int | VertexHash0 | 
|  | 
| int | VertexHash1 | 
|  | 
| int | VertexHash2 | 
|  | 
| int | Flags | 
|  | 
The triangle info contains three vertex hashes and a flag 
Definition at line 1387 of file PolyMeshDetail.cs.
◆ TriangleData() [1/3]
      
        
          | SharpNav.PolyMeshDetail.TriangleData.TriangleData | ( | int | hash0, | 
        
          |  |  | int | hash1, | 
        
          |  |  | int | hash2 | 
        
          |  | ) |  |  | 
      
 
 
◆ TriangleData() [2/3]
      
        
          | SharpNav.PolyMeshDetail.TriangleData.TriangleData | ( | int | hash0, | 
        
          |  |  | int | hash1, | 
        
          |  |  | int | hash2, | 
        
          |  |  | int | flags | 
        
          |  | ) |  |  | 
      
 
Initializes a new instance of the TriangleData struct. 
- Parameters
- 
  
    | hash0 | Vertex A |  | hash1 | Vertex B |  | hash2 | Vertex C |  | flags | The triangle flags |  
 
Definition at line 1415 of file PolyMeshDetail.cs.
 
 
◆ TriangleData() [3/3]
Initializes a new instance of the TriangleData struct. 
- Parameters
- 
  
    | data | The triangle itself |  | verts | The list of all the vertices |  | vpoly | The list of the polygon's vertices |  
 
Definition at line 1429 of file PolyMeshDetail.cs.
 
 
◆ GetTriFlags()
  
  | 
        
          | static int SharpNav.PolyMeshDetail.TriangleData.GetTriFlags | ( | ref TriangleData | t, |  
          |  |  | List< Vector3 > | verts, |  
          |  |  | Vector3[] | vpoly, |  
          |  |  | int | npoly |  
          |  | ) |  |  |  | static | 
 
Determine which edges of the triangle are part of the polygon 
- Parameters
- 
  
    | t | A triangle. |  | verts | The vertex buffer that the triangle is referencing. |  | vpoly | Polygon vertex data. |  
 
- Returns
- The triangle's flags.
Definition at line 1466 of file PolyMeshDetail.cs.
 
 
◆ this[int index]
  
  | 
        
          | int SharpNav.PolyMeshDetail.TriangleData.this[int index] |  | get | 
 
Gets a triangle's particular vertex 
- Parameters
- 
  
  
- Returns
- Triangle vertex hash
Definition at line 1442 of file PolyMeshDetail.cs.
 
 
The documentation for this struct was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/ThirdParty/SharpNav/PolyMeshDetail.cs