Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ITilemap.GetTransformMatrix

public Matrix4x4 GetTransformMatrix(Vector3Int position);

Parameters

positionPosition of the Tile on the Tilemap.

Returns

Matrix4x4 The transform matrix.

Description

Gets the transform matrix of a tile given the XYZ coordinates of a cell in the tile map.

Did you find this page useful? Please give it a rating: