Photon Quantum 3.0.0

Public Types | Public Attributes | List of all members
Quantum.QuantumNavMeshRegion Class Reference

This script can be placed on a game object that has a mesh renderer and is used to cast Quantum navmesh toggle-able regions onto the Unity generated navmesh. More...

Inheritance diagram for Quantum.QuantumNavMeshRegion:
Quantum.QuantumMonoBehaviour

Public Types

enum  RegionCastType
 The Quantum region cast type. More...
 

Public Attributes

RegionCastType CastRegion
 Set to CastRegion when the region should be casted onto the navmesh. For Links for example chose NoRegion. More...
 
FP Cost = FP._1
 Cost modifier that is applied to the heuristics of the path finding. Automatically gets the Unity area cost when adding the scripts. Toggle OverwriteCost to set to a custom value. More...
 
string Id
 All regions with the same id are toggle-able as one region. Check Map.Regions to see the results. More...
 
bool OverwriteCost = false
 Enabled to set a different Cost. More...
 

Detailed Description

This script can be placed on a game object that has a mesh renderer and is used to cast Quantum navmesh toggle-able regions onto the Unity generated navmesh.

Member Enumeration Documentation

◆ RegionCastType

The Quantum region cast type.

Enumerator
CastRegion 

Create a region on the navmesh.

NoRegion 

Do not create a region on the navmesh (Quantum navmesh links for example).

Member Data Documentation

◆ Id

string Quantum.QuantumNavMeshRegion.Id

All regions with the same id are toggle-able as one region. Check Map.Regions to see the results.

◆ CastRegion

RegionCastType Quantum.QuantumNavMeshRegion.CastRegion

Set to CastRegion when the region should be casted onto the navmesh. For Links for example chose NoRegion.

◆ Cost

FP Quantum.QuantumNavMeshRegion.Cost = FP._1

Cost modifier that is applied to the heuristics of the path finding. Automatically gets the Unity area cost when adding the scripts. Toggle OverwriteCost to set to a custom value.

◆ OverwriteCost

bool Quantum.QuantumNavMeshRegion.OverwriteCost = false

Enabled to set a different Cost.