worldTransform
Returns a matrix that cumulates the following transformations (in order): Local scaling Local rotation Local translation Layout translation Parent worldTransform (recursive definition - consider the identity matrix when there's no parent)
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Matrix4x4 worldTransform { get; }
Remarks
Multiplying the rect by this matrix is incorrect because it already contains the translation.
layout