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.