Is there an easy way to take (dynamic) cubemaps in jme?

Has jmonkeyengine got a built-in function for that? I want to easily make my model to dynamically (or just take 1 cubemap) reflect the scene. How it would be possible,thx

In the PBR branch there is an EnvCamera class that does that among other things.
Feel free to have a look, all the logic is in here.
here is the link