DacWizard/src/main/java/jme3utilities/minie/wizard/Model.java
/**
     * Access the model's Armature, assuming it doesn't have more than one
     * SkinningControl. A C-G model must be loaded.
     *
     * @return the pre-existing instance, or null if none or multiple
     */
Access the model's Armature, assuming it doesn't have more than one
SkinningControl. A C-G model must be loaded.

@return the pre-existing instance, or null if none or multiple
Access the model ' s Armature assuming it doesn ' t have more than one SkinningControl . A C - G model must be loaded . @return the pre - existing instance or null if none or multiple
private Armature findArmature() {
        if (rootSpatial == null) {
            throw new RuntimeException("No model loaded.");
        }
        List<SkinningControl> skinners = MySpatial.listControls(rootSpatial,
                SkinningControl.class, null);
        Armature result = null;
        if (skinners.size() == 1) {
            SkinningControl control = skinners.get(0);
            result = control.getArmature();
        }
        return result;
    }
private Armature findArmature ( ) { if ( rootSpatial == null ) { throw new RuntimeException ( "No model loaded." ) ; } List < SkinningControl > skinners = MySpatial . listControls ( rootSpatial , SkinningControl . class , null ) ; Armature result = null ; if ( skinners . size ( ) == 1 ) { SkinningControl control = skinners . get ( 0 ) ; result = control . getArmature ( ) ; } return result ; }
Access the model's Armature, assuming it doesn't have more than one
 SkinningControl.
Access the model ' s Armature assuming it doesn ' t have more than one SkinningControl .