文档

Unity Engine

Unity Engine

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

Definition

[CreateProperty(ReadOnly = true)]public Matrix4x4 worldTransform { get; }

Remarks

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