Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Experimental: this API is experimental and might be changed or removed in the future.

DrawRendererSortSettings.worldToCameraMatrix

public Matrix4x4 worldToCameraMatrix;

Description

Camera view matrix, used to determine distances to objects.

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

See Also: DrawRendererSettings, RenderLoop.DrawRenderers.