Show / Hide Table of Contents

Class GeometryUtility

Inheritance
Object
GeometryUtility
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public sealed class GeometryUtility

Methods

| Improve this Doc View Source

CalculateBounds(Vector3[], Matrix4x4)

Declaration
public static Bounds CalculateBounds(Vector3[] positions, Matrix4x4 transform)
Parameters
Type Name Description
Vector3[] positions
Matrix4x4 transform
Returns
Type Description
Bounds
| Improve this Doc View Source

CalculateFrustumPlanes(Camera)

Declaration
public static Plane[] CalculateFrustumPlanes(Camera camera)
Parameters
Type Name Description
Camera camera
Returns
Type Description
Plane[]
| Improve this Doc View Source

CalculateFrustumPlanes(Camera, Plane[])

Declaration
public static void CalculateFrustumPlanes(Camera camera, Plane[] planes)
Parameters
Type Name Description
Camera camera
Plane[] planes
| Improve this Doc View Source

CalculateFrustumPlanes(Matrix4x4)

Declaration
public static Plane[] CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix)
Parameters
Type Name Description
Matrix4x4 worldToProjectionMatrix
Returns
Type Description
Plane[]
| Improve this Doc View Source

CalculateFrustumPlanes(Matrix4x4, Plane[])

Declaration
public static void CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix, Plane[] planes)
Parameters
Type Name Description
Matrix4x4 worldToProjectionMatrix
Plane[] planes

TestPlanesAABB(Plane[], Bounds)

Declaration
public static bool TestPlanesAABB(Plane[] planes, Bounds bounds)
Parameters
Type Name Description
Plane[] planes
Bounds bounds
Returns
Type Description
Boolean
| Improve this Doc View Source

TryCreatePlaneFromPolygon(Vector3[], out Plane)

Declaration
public static bool TryCreatePlaneFromPolygon(Vector3[] vertices, out Plane plane)
Parameters
Type Name Description
Vector3[] vertices
Plane plane
Returns
Type Description
Boolean

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX