Method IsVisible
IsVisible(Plane[], Matrix4x4)
Check if a volume is visible by a camera
public static bool IsVisible(Plane[] planes, Matrix4x4 localToWorldMatrix)
Parameters
planesPlane[]The camera's frustum planes
localToWorldMatrixMatrix4x4The volume's transfromation matrix
Returns
IsVisible(Plane[], Vector3[])
Check if a volume is visible by a camera
public static bool IsVisible(Plane[] planes, Vector3[] pointsWS)
Parameters
planesPlane[]The camera's frustum planes
pointsWSVector3[]The 8 corners of the volume