限制和 API 差异

公共 API 差异

以下列表 (包含示例代码段) 显示了 Aspose.3D for Java 和 Aspose.3D for Node.js via Java api之间的一些差异。

导入库 (包比较)

Aspose.3D for Java

 import com.aspose.threed.*;

Aspose.3D for Node.js via Java

var aspose = aspose || {};

aspose.threed = require("aspose.threed");

实例化新场景

Aspose.3D for Java

 Scene scene = new Scene();

Aspose.3D for Node.js via Java

var scene = new aspose.threed.Scene();

初始化对象

Aspose.3D for Java

Plane plane = new Plane();

plane.setUp(new Vector3(1, 1, 3));

Aspose.3D for Node.js via Java

var plane=new aspose.threed.Plane();

plane.setUp(new aspose.threed.Vector3(1, 1, 3));

Aspose.3D for Node.js via Java API 与 Aspose 相比的其他限制。3D for Java API

  1. 不支持从数组,ArrayList,ResultSet等导入/导出数据。
  2. 不支持打印。