H7EditorAdventureGrid¶
Class in MMH7Game · MMH7Game.H7EditorAdventureGrid · native, config
Object › Actor › H7EditorMapGrid › H7EditorAdventureGrid
Subclasses: H7AdventureMapGridController
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
cMaximumAdventureGridHeight | int | config, editconst, protected |
cMaximumAdventureGridWidth | int | config, editconst, protected |
cMaximumTileGradient | int | config, editconst, protected |
cMinimumAdventureGridHeight | int | config, editconst, protected |
cMinimumAdventureGridWidth | int | config, editconst, protected |
mAdventureCells | array<H7AdventureMapCell> | protected |
mAoCPreviewActive | bool | transient, private |
MapSizeDefinitions | array | config |
mAreaOfControlLords | array<H7AreaOfControlSiteLord> | protected |
mAreaOfControlVassals | array<H7AreaOfControlSiteVassal> | protected |
mBlockingPreviewActive | bool | transient, private |
mCameraHeightTool | H7EditorCameraHeightTool | transient, private |
mCombatListPreviewActive | bool | transient, private |
mDebugAoCMaterialInstance | MaterialInstanceConstant | transient, private |
mDebugBlockingMaterialInstance | MaterialInstanceConstant | transient, private |
mDebugCombatListMaterialInstance | MaterialInstanceConstant | transient, private |
mDebugFoWOverrideMaterialInstance | MaterialInstanceConstant | transient, private |
mDebugGridActive | bool | transient, private |
mDebugGridMaterialInstance | MaterialInstanceConstant | transient, private |
mFoWOverridePreviewActive | bool | transient, private |
mMinimapCapture | Texture2D | |
mRecaptureMinimapOnSave | bool | |
mScanGridData | Pointer | transient, native, private |
mShowAocInEditor | bool | protected |
mShowAocInGame | bool | protected |
mShowBlockingInEditor | bool | protected |
mShowBlockingInGame | bool | protected |
mShowCombatListInEditor | bool | protected |
mShowCombatListInGame | bool | protected |
mShowFoWOverrideInEditor | bool | protected |
mShowFoWOverrideInGame | bool | protected |
mShowGameGrid | bool | protected |
mUsedAreaOfControls | array | protected |
mVisitableActorList | array<H7VisitableSite> | protected |
Functions¶
| Name | Declaration |
|---|---|
CalculateMapSize | native function H7StructsAndEnumsNative.EH7MapSize CalculateMapSize() |
GetAoCArray | function array |
GetCameraHeightAt | native function GetCameraHeightAt(float worldPosX, float worldPosY, out float outHeight) |
GetCameraHeightTrace | native function bool GetCameraHeightTrace(float worldPosX, float worldPosY, out float outHeight) |
GetCell | function H7AdventureMapCell GetCell(int X, int Y) |
GetHeight | native function float GetHeight(Vector pos) |
IsCameraPosInsideGrid | native function bool IsCameraPosInsideGrid(float worldPosX, float worldPosY) |
UpdateDebugGrid | native function UpdateDebugGrid() |
UpdateTerrainData | native function UpdateTerrainData() |
Default values¶
MapSizeDefinitions(0)=(MapSize=EH7MapSize.E_H7_MS_SMALL,Width=75,Height=75)
MapSizeDefinitions(1)=(MapSize=EH7MapSize.E_H7_MS_SMALL_BROAD,Width=100,Height=75)
MapSizeDefinitions(2)=(MapSize=EH7MapSize.E_H7_MS_NORMAL,Width=100,Height=100)
MapSizeDefinitions(3)=(MapSize=EH7MapSize.E_H7_MS_NORMAL_BROAD,Width=150,Height=100)
MapSizeDefinitions(4)=(MapSize=EH7MapSize.E_H7_MS_BIG,Width=200,Height=200)
MapSizeDefinitions(5)=(MapSize=EH7MapSize.E_H7_MS_BIG_BROAD,Width=300,Height=200)
MapSizeDefinitions(6)=(MapSize=EH7MapSize.E_H7_MS_HUGE,Width=300,Height=300)
mRecaptureMinimapOnSave=true
cMinimumAdventureGridWidth=50
cMinimumAdventureGridHeight=50
cMaximumAdventureGridWidth=500
cMaximumAdventureGridHeight=500
cMaximumTileGradient=45
mGridSizeX=50
mGridSizeY=50
Inherited¶
| From | Members |
|---|---|
| H7EditorMapGrid | Properties: mEditorPreviewMesh, mGridSizeX, mGridSizeY, Mid, mInitialLandscapePosition, mLandscape, mSynchLandscapeAndGridPosition Functions: GetCenter, GetGridSizeX, GetGridSizeY, GetMouseHitActorAndLocation |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |