C# Класс fBaseXtensions.Navigation.Gridpoint.GPQuadrant

GridPoint Rectangle
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AreaIsFlat bool
LastSafespotFound System.Vector3
OccupiedObjects List

Открытые методы

Метод Описание
FindSafeSpot ( System.Vector3 CurrentLocation, System.Vector3 &safespot, System.Vector3 LoSCheckV3, PointCheckingFlags Flags, List BlacklistedPoints ) : bool

Searches through the contained GridPoints and preforms multiple tests to return a successful point for navigation.

GPQuadrant ( ) : System
GPQuadrant ( GridPoint points, System.Vector3 GPCenteringVector, GridPoint endpoint ) : System
UpdateWeight ( int &monstercount, int &avoidcount, List &UsedRAGUIDs, bool ResetIndex = false ) : double

Приватные методы

Метод Описание
CheckPoint ( GridPoint point, System.Vector3 LoSCheckV3, PointCheckingFlags flags ) : bool

Описание методов

FindSafeSpot() публичный Метод

Searches through the contained GridPoints and preforms multiple tests to return a successful point for navigation.
public FindSafeSpot ( System.Vector3 CurrentLocation, System.Vector3 &safespot, System.Vector3 LoSCheckV3, PointCheckingFlags Flags, List BlacklistedPoints ) : bool
CurrentLocation System.Vector3
safespot System.Vector3
LoSCheckV3 System.Vector3
Flags PointCheckingFlags
BlacklistedPoints List
Результат bool

GPQuadrant() публичный Метод

public GPQuadrant ( ) : System
Результат System

GPQuadrant() публичный Метод

public GPQuadrant ( GridPoint points, System.Vector3 GPCenteringVector, GridPoint endpoint ) : System
points GridPoint
GPCenteringVector System.Vector3
endpoint GridPoint
Результат System

UpdateWeight() публичный Метод

public UpdateWeight ( int &monstercount, int &avoidcount, List &UsedRAGUIDs, bool ResetIndex = false ) : double
monstercount int
avoidcount int
UsedRAGUIDs List
ResetIndex bool
Результат double

Описание свойств

AreaIsFlat публичное свойство

Logic: The average Z difference between all points is very *minimal
public bool AreaIsFlat
Результат bool

LastSafespotFound публичное свойство

public Vector3,System LastSafespotFound
Результат System.Vector3

OccupiedObjects публичное свойство

public List OccupiedObjects
Результат List