Class NavLocalGridManager
Manager for local navigation grids
Builds non overlapping grid from multiple sources, that can be used later for pathfinding.
Inheritance
System.Object
NavLocalGridManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class NavLocalGridManager : UObject
Properties
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static NavLocalGridManager DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddLocalNavigationGridForBox(UObject, Vector, Vector, Rotator, Int32, Single, Boolean)
Add Local Navigation Grid for Box
Declaration
public static int AddLocalNavigationGridForBox(UObject WorldContextObject, Vector Location, Vector Extent, Rotator Rotation, int Radius2D, float Height, bool bRebuildGrids)
Parameters
Type |
Name |
Description |
UObject |
WorldContextObject |
|
Vector |
Location |
|
Vector |
Extent |
|
Rotator |
Rotation |
|
System.Int32 |
Radius2D |
|
System.Single |
Height |
|
System.Boolean |
bRebuildGrids |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AddLocalNavigationGridForCapsule(UObject, Vector, Single, Single, Int32, Single, Boolean)
Add Local Navigation Grid for Capsule
Declaration
public static int AddLocalNavigationGridForCapsule(UObject WorldContextObject, Vector Location, float CapsuleRadius, float CapsuleHalfHeight, int Radius2D, float Height, bool bRebuildGrids)
Parameters
Type |
Name |
Description |
UObject |
WorldContextObject |
|
Vector |
Location |
|
System.Single |
CapsuleRadius |
|
System.Single |
CapsuleHalfHeight |
|
System.Int32 |
Radius2D |
|
System.Single |
Height |
|
System.Boolean |
bRebuildGrids |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AddLocalNavigationGridForPoint(UObject, Vector, Int32, Single, Boolean)
creates new grid data for single point
Declaration
public static int AddLocalNavigationGridForPoint(UObject WorldContextObject, Vector Location, int Radius2D, float Height, bool bRebuildGrids)
Parameters
Type |
Name |
Description |
UObject |
WorldContextObject |
|
Vector |
Location |
|
System.Int32 |
Radius2D |
|
System.Single |
Height |
|
System.Boolean |
bRebuildGrids |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AddLocalNavigationGridForPoints(UObject, Byte, Int32, Single, Boolean)
creates single grid data for set of points
Declaration
public static int AddLocalNavigationGridForPoints(UObject WorldContextObject, byte Locations, int Radius2D, float Height, bool bRebuildGrids)
Parameters
Type |
Name |
Description |
UObject |
WorldContextObject |
|
System.Byte |
Locations |
|
System.Int32 |
Radius2D |
|
System.Single |
Height |
|
System.Boolean |
bRebuildGrids |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
FindLocalNavigationGridPath(UObject, Vector, Vector)
Find Local Navigation Grid Path
Declaration
public static (IReadOnlyCollection<Vector>, bool) FindLocalNavigationGridPath(UObject WorldContextObject, Vector Start, Vector End)
Parameters
Returns
Type |
Description |
System.ValueTuple<System.Collections.Generic.IReadOnlyCollection<Vector>, System.Boolean> |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static NavLocalGridManager New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
RemoveLocalNavigationGrid(UObject, Int32, Boolean)
Remove Local Navigation Grid
Declaration
public static void RemoveLocalNavigationGrid(UObject WorldContextObject, int GridId, bool bRebuildGrids)
Parameters
Type |
Name |
Description |
UObject |
WorldContextObject |
|
System.Int32 |
GridId |
|
System.Boolean |
bRebuildGrids |
|
|
Improve this Doc
View Source
SetLocalNavigationGridDensity(UObject, Single)
Set Local Navigation Grid Density
Declaration
public static bool SetLocalNavigationGridDensity(UObject WorldContextObject, float CellSize)
Parameters
Type |
Name |
Description |
UObject |
WorldContextObject |
|
System.Single |
CellSize |
|
Returns
Type |
Description |
System.Boolean |
|
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to NavLocalGridManager)
Convert from IntPtr to UObject
Declaration
public static implicit operator NavLocalGridManager(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns