Sample Light Volume

Is it possible to sample the lightmass light volume in code?