Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.NavMeshPortal Struct Reference

The Quantum navmesh stores connections between neighbouring triangles as portals. More...

Public Member Functions

void Serialize (ByteStream stream, Boolean write)
 Serialize the portal from the NavMesh.DataAsset. More...
 

Public Attributes

Int32 LeftVertex
 The left vertex index of the portal. More...
 
Int32 Neighbor
 The neighbor triangle index. More...
 
Int32 RightVertex
 The right vertex index of the portal. More...
 

Detailed Description

The Quantum navmesh stores connections between neighbouring triangles as portals.

Member Function Documentation

◆ Serialize()

void Quantum.NavMeshPortal.Serialize ( ByteStream  stream,
Boolean  write 
)
inline

Serialize the portal from the NavMesh.DataAsset.

Parameters
streamData asset stream
writeWrite or read

Member Data Documentation

◆ LeftVertex

Int32 Quantum.NavMeshPortal.LeftVertex

The left vertex index of the portal.

◆ RightVertex

Int32 Quantum.NavMeshPortal.RightVertex

The right vertex index of the portal.

◆ Neighbor

Int32 Quantum.NavMeshPortal.Neighbor

The neighbor triangle index.