Class ImportTextureMap
- Namespace
- AlphaFramework.Editor.World.Commands
- Assembly
- AlphaFramework.Editor.dll
Loads new texture-map data into a ITerrain.
public class ImportTextureMap : ImportMap<NibbleGrid>, IUndoCommand
- Inheritance
-
ImportTextureMap
- Implements
- Inherited Members
- Extension Methods
Constructors
ImportTextureMap(ITerrain, string, Action)
Creates a new command for loading texture-map data into a ITerrain.
public ImportTextureMap(ITerrain terrain, string fileName, Action refreshHandler)
Parameters
terrain
ITerrainThe ITerrain to load new texture-map data into.
fileName
stringThe file to load the texture-map data from.
refreshHandler
ActionCalled when the ITerrain needs to be reset.
Properties
MapData
Points to TextureMap
protected override NibbleGrid MapData { get; set; }
Property Value
Methods
LoadMap()
Loads the texture-map data from a file into the ITerrain
protected override void LoadMap()