qml 3d 纪念那些曾经爬过的坑

1、使用多position画图时,图形不受控制的问题?

在变量属性设置时Attribute中的attributeBaseType 数据类型一定要和 Buffer中data 数据类型一定要相同。

例如 vertexBaseType: Attribute.UnsignedInt 对应 Uint32Array 否则呵呵呵。。

猜你喜欢

转载自www.cnblogs.com/kabe/p/9187951.html
QML
今日推荐