Show / Hide Table of Contents

TransformModifier

Quick facts
ClassTransformModifier
CellTypeUnchanged
CellDirUnchanged
CellRotationUnchanged
BoundUnchanged
PropertiesUnchanged
RequirementsNone

This modifier applies a configurable linear transform to a grid. You can use it to rotate and resize grids.

For example, here it rotates the square grid into diamonds.

squareGrid.Transformed(Matrix4x4.Rotate(Quaternion.Euler(0, 0, 45)))

➡

This modifier can also be applied by extension method Transformed.

Cell co-ordinates

This modifier does not alter cell co-ordinates.

In This Article
Back to top Generated by DocFX