Class FrustumUtils
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public static class FrustumUtils
- Inheritance
-
objectFrustumUtils
Methods
BoundingSphereArea(float3, float, float4x4)
public static float BoundingSphereArea(float3 boundingSphereCenter_W, float boundingSphereRadius, float4x4 worldToCamera)
Parameters
boundingSphereCenter_Wfloat3boundingSphereRadiusfloatworldToCamerafloat4x4
Returns
- float
BoundingSphereAreaApproximation(float3, float, float3, float)
public static float BoundingSphereAreaApproximation(float3 boundingSphereCenter_W, float boundingSphereRadius, float3 cameraPosition, float fieldOfViewRadians)
Parameters
boundingSphereCenter_Wfloat3boundingSphereRadiusfloatcameraPositionfloat3fieldOfViewRadiansfloat
Returns
- float
TestPlanesAABB(NativeArray<Plane>, Bounds)
public static bool TestPlanesAABB(NativeArray<Plane> planes, Bounds bounds)
Parameters
planesNativeArray<Plane>boundsBounds
Returns
- bool