Version: 2021.2

Transform.worldToLocalMatrix

매뉴얼로 전환
public Matrix4x4 worldToLocalMatrix ;

설명

Matrix that transforms a point from world space into local space (Read Only).

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

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