|
A* Pathfinding Project
3.1.4
The A* Pathfinding Project for Unity 3D
|
Inheritance diagram for GraphUpdateScene:
Collaboration diagram for GraphUpdateScene:Public Member Functions | |
| void | Apply (AstarPath active) |
| void | Apply () |
| Updates graphs with a created GUO. | |
| void | LockToY () |
| void | OnDrawGizmos () |
| void | OnDrawGizmos (bool selected) |
| void | OnDrawGizmosSelected () |
| override void | OnPostScan () |
| Called right after all graphs have been scanned. | |
| void | RecalcConvex () |
| void | Start () |
| void | ToggleUseWorldSpace () |
| Switches between using world space and not using local space. | |
Public Member Functions inherited from GraphModifier | |
| virtual void | OnDisable () |
| Removes this modifier from list of active modifiers. | |
| virtual void | OnEnable () |
| Adds this modifier to list of active modifiers. | |
| virtual void | OnGraphsPostUpdate () |
| Called after graphs have been updated using GraphUpdateObjects. | |
| virtual void | OnGraphsPreUpdate () |
| Called before graphs are updated using GraphUpdateObjects. | |
| virtual void | OnLatePostScan () |
| Called at the end of the scanning procedure. | |
| virtual void | OnPostCacheLoad () |
| Called after cached graphs have been loaded. | |
| virtual void | OnPreScan () |
| Called right before graphs are going to be scanned. | |
Public Attributes | |
| bool | applyOnScan = true |
| bool | applyOnStart = true |
| bool | convex = true |
| bool | lockToY = false |
| float | lockToYValue = 0 |
| bool | modifyTag = false |
| bool | modifyWalkability = false |
| int | penaltyDelta = 0 |
| Vector3[] | points |
| int | setTag = 0 |
| bool | setWalkability = false |
| bool | updatePhysics = false |
| bool | useWorldSpace = true |
| Use world space for coordinates. | |
Private Attributes | |
| Vector3[] | convexPoints |
| bool | firstApplied = false |
Additional Inherited Members | |
Public Types inherited from GraphModifier | |
| enum | EventType { PostScan, PreScan, LatePostScan, PreUpdate, PostUpdate, PostCacheLoad } |
| GraphModifier event type. More... | |
Static Public Member Functions inherited from GraphModifier | |
| static void | TriggerEvent (GraphModifier.EventType type) |
| Triggers an event for all active graph modifiers. | |
| void Apply | ( | ) |
Updates graphs with a created GUO.
Creates a Pathfinding::GraphUpdateObject with a Pathfinding::GraphUpdateShape representing the polygon of this object and update all graphs using AstarPath::UpdateGraphs. This will not update graphs directly. See AstarPath::UpdateGraph for more info.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Called right after all graphs have been scanned.
FloodFill and other post processing has not been done.
Reimplemented from GraphModifier.
Here is the call graph for this function:| void ToggleUseWorldSpace | ( | ) |
Switches between using world space and not using local space.
Changes point coordinates to stay the same in world space after the change.
| bool useWorldSpace = true |
Use world space for coordinates.
If true, the shape will not follow when moving around the transform