Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Operator-InvertTRS(Matrix).md

18 lines
904 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# InvertTRS (Matrix)
Menu Path : **Operator > Math > Geometry > InvertTRS (Matrix)**
The **Invert TRS (Matrix)** Operator inverts a TRS (Translation, Rotation, and Scaling) matrix.
A matrix is the inverse of another matrix if, when you multiply them together, the result is an [identity matrix](https://docs.unity3d.com/ScriptReference/Matrix4x4-identity.html). For more information on inverse matrices, see [Matrix4x4.inverse](https://docs.unity3d.com/ScriptReference/Matrix4x4-inverse.html).
## Operator properties
| **Input** | **Type** | **Description** |
| ---------- | --------- | --------------------------------- |
| **Matrix** | Matrix4x4 | The Matrix this Operator inverts. |
| **Output** | **Type** | **Description** |
| ---------- | --------- | ---------------------------------- |
| **o** | Matrix4x4 | The result of the inverted Matrix. |