Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

DrawRendererSortSettings.cameraPosition

public Vector3 cameraPosition;

Description

Used to calculate the distance to objects.

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

See Also: DrawRendererSettings, RenderLoop.DrawRenderers.

Did you find this page useful? Please give it a rating: