Skip to content

H7EditorMapGrid

Class in MMH7Game · MMH7Game.H7EditorMapGrid · native

Object › Actor › H7EditorMapGrid

Subclasses: H7EditorAdventureGrid, H7EditorCombatGrid

Using it from Lua
h7.find_all("H7EditorMapGrid")            -- live instances
h7.find_class("MMH7Game.H7EditorMapGrid")   -- the class
h7.hook("MMH7Game.H7EditorMapGrid.GetCenter", fn)

Constants

NameValue
CELL_SIZE192.0f

Properties

NameTypeNotes
mEditorPreviewMeshStaticMeshComponentprotected
mGridSizeXintprotected
mGridSizeYintprotected
Midintprotected
mInitialLandscapePositionVectortransient, protected
mLandscapeLandscapetransient, protected
mSynchLandscapeAndGridPositionboolprotected

Functions

NameDeclaration
GetCenternative function Vector GetCenter()
GetGridSizeXfunction int GetGridSizeX()
GetGridSizeYfunction int GetGridSizeY()
GetMouseHitActorAndLocationfunction Actor GetMouseHitActorAndLocation(out Vector HitLocation)

Default values

mSynchLandscapeAndGridPosition=true

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions