Method GetAllVisibleVolume
GetAllVisibleVolume(Plane[], List<VolumetricFog>)
Get all active volumes that is visible by a camera.
public static void GetAllVisibleVolume(Plane[] frustumPlanes, List<VolumetricFog> volumes)
Parameters
frustumPlanes
Plane[]Camera's frustum plane
volumes
List<VolumetricFog>A pre-allocated list to contain the volumes