Version: 2021.3

Tilemap.SetEditorPreviewTransformMatrix

切换到手册
public void SetEditorPreviewTransformMatrix (Vector3Int position, Matrix4x4 transform);

参数

position 编辑器预览瓦片在 Tilemap 上的位置。
transform 变换矩阵。

描述

Sets the transform matrix of an editor preview Tile given the XYZ coordinates of a cell in the Tilemap.

The editor preview Tile is used for previewing possible additions to the Tilemap.