java组件输出三维模型为数据流,在cesium.S3MInstanceCollection添加流数据无法显示
var s3mInstance = new Cesium.S3MInstanceCollection(myEarth.viewer.scene._context);
myEarth.viewer.scene.primitives.add(s3mInstance);
s3mInstance.add(
'result', {
position: new Cesium.Cartesian3.fromDegrees(
position.x,
position.y,
position.z
),
color: color,
},
buffer,
false
);