|
M&B: Bannerlord 1.3.4
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, in CampaignVec2 position) |
| void | GetMapBorders (out Vec2 minimumPosition, out Vec2 maximumPosition, out float maximumHeight) |
| void | Load () |
| void | SetSnowAndRainDataWithDimension (Texture snowRainTexture, int weatherNodeGridWidthAndHeight) |
| void | AfterLoad () |
| void | Destroy () |
| void | DisableUnwalkableNavigationMeshes () |
| PathFaceRecord | GetFaceIndex (in CampaignVec2 vec2) |
| TerrainType | GetTerrainTypeAtPosition (in CampaignVec2 position) |
| TerrainType | GetFaceTerrainType (PathFaceRecord navMeshFace) |
| CampaignVec2 | GetNearestFaceCenterForPosition (in CampaignVec2 position, int[] excludedFaceIds) |
| CampaignVec2 | GetNearestFaceCenterForPositionWithPath (PathFaceRecord pathFaceRecord, bool targetIsLand, float maxDist, int[] excludedFaceIds) |
| List< TerrainType > | GetEnvironmentTerrainTypes (in CampaignVec2 originPosition) |
| List< TerrainType > | GetEnvironmentTerrainTypesCount (in CampaignVec2 originPosition, out TerrainType currentPositionTerrainType) |
| MapPatchData | GetMapPatchAtPosition (in CampaignVec2 position) |
| CampaignVec2 | GetAccessiblePointNearPosition (in CampaignVec2 pos, float radius) |
| bool | GetPathBetweenAIFaces (PathFaceRecord startingFace, PathFaceRecord endingFace, Vec2 startingPosition, Vec2 endingPosition, float agentRadius, NavigationPath path, int[] excludedFaceIds, float extraCostMultiplier, int regionSwitchCostFromLandToSea, int regionSwitchCostFromSeaToLand) |
| The path between pointA to pointB and pointB to pointA may differ but the path between pointA to pointB will always return same. | |
| bool | GetPathDistanceBetweenAIFaces (PathFaceRecord startingAiFace, PathFaceRecord endingAiFace, Vec2 startingPosition, Vec2 endingPosition, float agentRadius, float distanceLimit, out float distance, int[] excludedFaceIds, int regionSwitchCostFromLandToSea, int regionSwitchCostFromSeaToLand) |
| The distance between pointA to pointB and pointB to pointA may differ but distance between pointA to pointB will always return same. | |
| bool | IsLineToPointClear (PathFaceRecord startingFace, Vec2 position, Vec2 destination, float agentRadius) |
| Vec2 | GetLastPointOnNavigationMeshFromPositionToDestination (PathFaceRecord startingFace, Vec2 position, Vec2 destination, int[] excludedFaceIds=null) |
| Vec2 | GetLastPositionOnNavMeshFaceForPointAndDirection (PathFaceRecord startingFace, Vec2 position, Vec2 destination) |
| Vec2 | GetNavigationMeshCenterPosition (PathFaceRecord face) |
| Vec2 | GetNavigationMeshCenterPosition (int faceIndex) |
| int | GetNumberOfNavigationMeshFaces () |
| PathFaceRecord | GetFaceAtIndex (int faceIndex) |
| bool | GetHeightAtPoint (in CampaignVec2 point, ref float height) |
| float | GetWinterTimeFactor () |
| float | GetFaceVertexZ (PathFaceRecord navMeshFace) |
| Vec3 | GetGroundNormal (Vec2 position) |
| void | GetSiegeCampFrames (Settlement settlement, out List< MatrixFrame > siegeCamp1GlobalFrames, out List< MatrixFrame > siegeCamp2GlobalFrames) |
| void | GetTerrainHeightAndNormal (Vec2 position, out float height, out Vec3 normal) |
| string | GetTerrainTypeName (TerrainType type) |
| uint | GetSceneXmlCrc () |
| uint | GetSceneNavigationMeshCrc () |
| Vec2 | GetWindAtPosition (Vec2 position) |
| float | GetSnowAmountAtPosition (Vec2 position) |
| float | GetRainAmountAtPosition (Vec2 position) |
| void | SetupWaterWake (float wakeWorldSize, float wakeCameraOffset) |
Static Public Attributes | |
| const int | FlowMapTextureDimension = 512 |
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, |
| in CampaignVec2 | position ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| void SandBox.MapScene.GetMapBorders | ( | out Vec2 | minimumPosition, |
| out Vec2 | maximumPosition, | ||
| out float | maximumHeight ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| void SandBox.MapScene.Load | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| void SandBox.MapScene.SetSnowAndRainDataWithDimension | ( | Texture | snowRainTexture, |
| int | weatherNodeGridWidthAndHeight ) |
| void SandBox.MapScene.AfterLoad | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| void SandBox.MapScene.Destroy | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| void SandBox.MapScene.DisableUnwalkableNavigationMeshes | ( | ) |
| PathFaceRecord SandBox.MapScene.GetFaceIndex | ( | in CampaignVec2 | vec2 | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| TerrainType SandBox.MapScene.GetTerrainTypeAtPosition | ( | in CampaignVec2 | position | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| TerrainType SandBox.MapScene.GetFaceTerrainType | ( | PathFaceRecord | navMeshFace | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| CampaignVec2 SandBox.MapScene.GetNearestFaceCenterForPosition | ( | in CampaignVec2 | position, |
| int[] | excludedFaceIds ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| CampaignVec2 SandBox.MapScene.GetNearestFaceCenterForPositionWithPath | ( | PathFaceRecord | pathFaceRecord, |
| bool | targetIsLand, | ||
| float | maxDist, | ||
| int[] | excludedFaceIds ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| List< TerrainType > SandBox.MapScene.GetEnvironmentTerrainTypes | ( | in CampaignVec2 | originPosition | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| List< TerrainType > SandBox.MapScene.GetEnvironmentTerrainTypesCount | ( | in CampaignVec2 | originPosition, |
| out TerrainType | currentPositionTerrainType ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| MapPatchData SandBox.MapScene.GetMapPatchAtPosition | ( | in CampaignVec2 | position | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| CampaignVec2 SandBox.MapScene.GetAccessiblePointNearPosition | ( | in CampaignVec2 | pos, |
| float | radius ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| bool SandBox.MapScene.GetPathBetweenAIFaces | ( | PathFaceRecord | startingFace, |
| PathFaceRecord | endingFace, | ||
| Vec2 | startingPosition, | ||
| Vec2 | endingPosition, | ||
| float | agentRadius, | ||
| NavigationPath | path, | ||
| int[] | excludedFaceIds, | ||
| float | extraCostMultiplier, | ||
| int | regionSwitchCostFromLandToSea, | ||
| int | regionSwitchCostFromSeaToLand ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| bool SandBox.MapScene.GetPathDistanceBetweenAIFaces | ( | PathFaceRecord | startingAiFace, |
| PathFaceRecord | endingAiFace, | ||
| Vec2 | startingPosition, | ||
| Vec2 | endingPosition, | ||
| float | agentRadius, | ||
| float | distanceLimit, | ||
| out float | distance, | ||
| int[] | excludedFaceIds, | ||
| int | regionSwitchCostFromLandToSea, | ||
| int | regionSwitchCostFromSeaToLand ) |
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, | ||
| int[] | excludedFaceIds = null ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| Vec2 SandBox.MapScene.GetLastPositionOnNavMeshFaceForPointAndDirection | ( | PathFaceRecord | startingFace, |
| Vec2 | position, | ||
| Vec2 | destination ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| Vec2 SandBox.MapScene.GetNavigationMeshCenterPosition | ( | PathFaceRecord | face | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| Vec2 SandBox.MapScene.GetNavigationMeshCenterPosition | ( | int | faceIndex | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| int SandBox.MapScene.GetNumberOfNavigationMeshFaces | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| PathFaceRecord SandBox.MapScene.GetFaceAtIndex | ( | int | faceIndex | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| bool SandBox.MapScene.GetHeightAtPoint | ( | in CampaignVec2 | 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.GetSiegeCampFrames | ( | Settlement | settlement, |
| out List< MatrixFrame > | siegeCamp1GlobalFrames, | ||
| out List< MatrixFrame > | siegeCamp2GlobalFrames ) |
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.
| uint SandBox.MapScene.GetSceneXmlCrc | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| uint SandBox.MapScene.GetSceneNavigationMeshCrc | ( | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| float SandBox.MapScene.GetSnowAmountAtPosition | ( | Vec2 | position | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| float SandBox.MapScene.GetRainAmountAtPosition | ( | Vec2 | position | ) |
Implements TaleWorlds.CampaignSystem.Map.IMapScene.
| void SandBox.MapScene.SetupWaterWake | ( | float | wakeWorldSize, |
| float | wakeCameraOffset ) |
|
static |
|
get |