Skip to content

MapSettings

Extends: Tool < Object

Description

The tool used to edit the map settings.

Accessed by Global.Editor.Tools["MapSettings"].

Properties

Color GridColor

Methods

void SetGridColor ( Color color )
void SetCameraFilter ( int filter )
void SetGridStyle ( int style )
void UpdateStyleFromWorld ( )
void SetBuildingWear ( int index )

Property Descriptions

  • Color GridColor:
    Gets or sets the grid color. Safe to both read and write.

Method Descriptions

  • void SetGridColor ( Color color ):
    Set the camera filter type. 0 is off. 1 is sepia, and 2 is vignette.

  • void SetCameraFilter ( int filter ):
    Set the camera filter type. 0 is off. 1 is sepia, and 2 is vignette.

  • void SetGridStyle ( int style ):
    Set the grid texture used to display a pattern.

  • void UpdateStyleFromWorld ( ):
    Called when this tool is enabled to update the UI controls to reflect a loaded map's settings.

  • void SetBuildingWear ( int index ):
    Set the building wear texture applied on walls and floors. 0 is off.