matrix
Transformation matrix calculated from the position, rotation and scale of the transform (Read Only).
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Matrix4x4 matrix { get; }
Remarks
This matrix does not include the layout offset of the VisualElement, just the resolvedStyle.translate value. You will have to take the layout offset into account when using this matrix for useful results