Version: 2019.1

Tilemap.SetEditorPreviewTransformMatrix

Switch to Manual
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.