在本页

GeometryView QML Type

封装几何体细节。更多

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

Node

Status: Deprecated

属性

详细说明

GeometryView 包含处理几何体所需的所有信息。一个几何体保存几何体数据的坐标,而 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.三角形扇形
  • QGeometryView.LinesAdjacency
  • QGeometryView.TrianglesAdjacency
  • QGeometryView.LineStripAdjacency
  • QGeometryView.TriangleStripAdjacency
  • 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.