Version: 2017.3

Tilemap.SetEditorPreviewTransformMatrix

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