Geometry QML Type
封装几何体。更多
属性
- attributes : list<Attribute>
- boundingVolumePositionAttribute : Attribute
- maxExtent : vector3d
- minExtent : vector3d
详细描述
几何体(Geometry)类型用于将一系列属性对象组合在一起,形成 Qt3D 能够使用GeometryRenderer 渲染的几何形状。可设置特殊属性以计算形状的边界体积。
属性文档
boundingVolumePositionAttribute : Attribute |
保存用于计算边界体积的属性。边界体积在内部用于拾取和视图缩放。
如果未指定,系统将使用 QAttribute::defaultPositionAttributeName 返回的名称查找属性。
另请参阅 Attribute 。
maxExtent : vector3d |
保留具有最高 x、y、z 位置值的顶点。
minExtent : vector3d |
持有 x、y、z 位置值最小的顶点。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.