cameraPosition
Used to calculate the distance to objects.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public Vector3 cameraPosition { get; set; }
Remarks
Together with SortingSettings.worldToCameraMatrix, this is used to determine distances to objects for sorting.
Additional Resources: DrawingSettings, ScriptableRenderContext.DrawRenderers.