Editor.java 文件源码

java
阅读 35 收藏 0 点赞 0 评论 0

项目:vrmleditor 作者:
/**
 * Clear all informations about shape
 */
public void clearAll() {
    // clear list shapes
    getListModel().clear();
    renderer.getListShapes().clear();
    Shape.reset();
    // clear history
    history.clear();
    // clear properties tab
    clearProperties();
    // reset cameras position & zoom
    Camera[] cameras = renderer.getCameras();
    for (int i = 0; i < cameras.length; i++) {
        cameras[i] = CameraUtil.configureCamera(Settings.getCamera(i));
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号