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

@return the pre-existing instance, or null if none or multiple
Access the model ' s Skeleton assuming it has no more than one . A C - G model must be loaded . @return the pre - existing instance or null if none or multiple
Skeleton findSkeleton() {
        if (rootSpatial == null) {
            throw new RuntimeException("No model loaded.");
        }
        List<Skeleton> list = MySkeleton.listSkeletons(rootSpatial, null);
        Skeleton result = null;
        if (list.size() == 1) {
            result = list.get(0);
        }
        return result;
    }
Skeleton findSkeleton ( ) { if ( rootSpatial == null ) { throw new RuntimeException ( "No model loaded." ) ; } List < Skeleton > list = MySkeleton . listSkeletons ( rootSpatial , null ) ; Skeleton result = null ; if ( list . size ( ) == 1 ) { result = list . get ( 0 ) ; } return result ; }
Access the model's Skeleton, assuming it has no more than one.
Access the model ' s Skeleton assuming it has no more than one .