DacWizard/src/main/java/jme3utilities/minie/wizard/Model.java
/**
     * Enumerate the indices of all bones that will be linked. A C-G model must
     * be loaded.
     *
     * @return a new array of indices (not null)
     */
Enumerate the indices of all bones that will be linked. A C-G model must
be loaded.

@return a new array of indices (not null)
Enumerate the indices of all bones that will be linked . A C - G model must be loaded . @return a new array of indices ( not null )
int[] listLinkedBones() {
        if (rootSpatial == null) {
            throw new RuntimeException("No model loaded.");
        }
        int numBones = countBones();
        int numLinkedBones = linkedBones.cardinality();
        int[] result = new int[numLinkedBones];
        int linkedBoneIndex = 0;
        for (int boneIndex = 0; boneIndex < numBones; ++boneIndex) {
            if (linkedBones.get(boneIndex)) {
                result[linkedBoneIndex] = boneIndex;
                ++linkedBoneIndex;
            }
        }
        return result;
    }
int [ ] listLinkedBones ( ) { if ( rootSpatial == null ) { throw new RuntimeException ( "No model loaded." ) ; } int numBones = countBones ( ) ; int numLinkedBones = linkedBones . cardinality ( ) ; int [ ] result = new int [ numLinkedBones ] ; int linkedBoneIndex = 0 ; for ( int boneIndex = 0 ; boneIndex < numBones ; ++ boneIndex ) { if ( linkedBones . get ( boneIndex ) ) { result [ linkedBoneIndex ] = boneIndex ; ++ linkedBoneIndex ; } } return result ; }
Enumerate the indices of all bones that will be linked.
Enumerate the indices of all bones that will be linked .