A* Pathfinding Project  4.3.2
The A* Pathfinding Project for Unity 3D
NavmeshClipper Class Referenceabstract

Base class for the NavmeshCut and NavmeshAdd components. More...

Detailed Description

Base class for the NavmeshCut and NavmeshAdd components.

Public Member Functions

abstract void ForceUpdate ()
 
abstract bool RequiresUpdate ()
 

Static Public Member Functions

static void AddEnableCallback (System.Action< NavmeshClipper > onEnable, System.Action< NavmeshClipper > onDisable)
 
static void RemoveEnableCallback (System.Action< NavmeshClipper > onEnable, System.Action< NavmeshClipper > onDisable)
 

Protected Member Functions

virtual void OnDisable ()
 
virtual void OnEnable ()
 
- Protected Member Functions inherited from VersionedMonoBehaviour
virtual void Awake ()
 
virtual int OnUpgradeSerializedData (int version, bool unityThread)
 Handle serialization backwards compatibility. More...
 
virtual void Reset ()
 Handle serialization backwards compatibility. More...
 

Package Functions

abstract Rect GetBounds (Pathfinding.Util.GraphTransform transform)
 
abstract void NotifyUpdated ()
 

Properties

static List< NavmeshClipperallEnabled [get]
 All navmesh clipper components in the scene. More...
 
- Properties inherited from VersionedMonoBehaviour
int Util.IEntityIndex. EntityIndex [get, set]
 Internal entity index used by #BurstBatchHelper. More...
 
- Properties inherited from IEntityIndex
int EntityIndex [get, set]
 

Private Attributes

int listIndex = -1
 

Static Private Attributes

static readonly List< NavmeshClipperall = new List<NavmeshClipper>()
 
static System.Action< NavmeshClipperOnDisableCallback
 Called every time a NavmeshCut/NavmeshAdd component is disabled. More...
 
static System.Action< NavmeshClipperOnEnableCallback
 Called every time a NavmeshCut/NavmeshAdd component is enabled. More...
 

Member Function Documentation

◆ AddEnableCallback()

static void AddEnableCallback ( System.Action< NavmeshClipper onEnable,
System.Action< NavmeshClipper onDisable 
)
static

◆ ForceUpdate()

abstract void ForceUpdate ( )
pure virtual

Implemented in NavmeshCut, and NavmeshAdd.

◆ GetBounds()

abstract Rect GetBounds ( Pathfinding.Util.GraphTransform  transform)
packagepure virtual

Implemented in NavmeshCut, and NavmeshAdd.

◆ NotifyUpdated()

abstract void NotifyUpdated ( )
packagepure virtual

Implemented in NavmeshCut, and NavmeshAdd.

◆ OnDisable()

virtual void OnDisable ( )
protectedvirtual

◆ OnEnable()

virtual void OnEnable ( )
protectedvirtual

Reimplemented in NavmeshCut.

◆ RemoveEnableCallback()

static void RemoveEnableCallback ( System.Action< NavmeshClipper onEnable,
System.Action< NavmeshClipper onDisable 
)
static

◆ RequiresUpdate()

abstract bool RequiresUpdate ( )
pure virtual

Implemented in NavmeshCut, and NavmeshAdd.

Member Data Documentation

◆ all

readonly List<NavmeshClipper> all = new List<NavmeshClipper>()
staticprivate

◆ listIndex

int listIndex = -1
private

◆ OnDisableCallback

System.Action<NavmeshClipper> OnDisableCallback
staticprivate

Called every time a NavmeshCut/NavmeshAdd component is disabled.

◆ OnEnableCallback

System.Action<NavmeshClipper> OnEnableCallback
staticprivate

Called every time a NavmeshCut/NavmeshAdd component is enabled.

Property Documentation

◆ allEnabled

List<NavmeshClipper> allEnabled
staticget

All navmesh clipper components in the scene.

Not ordered in any particular way.

Warning
Do not modify this list

The documentation for this class was generated from the following file: