public void setIndex(int index) {
        this.index = index;
    }
Alters the index of this triangle, used to identify it in an OBBTree.

@param index the desired index
jme3-core/src/main/java/com/jme3/math/Triangle.java