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)
阅读时间1 分钟最后更新于 1 个月前
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