文档

Unity Engine

Unity Engine

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

public Matrix4x4 worldTransform { get; }

Remarks

Multiplying the
layout
rect by this matrix is incorrect because it already contains the translation.