M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
|
Inherits TaleWorlds.CampaignSystem.Map.IMapScene.
Public Member Functions | |
MapScene () | |
Vec2 | GetTerrainSize () |
uint | GetSceneLevel (string name) |
void | SetSceneLevels (List< string > levels) |
List< AtmosphereState > | GetAtmosphereStates () |
void | ValidateAgentVisualsReseted () |
void | SetAtmosphereColorgrade (TerrainType terrainType) |
void | AddNewEntityToMapScene (string entityId, Vec2 position) |
void | GetFaceIndexForMultiplePositions (int movedPartyCount, float[] positionArray, PathFaceRecord[] resultArray) |
void | GetMapBorders (out Vec2 minimumPosition, out Vec2 maximumPosition, out float maximumHeight) |
WARNING: Cache these values since obtaining them is costly. | |
void | Load () |
void | Destroy () |
void | DisableUnwalkableNavigationMeshes () |
PathFaceRecord | GetFaceIndex (Vec2 position) |
bool | AreFacesOnSameIsland (PathFaceRecord startingFace, PathFaceRecord endFace, bool ignoreDisabled) |
TerrainType | GetTerrainTypeAtPosition (Vec2 position) |
TerrainType | GetFaceTerrainType (PathFaceRecord navMeshFace) |
List< TerrainType > | GetEnvironmentTerrainTypes (Vec2 position) |
List< TerrainType > | GetEnvironmentTerrainTypesCount (Vec2 position, out TerrainType currentPositionTerrainType) |
MapPatchData | GetMapPatchAtPosition (Vec2 position) |
Vec2 | GetAccessiblePointNearPosition (Vec2 position, float radius) |
bool | GetPathBetweenAIFaces (PathFaceRecord startingFace, PathFaceRecord endingFace, Vec2 startingPosition, Vec2 endingPosition, float agentRadius, NavigationPath path, int[] excludedFaceIds=null) |
bool | GetPathDistanceBetweenAIFaces (PathFaceRecord startingAiFace, PathFaceRecord endingAiFace, Vec2 startingPosition, Vec2 endingPosition, float agentRadius, float distanceLimit, out float distance) |
bool | IsLineToPointClear (PathFaceRecord startingFace, Vec2 position, Vec2 destination, float agentRadius) |
Vec2 | GetLastPointOnNavigationMeshFromPositionToDestination (PathFaceRecord startingFace, Vec2 position, Vec2 destination) |
Vec2 | GetNavigationMeshCenterPosition (PathFaceRecord face) |
int | GetNumberOfNavigationMeshFaces () |
bool | GetHeightAtPoint (Vec2 point, ref float height) |
float | GetWinterTimeFactor () |
float | GetFaceVertexZ (PathFaceRecord navMeshFace) |
Vec3 | GetGroundNormal (Vec2 position) |
void | GetTerrainHeightAndNormal (Vec2 position, out float height, out Vec3 normal) |
string | GetTerrainTypeName (TerrainType type) |
void | GetSnowAmountData (byte[] snowData) |
void | Load () |
void | Destroy () |
PathFaceRecord | GetFaceIndex (Vec2 position) |
bool | AreFacesOnSameIsland (PathFaceRecord startingFace, PathFaceRecord endFace, bool ignoreDisabled) |
TerrainType | GetTerrainTypeAtPosition (Vec2 position) |
List< TerrainType > | GetEnvironmentTerrainTypes (Vec2 position) |
List< TerrainType > | GetEnvironmentTerrainTypesCount (Vec2 position, out TerrainType currentPositionTerrainType) |
MapPatchData | GetMapPatchAtPosition (Vec2 position) |
TerrainType | GetFaceTerrainType (PathFaceRecord faceIndex) |
Vec2 | GetAccessiblePointNearPosition (Vec2 position, float radius) |
bool | GetPathBetweenAIFaces (PathFaceRecord startingFace, PathFaceRecord endingFace, Vec2 startingPosition, Vec2 endingPosition, float agentRadius, NavigationPath path, int[] excludedFaceIds=null) |
bool | GetPathDistanceBetweenAIFaces (PathFaceRecord startingAiFace, PathFaceRecord endingAiFace, Vec2 startingPosition, Vec2 endingPosition, float agentRadius, float distanceLimit, out float distance) |
bool | IsLineToPointClear (PathFaceRecord startingFace, Vec2 position, Vec2 destination, float agentRadius) |
Vec2 | GetLastPointOnNavigationMeshFromPositionToDestination (PathFaceRecord startingFace, Vec2 position, Vec2 destination) |
Vec2 | GetNavigationMeshCenterPosition (PathFaceRecord face) |
int | GetNumberOfNavigationMeshFaces () |
bool | GetHeightAtPoint (Vec2 point, ref float height) |
float | GetWinterTimeFactor () |
void | GetTerrainHeightAndNormal (Vec2 position, out float height, out Vec3 normal) |
float | GetFaceVertexZ (PathFaceRecord navMeshFace) |
Vec3 | GetGroundNormal (Vec2 position) |
String | GetTerrainTypeName (TerrainType type) |
Vec2 | GetTerrainSize () |
uint | GetSceneLevel (string name) |
void | SetSceneLevels (List< string > levels) |
List< AtmosphereState > | GetAtmosphereStates () |
void | SetAtmosphereColorgrade (TerrainType terrainType) |
void | AddNewEntityToMapScene (string entityId, Vec2 position) |
void | GetFaceIndexForMultiplePositions (int movedPartyCount, float[] positionArray, PathFaceRecord[] resultArray) |
void | GetMapBorders (out Vec2 minimumPosition, out Vec2 maximumPosition, out float maximumHeight) |
void | GetSnowAmountData (byte[] snowData) |
Static Public Member Functions | |
static int | GetNavigationMeshIndexOfTerrainType (TerrainType terrainType) |
Properties | |
Scene | Scene [get] |
SandBox.MapScene.MapScene | ( | ) |
Vec2 SandBox.MapScene.GetTerrainSize | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
uint SandBox.MapScene.GetSceneLevel | ( | string | name | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.SetSceneLevels | ( | List< string > | levels | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
List< AtmosphereState > SandBox.MapScene.GetAtmosphereStates | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.ValidateAgentVisualsReseted | ( | ) |
void SandBox.MapScene.SetAtmosphereColorgrade | ( | TerrainType | terrainType | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.AddNewEntityToMapScene | ( | string | entityId, |
Vec2 | position | ||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.GetFaceIndexForMultiplePositions | ( | int | movedPartyCount, |
float[] | positionArray, | ||
PathFaceRecord[] | resultArray | ||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.GetMapBorders | ( | out Vec2 | minimumPosition, |
out Vec2 | maximumPosition, | ||
out float | maximumHeight | ||
) |
minimumPosition | |
maximumPosition | |
maximumHeight |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.Load | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.Destroy | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.DisableUnwalkableNavigationMeshes | ( | ) |
PathFaceRecord SandBox.MapScene.GetFaceIndex | ( | Vec2 | position | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
bool SandBox.MapScene.AreFacesOnSameIsland | ( | PathFaceRecord | startingFace, |
PathFaceRecord | endFace, | ||
bool | ignoreDisabled | ||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
TerrainType SandBox.MapScene.GetTerrainTypeAtPosition | ( | Vec2 | position | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
TerrainType SandBox.MapScene.GetFaceTerrainType | ( | PathFaceRecord | navMeshFace | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
|
static |
List< TerrainType > SandBox.MapScene.GetEnvironmentTerrainTypes | ( | Vec2 | position | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
List< TerrainType > SandBox.MapScene.GetEnvironmentTerrainTypesCount | ( | Vec2 | position, |
out TerrainType | currentPositionTerrainType | ||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
MapPatchData SandBox.MapScene.GetMapPatchAtPosition | ( | Vec2 | position | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
bool SandBox.MapScene.GetPathBetweenAIFaces | ( | PathFaceRecord | startingFace, |
PathFaceRecord | endingFace, | ||
Vec2 | startingPosition, | ||
Vec2 | endingPosition, | ||
float | agentRadius, | ||
NavigationPath | path, | ||
int[] | excludedFaceIds = null |
||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
bool SandBox.MapScene.GetPathDistanceBetweenAIFaces | ( | PathFaceRecord | startingAiFace, |
PathFaceRecord | endingAiFace, | ||
Vec2 | startingPosition, | ||
Vec2 | endingPosition, | ||
float | agentRadius, | ||
float | distanceLimit, | ||
out float | distance | ||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
bool SandBox.MapScene.IsLineToPointClear | ( | PathFaceRecord | startingFace, |
Vec2 | position, | ||
Vec2 | destination, | ||
float | agentRadius | ||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
Vec2 SandBox.MapScene.GetLastPointOnNavigationMeshFromPositionToDestination | ( | PathFaceRecord | startingFace, |
Vec2 | position, | ||
Vec2 | destination | ||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
Vec2 SandBox.MapScene.GetNavigationMeshCenterPosition | ( | PathFaceRecord | face | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
int SandBox.MapScene.GetNumberOfNavigationMeshFaces | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
bool SandBox.MapScene.GetHeightAtPoint | ( | Vec2 | point, |
ref float | height | ||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
float SandBox.MapScene.GetWinterTimeFactor | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
float SandBox.MapScene.GetFaceVertexZ | ( | PathFaceRecord | navMeshFace | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.GetTerrainHeightAndNormal | ( | Vec2 | position, |
out float | height, | ||
out Vec3 | normal | ||
) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
string SandBox.MapScene.GetTerrainTypeName | ( | TerrainType | type | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
void SandBox.MapScene.GetSnowAmountData | ( | byte[] | snowData | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
|
get |