public void setShadowMode(RenderQueue.ShadowMode shadowMode) {
        this.shadowMode = shadowMode;
    }
Sets the shadow mode of the spatial
The shadow mode determines how the spatial should be shadowed,
when a shadowing technique is used. See the
documentation for the class {@link ShadowMode} for more information.

@see ShadowMode

@param shadowMode The local shadow mode to set.
jme3-core/src/main/java/com/jme3/scene/Spatial.java