public void setLocalRotation(Matrix3f rotation) {
        localTransform.getRotation().fromRotationMatrix(rotation);
        setTransformRefresh();
    }
<code>setLocalRotation</code> sets the local rotation of this node
by using a {@link Matrix3f}.

@param rotation
           the new local rotation.
jme3-core/src/main/java/com/jme3/scene/Spatial.java