Class GeometryUtility
Inheritance
GeometryUtility
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
Returns
|
Improve this Doc
View Source
CalculateFrustumPlanes(Camera)
Declaration
public static Plane[] CalculateFrustumPlanes(Camera camera)
Parameters
Type |
Name |
Description |
Camera |
camera |
|
Returns
|
Improve this Doc
View Source
CalculateFrustumPlanes(Camera, Plane[])
Declaration
public static void CalculateFrustumPlanes(Camera camera, Plane[] planes)
Parameters
|
Improve this Doc
View Source
CalculateFrustumPlanes(Matrix4x4)
Declaration
public static Plane[] CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix)
Parameters
Type |
Name |
Description |
Matrix4x4 |
worldToProjectionMatrix |
|
Returns
|
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
Returns
|
Improve this Doc
View Source
TryCreatePlaneFromPolygon(Vector3[], out Plane)
Declaration
public static bool TryCreatePlaneFromPolygon(Vector3[] vertices, out Plane plane)
Parameters
Returns
Extension Methods