M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Static Public Member Functions | |
static MBList< Path > | GetAllSpawnPaths (Scene scene) |
static List< Vec2 > | GetSceneBoundaryPoints (Scene scene, out string boundaryName) |
static void | ProjectPositionToDeploymentBoundaries (BattleSideEnum side, ref WorldPosition position) |
static void | RadialSortBoundaries (ref List< Vec2 > boundaries) |
static bool | IsPointInsideBoundaries (in Vec2 point, List< Vec2 > boundaries, float acceptanceThreshold=0.01f) |
static float | FindClosestPointToBoundaries (in Vec2 position, List< Vec2 > boundaries, out Vec2 closestPoint) |
Static Public Attributes | |
const int | MaxNumberOfSpawnPaths = 32 |
const string | SpawnPathPrefix = "spawn_path_" |
const string | SoftBorderVertexTag = "walk_area_vertex" |
const string | SoftBoundaryName = "walk_area" |
const string | SceneBoundaryName = "scene_boundary" |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |