Transform.localToWorldMatrix

Switch to Manual
public Matrix4x4 localToWorldMatrix ;

Description

将点从本地空间转换到世界空间的矩阵(只读)。

If you're not familiar with using matrices for coordinate transformations, use Transform.TransformPoint instead.

IMPORTANT: If you're setting shader parameters you MUST use Renderer.localToWorldMatrix instead.