GeometryUtility
class in UnityEngine · UnityEngine.CoreModule
In Tassix
Frustum planes, bounds tests and planes from polygons.
Methods 4
static Bounds CalculateBounds(Vector3[] positions, Matrix4x4 transform)static Bounds CalculateBounds(Vector3[] positions, in Matrix4x4 transform)The bounds of the points after the matrix.
static Plane[] CalculateFrustumPlanes(Camera camera)static Plane[] CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix)static Plane[] CalculateFrustumPlanes(in Matrix4x4 worldToProjectionMatrix)static void CalculateFrustumPlanes(Camera camera, Plane[] planes)static void CalculateFrustumPlanes(Camera camera, Span<Plane> planes)static void CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix, Plane[] planes)static void CalculateFrustumPlanes(in Matrix4x4 worldToProjectionMatrix, Plane[] planes)static void CalculateFrustumPlanes(in Matrix4x4 worldToProjectionMatrix, Span<Plane> planes)static void CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix, Span<Plane> planes)A camera's six frustum planes: left, right, bottom, top, near, far; normals point inward.
Checked against Unity
Conformance scenarios that exercise it, recorded in Unity and compared event by event.