简体   繁体   English

可能获得o3d.Shape的顶点和索引?

[英]Possible to get vertices and indices of o3d.Shape?

I am using o3d webgl library with chrome nightly and minefield. 我正在将Chrome和Nightfield与O3D WebGL库一起使用。 I am looking for someone who knows how I can obtain the vertices and indices from an o3d.Shape object. 我正在寻找一个知道如何从o3d.Shape对象获得顶点和索引的人。 The reason why I would like to do this is so that I can utilize the primitive objects within the picking demo from the latest distribution. 我之所以愿意这样做,是因为我可以利用最新发行版中的拣选演示中的原始对象。

Thanks in advance, Chris 预先感谢克里斯

您不需要顶点或索引,可以将对象直接添加到场景中,并由拾取管理器拾取

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM