Documentation

Unity Engine


User Manual

Script Reference

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)
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

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