本页内容

GeometryView QML Type

封装几何细节。更多...

Import Statement: import Qt3D.Core 2.12
Since: Qt 6.0
In C++: QGeometryView
Inherits:

Node

Status: Deprecated

此类型已弃用。我们强烈建议不要在新代码中使用它。

属性

详细说明

GeometryView 包含处理 Geometry 所需的所有信息。Geometry 包含几何数据的坐标——GeometryView 则规定了如何解释这些数据。

属性文档

firstInstance : int

保存基础实例。

firstVertex : int

存储第一个顶点。

geometry : Geometry

保存几何信息。

indexBufferByteOffset : int

存储索引缓冲区中的字节偏移量。

indexOffset : int

保存基点。

instanceCount : int

用于存储实例计数。

primitiveRestart : bool

保存原始重启标志。

primitiveType : enumeration

存储基本类型。

  • QGeometryView.Points
  • QGeometryView.Lines
  • QGeometryView.LineLoop
  • QGeometryView.LineStrip
  • QGeometryView.Triangles
  • QGeometryView.TriangleStrip
  • QGeometryView.TriangleFan
  • QGeometryView.LinesAdjacency
  • QGeometryView.TrianglesAdjacency
  • QGeometryView.线带邻接性
  • QGeometryView.三角带邻接关系
  • QGeometryView.Patches

另请参阅 Qt3DCore::QGeometryView::PrimitiveType 。

restartIndex : int

保存重启索引。

vertexCount : int

存储顶点数量。

verticesPerPatch : int

存储每个补丁的顶点。

© 2026 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.