worldTransform
Returns a matrix that cumulates the following operations (in order): -Local Scaling -Local Rotation -Local Translation -Layout Translation -Parent worldTransform (recursive definition - consider identity when there is no parent)
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[CreateProperty(ReadOnly = true)]public Matrix4x4 worldTransform { get; }
Remarks
Multiplying the rect by this matrix is incorrect because it already contains the translation.
layout