====== File:LoadMapFile filter ====== ===== Filter info ===== ^ Description | The ''LoadMapFile'' filter may be used to load a map from a file. | ^ Author | [[user>Aaron]] | ^ Plugin | [[bundywiki>plugins:calc:ZG_fileio|ZG_fileio]] ^ ===== Looks like ===== | {{:plugins:calc:zeograph:filters:file_loadmapfile.png|:plugins:calc:zeograph:filters:file_loadmapfile.png}} | ===== Input pins ===== ^ Name ^ Type ^ Default value ^ Description ^ | //FileName// | string | NULL | The file name of the map file to be saved. Note that the file type is determined from the file extension. | | //MapType// | mapid | Heightfield (code 20) | The type of the map to load, e.g. heightfield, RGB image, RGBA image, etc. | You may either enter the //FileName// value manually by [[plugins:calc:zeograph:userguide:pins:edit|editing the pin value]], or by connecting the pin to a filter such as [[plugins:calc:zeograph:filters:ui_FileDialog|UI:FileDialog]]. ===== Output pins ===== ^ Name ^ Type ^ Description ^ | //hMap// | hvar | A handle to the newly loaded map. | ===== Options ===== This filter has no options. ===== Comments ===== None.