Photon Quantum 3.0.0

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

The navmesh border data structure. More...

Public Member Functions

void ComputeNormal (NavMesh navMesh)
 Computed the normal of the border based on the two connected vertices. More...
 
void Serialize (ByteStream stream, Boolean write, NavMesh navMesh)
 Serialize or deserialize the vertex data to an asset. More...
 

Public Attributes

FPVector3 Normal
 The normal of the border based on the two connected vertices. More...
 
NavMeshRegionMask Regions
 The region mask that this border belongs to. More...
 
NavMeshRegionMask RegionsOffmesh
 The region mask that the other side of the border belongs to. Borders can be manifested between two regions when one of them in enabled and the other disabled. More...
 
int V0
 Vertex index 0 pointing into NavMesh.Vertices. More...
 
int V1
 Vertex index 1 pointing into NavMesh.Vertices. More...
 

Detailed Description

The navmesh border data structure.

Member Function Documentation

◆ ComputeNormal()

void Quantum.NavMeshBorder.ComputeNormal ( NavMesh  navMesh)
inline

Computed the normal of the border based on the two connected vertices.

Parameters
navMeshNavmesh

◆ Serialize()

void Quantum.NavMeshBorder.Serialize ( ByteStream  stream,
Boolean  write,
NavMesh  navMesh 
)
inline

Serialize or deserialize the vertex data to an asset.

Parameters
streamAsset stream
writeWrite or read
navMeshNavmesh instance

Member Data Documentation

◆ V0

int Quantum.NavMeshBorder.V0

Vertex index 0 pointing into NavMesh.Vertices.

◆ V1

int Quantum.NavMeshBorder.V1

Vertex index 1 pointing into NavMesh.Vertices.

◆ Regions

NavMeshRegionMask Quantum.NavMeshBorder.Regions

The region mask that this border belongs to.

◆ RegionsOffmesh

NavMeshRegionMask Quantum.NavMeshBorder.RegionsOffmesh

The region mask that the other side of the border belongs to. Borders can be manifested between two regions when one of them in enabled and the other disabled.

◆ Normal

FPVector3 Quantum.NavMeshBorder.Normal

The normal of the border based on the two connected vertices.