Photon Quantum 3.0.0

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

Creates a extra link between two triangles on the navmesh. More...

Static Public Member Functions

static void Serialize (ByteStream stream, bool write, ref NavMeshBakeDataLink instance)
 Asset serialization. More...
 

Public Attributes

bool Bidirectional
 Can the link be traversed from both directions. More...
 
FP CostOverride
 The cost of the connection. More...
 
FPVector3 End
 End position of the link. Must be on the same navmesh. More...
 
int EndTriangle
 The triangle id of the end. More...
 
String Name
 The name of the link. Can be queried by NavMesh.Links and NavMeshPathfinder.CurrentLink(Core.FrameBase).Name More...
 
String RegionId
 The region id that the link belongs to. Default is null. More...
 
FPVector3 Start
 Start position of the link. Must be on the same navmesh. More...
 
int StartTriangle
 The triangle id of the start. More...
 

Detailed Description

Creates a extra link between two triangles on the navmesh.

Member Function Documentation

◆ Serialize()

static void Quantum.NavMeshBakeDataLink.Serialize ( ByteStream  stream,
bool  write,
ref NavMeshBakeDataLink  instance 
)
inlinestatic

Asset serialization.

Parameters
streamThe input stream
writeWrite or read
instanceThe instance to serialize

Member Data Documentation

◆ Start

FPVector3 Quantum.NavMeshBakeDataLink.Start

Start position of the link. Must be on the same navmesh.

◆ End

FPVector3 Quantum.NavMeshBakeDataLink.End

End position of the link. Must be on the same navmesh.

◆ StartTriangle

int Quantum.NavMeshBakeDataLink.StartTriangle

The triangle id of the start.

◆ EndTriangle

int Quantum.NavMeshBakeDataLink.EndTriangle

The triangle id of the end.

◆ Bidirectional

bool Quantum.NavMeshBakeDataLink.Bidirectional

Can the link be traversed from both directions.

◆ CostOverride

FP Quantum.NavMeshBakeDataLink.CostOverride

The cost of the connection.

◆ RegionId

String Quantum.NavMeshBakeDataLink.RegionId

The region id that the link belongs to. Default is null.

◆ Name

String Quantum.NavMeshBakeDataLink.Name

The name of the link. Can be queried by NavMesh.Links and NavMeshPathfinder.CurrentLink(Core.FrameBase).Name