Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Tilemap.SetEditorPreviewTransformMatrix

public void SetEditorPreviewTransformMatrix(Vector3Int position, Matrix4x4 transform);

Parameters

positionPosition of the editor preview Tile on the Tilemap.
transformThe 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: