public void setMorphState(String morphTarget, float state) {
        int index = mesh.getMorphIndex(morphTarget);
        if (index >= 0) {
            morphState[index] = state;
            this.dirtyMorph = true;
        }
    }
Set the state of the morph with the given name.

If the name of the morph is not found, no state will be set.

@param morphTarget The name of the morph to set the state of
@param state The state to set the morph to
jme3-core/src/main/java/com/jme3/scene/Geometry.java