# SetEditorPreviewTransformMatrix(Vector3Int, Matrix4x4)

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

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Tilemaps](/engine/6000.7/script-reference/unityengine/tilemaps.md)
* **Assembly:** UnityEngine.TilemapModule

```csharp
public void SetEditorPreviewTransformMatrix(Vector3Int position, Matrix4x4 transform)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): Position of the editor preview Tile on the [Tilemap](/engine/6000.7/script-reference/unityengine/tilemaps/tilemap.md).**** (\[Matrix4x4]\(/engine/6000.7/script-reference/unityengine/matrix4x4)): The transform matrix.

### Remarks

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