文档

Unity Engine

Unity Engine

worldToCameraMatrix

Used to calculate the distance to objects.
阅读时间1 分钟最后更新于 1 个月前

Definition

public Matrix4x4 worldToCameraMatrix { get; set; }

Remarks

Together with SortingSettings.cameraPosition, this is used to determine distances to objects for sorting.