A* Pathfinding Project  4.1.20
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
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.
 

Package Functions

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

Properties

static List< NavmeshClipperallEnabled [get]
 All navmesh clipper components in the scene.
 

Private Attributes

int listIndex = -1
 

Static Private Attributes

static readonly List
< NavmeshClipper
all = new List<NavmeshClipper>()
 
static System.Action
< NavmeshClipper
OnDisableCallback
 Called every time a NavmeshCut/NavmeshAdd component is disabled.
 
static System.Action
< NavmeshClipper
OnEnableCallback
 Called every time a NavmeshCut/NavmeshAdd component is enabled.
 

Member Function Documentation

static void AddEnableCallback ( System.Action< NavmeshClipper onEnable,
System.Action< NavmeshClipper onDisable 
)
static
abstract void ForceUpdate ( )
pure virtual

Implemented in NavmeshCut, and NavmeshAdd.

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

Implemented in NavmeshCut, and NavmeshAdd.

abstract void NotifyUpdated ( )
packagepure virtual

Implemented in NavmeshCut, and NavmeshAdd.

virtual void OnDisable ( )
protectedvirtual
virtual void OnEnable ( )
protectedvirtual

Reimplemented in NavmeshCut.

static void RemoveEnableCallback ( System.Action< NavmeshClipper onEnable,
System.Action< NavmeshClipper onDisable 
)
static
abstract bool RequiresUpdate ( )
pure virtual

Implemented in NavmeshCut, and NavmeshAdd.

Member Data Documentation

readonly List<NavmeshClipper> all = new List<NavmeshClipper>()
staticprivate
int listIndex = -1
private
System.Action<NavmeshClipper> OnDisableCallback
staticprivate

Called every time a NavmeshCut/NavmeshAdd component is disabled.

System.Action<NavmeshClipper> OnEnableCallback
staticprivate

Called every time a NavmeshCut/NavmeshAdd component is enabled.

Property Documentation

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: