worldToCameraMatrix
Used to calculate the distance to objects.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public Matrix4x4 worldToCameraMatrix { get; set; }
Remarks
Together with SortingSettings.cameraPosition, this is used to determine distances to objects for sorting.
Additional Resources: DrawingSettings, ScriptableRenderContext.DrawRenderers.