Documentation

Unity Engine

Unity Engine

decomposeProjection

This property takes a projection matrix and returns the six plane coordinates that define a projection frustum.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public readonly FrustumPlanes decomposeProjection { get; }

Remarks

It works with both perspective projection matrices and orthographic projection matrices.