Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Tilemap.SetEditorPreviewTransformMatrix

public void SetEditorPreviewTransformMatrix(Vector3Int position, Matrix4x4 transform);

Parameters

position Position of the editor preview Tile on the Tilemap.
transform The transform matrix.

Description

Sets the transform matrix of an editor preview tile given the XYZ coordinates of a cell in the tile map.

The editor preview tile is used for previewing possible additions to the tile map.

Did you find this page useful? Please give it a rating: