A* Pathfinding Project  4.1.9
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

 NavmeshClipper ()
 
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...
 

Package Functions

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

Properties

static bool AnyEnableListeners [get]
 

Private Attributes

readonly LinkedListNode< NavmeshClippernode
 

Static Private Attributes

static readonly LinkedList< NavmeshClipperall = new LinkedList<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...
 

Constructor & Destructor Documentation

◆ NavmeshClipper()

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 LinkedList<NavmeshClipper> all = new LinkedList<NavmeshClipper>()
staticprivate

◆ node

readonly LinkedListNode<NavmeshClipper> node
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

◆ AnyEnableListeners

bool AnyEnableListeners
staticget

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